diff options
-rw-r--r-- | demos/webgl/CubicVR.js | 11660 | ||||
-rw-r--r-- | demos/webgl/CubicVR_Core.fs | 281 | ||||
-rw-r--r-- | demos/webgl/CubicVR_Core.vs | 127 | ||||
-rw-r--r-- | demos/webgl/bullet_1_1_q1.ccsimple.js | 4404 | ||||
-rw-r--r-- | demos/webgl/bullet_glue.js | 44 | ||||
-rw-r--r-- | demos/webgl/demo.html | 196 |
6 files changed, 16712 insertions, 0 deletions
diff --git a/demos/webgl/CubicVR.js b/demos/webgl/CubicVR.js new file mode 100644 index 00000000..897fc887 --- /dev/null +++ b/demos/webgl/CubicVR.js @@ -0,0 +1,11660 @@ +/* + Javascript port of CubicVR 3D engine for WebGL + by Charles J. Cliffe + http://www.cubicvr.org/ + + May be used under the terms of LGPL v3.0 or greater. +*/ + +/*globals alert: false */ + +/** Global Constants **/ +var M_PI = 3.1415926535897932384626433832795028841968; +var M_TWO_PI = 2.0 * M_PI; +var M_HALF_PI = M_PI / 2.0; + +var SCRIPT_LOCATION = ""; + +try { + Array.forEach(document.querySelectorAll("script"), function (a) { + var pos = a.src.lastIndexOf('/CubicVR.js'); + if (pos > -1) { + SCRIPT_LOCATION = a.src.substr(0, pos) + "/"; + } //if + }); +} +catch(e) { + // likely that 'document' is not defined (doesn't really matter) +} //try + +(function(undef) { + + var CubicVR = this.CubicVR = {}; + + var GLCore = {}; + var Materials = []; + var Material_ref = []; + var Textures = []; + var Textures_obj = []; + var Texture_ref = []; + var Images = []; + var ShaderPool = []; + var MeshPool = []; + + var CoreShader_vs = null; + var CoreShader_fs = null; + + var log; + try { + log = (console !== undefined && console.log) ? + function(msg) { console.log("CubicVR Log: " + msg); } : + function() {}; + } + catch(e) { + log = function() {}; + } //try + + var enums = { + // Math + math: {}, + + frustum: { + plane: { + LEFT: 0, + RIGHT: 1, + TOP: 2, + BOTTOM: 3, + NEAR: 4, + FAR: 5 + } + }, + + octree: { + TOP_NW: 0, + TOP_NE: 1, + TOP_SE: 2, + TOP_SW: 3, + BOTTOM_NW: 4, + BOTTOM_NE: 5, + BOTTOM_SE: 6, + BOTTOM_SW: 7 + }, + + + // Light Types + light: { + type: { + NULL: 0, + POINT: 1, + DIRECTIONAL: 2, + SPOT: 3, + AREA: 4, + MAX: 5 + }, + method: { + GLOBAL: 0, + STATIC: 1, + DYNAMIC: 2 + } + }, + + // Texture Types + texture: { + map: { + COLOR: 0, + ENVSPHERE: 1, + NORMAL: 2, + BUMP: 3, + REFLECT: 4, + SPECULAR: 5, + AMBIENT: 6, + ALPHA: 7, + MAX: 8 + }, + filter: { + LINEAR: 0, + LINEAR_MIP: 1, + NEAREST: 2, + NEAREST_MIP: 3 + } + }, + + uv: { + /* UV Axis enums */ + axis: { + X: 0, + Y: 1, + Z: 2 + }, + + /* UV Projection enums */ + projection: { + UV: 0, + PLANAR: 1, + CYLINDRICAL: 2, + SPHERICAL: 3, + CUBIC: 4, + SKY: 5 + } + }, + + // Shader Map Inputs (binary hash index) + shader: { + map: { + COLOR: 1, + SPECULAR: 2, + NORMAL: 4, + BUMP: 8, + REFLECT: 16, + ENVSPHERE: 32, + AMBIENT: 64, + ALPHA: 128 + }, + + /* Uniform types */ + uniform: { + MATRIX: 0, + VECTOR: 1, + FLOAT: 2, + ARRAY_VERTEX: 3, + ARRAY_UV: 4, + ARRAY_FLOAT: 5, + INT: 6 + } + + }, + + motion: { + POS: 0, + ROT: 1, + SCL: 2, + FOV: 3, + LENS: 4, + NEARCLIP: 5, + FARCLIP: 6, + INTENSITY: 7, + X: 0, + Y: 1, + Z: 2, + V: 3 + }, + + envelope: { + shape: { + TCB: 0, + HERM: 1, + BEZI: 2, + LINE: 3, + STEP: 4, + BEZ2: 5 + }, + behavior: { + RESET: 0, + CONSTANT: 1, + REPEAT: 2, + OSCILLATE: 3, + OFFSET: 4, + LINEAR: 5 + } + }, + + /* Post Processing */ + post: { + output: { + REPLACE: 0, + BLEND: 1, + ADD: 2, + ALPHACUT: 3 + } + } + }; + + var cubicvr_identity = [1.0, 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0, 0.0, + 0.0, 0.0, 1.0, 0.0, + 0.0, 0.0, 0.0, 1.0]; + + /* Base functions */ + var vec2 = { + equal: function(a, b) { + var epsilon = 0.00000001; + + if ((a === undef) && (b === undef)) { + return true; + } + if ((a === undef) || (b === undef)) { + return false; + } + + return (Math.abs(a[0] - b[0]) < epsilon && Math.abs(a[1] - b[1]) < epsilon); + } + }; + + var vec3 = { + length: function(pt) { + return Math.sqrt(pt[0] * pt[0] + pt[1] * pt[1] + pt[2] * pt[2]); + }, + normalize: function(pt) { + var d = Math.sqrt((pt[0] * pt[0]) + (pt[1] * pt[1]) + (pt[2] * pt[2])); + if (d === 0) { + return [0, 0, 0]; + } + return [pt[0] / d, pt[1] / d, pt[2] / d]; + }, + dot: function(v1, v2) { + return v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2]; + }, + angle: function(v1, v2) { + var a = Math.acos((v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2]) / (Math.sqrt(v1[0] * v1[0] + v1[1] * v1[1] + v1[2] * v1[2]) * Math.sqrt(v2[0] * v2[0] + v2[1] * v2[1] + v2[2] * v2[2]))); + + return a; + }, + cross: function(vectA, vectB) { + return [ + vectA[1] * vectB[2] - vectB[1] * vectA[2], vectA[2] * vectB[0] - vectB[2] * vectA[0], vectA[0] * vectB[1] - vectB[0] * vectA[1]]; + }, + multiply: function(vectA, constB) { + return [vectA[0] * constB, vectA[1] * constB, vectA[2] * constB]; + }, + add: function(vectA, vectB) { + return [vectA[0] + vectB[0], vectA[1] + vectB[1], vectA[2] + vectB[2]]; + }, + subtract: function(vectA, vectB) { + return [vectA[0] - vectB[0], vectA[1] - vectB[1], vectA[2] - vectB[2]]; + }, + equal: function(a, b) { + var epsilon = 0.0000001; + + if ((a === undef) && (b === undef)) { + return true; + } + if ((a === undef) || (b === undef)) { + return false; + } + + return (Math.abs(a[0] - b[0]) < epsilon && Math.abs(a[1] - b[1]) < epsilon && Math.abs(a[2] - b[2]) < epsilon); + }, + moveViewRelative: function(position, target, xdelta, zdelta, alt_source) { + var ang = Math.atan2(zdelta, xdelta); + var cam_ang = Math.atan2(target[2] - position[2], target[0] - position[0]); + var mag = Math.sqrt(xdelta * xdelta + zdelta * zdelta); + + var move_ang = cam_ang + ang + M_HALF_PI; + + if (typeof(alt_source) === 'object') { + return [alt_source[0] + mag * Math.cos(move_ang), alt_source[1], alt_source[2] + mag * Math.sin(move_ang)]; + } + + return [position[0] + mag * Math.cos(move_ang), position[1], position[2] + mag * Math.sin(move_ang)]; + }, + trackTarget: function(position, target, trackingSpeed, safeDistance) { + var camv = vec3.subtract(target, position); + var dist = camv; + var fdist = vec3.length(dist); + var motionv = camv; + + motionv = vec3.normalize(motionv); + motionv = vec3.multiply(motionv, trackingSpeed * (1.0 / (1.0 / (fdist - safeDistance)))); + + var ret_pos; + + if (fdist > safeDistance) { + ret_pos = vec3.add(position, motionv); + } else if (fdist < safeDistance) { + motionv = camv; + motionv = vec3.normalize(motionv); + motionv = vec3.multiply(motionv, trackingSpeed * (1.0 / (1.0 / (Math.abs(fdist - safeDistance))))); + ret_pos = vec3.subtract(position, motionv); + } else { + ret_pos = [position[0], position[1] + motionv[2], position[2]]; + } + + return ret_pos; + }, + get_closest_to: function(ptA, ptB, ptTest) { + var S, T, U; + + S = vec3.subtract(ptB, ptA); + T = vec3.subtract(ptTest, ptA); + U = vec3.add(vec3.multiply(S, vec3.dot(S, T) / vec3.dot(S, S)), ptA); + + return U; + } + }; + + var triangle = { + normal: function(pt1, pt2, pt3) { + + var v10 = pt1[0] - pt2[0]; + var v11 = pt1[1] - pt2[1]; + var v12 = pt1[2] - pt2[2]; + var v20 = pt2[0] - pt3[0]; + var v21 = pt2[1] - pt3[1]; + var v22 = pt2[2] - pt3[2]; + + return [v11 * v22 - v12 * v21, v12 * v20 - v10 * v22, v10 * v21 - v11 * v20]; + } + }; + + + var mat3 = { + transpose_inline: function(mat) { + var a01 = mat[1], a02 = mat[2], a12 = mat[5]; + + mat[1] = mat[3]; + mat[2] = mat[6]; + mat[3] = a01; + mat[5] = mat[7]; + mat[6] = a02; + mat[7] = a12; + } + } + + var mat4 = { + lookat: function(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz) { + var forward = [], side = [], up = []; + var m = []; + + forward[0] = centerx - eyex; + forward[1] = centery - eyey; + forward[2] = centerz - eyez; + + up[0] = upx; + up[1] = upy; + up[2] = upz; + + forward = vec3.normalize(forward); + + /* Side = forward x up */ + var side = vec3.cross(forward, up); + side = vec3.normalize(side); + + /* Recompute up as: up = side x forward */ + up = vec3.cross(side, forward); + + var m = [ side[0], up[0], -forward[0], 0, side[1], up[1], -forward[1], 0, side[2], up[2], -forward[2], 0, 0, 0, 0, 1]; + + var t = new Transform(m); + t.translate([-eyex,-eyey,-eyez]); + + return t.getResult(); + }, + multiply: function (m1, m2) { + var mOut = []; + + mOut[0] = m2[0] * m1[0] + m2[4] * m1[1] + m2[8] * m1[2] + m2[12] * m1[3]; + mOut[1] = m2[1] * m1[0] + m2[5] * m1[1] + m2[9] * m1[2] + m2[13] * m1[3]; + mOut[2] = m2[2] * m1[0] + m2[6] * m1[1] + m2[10] * m1[2] + m2[14] * m1[3]; + mOut[3] = m2[3] * m1[0] + m2[7] * m1[1] + m2[11] * m1[2] + m2[15] * m1[3]; + mOut[4] = m2[0] * m1[4] + m2[4] * m1[5] + m2[8] * m1[6] + m2[12] * m1[7]; + mOut[5] = m2[1] * m1[4] + m2[5] * m1[5] + m2[9] * m1[6] + m2[13] * m1[7]; + mOut[6] = m2[2] * m1[4] + m2[6] * m1[5] + m2[10] * m1[6] + m2[14] * m1[7]; + mOut[7] = m2[3] * m1[4] + m2[7] * m1[5] + m2[11] * m1[6] + m2[15] * m1[7]; + mOut[8] = m2[0] * m1[8] + m2[4] * m1[9] + m2[8] * m1[10] + m2[12] * m1[11]; + mOut[9] = m2[1] * m1[8] + m2[5] * m1[9] + m2[9] * m1[10] + m2[13] * m1[11]; + mOut[10] = m2[2] * m1[8] + m2[6] * m1[9] + m2[10] * m1[10] + m2[14] * m1[11]; + mOut[11] = m2[3] * m1[8] + m2[7] * m1[9] + m2[11] * m1[10] + m2[15] * m1[11]; + mOut[12] = m2[0] * m1[12] + m2[4] * m1[13] + m2[8] * m1[14] + m2[12] * m1[15]; + mOut[13] = m2[1] * m1[12] + m2[5] * m1[13] + m2[9] * m1[14] + m2[13] * m1[15]; + mOut[14] = m2[2] * m1[12] + m2[6] * m1[13] + m2[10] * m1[14] + m2[14] * m1[15]; + mOut[15] = m2[3] * m1[12] + m2[7] * m1[13] + m2[11] * m1[14] + m2[15] * m1[15]; + + return mOut; + }, + vec4_multiply: function (m1, m2) { + var mOut = []; + + mOut[0] = m2[0] * m1[0] + m2[4] * m1[1] + m2[8] * m1[2] + m2[12] * m1[3]; + mOut[1] = m2[1] * m1[0] + m2[5] * m1[1] + m2[9] * m1[2] + m2[13] * m1[3]; + mOut[2] = m2[2] * m1[0] + m2[6] * m1[1] + m2[10] * m1[2] + m2[14] * m1[3]; + mOut[3] = m2[3] * m1[0] + m2[7] * m1[1] + m2[11] * m1[2] + m2[15] * m1[3]; + + return mOut; + }, + vec3_multiply: function (m1, m2) { + var mOut = []; + + mOut[0] = m2[0] * m1[0] + m2[4] * m1[1] + m2[8] * m1[2] + m2[12]; + mOut[1] = m2[1] * m1[0] + m2[5] * m1[1] + m2[9] * m1[2] + m2[13]; + mOut[2] = m2[2] * m1[0] + m2[6] * m1[1] + m2[10] * m1[2] + m2[14]; + + return mOut; + }, + perspective: function (fovy, aspect, near, far) { + var yFac = Math.tan(fovy * M_PI / 360.0); + var xFac = yFac * aspect; + + return [ + 1.0 / xFac, 0, 0, 0, 0, 1.0 / yFac, 0, 0, 0, 0, -(far + near) / (far - near), -1, 0, 0, -(2.0 * far * near) / (far - near), 0]; + }, + determinant: function (m) { + + var a0 = m[0] * m[5] - m[1] * m[4]; + var a1 = m[0] * m[6] - m[2] * m[4]; + var a2 = m[0] * m[7] - m[3] * m[4]; + var a3 = m[1] * m[6] - m[2] * m[5]; + var a4 = m[1] * m[7] - m[3] * m[5]; + var a5 = m[2] * m[7] - m[3] * m[6]; + var b0 = m[8] * m[13] - m[9] * m[12]; + var b1 = m[8] * m[14] - m[10] * m[12]; + var b2 = m[8] * m[15] - m[11] * m[12]; + var b3 = m[9] * m[14] - m[10] * m[13]; + var b4 = m[9] * m[15] - m[11] * m[13]; + var b5 = m[10] * m[15] - m[11] * m[14]; + + var det = a0 * b5 - a1 * b4 + a2 * b3 + a3 * b2 - a4 * b1 + a5 * b0; + + return det; + }, + coFactor: function (m, n, out) { + // .. todo.. + }, + + transpose: function (m) { + return [m[0], m[4], m[8], m[12], m[1], m[5], m[9], m[13], m[2], m[6], m[10], m[14], m[3], m[7], m[11], m[15]]; + }, + + inverse_mat3: function(mat) { + var dest = []; + + var a00 = mat[0], a01 = mat[1], a02 = mat[2], + a10 = mat[4], a11 = mat[5], a12 = mat[6], + a20 = mat[8], a21 = mat[9], a22 = mat[10]; + + var b01 = a22*a11-a12*a21, + b11 = -a22*a10+a12*a20, + b21 = a21*a10-a11*a20; + + var d = a00*b01 + a01*b11 + a02*b21; + if (!d) { return null; } + var id = 1/d; + + dest[0] = b01*id; + dest[1] = (-a22*a01 + a02*a21)*id; + dest[2] = (a12*a01 - a02*a11)*id; + dest[3] = b11*id; + dest[4] = (a22*a00 - a02*a20)*id; + dest[5] = (-a12*a00 + a02*a10)*id; + dest[6] = b21*id; + dest[7] = (-a21*a00 + a01*a20)*id; + dest[8] = (a11*a00 - a01*a10)*id; + + return dest; + }, + + // not sure which is faster yet.. + + inverse$1: function (m) { + var tmp = []; + var src = []; + var dst = []; + + // Transpose matrix + for (var i = 0; i < 4; i++) { + src[i + 0] = m[i*4 + 0]; + src[i + 4] = m[i*4 + 1]; + src[i + 8] = m[i*4 + 2]; + src[i + 12] = m[i*4 + 3]; + } + + // Calculate pairs for first 8 elements (cofactors) + tmp[0] = src[10] * src[15]; + tmp[1] = src[11] * src[14]; + tmp[2] = src[9] * src[15]; + tmp[3] = src[11] * src[13]; + tmp[4] = src[9] * src[14]; + tmp[5] = src[10] * src[13]; + tmp[6] = src[8] * src[15]; + tmp[7] = src[11] * src[12]; + tmp[8] = src[8] * src[14]; + tmp[9] = src[10] * src[12]; + tmp[10] = src[8] * src[13]; + tmp[11] = src[9] * src[12]; + + // Calculate first 8 elements (cofactors) + dst[0] = tmp[0]*src[5] + tmp[3]*src[6] + tmp[4]*src[7]; + dst[0] -= tmp[1]*src[5] + tmp[2]*src[6] + tmp[5]*src[7]; + dst[1] = tmp[1]*src[4] + tmp[6]*src[6] + tmp[9]*src[7]; + dst[1] -= tmp[0]*src[4] + tmp[7]*src[6] + tmp[8]*src[7]; + dst[2] = tmp[2]*src[4] + tmp[7]*src[5] + tmp[10]*src[7]; + dst[2] -= tmp[3]*src[4] + tmp[6]*src[5] + tmp[11]*src[7]; + dst[3] = tmp[5]*src[4] + tmp[8]*src[5] + tmp[11]*src[6]; + dst[3] -= tmp[4]*src[4] + tmp[9]*src[5] + tmp[10]*src[6]; + dst[4] = tmp[1]*src[1] + tmp[2]*src[2] + tmp[5]*src[3]; + dst[4] -= tmp[0]*src[1] + tmp[3]*src[2] + tmp[4]*src[3]; + dst[5] = tmp[0]*src[0] + tmp[7]*src[2] + tmp[8]*src[3]; + dst[5] -= tmp[1]*src[0] + tmp[6]*src[2] + tmp[9]*src[3]; + dst[6] = tmp[3]*src[0] + tmp[6]*src[1] + tmp[11]*src[3]; + dst[6] -= tmp[2]*src[0] + tmp[7]*src[1] + tmp[10]*src[3]; + dst[7] = tmp[4]*src[0] + tmp[9]*src[1] + tmp[10]*src[2]; + dst[7] -= tmp[5]*src[0] + tmp[8]*src[1] + tmp[11]*src[2]; + + // Calculate pairs for second 8 elements (cofactors) + tmp[0] = src[2]*src[7]; + tmp[1] = src[3]*src[6]; + tmp[2] = src[1]*src[7]; + tmp[3] = src[3]*src[5]; + tmp[4] = src[1]*src[6]; + tmp[5] = src[2]*src[5]; + tmp[6] = src[0]*src[7]; + tmp[7] = src[3]*src[4]; + tmp[8] = src[0]*src[6]; + tmp[9] = src[2]*src[4]; + tmp[10] = src[0]*src[5]; + tmp[11] = src[1]*src[4]; + + // Calculate second 8 elements (cofactors) + dst[8] = tmp[0] * src[13] + tmp[3] * src[14] + tmp[4] * src[15]; + dst[8] -= tmp[1] * src[13] + tmp[2] * src[14] + tmp[5] * src[15]; + dst[9] = tmp[1] * src[12] + tmp[6] * src[14] + tmp[9] * src[15]; + dst[9] -= tmp[0] * src[12] + tmp[7] * src[14] + tmp[8] * src[15]; + dst[10] = tmp[2] * src[12] + tmp[7] * src[13] + tmp[10]* src[15]; + dst[10] -= tmp[3] * src[12] + tmp[6] * src[13] + tmp[11]* src[15]; + dst[11] = tmp[5] * src[12] + tmp[8] * src[13] + tmp[11]* src[14]; + dst[11] -= tmp[4] * src[12] + tmp[9] * src[13] + tmp[10]* src[14]; + dst[12] = tmp[2] * src[10] + tmp[5] * src[11] + tmp[1] * src[9]; + dst[12] -= tmp[4] * src[11] + tmp[0] * src[9] + tmp[3] * src[10]; + dst[13] = tmp[8] * src[11] + tmp[0] * src[8] + tmp[7] * src[10]; + dst[13] -= tmp[6] * src[10] + tmp[9] * src[11] + tmp[1] * src[8]; + dst[14] = tmp[6] * src[9] + tmp[11]* src[11] + tmp[3] * src[8]; + dst[14] -= tmp[10]* src[11 ] + tmp[2] * src[8] + tmp[7] * src[9]; + dst[15] = tmp[10]* src[10] + tmp[4] * src[8] + tmp[9] * src[9]; + dst[15] -= tmp[8] * src[9] + tmp[11]* src[10] + tmp[5] * src[8]; + + // Calculate determinant + var det = src[0]*dst[0] + src[1]*dst[1] + src[2]*dst[2] + src[3]*dst[3]; + + var ret = []; + + // Calculate matrix inverse + det = 1.0 / det; + for (var i = 0; i < 16; i++) { + ret[i] = dst[i] * det; + } + + return ret; + }, + + inverse$2: function (m) { + var inv = []; + + inv[0] = m[5]*m[10]*m[15] - m[5]*m[11]*m[14] - m[9]*m[6]*m[15] + + m[9]*m[7]*m[14] + m[13]*m[6]*m[11] - m[13]*m[7]*m[10]; + inv[4] = -m[4]*m[10]*m[15] + m[4]*m[11]*m[14] + m[8]*m[6]*m[15] + - m[8]*m[7]*m[14] - m[12]*m[6]*m[11] + m[12]*m[7]*m[10]; + inv[8] = m[4]*m[9]*m[15] - m[4]*m[11]*m[13] - m[8]*m[5]*m[15] + + m[8]*m[7]*m[13] + m[12]*m[5]*m[11] - m[12]*m[7]*m[9]; + inv[12] = -m[4]*m[9]*m[14] + m[4]*m[10]*m[13] + m[8]*m[5]*m[14] + - m[8]*m[6]*m[13] - m[12]*m[5]*m[10] + m[12]*m[6]*m[9]; + inv[1] = -m[1]*m[10]*m[15] + m[1]*m[11]*m[14] + m[9]*m[2]*m[15] + - m[9]*m[3]*m[14] - m[13]*m[2]*m[11] + m[13]*m[3]*m[10]; + inv[5] = m[0]*m[10]*m[15] - m[0]*m[11]*m[14] - m[8]*m[2]*m[15] + + m[8]*m[3]*m[14] + m[12]*m[2]*m[11] - m[12]*m[3]*m[10]; + inv[9] = -m[0]*m[9]*m[15] + m[0]*m[11]*m[13] + m[8]*m[1]*m[15] + - m[8]*m[3]*m[13] - m[12]*m[1]*m[11] + m[12]*m[3]*m[9]; + inv[13] = m[0]*m[9]*m[14] - m[0]*m[10]*m[13] - m[8]*m[1]*m[14] + + m[8]*m[2]*m[13] + m[12]*m[1]*m[10] - m[12]*m[2]*m[9]; + inv[2] = m[1]*m[6]*m[15] - m[1]*m[7]*m[14] - m[5]*m[2]*m[15] + + m[5]*m[3]*m[14] + m[13]*m[2]*m[7] - m[13]*m[3]*m[6]; + inv[6] = -m[0]*m[6]*m[15] + m[0]*m[7]*m[14] + m[4]*m[2]*m[15] + - m[4]*m[3]*m[14] - m[12]*m[2]*m[7] + m[12]*m[3]*m[6]; + inv[10] = m[0]*m[5]*m[15] - m[0]*m[7]*m[13] - m[4]*m[1]*m[15] + + m[4]*m[3]*m[13] + m[12]*m[1]*m[7] - m[12]*m[3]*m[5]; + inv[14] = -m[0]*m[5]*m[14] + m[0]*m[6]*m[13] + m[4]*m[1]*m[14] + - m[4]*m[2]*m[13] - m[12]*m[1]*m[6] + m[12]*m[2]*m[5]; + inv[3] = -m[1]*m[6]*m[11] + m[1]*m[7]*m[10] + m[5]*m[2]*m[11] + - m[5]*m[3]*m[10] - m[9]*m[2]*m[7] + m[9]*m[3]*m[6]; + inv[7] = m[0]*m[6]*m[11] - m[0]*m[7]*m[10] - m[4]*m[2]*m[11] + + m[4]*m[3]*m[10] + m[8]*m[2]*m[7] - m[8]*m[3]*m[6]; + inv[11] = -m[0]*m[5]*m[11] + m[0]*m[7]*m[9] + m[4]*m[1]*m[11] + - m[4]*m[3]*m[9] - m[8]*m[1]*m[7] + m[8]*m[3]*m[5]; + inv[15] = m[0]*m[5]*m[10] - m[0]*m[6]*m[9] - m[4]*m[1]*m[10] + + m[4]*m[2]*m[9] + m[8]*m[1]*m[6] - m[8]*m[2]*m[5]; + + det = m[0]*inv[0] + m[1]*inv[4] + m[2]*inv[8] + m[3]*inv[12]; + + if (det == 0) return null; + + inverse_det = 1.0 / det; + + inv[0] *= inverse_det; + inv[1] *= inverse_det; + inv[2] *= inverse_det; + inv[3] *= inverse_det; + inv[4] *= inverse_det; + inv[5] *= inverse_det; + inv[6] *= inverse_det; + inv[7] *= inverse_det; + inv[8] *= inverse_det; + inv[9] *= inverse_det; + inv[10] *= inverse_det; + inv[11] *= inverse_det; + inv[12] *= inverse_det; + inv[13] *= inverse_det; + inv[14] *= inverse_det; + inv[15] *= inverse_det; + + return inv; + }, + + inverse: function (m) { + var a0 = m[0] * m[5] - m[1] * m[4]; + var a1 = m[0] * m[6] - m[2] * m[4]; + var a2 = m[0] * m[7] - m[3] * m[4]; + var a3 = m[1] * m[6] - m[2] * m[5]; + var a4 = m[1] * m[7] - m[3] * m[5]; + var a5 = m[2] * m[7] - m[3] * m[6]; + var b0 = m[8] * m[13] - m[9] * m[12]; + var b1 = m[8] * m[14] - m[10] * m[12]; + var b2 = m[8] * m[15] - m[11] * m[12]; + var b3 = m[9] * m[14] - m[10] * m[13]; + var b4 = m[9] * m[15] - m[11] * m[13]; + var b5 = m[10] * m[15] - m[11] * m[14]; + + var determinant = a0 * b5 - a1 * b4 + a2 * b3 + a3 * b2 - a4 * b1 + a5 * b0; + + if (determinant != 0) { + var m_inv = []; + m_inv[0] = 0 + m[5] * b5 - m[6] * b4 + m[7] * b3; + m_inv[4] = 0 - m[4] * b5 + m[6] * b2 - m[7] * b1; + m_inv[8] = 0 + m[4] * b4 - m[5] * b2 + m[7] * b0; + m_inv[12] = 0 - m[4] * b3 + m[5] * b1 - m[6] * b0; + m_inv[1] = 0 - m[1] * b5 + m[2] * b4 - m[3] * b3; + m_inv[5] = 0 + m[0] * b5 - m[2] * b2 + m[3] * b1; + m_inv[9] = 0 - m[0] * b4 + m[1] * b2 - m[3] * b0; + m_inv[13] = 0 + m[0] * b3 - m[1] * b1 + m[2] * b0; + m_inv[2] = 0 + m[13] * a5 - m[14] * a4 + m[15] * a3; + m_inv[6] = 0 - m[12] * a5 + m[14] * a2 - m[15] * a1; + m_inv[10] = 0 + m[12] * a4 - m[13] * a2 + m[15] * a0; + m_inv[14] = 0 - m[12] * a3 + m[13] * a1 - m[14] * a0; + m_inv[3] = 0 - m[9] * a5 + m[10] * a4 - m[11] * a3; + m_inv[7] = 0 + m[8] * a5 - m[10] * a2 + m[11] * a1; + m_inv[11] = 0 - m[8] * a4 + m[9] * a2 - m[11] * a0; + m_inv[15] = 0 + m[8] * a3 - m[9] * a1 + m[10] * a0; + + var inverse_det = 1.0 / determinant; + + m_inv[0] *= inverse_det; + m_inv[1] *= inverse_det; + m_inv[2] *= inverse_det; + m_inv[3] *= inverse_det; + m_inv[4] *= inverse_det; + m_inv[5] *= inverse_det; + m_inv[6] *= inverse_det; + m_inv[7] *= inverse_det; + m_inv[8] *= inverse_det; + m_inv[9] *= inverse_det; + m_inv[10] *= inverse_det; + m_inv[11] *= inverse_det; + m_inv[12] *= inverse_det; + m_inv[13] *= inverse_det; + m_inv[14] *= inverse_det; + m_inv[15] *= inverse_det; + + return m_inv; + } + + return null; + } + }; + + + var util = { + getScriptContents: function(id) { + var shaderScript = document.getElementById(id); + + var str = ""; + var srcUrl = ""; + + if (!shaderScript) { + srcUrl = id; + } else { + if (shaderScript.src !== "" || shaderScript.attributes['srcUrl'] !== undef) { + srcUrl = (shaderScript.src !== '') ? shaderScript.src : (shaderScript.attributes['srcUrl'].value); + } + } + + if (srcUrl.length !== 0) { + var xmlHttp = new XMLHttpRequest(); + xmlHttp.open('GET', srcUrl, false); + xmlHttp.send(null); + + if (xmlHttp.status === 200 || xmlHttp.status === 0) { + str = xmlHttp.responseText; + } + } else { + var k = shaderScript.firstChild; + while (k) { + if (k.nodeType === 3) { + str += k.textContent; + } + k = k.nextSibling; + } + } + + return str; + }, + getURL: function(srcUrl) { + try { + var xmlHttp = new XMLHttpRequest(); + xmlHttp.open('GET', srcUrl, false); + xmlHttp.send(null); + + if (xmlHttp.status === 200 || xmlHttp.status === 0) { + if (xmlHttp.responseText.length) { + return xmlHttp.responseText; + } else if (xmlHttp.responseXML) { + return xmlHttp.responseXML; + } + } + } + catch(e) { + alert(srcUrl + " failed to load."); + } + + + return null; + }, + getXML: function(srcUrl) { + try { + var xmlHttp = new XMLHttpRequest(); + xmlHttp.open('GET', srcUrl, false); + xmlHttp.overrideMimeType("application/xml"); + xmlHttp.send(null); + + if (xmlHttp.status === 200 || xmlHttp.status === 0) { + return xmlHttp.responseXML; + } + } + catch(e) { + try { + alert(srcUrl + " failed to load."); + } + catch (ex) { + throw(e); + } + } + + + return null; + }, + repackArray: function(data, stride, count) { + if (data.length !== parseInt(stride, 10) * parseInt(count, 10)) { + log("array repack error, data size !== stride*count: data.length=" + + data.length + " stride=" + stride + " count=" + count); + } + + var returnData = []; + + var c = 0; + for (var i = 0, iMax = data.length; i < iMax; i++) { + var ims = i % stride; + + if (ims === 0) { + returnData[c] = []; + } + + returnData[c][ims] = data[i]; + + if (ims === stride - 1) { + c++; + } + } + + return returnData; + }, + collectTextNode: function(tn) { + if (!tn) { + return ""; + } + + var s = ""; + var textNodeChildren = tn.childNodes; + for (var i = 0, tnl = textNodeChildren.length; i < tnl; i++) { + s += textNodeChildren[i].nodeValue; + } + return s; + }, + floatDelimArray: function(float_str, delim) { +// if (!float_str) return []; + var fa = float_str.split(delim ? delim : ","); + for (var i = 0, imax = fa.length; i < imax; i++) { + fa[i] = parseFloat(fa[i]); + } + if (fa[fa.length - 1] !== fa[fa.length - 1]) { + fa.pop(); + } + return fa; + }, + intDelimArray: function(float_str, delim) { +// if (!float_str) return []; + var fa = float_str.split(delim ? delim : ","); + for (var i = 0, imax = fa.length; i < imax; i++) { + fa[i] = parseInt(fa[i], 10); + } + if (fa[fa.length - 1] !== fa[fa.length - 1]) { + fa.pop(); + } + return fa; + }, + textDelimArray: function(text_str, delim) { +// if (!text_str) return ""; + var fa = text_str.split(delim ? delim : ","); + for (var i = 0, imax = fa.length; i < imax; i++) { + fa[i] = fa[i]; + } + return fa; + } + }; + + + var MAX_LIGHTS=6; + + + /* Core Init, single context only at the moment */ + GLCore.init = function(gl_in, vs_in, fs_in) { + var gl; + + if (gl_in.getContext!==undef&&gl_in.width!==undef&&gl_in.height!==undef) + { + try { + gl = gl_in.getContext("experimental-webgl"); + gl.viewport(0, 0, gl_in.width, gl_in.height); + + // set these default, can always be easily over-ridden + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clearDepth(1.0); + gl.enable(gl.DEPTH_TEST); + gl.depthFunc(gl.LEQUAL); + } catch (e) {} + + if (!gl) { +// alert("Could not initialise WebGL, sorry :-("); + return null; + } + } + else + { + gl = gl_in; + } + + + GLCore.gl = gl; + GLCore.CoreShader_vs = util.getScriptContents(vs_in); + GLCore.CoreShader_fs = util.getScriptContents(fs_in); + GLCore.depth_alpha = false; + GLCore.default_filter = enums.texture.filter.LINEAR_MIP; + GLCore.mainloop = null; + + gl.enable(gl.CULL_FACE); + gl.cullFace(gl.BACK); + gl.frontFace(gl.CCW); + + + for (var i = enums.light.type.NULL; i < enums.light.type.MAX; i++) { + ShaderPool[i] = []; + } + + var dummyTex = new CubicVR.Texture(); + var lightTest = new CubicVR.Material(); + + for (var i = 0; i < enums.texture.map.MAX; i++) { + if (i===enums.texture.map.BUMP) continue; // fix for crashy fglrx driver, todo: check it against newer revisions. + lightTest.setTexture(dummyTex,i); + } + lightTest.opacity = 0.5; + + var lc = 1; + + try { + while (1) { + lightTest.use(enums.light.type.POINT,lc); + if (lc === 8) { + MAX_LIGHTS=lc; + break; + } + lc++; + } + } catch (e) { + MAX_LIGHTS=lc; + // console.log(e); + } + + log("Calibrated maximum lights per pass to: "+lc); + + + for (var i = enums.light.type.NULL; i < enums.light.type.MAX; i++) { + ShaderPool[i] = []; + } + + + return gl; + }; + + GLCore.setDepthAlpha = function(da, near, far) { + GLCore.depth_alpha = da; + GLCore.depth_alpha_near = near; + GLCore.depth_alpha_far = far; + }; + + GLCore.setDefaultFilter = function(filterType) { + GLCore.default_filter = filterType; + }; + + + + + var cubicvr_compileShader = function(gl, str, type) { + var shader; + + if (type === "x-shader/x-fragment") { + shader = gl.createShader(gl.FRAGMENT_SHADER); + } else if (type === "x-shader/x-vertex") { + shader = gl.createShader(gl.VERTEX_SHADER); + } else { + return null; + } + + gl.shaderSource(shader, str); + gl.compileShader(shader); + + if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) { + log(gl.getShaderInfoLog(shader)); + return null; + } + + return shader; + }; + + var cubicvr_getShader = function(gl, id) { + var shaderScript = document.getElementById(id); + + if (!shaderScript) { + return null; + } + + var str = ""; + var k = shaderScript.firstChild; + while (k) { + if (k.nodeType === 3) { + str += k.textContent; + } + k = k.nextSibling; + } + + var shader; + + if (shaderScript.type === "x-shader/x-fragment") { + shader = gl.createShader(gl.FRAGMENT_SHADER); + } else if (shaderScript.type === "x-shader/x-vertex") { + shader = gl.createShader(gl.VERTEX_SHADER); + } else { + return null; + } + + gl.shaderSource(shader, str); + gl.compileShader(shader); + + if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) { + log(gl.getShaderInfoLog(shader)); +// return null; + } + + return shader; + }; + + /***************************************************************************** + * Workers + *****************************************************************************/ + + function CubicVR_Worker(settings) { + this.worker = new Worker(SCRIPT_LOCATION + "CubicVR.js"); + this.message = settings.message; + this.error = settings.error; + this.type = settings.type; + var that = this; + this.worker.onmessage = function(e) { + if (that.message) { + that.message(e.data); + } //if + }; + this.worker.onerror = function(e) { + if (that.error) { + that.error(e); + } else { + log("Error: " + e.message + ": " + e.lineno); + } //if + }; //onerror + this.fn = function(fn, options) { + that.worker.postMessage({ + message: "function", + data: fn, + options: options, + }); + }; + this.start = function(options) { + that.worker.postMessage({ + message: "start", + data: that.type, + options: options + }); + }; + this.init = function(data) { + that.send({message:'init', data:data}); + }; + this.stop = function() { + that.worker.postMessage({ + message: "stop", + data: null + }); + }; + this.send = function(message) { + that.worker.postMessage({ + message: "data", + data: message + }); + }; + }; //CubicVR_Worker::Constructor + + function CubicVR_TestWorker() { + var that = this; + this.onmessage = function(message) { + if (message.test) { + setTimeout(function(){postMessage(message.test);}, 1000); + } + else { + setTimeout(function(){throw new Error(message);}, 1000); + } //if + }; //onmessage + }; //CubicVR_TestWorker + + function CubicVR_ColladaLoadWorker() { + var that = this; + this.onmessage = function(message) { + }; //onmessage + }; //CubicVR_ColladaLoadWorker + + function CubicVR_WorkerConnection() { + this.listener = null; + } //CubicVR_WorkerConnection + var WorkerConnection = new CubicVR_WorkerConnection(); + + if (1) { + self.addEventListener('message', function(e) { + var message = e.data.message; + var type = e.data.data; + if (message === "start") { + if (type === "test") { + WorkerConnection.listener = new CubicVR_TestWorker(); + } + else if (type === "load_collada") { + WorkerConnection.listener = new CubicVR_ColladaLoadWorker(); + } + else if (type === "octree") { + WorkerConnection.listener = new CubicVR_OctreeWorker(); + } //if + } + else if (message === "function") { + var data = e.data.data; + var options = e.data.options; + var parts = data.split('('); + if (parts.length > 1 && parts[1].indexOf(')') > -1) { + var prefix = parts[0]; + var suffix = parts[1].substr(0,parts[1].length-1); + var args = options || suffix.split(','); + var chain = prefix.split('.'); + var fn = CubicVR; + for (var i=0; i<chain.length; ++i) { + fn = fn[chain[i]]; + } //for + if (fn && typeof fn === 'function') { + var ret = fn.apply(fn, args); + postMessage(ret); + } //if + } + else { + throw new Error('Worker command not formatted properly.'); + } //if + } + else if (message === "data") { + if (WorkerConnection.listener !== null) { + var data = e.data ? e.data.data : null; + WorkerConnection.listener.onmessage(e.data.data); + } //if + } + else if (message === "stop") { + if (WorkerConnection.listener !== null && WorkerConnection.listener.stop) { + WorkerConnection.listener.stop(); + } //if + } //if + }, false); + } //if + + /* Timer */ + + function Timer() { + this.time_elapsed = 0; + this.system_milliseconds = 0; + this.start_time = 0; + this.end_time = 0; + this.last_update = 0; + this.paused_time = 0; + this.offset = 0; + this.paused_state = 0; + } + + + Timer.prototype.start = function () { + this.update(); + this.num_updates = 0; + this.start_time = this.system_milliseconds; + this.last_update = this.start_time; + this.paused_state = false; + this.lock_state = false; + this.lock_rate = 0; + this.paused_time = 0; + this.offset = 0; + } + + + Timer.prototype.stop = function () { + this.end_time = this.system_milliseconds; + } + + + Timer.prototype.reset = function () { + this.start(); + } + + + Timer.prototype.lockFramerate = function (f_rate) { + this.lock_rate = 1.0 / this.f_rate; + this.lock_state = true; + } + + + Timer.prototype.unlock = function () { + var msec_tmp = this.system_milliseconds; + this.lock_state = false; + this.update(); + this.last_update = this.system_milliseconds - this.lock_rate; + this.offset += msec_tmp - this.system_milliseconds; + this.lock_rate = 0; + } + + Timer.prototype.locked = function () { + return this.lock_state; + } + + Timer.prototype.update = function () { + this.num_updates++; + this.last_update = this.system_milliseconds; + + if (this.lock_state) { + this.system_milliseconds += parseInt(lock_rate * 1000); + } else { + this.system_milliseconds = (new Date()).getTime(); + } + + + if (this.paused_state) this.paused_time += this.system_milliseconds - this.last_update; + + this.time_elapsed = this.system_milliseconds - this.start_time - this.paused_time + this.offset; + } + + + Timer.prototype.getMilliseconds = function () { + return this.time_elapsed; + } + + + + Timer.prototype.getSeconds = function () { + return this.getMilliseconds() / 1000.0; + } + + + Timer.prototype.setMilliseconds = function (milliseconds_in) { + this.offset -= (this.system_milliseconds - this.start_time - this.paused_time + this.offset) - milliseconds_in; + } + + + + Timer.prototype.setSeconds = function (seconds_in) { + this.setMilliseconds(parseInt(seconds_in * 1000.0)); + } + + + Timer.prototype.getLastUpdateSeconds = function () { + return this.getLastUpdateMilliseconds() / 1000.0; + } + + + Timer.prototype.getLastUpdateMilliseconds = function () { + return this.system_milliseconds - this.last_update; + } + + Timer.prototype.getTotalMilliseconds = function () { + return this.system_milliseconds - this.start_time; + } + + + Timer.prototype.getTotalSeconds = function () { + return this.getTotalMilliseconds() / 1000.0; + } + + + Timer.prototype.getNumUpdates = function () { + return this.num_updates; + } + + + Timer.prototype.setPaused = function (pause_in) { + this.paused_state = pause_in; + } + + Timer.prototype.getPaused = function () { + return this.paused_state; + } + + + /* Run-Loop Controller */ + + function MainLoopRequest() + { + var gl = GLCore.gl; + + if (CubicVR.GLCore.mainloop === null) return; + + CubicVR.GLCore.mainloop.interval(); + + if (window.requestAnimationFrame) { + window.requestAnimationFrame(MainLoopRequest); + } + } + + function setMainLoop(ml) + { + CubicVR.GLCore.mainloop=ml; + } + + function MainLoop(mlfunc,doclear) + { + if (window.requestAnimationFrame === undef) { + window.requestAnimationFrame = null; // XXX Emscripten - Disable this for now, due to bugginess window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || null; + } + + if (CubicVR.GLCore.mainloop !== null) + { + // kill old mainloop + + if (!(window.requestAnimationFrame) && CubicVR.GLCore.mainloop) + { + clearInterval(CubicVR.GLCore.mainloop.interval); + } + + CubicVR.GLCore.mainloop = null; + } + + if (mlfunc === null) + { + CubicVR.GLCore.mainloop = null; + return; + } + + var timer = new Timer(); + timer.start(); + + this.timer = timer; + this.func = mlfunc; + this.doclear = (doclear!==undef)?doclear:true; + CubicVR.GLCore.mainloop = this; + + var loopFunc = function() { return function() { + var gl = CubicVR.GLCore.gl; + timer.update(); + if (CubicVR.GLCore.mainloop.doclear) gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT); + mlfunc(timer,CubicVR.GLCore.gl); + }; }(); + + if (window.requestAnimationFrame) { + loopFunc(); + this.interval = loopFunc; + window.requestAnimationFrame(MainLoopRequest); + } else { + this.interval = setInterval(loopFunc, 1000/60); // XXX Emscripten: Need 1/60 for bullet, not the usual 1/50 + } + } + + MainLoop.prototype.setPaused = function(state) { + this.timer.setPaused(state); + }; + + MainLoop.prototype.getPaused = function() { + return this.timer.getPaused(); + }; + + MainLoop.prototype.setTimerSeconds = function(time_in) { + this.timer.setSeconds(time_in); + }; + + + MainLoop.prototype.getTimerSeconds = function() { + return this.timer.getSeconds(); + }; + + + MainLoop.prototype.resetTimer = function() { + this.timer.reset(); + }; + + + /* Simple Orbital View Controller */ + function MouseViewController(canvas,cam_in) + { + this.canvas = canvas; + this.camera = cam_in; + this.mpos = [0,0] + this.mdown = false; + + var ctx = this; + + this.onMouseDown = function () { return function (ev) + { + ctx.mdown = true; + ctx.mpos = [ev.pageX-ev.target.offsetLeft,ev.pageY-ev.target.offsetTop]; + } }(); + + this.onMouseUp = function () { return function (ev) + { + ctx.mdown = false; + ctx.mpos = [ev.pageX-ev.target.offsetLeft,ev.pageY-ev.target.offsetTop]; + } }(); + + this.onMouseMove = function () { return function (ev) + { + var mdelta = []; + + var npos = [ev.pageX-ev.target.offsetLeft,ev.pageY-ev.target.offsetTop]; + + mdelta[0] = ctx.mpos[0]-npos[0]; + mdelta[1] = ctx.mpos[1]-npos[1]; + + ctx.mpos = npos; +// ctx.mpos = [ev.clientX,ev.clientY]; + if (!ctx.mdown) return; + + var dv = vec3.subtract(ctx.camera.target,ctx.camera.position); + var dist = vec3.length(dv); + + ctx.camera.position = vec3.moveViewRelative(ctx.camera.position,ctx.camera.target,dist*mdelta[0]/300.0,0); + ctx.camera.position[1] -= dist*mdelta[1]/300.0; + + ctx.camera.position = vec3.add(ctx.camera.target,vec3.multiply(vec3.normalize(vec3.subtract(ctx.camera.position,ctx.camera.target)),dist)); + } }(); + + this.onMouseWheel = function() { return function (ev) + { + var delta = ev.wheelDelta?ev.wheelDelta:(-ev.detail*10.0); + + var dv = vec3.subtract(ctx.camera.target,ctx.camera.position); + var dist = vec3.length(dv); + + dist -= delta/1000.0; + + if (dist < 0.1) dist = 0.1; + if (dist > 1000) dist = 1000; + // if (camDist > 20.0) camDist = 20.0; + + ctx.camera.position = vec3.add(ctx.camera.target,vec3.multiply(vec3.normalize(vec3.subtract(ctx.camera.position,ctx.camera.target)),dist)); + } }(); + + this.bind(); + } + + MouseViewController.prototype.bind = function() { + this.canvas.addEventListener('mousemove', this.onMouseMove, false); + this.canvas.addEventListener('mousedown', this.onMouseDown, false); + this.canvas.addEventListener('mouseup', this.onMouseUp, false); + this.canvas.addEventListener('mousewheel', this.onMouseWheel, false); + this.canvas.addEventListener('DOMMouseScroll', this.onMouseWheel, false); + }; + + MouseViewController.prototype.unbind = function() { + this.canvas.removeEventListener('mousemove', this.onMouseMove, false); + this.canvas.removeEventListener('mousedown', this.onMouseDown, false); + this.canvas.removeEventListener('mouseup', this.onMouseUp, false); + this.canvas.removeEventListener('mousewheel', this.onMouseWheel, false); + this.canvas.removeEventListener('DOMMouseScroll', this.onMouseWheel, false); + }; + + MouseViewController.prototype.setCamera = function(cam_in) { + this.camera = cam_in; + } + + MouseViewController.prototype.getMousePosition = function() { + return this.mpos; + } + + + /* Transform Controller */ + + function Transform(init_mat) { + return this.clearStack(init_mat); + } + + Transform.prototype.setIdentity = function() { + this.m_stack[this.c_stack] = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]; + if (this.valid === this.c_stack && this.c_stack) { + this.valid--; + } + return this; + }; + + + Transform.prototype.getIdentity = function() { + return [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]; + }; + + Transform.prototype.invalidate = function() { + this.valid = 0; + this.result = null; + return this; + }; + + + Transform.prototype.getResult = function() { + if (!this.c_stack) { + return this.m_stack[0]; + } + + var m = cubicvr_identity; + + if (this.valid > this.c_stack-1) this.valid = this.c_stack-1; + + for (var i = this.valid; i < this.c_stack+1; i++) { + m = mat4.multiply(this.m_stack[i],m); + this.m_cache[i] = m; + } + + this.valid = this.c_stack-1; + + this.result = this.m_cache[this.c_stack]; + + return this.result; + }; + + Transform.prototype.pushMatrix = function(m) { + this.c_stack++; + this.m_stack[this.c_stack] = (m ? m : cubicvr_identity); + return this; + }; + + Transform.prototype.popMatrix = function() { + if (this.c_stack === 0) { + return; + } + this.c_stack--; + return this; + }; + + Transform.prototype.clearStack = function(init_mat) { + this.m_stack = []; + this.m_cache = []; + this.c_stack = 0; + this.valid = 0; + this.result = null; + + if (init_mat !== undef) { + this.m_stack[0] = init_mat; + } else { + this.setIdentity(); + } + + return this; + }; + + Transform.prototype.translate = function(x, y, z) { + if (typeof(x) === 'object') { + return this.translate(x[0], x[1], x[2]); + } + + var m = this.getIdentity(); + + m[12] = x; + m[13] = y; + m[14] = z; + + this.m_stack[this.c_stack] = mat4.multiply(m,this.m_stack[this.c_stack]); + if (this.valid === this.c_stack && this.c_stack) { + this.valid--; + } + + return this; + }; + + + Transform.prototype.scale = function(x, y, z) { + if (typeof(x) === 'object') { + return this.scale(x[0], x[1], x[2]); + } + + + var m = this.getIdentity(); + + m[0] = x; + m[5] = y; + m[10] = z; + + this.m_stack[this.c_stack] = mat4.multiply(m,this.m_stack[this.c_stack]); + if (this.valid === this.c_stack && this.c_stack) { + this.valid--; + } + + return this; + }; + + + Transform.prototype.rotate = function(ang, x, y, z) { + if (typeof(ang) === 'object') { + this.rotate(ang[0], 1, 0, 0); + this.rotate(ang[1], 0, 1, 0); + this.rotate(ang[2], 0, 0, 1); + return this; + } + + var sAng, cAng; + + if (x || y || z) { + sAng = Math.sin(-ang * (M_PI / 180.0)); + cAng = Math.cos(-ang * (M_PI / 180.0)); + } + + if (z) { + var Z_ROT = this.getIdentity(); + + Z_ROT[0] = cAng * z; + Z_ROT[4] = sAng * z; + Z_ROT[1] = -sAng * z; + Z_ROT[5] = cAng * z; + + this.m_stack[this.c_stack] = mat4.multiply(this.m_stack[this.c_stack],Z_ROT); + } + + if (y) { + var Y_ROT = this.getIdentity(); + + Y_ROT[0] = cAng * y; + Y_ROT[8] = -sAng * y; + Y_ROT[2] = sAng * y; + Y_ROT[10] = cAng * y; + + this.m_stack[this.c_stack] = mat4.multiply(this.m_stack[this.c_stack],Y_ROT); + } + + + if (x) { + var X_ROT = this.getIdentity(); + + X_ROT[5] = cAng * x; + X_ROT[9] = sAng * x; + X_ROT[6] = -sAng * x; + X_ROT[10] = cAng * x; + + this.m_stack[this.c_stack] = mat4.multiply(this.m_stack[this.c_stack],X_ROT); + } + + if (this.valid === this.c_stack && this.c_stack) { + this.valid--; + } + + return this; + }; + + /* Quaternions */ + + function Quaternion() { + if (arguments.length === 1) { + this.x = arguments[0][0]; + this.y = arguments[0][1]; + this.z = arguments[0][2]; + this.w = arguments[0][3]; + } + if (arguments.length === 4) { + this.x = arguments[0]; + this.y = arguments[1]; + this.z = arguments[2]; + this.w = arguments[3]; + } + } + + Quaternion.prototype.length = function() { + return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w); + }; + + Quaternion.prototype.normalize = function() { + var n = Math.sqrt(this.length()); + this.x /= n; + this.y /= n; + this.z /= n; + this.w /= n; + }; + + Quaternion.prototype.fromEuler = function(bank, heading, pitch) // x,y,z + { + var c1 = Math.cos((M_PI / 180.0) * heading / 2.0); + var s1 = Math.sin((M_PI / 180.0) * heading / 2.0); + var c2 = Math.cos((M_PI / 180.0) * pitch / 2.0); + var s2 = Math.sin((M_PI / 180.0) * pitch / 2.0); + var c3 = Math.cos((M_PI / 180.0) * bank / 2.0); + var s3 = Math.sin((M_PI / 180.0) * bank / 2.0); + var c1c2 = c1 * c2; + var s1s2 = s1 * s2; + + this.w = c1c2 * c3 - s1s2 * s3; + this.x = c1c2 * s3 + s1s2 * c3; + this.y = s1 * c2 * c3 + c1 * s2 * s3; + this.z = c1 * s2 * c3 - s1 * c2 * s3; + }; + + + Quaternion.prototype.toEuler = function() { + var sqw = this.w * this.w; + var sqx = this.x * this.x; + var sqy = this.y * this.y; + var sqz = this.z * this.z; + + var x = (180 / M_PI) * ((Math.atan2(2.0 * (this.y * this.z + this.x * this.w), (-sqx - sqy + sqz + sqw)))); + var y = (180 / M_PI) * ((Math.asin(-2.0 * (this.x * this.z - this.y * this.w)))); + var z = (180 / M_PI) * ((Math.atan2(2.0 * (this.x * this.y + this.z * this.w), (sqx - sqy - sqz + sqw)))); + + return [x, y, z]; + }; + + Quaternion.prototype.multiply = function(q1, q2) { + var selfSet = false; + + if (q2 === undef) { + q2 = q1; + q1 = this; + } + + var x = q1.x * q2.w + q1.w * q2.x + q1.y * q2.z - q1.z * q2.y; + var y = q1.y * q2.w + q1.w * q2.y + q1.z * q2.x - q1.x * q2.z; + var z = q1.z * q2.w + q1.w * q2.z + q1.x * q2.y - q1.y * q2.x; + var w = q1.w * q2.w - q1.x * q2.x - q1.y * q2.y - q1.z * q2.z; + + if (selfSet) { + this.x = x; + this.y = y; + this.z = z; + this.w = w; + } else { + return new Quaternion(x, y, z, w); + } + }; + + + /* Faces */ + + function Face() { + this.points = []; + this.point_normals = []; + this.uvs = []; + this.normal = [0, 0, 0]; + this.material = 0; + this.segment = 0; + } + + Face.prototype.setUV = function(uvs, point_num) { + if (this.uvs === undef) { + this.uvs = []; + } + + if (point_num !== undef) { + this.uvs[point_num] = uvs; + } else { + if (uvs.length !== 2) { + this.uvs = uvs; + } else { + this.uvs.push(uvs); + } + } + }; + + Face.prototype.flip = function() { + for (var i = 0, iMax = this.point_normals.length; i < iMax; i++) { + this.point_normals[i] = [this.point_normals[i][0], this.point_normals[i][1], this.point_normals[i][2]]; + } + + this.points.reverse(); + this.point_normals.reverse(); + this.uvs.reverse(); + this.normal = [-this.normal[0], -this.normal[1], -this.normal[2]]; + }; + + function Mesh(objName) { + this.points = []; // point list + this.faces = []; // faces with point references + this.currentFace = -1; // start with no faces + this.currentMaterial = 0; // null material + this.currentSegment = 0; // default segment + this.compiled = null; // VBO data + this.bb = null; + this.name = objName ? objName : null; + this.hasUV = false; + this.hasNorm = false; + } + + Mesh.prototype.showAllSegments = function() { + for (var i in this.segment_state) { + if (this.segment_state.hasOwnProperty(i)) { + this.segment_state[i] = true; + } + } + }; + + Mesh.prototype.hideAllSegments = function() { + for (var i in this.segment_state) { + if (this.segment_state.hasOwnProperty(i)) { + this.segment_state[i] = false; + } + } + }; + + Mesh.prototype.setSegment = function(i, val) { + if (val !== undef) { + this.segment_state[i] = val; + } else { + this.currentSegment = i; + } + }; + + Mesh.prototype.addPoint = function(p) { + if (p.length !== 3 || typeof(p[0]) === 'object') { + for (var i = 0, iMax = p.length; i < iMax; i++) { + this.points.push(p[i]); + } + } else { + this.points.push(p); + } + + return this.points.length - 1; + }; + + Mesh.prototype.setFaceMaterial = function(mat,facenum) { + var mat_id = (typeof(mat) === 'object') ? mat.material_id : mat; + + if (facenum !== undef) { + if (this.faces[facenum] !== undef) { + this.faces[facenum].material = mat_id; + } + } else { + this.currentMaterial = mat_id; + } + }; + + Mesh.prototype.addFace = function(p_list, face_num, face_mat, face_seg) { + if (typeof(p_list[0]) !== 'number') { + for (var i = 0, iMax = p_list.length; i < iMax; i++) { + if (!p_list.hasOwnProperty(i)) { + continue; + } + + this.addFace(p_list[i]); + } + + return; + } + + if (face_num === undef) { + this.currentFace = this.faces.length; + this.faces.push(new Face()); + } else { + if (this.faces[face_num] === undef) { + this.faces[face_num] = new Face(); + } + + this.currentFace = face_num; + } + + if (typeof(p_list) === 'object') { + this.faces[this.currentFace].points = p_list; + } + + if (face_mat !== undef) { + this.faces[this.currentFace].material = (typeof(face_mat) === 'object') ? face_mat.material_id : face_mat; + } else { + this.faces[this.currentFace].material = this.currentMaterial; + } + + if (face_seg !== undef) { + this.faces[this.currentFace].segment = face_seg; + } else { + this.faces[this.currentFace].segment = this.currentSegment; + } + + + return this.currentFace; + }; + + + Mesh.prototype.triangulateQuads = function() { + for (var i = 0, iMax = this.faces.length; i < iMax; i++) { + if (this.faces[i].points.length === 4) { + var p = this.faces.length; + + this.addFace([this.faces[i].points[2], this.faces[i].points[3], this.faces[i].points[0]], this.faces.length, this.faces[i].material, this.faces[i].segment); + this.faces[i].points.pop(); + this.faces[p].normal = this.faces[i].normal; + + if (this.faces[i].uvs !== undef) { + if (this.faces[i].uvs.length === 4) { + this.faces[p].setUV(this.faces[i].uvs[2], 0); + this.faces[p].setUV(this.faces[i].uvs[3], 1); + this.faces[p].setUV(this.faces[i].uvs[0], 2); + + this.faces[i].uvs.pop(); + } + } + + if (this.faces[i].point_normals.length === 4) { + this.faces[p].point_normals[0] = this.faces[i].point_normals[2]; + this.faces[p].point_normals[1] = this.faces[i].point_normals[3]; + this.faces[p].point_normals[2] = this.faces[i].point_normals[0]; + + this.faces[i].point_normals.pop(); + } + + } + } + + return this; + }; + + + Mesh.prototype.booleanAdd = function(objAdd, transform) { + var pofs = this.points.length; + var fofs = this.faces.length; + + var i, j, iMax, jMax; + + if (transform !== undef) { + var m = transform.getResult(); + for (i = 0, iMax = objAdd.points.length; i < iMax; i++) { + this.addPoint(mat4.vec3_multiply(objAdd.points[i], m)); + } + } else { + for (i = 0, iMax = objAdd.points.length; i < iMax; i++) { + this.addPoint([objAdd.points[i][0], objAdd.points[i][1], objAdd.points[i][2]]); + } + } + + for (i = 0, iMax = objAdd.faces.length; i < iMax; i++) { + var newFace = []; + + for (j = 0, jMax = objAdd.faces[i].points.length; j < jMax; j++) { + newFace.push(objAdd.faces[i].points[j] + pofs); + } + + var nFaceNum = this.addFace(newFace); + var nFace = this.faces[nFaceNum]; + + nFace.segment = objAdd.faces[i].segment; + nFace.material = objAdd.faces[i].material; + + for (j = 0, jMax = objAdd.faces[i].uvs.length; j < jMax; j++) { + nFace.uvs[j] = [objAdd.faces[i].uvs[j][0], objAdd.faces[i].uvs[j][1]]; + } + + for (j = 0, jMax = objAdd.faces[i].point_normals.length; j < jMax; j++) { + nFace.point_normals[j] = [objAdd.faces[i].point_normals[j][0], objAdd.faces[i].point_normals[j][1], objAdd.faces[i].point_normals[j][2]]; + } + } + + return this; + }; + + Mesh.prototype.calcFaceNormals = function() { + for (var i = 0, iMax = this.faces.length; i < iMax; i++) { + if (this.faces[i].points.length < 3) { + this.faces[i].normal = [0, 0, 0]; + continue; + } + + this.faces[i].normal = vec3.normalize(triangle.normal(this.points[this.faces[i].points[0]], this.points[this.faces[i].points[1]], this.points[this.faces[i].points[2]])); + } + + return this; + }; + + + Mesh.prototype.getMaterial = function(m_name) { + + if (this.compiled !== null) + { + for (var i in this.compiled.elements) { + if (this.compiled.elements.hasOwnProperty(i)) { + if (Materials[i].name === m_name) { + return Materials[i]; + } + } + } + } + else + { + var matVisit = []; + + for (var j = 0, jMax = this.faces.length; j < jMax; j++) + { + var matId = this.faces[j].material; + + if (matVisit.indexOf(matId)===-1) + { + if (Materials[matId].name === m_name) + { + return Materials[matId]; + } + matVisit.push(matId); + } + } + } + + + return null; + }; + + + Mesh.prototype.calcNormals = function() { + this.calcFaceNormals(); + + var i, j, k, iMax; + + var point_smoothRef = new Array(this.points.length); + for (i = 0, iMax = point_smoothRef.length; i < iMax; i++) { + point_smoothRef[i] = []; + } + + var numFaces = this.faces.length; + + // build a quick list of point/face sharing + for (i = 0; i < numFaces; i++) { + var numFacePoints = this.faces[i].points.length; + + for (j = 0; j < numFacePoints; j++) { + var idx = this.faces[i].points[j]; + + // if (point_smoothRef[idx] === undef) point_smoothRef[idx] = []; + point_smoothRef[idx].push([i, j]); + } + } + + + // step through smoothing references and compute normals + for (i = 0, iMax = this.points.length; i < iMax; i++) { + // if(!point_smoothRef.hasOwnProperty(i)) { continue; } + // if (typeof(point_smoothRef[i]) === undef) { continue; } + var numPts = point_smoothRef[i].length; + + for (j = 0; j < numPts; j++) { + var ptCount = 1; + var faceNum = point_smoothRef[i][j][0]; + var pointNum = point_smoothRef[i][j][1]; + var max_smooth = Materials[this.faces[faceNum].material].max_smooth; + var thisFace = this.faces[faceNum]; + + // set point to it's face's normal + var tmpNorm = new Array(3); + + tmpNorm[0] = thisFace.normal[0]; + tmpNorm[1] = thisFace.normal[1]; + tmpNorm[2] = thisFace.normal[2]; + + // step through all other faces which share this point + if (max_smooth !== 0) { + for (k = 0; k < numPts; k++) { + if (j === k) { + continue; + } + var faceRefNum = point_smoothRef[i][k][0]; + var thisFaceRef = this.faces[faceRefNum]; + + var ang = vec3.angle(thisFaceRef.normal, thisFace.normal); + + if ((ang !== ang) || ((ang * (180.0 / M_PI)) <= max_smooth)) { + tmpNorm[0] += thisFaceRef.normal[0]; + tmpNorm[1] += thisFaceRef.normal[1]; + tmpNorm[2] += thisFaceRef.normal[2]; + + ptCount++; + } + } + } + + tmpNorm[0] /= ptCount; + tmpNorm[1] /= ptCount; + tmpNorm[2] /= ptCount; + + this.faces[faceNum].point_normals[pointNum] = vec3.normalize(tmpNorm); + } + } + + return this; + }; + + + Mesh.prototype.clean = function() { + var i,iMax; + + + for (i = 0, iMax=this.points.length; i < iMax; i++) + { + delete(this.points[i]); + this.points[i]=null; + } + this.points = []; + + for (i = 0, iMax=this.faces.length; i < iMax; i++) + { + delete(this.faces[i].points); + delete(this.faces[i].point_normals); + delete(this.faces[i].uvs); + delete(this.faces[i].normal); + delete(this.faces[i]); + this.faces[i]=null; + } + this.faces = []; + + + return this; + } + + Mesh.prototype.compile = function() { + this.compiled = {}; + + this.bb = []; + + var compileRef = []; + + var i, j, k, x, y, iMax, kMax, yMax; + + for (i = 0, iMax = this.faces.length; i < iMax; i++) { + if (this.faces[i].points.length === 3) { + var matId = this.faces[i].material; + var segId = this.faces[i].segment; + + if (compileRef[matId] === undef) { + compileRef[matId] = []; + } + if (compileRef[matId][segId] === undef) { + compileRef[matId][segId] = []; + } + + compileRef[matId][segId].push(i); + } + } + + var vtxRef = []; + + this.compiled.vbo_normals = []; + this.compiled.vbo_points = []; + this.compiled.vbo_uvs = []; + + var idxCount = 0; + var hasUV = false; + var hasNorm = false; + var faceNum; + + for (i in compileRef) { + if (compileRef.hasOwnProperty(i)) { + for (j in compileRef[i]) { + if (compileRef[i].hasOwnProperty(j)) { + for (k = 0; k < compileRef[i][j].length; k++) { + faceNum = compileRef[i][j][k]; + hasUV = hasUV || (this.faces[faceNum].uvs.length !== 0); + hasNorm = hasNorm || (this.faces[faceNum].point_normals.length !== 0); + } + } + } + } + } + + if (hasUV) { + for (i = 0; i < this.faces.length; i++) { + if (!this.faces[i].uvs.length) { + for (j = 0; j < this.faces[i].points.length; j++) { + this.faces[i].uvs.push([0, 0]); + } + } + } + } + + if (hasNorm) { + for (i = 0; i < this.faces.length; i++) { + if (!this.faces[i].point_normals.length) { + for (j = 0; j < this.faces[i].points.length; j++) { + this.faces[i].point_normals.push([0, 0, 0]); + } + } + } + } + + this.hasUV = hasUV; + this.hasNorm = hasNorm; + + var pVisitor = []; + + for (i in compileRef) { + if (compileRef.hasOwnProperty(i)) { + for (j in compileRef[i]) { + if (compileRef[i].hasOwnProperty(j)) { + for (k = 0, kMax = compileRef[i][j].length; k < kMax; k++) { + faceNum = compileRef[i][j][k]; + var found = false; + + for (x = 0; x < 3; x++) { + var ptNum = this.faces[faceNum].points[x]; + + var foundPt = -1; + + if (vtxRef[ptNum] !== undef) { + for (y = 0, yMax = vtxRef[ptNum].length; y < yMax; y++) { + // face / point + var oFace = vtxRef[ptNum][y][0]; // faceNum + var oPoint = vtxRef[ptNum][y][1]; // pointNum + var oIndex = vtxRef[ptNum][y][2]; // index + foundPt = oIndex; + + if (hasNorm) { + foundPt = (vec3.equal( + this.faces[oFace].point_normals[oPoint], this.faces[faceNum].point_normals[x])) ? foundPt : -1; + } + + if (hasUV) { + foundPt = (vec2.equal( + this.faces[oFace].uvs[oPoint], this.faces[faceNum].uvs[x])) ? foundPt : -1; + } + } + } + + if (foundPt !== -1) { + if (this.compiled.elements === undef) { + this.compiled.elements = []; + } + if (this.compiled.elements[i] === undef) { + this.compiled.elements[i] = []; + } + if (this.compiled.elements[i][j] === undef) { + this.compiled.elements[i][j] = []; + } + this.compiled.elements[i][j].push(foundPt); + } else { + this.compiled.vbo_points.push(this.points[ptNum][0]); + this.compiled.vbo_points.push(this.points[ptNum][1]); + this.compiled.vbo_points.push(this.points[ptNum][2]); + + if (this.bb.length === 0) { + this.bb[0] = [this.points[ptNum][0], + this.points[ptNum][1], + this.points[ptNum][2]]; + + this.bb[1] = [this.points[ptNum][0], + this.points[ptNum][1], + this.points[ptNum][2]]; + } else { + if (this.points[ptNum][0] < this.bb[0][0]) { + this.bb[0][0] = this.points[ptNum][0]; + } + if (this.points[ptNum][1] < this.bb[0][1]) { + this.bb[0][1] = this.points[ptNum][1]; + } + if (this.points[ptNum][2] < this.bb[0][2]) { + this.bb[0][2] = this.points[ptNum][2]; + } + + if (this.points[ptNum][0] > this.bb[1][0]) { + this.bb[1][0] = this.points[ptNum][0]; + } + if (this.points[ptNum][1] > this.bb[1][1]) { + this.bb[1][1] = this.points[ptNum][1]; + } + if (this.points[ptNum][2] > this.bb[1][2]) { + this.bb[1][2] = this.points[ptNum][2]; + } + } + + if (hasNorm) { + this.compiled.vbo_normals.push(this.faces[faceNum].point_normals[x][0]); + this.compiled.vbo_normals.push(this.faces[faceNum].point_normals[x][1]); + this.compiled.vbo_normals.push(this.faces[faceNum].point_normals[x][2]); + } + + if (hasUV) { + this.compiled.vbo_uvs.push(this.faces[faceNum].uvs[x][0]); + this.compiled.vbo_uvs.push(this.faces[faceNum].uvs[x][1]); + } + + if (this.compiled.elements === undef) { + this.compiled.elements = []; + } + if (this.compiled.elements[i] === undef) { + this.compiled.elements[i] = []; + } + if (this.compiled.elements[i][j] === undef) { + this.compiled.elements[i][j] = []; + } + + this.compiled.elements[i][j].push(idxCount); + + if (vtxRef[ptNum] === undef) { + vtxRef[ptNum] = []; + } + + vtxRef[ptNum].push([faceNum, x, idxCount]); + idxCount++; + } + } + } + } + } + } + } + + this.compiled.gl_points = GLCore.gl.createBuffer(); + GLCore.gl.bindBuffer(GLCore.gl.ARRAY_BUFFER, this.compiled.gl_points); + GLCore.gl.bufferData(GLCore.gl.ARRAY_BUFFER, new Float32Array(this.compiled.vbo_points), GLCore.gl.STATIC_DRAW); + + if (hasNorm) { + this.compiled.gl_normals = GLCore.gl.createBuffer(); + GLCore.gl.bindBuffer(GLCore.gl.ARRAY_BUFFER, this.compiled.gl_normals); + GLCore.gl.bufferData(GLCore.gl.ARRAY_BUFFER, new Float32Array(this.compiled.vbo_normals), GLCore.gl.STATIC_DRAW); + } + else + { + this.compiled.gl_normals = null; + } + + if (hasUV) { + this.compiled.gl_uvs = GLCore.gl.createBuffer(); + GLCore.gl.bindBuffer(GLCore.gl.ARRAY_BUFFER, this.compiled.gl_uvs); + GLCore.gl.bufferData(GLCore.gl.ARRAY_BUFFER, new Float32Array(this.compiled.vbo_uvs), GLCore.gl.STATIC_DRAW); + } + else + { + this.compiled.gl_uvs = null; + } + + var gl_elements = []; + + this.segment_state = []; + this.compiled.elements_ref = []; + + var ictr = 0; + + for (i in this.compiled.elements) { + if (this.compiled.elements.hasOwnProperty(i)) { + this.compiled.elements_ref[ictr] = []; + + var jctr = 0; + + for (j in this.compiled.elements[i]) { + if (this.compiled.elements[i].hasOwnProperty(j)) { + for (k in this.compiled.elements[i][j]) { + if (this.compiled.elements[i][j].hasOwnProperty(k)) { + gl_elements.push(this.compiled.elements[i][j][k]); + } + } + + this.segment_state[j] = true; + + this.compiled.elements_ref[ictr][jctr] = [parseInt(i), parseInt(j), parseInt(this.compiled.elements[i][j].length)]; + + jctr++; + } + } + ictr++; + } + } + + this.compiled.gl_elements = GLCore.gl.createBuffer(); + GLCore.gl.bindBuffer(GLCore.gl.ELEMENT_ARRAY_BUFFER, this.compiled.gl_elements); + GLCore.gl.bufferData(GLCore.gl.ELEMENT_ARRAY_BUFFER, new Uint16Array(gl_elements), GLCore.gl.STATIC_DRAW); + + // dump temporary buffers + this.compiled.vbo_normals = null; + this.compiled.vbo_points = null; + this.compiled.vbo_uvs = null; + this.compiled.elements = null; + + GLCore.gl.bindBuffer(GLCore.gl.ELEMENT_ARRAY_BUFFER, null); + + return this; + }; + + + + function UVMapper(obj_in) { + if (obj_in!==undef) { + this.rotation = (obj_in.rotation===undef)?[0, 0, 0]:obj_in.rotation; + this.scale = (obj_in.scale===undef)?[1, 1, 1]:obj_in.scale; + this.center = (obj_in.center===undef)?[0, 0, 0]:obj_in.center; + this.projection_mode = (obj_in.projectionMode===undef)?enums.uv.projection.PLANAR:obj_in.projectionMode; + this.projection_axis = (obj_in.projectionAxis===undef)?enums.uv.axis.X:obj_in.projectionAxis; + this.wrap_w_count = (obj_in.wrapW===undef)?1:obj_in.wrapW; + this.wrap_h_count = (obj_in.wrapH===undef)?1:obj_in.wrapH; + } else { + this.rotation = [0, 0, 0]; + this.scale = [1, 1, 1]; + this.center = [0, 0, 0]; + this.projection_mode = enums.uv.projection.PLANAR; + this.projection_axis = enums.uv.axis.X; + this.wrap_w_count = 1; + this.wrap_h_count = 1; + } + } + + + UVMapper.prototype.setRotation = function(rotation) { + this.rotation = rotation; + } + + UVMapper.prototype.setScale = function(scale) { + this.scale = scale; + } + + UVMapper.prototype.setCenter = function(center) { + this.center = center; + } + + UVMapper.prototype.setProjectionAxis = function(projection_axis) { + this.projection_axis = projection_axis; + } + + UVMapper.prototype.setProjectionMode = function(projection_mode) { + this.projection_mode = projection_mode; + } + + UVMapper.prototype.setWrapW = function(wrap_w) { + this.wrap_w_count = wrap_w; + } + + UVMapper.prototype.setWrapH = function(wrap_h) { + this.wrap_h_count = wrap_h; + } + + + // convert XYZ space to longitude + var xyz_to_h = function(x, y, z) { + var h; + + if (x === 0 && z === 0) { + h = 0; + } else { + if (z === 0) { + h = (x < 0) ? M_HALF_PI : -M_HALF_PI; + } else if (z < 0) { + h = -Math.atan(x / z) + M_PI; + } else { + h = -Math.atan(x / z); + } + } + + return h; + }; + + + // convert XYZ space to latitude and longitude + var xyz_to_hp = function(x, y, z) { + var h, p; + + if (x === 0 && z === 0) { + h = 0; + + if (y !== 0) { + p = (y < 0) ? -M_HALF_PI : M_HALF_PI; + } else { + p = 0; + } + } else { + if (z === 0) { + h = (x < 0) ? M_HALF_PI : -M_HALF_PI; + } else if (z < 0) { + h = -Math.atan(x / z) + M_PI; + } else { + h = -Math.atan(x / z); + } + + x = Math.sqrt(x * x + z * z); + + if (x === 0) { + p = (y < 0) ? -M_HALF_PI : M_HALF_PI; + } else { + p = Math.atan(y / x); + } + } + + return [h, p]; + }; + + + UVMapper.prototype.apply = function(obj, mat_num, seg_num) { + var u, v, s, t, lat, lon; + + var trans = new Transform(); + var transformed = false; + var t_result = null; + + if (this.center[0] || this.center[1] || this.center[2]) { + trans.translate(-this.center[0], -this.center[1], -this.center[2]); + transformed = true; + } + + if (this.rotation[0] || this.rotation[1] || this.rotation[2]) { + if (this.rotation[0]) { + trans.rotate(this.rotation[2], 0, 0, 1); + } + if (this.rotation[1]) { + trans.rotate(this.rotation[1], 0, 1, 0); + } + if (this.rotation[2]) { + trans.rotate(this.rotation[0], 1, 0, 0); + } + transformed = true; + } + + if (transformed) { + t_result = trans.getResult(); + } + + if (typeof(mat_num) === 'object') { + mat_num = mat_num.material_id; + } + + for (var i = 0, iMax = obj.faces.length; i < iMax; i++) { + if (obj.faces[i].material !== mat_num) { + continue; + } + if (seg_num !== undef) { + if (obj.faces[i].segment !== seg_num) { + continue; + } + } + + var nx, ny, nz; + + if (this.projection_mode === enums.uv.projection.CUBIC || this.projection_mode === enums.uv.projection.SKY) { + nx = Math.abs(obj.faces[i].normal[0]); + ny = Math.abs(obj.faces[i].normal[1]); + nz = Math.abs(obj.faces[i].normal[2]); + } + + for (var j = 0, jMax = obj.faces[i].points.length; j < jMax; j++) { + var uvpoint = obj.points[obj.faces[i].points[j]]; + + if (transformed) { + uvpoint = mat4.vec3_multiply(uvpoint, t_result); + } + + /* calculate the uv for the points referenced by this face's pointref vector */ + var p_mode = this.projection_mode; + //switch (this.projection_mode) { + if (p_mode === enums.uv.projection.SKY) { + //case enums.uv.projection.SKY: + var mapping = obj.sky_mapping; + /* see enums.uv.projection.CUBIC for normalization reasoning */ + if (nx >= ny && nx >= nz) { + s = uvpoint[2] / (this.scale[2]) + this.scale[2] / 2; + t = -uvpoint[1] / (this.scale[1]) + this.scale[1] / 2; + if (obj.faces[i].normal[0] < 0) { + //left + s = (mapping[2][2] - mapping[2][0]) * (1-s); + t = 1-((mapping[2][3] - mapping[2][1]) * (t)); + s += mapping[2][0]; + t += mapping[2][1]; + } + else { + //right + s = (mapping[3][2] - mapping[3][0]) * (s); + t = 1-((mapping[3][3] - mapping[3][1]) * (t)); + s += mapping[3][0]; + t += mapping[3][1]; + } //if + } //if + if (ny >= nx && ny >= nz) { + s = uvpoint[0] / (this.scale[0]) + this.scale[0] / 2; + t = -uvpoint[2] / (this.scale[2]) + this.scale[2] / 2; + if (obj.faces[i].normal[1] < 0) { + //down + s = ((mapping[1][2] - mapping[1][0]) * (s)); + t = 1-((mapping[1][3] - mapping[1][1]) * (t)); + s += mapping[1][0]; + t -= mapping[1][1]; + } + else { + //up + s = ((mapping[0][2] - mapping[0][0]) * (s)); + t = 1-((mapping[0][3] - mapping[0][1]) * (t)); + s += mapping[0][0]; + t -= mapping[0][1]; + } //if + } //if + if (nz >= nx && nz >= ny) { + s = uvpoint[0] / (this.scale[0]) + this.scale[0] / 2; + t = uvpoint[1] / (this.scale[1]) + this.scale[1] / 2; + if (obj.faces[i].normal[2] < 0) { + //front + s = ((mapping[4][2] - mapping[4][0]) * (s)); + t = 1-((mapping[4][3] - mapping[4][1]) * (1-t)); + s += mapping[4][0]; + t -= mapping[4][1]; + } + else { + //back + s = ((mapping[5][2] - mapping[5][0]) * (1-s)); + t = 1-((mapping[5][3] - mapping[5][1]) * (1-t)); + s += mapping[5][0]; + t += mapping[5][1]; + } //if + } //if + obj.faces[i].setUV([s, t], j); + //break; + } + else if (p_mode === enums.uv.projection.CUBIC) { + //case enums.uv.projection.CUBIC: + /* cubic projection needs to know the surface normal */ + /* x portion of vector is dominant, we're mapping in the Y/Z plane */ + if (nx >= ny && nx >= nz) { + /* we use a .5 offset because texture coordinates range from 0->1, so to center it we need to offset by .5 */ + s = uvpoint[2] / this.scale[2] + 0.5; + /* account for scale here */ + t = uvpoint[1] / this.scale[1] + 0.5; + } + + /* y portion of vector is dominant, we're mapping in the X/Z plane */ + if (ny >= nx && ny >= nz) { + + s = -uvpoint[0] / this.scale[0] + 0.5; + t = uvpoint[2] / this.scale[2] + 0.5; + } + + /* z portion of vector is dominant, we're mapping in the X/Y plane */ + if (nz >= nx && nz >= ny) { + s = -uvpoint[0] / this.scale[0] + 0.5; + t = uvpoint[1] / this.scale[1] + 0.5; + } + + if (obj.faces[i].normal[0] > 0) { + s = -s; + } + if (obj.faces[i].normal[1] < 0) { + s = -s; + } + if (obj.faces[i].normal[2] > 0) { + s = -s; + } + + obj.faces[i].setUV([s, t], j); + //break; + } + else if (p_mode === enums.uv.projection.PLANAR) { + //case enums.uv.projection.PLANAR: + s = ((this.projection_axis === enums.uv.axis.X) ? uvpoint[2] / this.scale[2] + 0.5 : -uvpoint[0] / this.scale[0] + 0.5); + t = ((this.projection_axis === enums.uv.axis.Y) ? uvpoint[2] / this.scale[2] + 0.5 : uvpoint[1] / this.scale[1] + 0.5); + + obj.faces[i].setUV([s, t], j); + //break; + } + else if (p_mode === enums.uv.projection.CYLINDRICAL) { + //case enums.uv.projection.CYLINDRICAL: + // Cylindrical is a little more tricky, we map based on the degree around the center point + var p_axis = this.projection_axis; + //switch (this.projection_axis) { + if (p_axis === enums.uv.axis.X) { + //case enums.uv.axis.X: + // xyz_to_h takes the point and returns a value representing the 'unwrapped' height position of this point + lon = xyz_to_h(uvpoint[2], uvpoint[0], -uvpoint[1]); + t = -uvpoint[0] / this.scale[0] + 0.5; + //break; + } + else if (p_axis === enums.uv.axis.Y) { + //case enums.uv.axis.Y: + lon = xyz_to_h(-uvpoint[0], uvpoint[1], uvpoint[2]); + t = -uvpoint[1] / this.scale[1] + 0.5; + //break; + } + else if (p_axis === enums.uv.axis.Z) { + //case enums.uv.axis.Z: + lon = xyz_to_h(-uvpoint[0], uvpoint[2], -uvpoint[1]); + t = -uvpoint[2] / this.scale[2] + 0.5; + //break; + } //if + + // convert it from radian space to texture space 0 to 1 * wrap, TWO_PI = 360 degrees + lon = 1.0 - lon / (M_TWO_PI); + + if (this.wrap_w_count !== 1.0) { + lon = lon * this.wrap_w_count; + } + + u = lon; + v = t; + + obj.faces[i].setUV([u, v], j); + //break; + } + else if (p_mode === enums.uv.projection.SPHERICAL) { + //case enums.uv.projection.SPHERICAL: + var latlon; + + // spherical is similar to cylindrical except we also unwrap the 'width' + var p_axis = this.projection_axis; + //switch (this.projection_axis) { + if (p_axis === enums.uv.axis.X) { + //case enums.uv.axis.X: + // xyz to hp takes the point value and 'unwraps' the latitude and longitude that projects to that point + latlon = xyz_to_hp(uvpoint[2], uvpoint[0], -uvpoint[1]); + //break; + } + else if (p_axis === enums.uv.axis.Y) { + //case enums.uv.axis.Y: + latlon = xyz_to_hp(uvpoint[0], -uvpoint[1], uvpoint[2]); + //break; + } + else if (p_axis === enums.uv.axis.Z) { + //case enums.uv.axis.Z: + latlon = xyz_to_hp(-uvpoint[0], uvpoint[2], -uvpoint[1]); + //break; + } //if + + // convert longitude and latitude to texture space coordinates, multiply by wrap height and width + lon = 1.0 - latlon[0] / M_TWO_PI; + lat = 0.5 - latlon[1] / M_PI; + + if (this.wrap_w_count !== 1.0) { + lon = lon * this.wrap_w_count; + } + if (this.wrap_h_count !== 1.0) { + lat = lat * this.wrap_h_count; + } + + u = lon; + v = lat; + + obj.faces[i].setUV([u, v], j); + //break; + } + else { + + // case enums.uv.projection.UV: + // // not handled here.. + // break; + //default: + // else mapping cannot be handled here, this shouldn't have happened :P + u = 0; + v = 0; + obj.faces[i].setUV([u, v], j); + //break; + } //if + } //for + } //for - faces + + return this; + }; + + function AABB_size(aabb) { + var x = aabb[0][0] < aabb[1][0] ? aabb[1][0] - aabb[0][0] : aabb[0][0] - aabb[1][0]; + var y = aabb[0][1] < aabb[1][1] ? aabb[1][1] - aabb[0][1] : aabb[0][1] - aabb[1][1]; + var z = aabb[0][2] < aabb[1][2] ? aabb[1][2] - aabb[0][2] : aabb[0][2] - aabb[1][2]; + return [x,y,z]; + } //AABB_size + function AABB_reset(aabb, point) { + if (point === undefined) { + point = [0,0,0]; + } //if + aabb[0][0] = point[0]; + aabb[0][1] = point[1]; + aabb[0][2] = point[2]; + aabb[1][0] = point[0]; + aabb[1][1] = point[1]; + aabb[1][2] = point[2]; + } //AABB_reset + function AABB_engulf(aabb, point) { + if (aabb[0][0] > point[0]) { + aabb[0][0] = point[0]; + } + if (aabb[0][1] > point[1]) { + aabb[0][1] = point[1]; + } + if (aabb[0][2] > point[2]) { + aabb[0][2] = point[2]; + } + if (aabb[1][0] < point[0]) { + aabb[1][0] = point[0]; + } + if (aabb[1][1] < point[1]) { + aabb[1][1] = point[1]; + } + if (aabb[1][2] < point[2]) { + aabb[1][2] = point[2]; + } + } //AABB::engulf + + +/* Lights */ + +function Light(light_type, lighting_method) { + if (light_type === undef) { + light_type = enums.light.type.POINT; + } + if (lighting_method === undef) { + lighting_method = enums.light.method.DYNAMIC; + } + + if (typeof(light_type)=='object') { + this.light_type = (light_type.type!==undef)?light_type.type:enums.light.type.POINT; + this.diffuse = (light_type.diffuse!==undef)?light_type.diffuse:[1, 1, 1]; + this.specular = (light_type.specular!==undef)?light_type.specular:[1.0,1.0,1.0]; + this.intensity = (light_type.intensity!==undef)?light_type.intensity:1.0; + this.position = (light_type.position!==undef)?light_type.position:[0, 0, 0]; + this.direction = (light_type.direction!==undef)?light_type.direction:[0, 0, 0]; + this.distance = (light_type.distance!==undef)?light_type.distance:10; + this.method = (light_type.method!==undef)?light_type.method:lighting_method; + } else { + this.light_type = light_type; + this.diffuse = [1, 1, 1]; + this.specular = [1.0,1.0,1.0]; + this.intensity = 1.0; + this.position = [0, 0, 0]; + this.direction = [0, 0, 0]; + this.distance = 10; + this.method = lighting_method; + } + + this.trans = new Transform(); + this.lposition = [0, 0, 0]; + this.tMatrix = this.trans.getResult(); + this.dirty = true; + this.octree_leaves = []; + this.octree_common_root = null; + this.octree_aabb = [[0, 0, 0], [0, 0, 0]]; + this.ignore_octree = false; + this.visible = true; + this.culled = true; + this.was_culled = true; + this.aabb = [[0,0,0],[0,0,0]]; + AABB_reset(this.aabb, this.position); + this.adjust_octree = SceneObject.prototype.adjust_octree; + this.motion = null; +} + +Light.prototype.setType = function(light_type) { + this.light_type = type; +} + +Light.prototype.setMethod = function(method) { + this.method = method; +} + +Light.prototype.setDiffuse = function(diffuse) { + this.diffuse = diffuse; +} +Light.prototype.setSpecular = function(specular) { + this.specular = specular; +} +Light.prototype.setIntensity = function(intensity) { + this.intensity = intensity; +} +Light.prototype.setPosition = function(position) { + this.position = position; +} +Light.prototype.setDistance = function(distance) { + this.distance = distance; +} + + +Light.prototype.control = function(controllerId, motionId, value) { + if (controllerId === enums.motion.POS) { + this.position[motionId] = value; + } else if (controllerId === enums.motion.INTENSITY) { + this.intensity = value; + } + + // else if (controllerId === enums.motion.ROT) { + // this.rotation[motionId] = value; + // } +} + +Light.prototype.doTransform = function(mat) { + if (!vec3.equal(this.lposition, this.position) || (mat !== undef)) { + this.trans.clearStack(); + this.trans.translate(this.position); + if ((mat !== undef)) { + this.trans.pushMatrix(mat); + } + this.tMatrix = this.trans.getResult(); + this.lposition[0] = this.position[0]; + this.lposition[1] = this.position[1]; + this.lposition[2] = this.position[2]; + this.dirty = true; + this.adjust_octree(); + } //if +} //Light::doTransform + +Light.prototype.getAABB = function() { + var aabb = [[0, 0, 0], [0, 0, 0]]; + AABB_engulf(aabb, [this.distance, this.distance, this.distance]); + AABB_engulf(aabb, [-this.distance, -this.distance, -this.distance]); + aabb[0] = vec3.add(aabb[0], this.position); + aabb[1] = vec3.add(aabb[1], this.position); + this.aabb = aabb; + return this.aabb; +}; + +Light.prototype.setDirection = function(x, y, z) { + if (typeof(x) === 'object') { + this.setDirection(x[0], x[1], x[2]); + return; + } + + + this.direction = vec3.normalize([x, y, z]); + + return this; +}; + +Light.prototype.setRotation = function(x, y, z) { + if (typeof(x) === 'object') { + this.setRotation(x[0], x[1], x[2]); + return; + } + + var t = new Transform(); + t.rotate([-x, -y, -z]); + t.pushMatrix(); + + this.direction = vec3.normalize(mat4.vec3_multiply([1, 0, 0], t.getResult())); + + return this; +}; + + +Light.prototype.setupShader = function(lShader,lNum) { + // lShader.setVector("lights["+lNum+"].lDiff", this.diffuse); + // lShader.setVector("lights["+lNum+"].lSpec", this.specular); + // lShader.setFloat("lights["+lNum+"].lInt", this.intensity); + // lShader.setFloat("lights["+lNum+"].lDist", this.distance); + // lShader.setVector("lights["+lNum+"].lPos", this.position); + // lShader.setVector("lights["+lNum+"].lDir", this.direction); + + var gl = GLCore.gl; + + gl.uniform3fv(lShader.lights[lNum].lDiff, this.diffuse); + gl.uniform3fv(lShader.lights[lNum].lSpec, this.specular); + gl.uniform3fv(lShader.lights[lNum].lPos, this.position); + gl.uniform3fv(lShader.lights[lNum].lDir, this.direction); + + gl.uniform1f(lShader.lights[lNum].lInt, this.intensity); + gl.uniform1f(lShader.lights[lNum].lDist, this.distance); + +}; + +var emptyLight = new Light(enums.light.type.POINT); +emptyLight.diffuse = [0, 0, 0]; +emptyLight.specular = [0, 0, 0]; +emptyLight.distance = 0; +emptyLight.intensity = 0; + +/* Shaders */ + +function Shader(vs_id, fs_id) { + var vertexShader; + var fragmentShader; + var loadedShader; + + this.uniforms = []; + this.uniform_type = []; + this.uniform_typelist = []; + + if (vs_id.indexOf("\n") !== -1) { + vertexShader = cubicvr_compileShader(GLCore.gl, vs_id, "x-shader/x-vertex"); + } else { + vertexShader = cubicvr_getShader(GLCore.gl, vs_id); + + if (vertexShader === null) { + loadedShader = util.getURL(vs_id); + + vertexShader = cubicvr_compileShader(GLCore.gl, loadedShader, "x-shader/x-vertex"); + } + } + + if (fs_id.indexOf("\n") !== -1) { + fragmentShader = cubicvr_compileShader(GLCore.gl, fs_id, "x-shader/x-fragment"); + } else { + fragmentShader = cubicvr_getShader(GLCore.gl, fs_id); + + if (fragmentShader === null) { + loadedShader = util.getURL(fs_id); + + fragmentShader = cubicvr_compileShader(GLCore.gl, loadedShader, "x-shader/x-fragment"); + } + + } + + + this.shader = GLCore.gl.createProgram(); + GLCore.gl.attachShader(this.shader, vertexShader); + GLCore.gl.attachShader(this.shader, fragmentShader); + GLCore.gl.linkProgram(this.shader); + + if (!GLCore.gl.getProgramParameter(this.shader, GLCore.gl.LINK_STATUS)) { +// alert("Could not initialise shader vert(" + vs_id + "), frag(" + fs_id + ")"); + throw new Error("Could not initialise shader vert(" + vs_id + "), frag(" + fs_id + ")"); + return; + } +} + + +Shader.prototype.bindSelf = function(uniform_id) { + var t,k,p,v; + + if (uniform_id.indexOf(".")!==-1) { + if (uniform_id.indexOf("[")!==-1) { + t = uniform_id.split("["); + p = t[0]; + t = t[1].split("]"); + k = t[0]; + t = t[1].split("."); + v = t[1]; + + if (this[p] === undef) { + this[p] = []; + } + if (this[p][k] === undef) { + this[p][k] = {}; + } + + this[p][k][v] = this.uniforms[uniform_id]; + + } else { // untested + t = uniform_id.split("."); + p = t[0]; + v = t[1]; + + if (this[p] === undef) { + this[p] = {}; + } + + this[p][v] = this.uniforms[uniform_id]; + + } + } else if ( uniform_id.indexOf("[") !== -1){ // untested + t = uniform_id.split("["); + p = t[0]; + t = t[1].split("]"); + k = t[0]; + + if (this[p] === undef) { + this[p] = []; + } + + this[p][k] = this.uniforms[uniform_id]; + } + else { + this[uniform_id] = this.uniforms[uniform_id]; + } +} + +Shader.prototype.addMatrix = function(uniform_id, default_val) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getUniformLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.MATRIX; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + if (default_val !== undef) { + this.setMatrix(uniform_id, default_val); + } + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + +Shader.prototype.addVector = function(uniform_id, default_val) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getUniformLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.VECTOR; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + if (default_val !== undef) { + this.setVector(uniform_id, default_val); + } + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + +Shader.prototype.addFloat = function(uniform_id, default_val) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getUniformLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.FLOAT; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + if (default_val !== undef) { + this.setFloat(uniform_id, default_val); + } + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + + +Shader.prototype.addVertexArray = function(uniform_id) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getAttribLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.ARRAY_VERTEX; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + +Shader.prototype.addUVArray = function(uniform_id) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getAttribLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.ARRAY_UV; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + +Shader.prototype.addFloatArray = function(uniform_id) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getAttribLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.ARRAY_FLOAT; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + +Shader.prototype.addInt = function(uniform_id, default_val) { + this.use(); + this.uniforms[uniform_id] = GLCore.gl.getUniformLocation(this.shader, uniform_id); + this.uniform_type[uniform_id] = enums.shader.uniform.INT; + this.uniform_typelist.push([this.uniforms[uniform_id], this.uniform_type[uniform_id]]); + + if (default_val !== undef) { + this.setInt(uniform_id, default_val); + } + + this.bindSelf(uniform_id); + return this.uniforms[uniform_id]; +}; + +Shader.prototype.use = function() { + GLCore.gl.useProgram(this.shader); +}; + +Shader.prototype.setMatrix = function(uniform_id, mat) { + var u = this.uniforms[uniform_id]; + if (u === null) { + return; + } + + var l = mat.length; + + if (l===16) { + GLCore.gl.uniformMatrix4fv(u, false, mat); + } else if (l === 9) { + GLCore.gl.uniformMatrix3fv(u, false, mat); + } else if (l === 4) { + GLCore.gl.uniformMatrix2fv(u, false, mat); + } +}; + +Shader.prototype.setInt = function(uniform_id, val) { + var u = this.uniforms[uniform_id]; + if (u === null) { + return; + } + + GLCore.gl.uniform1i(u, val); +}; + +Shader.prototype.setFloat = function(uniform_id, val) { + var u = this.uniforms[uniform_id]; + if (u === null) { + return; + } + + GLCore.gl.uniform1f(u, val); +}; + +Shader.prototype.setVector = function(uniform_id, val) { + var u = this.uniforms[uniform_id]; + if (u === null) { + return; + } + + var l = val.length; + + if (l==3) { + GLCore.gl.uniform3fv(u, val); + } else if (l==2) { + GLCore.gl.uniform2fv(u, val); + } else { + GLCore.gl.uniform4fv(u, val); + } +}; + + +Shader.prototype.clearArray = function(uniform_id) { + var gl = GLCore.gl; + var u = this.uniforms[uniform_id]; + if (u === null) { + return; + } + + gl.disableVertexAttribArray(u); +}; + +Shader.prototype.bindArray = function(uniform_id, buf) { + var gl = GLCore.gl; + var u = this.uniforms[uniform_id]; + if (u === null) { + return; + } + + var t = this.uniform_type[uniform_id]; + + if (t === enums.shader.uniform.ARRAY_VERTEX) { + gl.bindBuffer(gl.ARRAY_BUFFER, buf); + gl.vertexAttribPointer(u, 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(u); + } else if (t === enums.shader.uniform.ARRAY_UV) { + gl.bindBuffer(gl.ARRAY_BUFFER, buf); + gl.vertexAttribPointer(u, 2, gl.FLOAT, false, 0, 0); + } else if (t === enums.shader.uniform.ARRAY_FLOAT) { + gl.bindBuffer(gl.ARRAY_BUFFER, buf); + gl.vertexAttribPointer(u, 1, gl.FLOAT, false, 0, 0); + } +}; + + +/* Materials */ + +var Material = function(mat_name) { + this.material_id = -1; + + /* + if (mat_name !== undef) { + var old_mat = Material_ref[mat_name]; + if (old_mat) { + var old_id = old_mat.material_id; + Materials[old_id] = this; + old_mat = null; + } //if + Material_ref[mat_name] = this; + } + */ + + //if (this.material_id === -1) { + this.material_id = Materials.length; + Materials.push(this); + //} //if + + this.initialized = false; + this.textures = []; + this.shader = []; + this.customShader = null; + + if (typeof(mat_name)==='object') { + this.diffuse = (mat_name.diffuse===undef)?[1.0, 1.0, 1.0]:mat_name.diffuse; + this.specular = (mat_name.specular===undef)?[0.1, 0.1, 0.1]:mat_name.specular; + this.color = (mat_name.color===undef)?[1, 1, 1]:mat_name.color; + this.ambient = (mat_name.ambient===undef)?[0, 0, 0]:mat_name.ambient; + this.opacity = (mat_name.opacity===undef)?1.0:mat_name.opacity; + this.shininess = (mat_name.shininess===undef)?1.0:mat_name.shininess; + this.max_smooth = (mat_name.max_smooth===undef)?60.0:mat_name.max_smooth; + this.env_amount = (mat_name.env_amount===undef)?0.75:mat_name.env_amount; + this.name = (mat_name.name===undef)?undef:mat_name.name; + + if (typeof(mat_name.textures)==='object') { + if (mat_name.textures.color!==undef) this.setTexture(mat_name.textures.color,enums.texture.map.COLOR); + if (mat_name.textures.envsphere!==undef) this.setTexture(mat_name.textures.envsphere,enums.texture.map.ENVSPHERE); + if (mat_name.textures.normal!==undef) this.setTexture(mat_name.textures.normal,enums.texture.map.NORMAL); + if (mat_name.textures.bump!==undef) this.setTexture(mat_name.textures.bump,enums.texture.map.BUMP); + if (mat_name.textures.reflect!==undef) this.setTexture(mat_name.textures.reflect,enums.texture.map.REFLECT); + if (mat_name.textures.specular!==undef) this.setTexture(mat_name.textures.specular,enums.texture.map.SPECULAR); + if (mat_name.textures.ambient!==undef) this.setTexture(mat_name.textures.ambient,enums.texture.map.AMBIENT); + if (mat_name.textures.alpha!==undef) this.setTexture(mat_name.textures.alpha,enums.texture.map.ALPHA); + } + } else { + this.diffuse = [1.0, 1.0, 1.0]; + this.specular = [0.1, 0.1, 0.1]; + this.color = [1, 1, 1]; + this.ambient = [0, 0, 0]; + this.opacity = 1.0; + this.shininess = 1.0; + this.max_smooth = 60.0; + this.name = mat_name; + } + +}; + +Material.prototype.setTexture = function(tex, tex_type) { + if (tex_type === undef) { + tex_type = 0; + } + this.textures[tex_type] = tex; +}; + + + +Material.prototype.calcShaderMask = function() { + var shader_mask = 0; + + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.COLOR]) === 'object') ? enums.shader.map.COLOR : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.SPECULAR]) === 'object') ? enums.shader.map.SPECULAR : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.NORMAL]) === 'object') ? enums.shader.map.NORMAL : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.BUMP]) === 'object') ? enums.shader.map.BUMP : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.REFLECT]) === 'object') ? enums.shader.map.REFLECT : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.ENVSPHERE]) === 'object') ? enums.shader.map.ENVSPHERE : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.AMBIENT]) === 'object') ? enums.shader.map.AMBIENT : 0); + shader_mask = shader_mask + ((typeof(this.textures[enums.texture.map.ALPHA]) === 'object') ? enums.shader.map.ALPHA : 0); + shader_mask = shader_mask + ((this.opacity !== 1.0) ? enums.shader.map.ALPHA : 0); + + return shader_mask; +}; + + +Material.prototype.getShaderHeader = function(light_type,light_count) { + return ((light_count !== undef) ? ("#define loopCount "+light_count+"\n"):"") + + "#define hasColorMap " + ((typeof(this.textures[enums.texture.map.COLOR]) === 'object') ? 1 : 0) + "\n#define hasSpecularMap " + ((typeof(this.textures[enums.texture.map.SPECULAR]) === 'object') ? 1 : 0) + "\n#define hasNormalMap " + ((typeof(this.textures[enums.texture.map.NORMAL]) === 'object') ? 1 : 0) + "\n#define hasBumpMap " + ((typeof(this.textures[enums.texture.map.BUMP]) === 'object') ? 1 : 0) + "\n#define hasReflectMap " + ((typeof(this.textures[enums.texture.map.REFLECT]) === 'object') ? 1 : 0) + "\n#define hasEnvSphereMap " + ((typeof(this.textures[enums.texture.map.ENVSPHERE]) === 'object') ? 1 : 0) + "\n#define hasAmbientMap " + ((typeof(this.textures[enums.texture.map.AMBIENT]) === 'object') ? 1 : 0) + "\n#define hasAlphaMap " + ((typeof(this.textures[enums.texture.map.ALPHA]) === 'object') ? 1 : 0) + "\n#define hasAlpha " + ((this.opacity !== 1.0) ? 1 : 0) + "\n#define lightPoint " + ((light_type === enums.light.type.POINT) ? 1 : 0) + "\n#define lightDirectional " + ((light_type === enums.light.type.DIRECTIONAL) ? 1 : 0) + "\n#define lightSpot " + ((light_type === enums.light.type.SPOT) ? 1 : 0) + "\n#define lightArea " + ((light_type === enums.light.type.AREA) ? 1 : 0) + "\n#define alphaDepth " + (GLCore.depth_alpha ? 1 : 0) + "\n\n"; +}; + + +Material.prototype.bindObject = function(obj_in, light_shader) { + var gl = GLCore.gl; + + var u = light_shader; + var up = u.aVertexPosition; + var uv = u.aTextureCoord; + var un = u.aNormal; + + gl.bindBuffer(gl.ARRAY_BUFFER, obj_in.compiled.gl_points); + gl.vertexAttribPointer(up, 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(up); + + if (obj_in.compiled.gl_uvs!==null && uv !==-1) { + gl.bindBuffer(gl.ARRAY_BUFFER, obj_in.compiled.gl_uvs); + gl.vertexAttribPointer(uv, 2, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(uv); + } + + if (obj_in.compiled.gl_normals!==null && un !==-1) { + gl.bindBuffer(gl.ARRAY_BUFFER, obj_in.compiled.gl_normals); + gl.vertexAttribPointer(un, 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(un); + } + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, obj_in.compiled.gl_elements); +}; + +Material.prototype.clearObject = function(obj_in,light_shader) { + var gl = GLCore.gl; + + var u = light_shader; + var uv = u.aTextureCoord; + var un = u.aNormal; + + if (obj_in.compiled.gl_uvs!==null && uv !==-1) { + gl.disableVertexAttribArray(uv); + } + + if (obj_in.compiled.gl_normals!==null && un !==-1) { + gl.disableVertexAttribArray(un); + } + +} + + +Material.prototype.use = function(light_type,num_lights) { + if (num_lights === undef) { + num_lights = 0; + } + + if (this.customShader !== null) { + this.customShader.use(); + return; + } + + if (light_type === undef) { + light_type = 0; + } + + var m; + var thistex = this.textures; + + if (this.shader[light_type] === undef) { + this.shader[light_type] = []; + } + + if (this.shader[light_type][num_lights] === undef) { + + var smask = this.calcShaderMask(light_type); + + if (ShaderPool[light_type][smask] === undef) { + ShaderPool[light_type][smask] = []; + } + + if (ShaderPool[light_type][smask][num_lights] === undef) { + var hdr = this.getShaderHeader(light_type,num_lights); + var vs = hdr + GLCore.CoreShader_vs; + var fs = hdr + GLCore.CoreShader_fs; + + var l = new Shader(vs, fs); + + ShaderPool[light_type][smask][num_lights] = l; + + m = 0; + + if (typeof(thistex[enums.texture.map.COLOR]) === 'object') { + l.addInt("colorMap", m++); + } + if (typeof(thistex[enums.texture.map.ENVSPHERE]) === 'object') { + l.addInt("envSphereMap", m++); + } + if (typeof(thistex[enums.texture.map.NORMAL]) === 'object') { + l.addInt("normalMap", m++); + } + if (typeof(thistex[enums.texture.map.BUMP]) === 'object') { + l.addInt("bumpMap", m++); + } + if (typeof(thistex[enums.texture.map.REFLECT]) === 'object') { + l.addInt("reflectMap", m++); + } + if (typeof(thistex[enums.texture.map.SPECULAR]) === 'object') { + l.addInt("specularMap", m++); + } + if (typeof(thistex[enums.texture.map.AMBIENT]) === 'object') { + l.addInt("ambientMap", m++); + } + if (typeof(thistex[enums.texture.map.ALPHA]) === 'object') { + l.addInt("alphaMap", m++); + } + + l.addMatrix("uMVMatrix"); + l.addMatrix("uPMatrix"); + l.addMatrix("uOMatrix"); + l.addMatrix("uNMatrix"); + + l.addVertexArray("aVertexPosition"); + l.addVertexArray("aNormal"); + + for (var mLight = 0; mLight < num_lights; mLight++) { + l.addVector("lights["+mLight+"].lDiff"); + l.addVector("lights["+mLight+"].lSpec"); + l.addFloat("lights["+mLight+"].lInt"); + l.addFloat("lights["+mLight+"].lDist"); + l.addVector("lights["+mLight+"].lPos"); + l.addVector("lights["+mLight+"].lDir"); + } + + l.addVector("lAmb"); + l.addVector("mDiff"); + l.addVector("mColor"); + l.addVector("mAmb"); + l.addVector("mSpec"); + l.addFloat("mShine"); + l.addFloat("mAlpha"); + l.addFloat("envAmount"); + + if (GLCore.depth_alpha) { + l.addVector("depthInfo"); + } + + l.addUVArray("aTextureCoord"); + } + + this.shader[light_type][num_lights] = ShaderPool[light_type][smask][num_lights]; + } + + var sh = this.shader[light_type][num_lights]; + var gl = GLCore.gl + + sh.use(); + + m = 0; + var t; + + if (t = thistex[enums.texture.map.COLOR]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + if (t = thistex[enums.texture.map.ENVSPHERE]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + // sh.setFloat("envAmount", this.env_amount); + gl.uniform1f(sh.envAmount,this.env_amount); + } + if (t = thistex[enums.texture.map.NORMAL]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + if (t = thistex[enums.texture.map.BUMP]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + if (t = thistex[enums.texture.map.REFLECT]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + if (t = thistex[enums.texture.map.SPECULAR]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + if (t = thistex[enums.texture.map.AMBIENT]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + if (t = thistex[enums.texture.map.ALPHA]) { + t.use(GLCore.gl.TEXTURE0+m); m++; + } + + // sh.setVector("mColor", this.color); + // sh.setVector("mDiff", this.diffuse); + // sh.setVector("mAmb", this.ambient); + // sh.setVector("mSpec", this.specular); + // sh.setFloat("mShine", this.shininess); + // sh.setVector("lAmb", CubicVR.globalAmbient); + + gl.uniform3fv(sh.mColor,this.color); + gl.uniform3fv(sh.mDiff,this.diffuse); + gl.uniform3fv(sh.mAmb,this.ambient); + gl.uniform3fv(sh.mSpec,this.specular); + gl.uniform1f(sh.mShine,this.shininess*128.0); + gl.uniform3fv(sh.lAmb, CubicVR.globalAmbient); + + + if (GLCore.depth_alpha) { + //sh.setVector("depthInfo", [GLCore.depth_alpha_near, GLCore.depth_alpha_far, 0.0]); + gl.uniform3fv(sh.depthInfo, [GLCore.depth_alpha_near, GLCore.depth_alpha_far, 0.0]); + } + + if (this.opacity !== 1.0) { + gl.uniform1f(sh.mAlpha, this.opacity); + } +}; + +/* Textures */ +var DeferredLoadTexture = function(img_path, filter_type) { + this.img_path = img_path; + this.filter_type = filter_type; +} //DefferedLoadTexture + +DeferredLoadTexture.prototype.getTexture = function(deferred_bin, binId) { + return new Texture(this.img_path, this.filter_type, deferred_bin, binId); +} //getTexture + +var Texture = function(img_path,filter_type,deferred_bin,binId,ready_func) { + var gl = GLCore.gl; + + this.tex_id = Textures.length; + this.filterType = -1; + this.onready = ready_func; + this.loaded = false; + Textures[this.tex_id] = gl.createTexture(); + Textures_obj[this.tex_id] = this; + + if (img_path) { + Images[this.tex_id] = new Image(); + Texture_ref[img_path] = this.tex_id; + } + + gl.bindTexture(gl.TEXTURE_2D, Textures[this.tex_id]); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); + + if (img_path) { + var texId = this.tex_id; + var filterType = (filter_type!==undef)?filter_type:GLCore.default_filter; + + var that = this; + + Images[this.tex_id].onload = function() { + gl.bindTexture(gl.TEXTURE_2D, Textures[texId]); + + gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true); + gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE); + + var img = Images[texId]; + + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, img); + + var tw = img.width, th = img.height; + + var isPOT = true; + + if (tw===1||th===1) { + isPOT = false; + } else { + if (tw!==1) { while ((tw % 2) === 0) { tw /= 2; } } + if (th!==1) { while ((th % 2) === 0) { th /= 2; } } + if (tw>1) { isPOT = false; } + if (th>1) { isPOT = false; } + } + + if (!isPOT) { + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); + } + + if (Textures_obj[texId].filterType===-1) { + if (!isPOT) { + if (filterType === enums.texture.filter.LINEAR_MIP) { + filterType = enums.texture.filter.LINEAR; + } + } + + if (Textures_obj[texId].filterType===-1) { + Textures_obj[texId].setFilter(filterType); + } + } + else + { + Textures_obj[texId].setFilter(Textures_obj[texId].filterType); + } + + gl.bindTexture(gl.TEXTURE_2D, null); + + if (that.onready) { + that.onready(); + } //if + that.loaded = true; + }; + + if (!deferred_bin) + { + Images[this.tex_id].src = img_path; + } + else + { + Images[this.tex_id].deferredSrc = img_path; + //console.log('adding image to binId=' + binId + ' img_path=' + img_path); + deferred_bin.addImage(binId,img_path,Images[this.tex_id]); + } + } + + this.active_unit = -1; +}; + + +Texture.prototype.setFilter = function(filterType) { + var gl = CubicVR.GLCore.gl; + + gl.bindTexture(gl.TEXTURE_2D, Textures[this.tex_id]); + /* + switch (filterType) + { + case enums.texture.filter.LINEAR: + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); + break; + case enums.texture.filter.LINEAR_MIP: + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST); + gl.generateMipmap(gl.TEXTURE_2D); + break; + case enums.texture.filter.NEAREST: + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); + break; + } + */ + + if (filterType === enums.texture.filter.LINEAR) { + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); + } else if (filterType === enums.texture.filter.LINEAR_MIP) { + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST); + gl.generateMipmap(gl.TEXTURE_2D); + } else if (filterType === enums.texture.filter.NEAREST) { + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); + } else if (filterType === enums.texture.filter.NEAREST_MIP) { + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST_MIPMAP_LINEAR); + gl.generateMipmap(gl.TEXTURE_2D); + } + + this.filterType = filterType; +}; + +Texture.prototype.use = function(tex_unit) { + GLCore.gl.activeTexture(tex_unit); + GLCore.gl.bindTexture(GLCore.gl.TEXTURE_2D, Textures[this.tex_id]); + this.active_unit = tex_unit; +}; + +Texture.prototype.clear = function() { + if (this.active_unit !== -1) { + GLCore.gl.activeTexture(this.active_unit); + GLCore.gl.bindTexture(GLCore.gl.TEXTURE_2D, null); + this.active_unit = -1; + } +}; + +function CanvasTexture(canvasElement) { + var gl = CubicVR.GLCore.gl; + this.canvasSource = canvasElement; + this.texture = new CubicVR.Texture(); +}; //CanvasTexture + +CanvasTexture.prototype.use = function(tex_unit) { + this.texture.use(tex_unit); +}; //CanvasTexture.use + +CanvasTexture.prototype.setFilter = function(filterType) { + this.texture.setFilter(filterType); +}; //CanvasTexture.setFilter + +CanvasTexture.prototype.clear = function() { + this.texture.clear(); +}; //CanvasTexture.clear + +CanvasTexture.prototype.update = function() { + var gl = CubicVR.GLCore.gl; + gl.bindTexture(gl.TEXTURE_2D, CubicVR.Textures[this.texture.tex_id]); + gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true); + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, this.canvasSource); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); + gl.bindTexture(gl.TEXTURE_2D, null); +}; //CanvasTexture.update + +function TextTexture(text, options) { + var color = (options && options.color) || '#fff'; + var bgcolor = (options && options.bgcolor); + var font = (options && options.font) || '18pt Arial'; + var align = (options && options.align) || 'start'; + var y = (options && options.y) || 0; + var width = (options && options.width) || undef; + var height = (options && options.height) || undef; + + var canvas = document.createElement('CANVAS'); + var ctx = canvas.getContext('2d'); + + var lines = 0; + if (typeof(text) === 'string') { + lines = 1; + } + else { + lines = text.length; + } //if + + ctx.font = font; + + // This approximation is awful. There has to be a better way to find the height of a text block + var lineHeight = (options && options.lineHeight) || ctx.measureText('OO').width; + var widest; + if (lines === 1) { + widest = ctx.measureText(text).width; + } + else { + widest = 0; + for (var i=0; i<lines; ++i) { + var w = ctx.measureText(text[i]).width; + if (w > widest) { + widest = w; + } //if + } //for + } //if + + canvas.width = width || widest; + canvas.height = height || lineHeight * lines; + + if (bgcolor) { + ctx.fillStyle = bgcolor; + ctx.fillRect(0, 0, canvas.width, canvas.height); + } //if + ctx.fillStyle = color; + ctx.font = font; + ctx.textAlign = align; + ctx.textBaseline = 'top'; + if (lines === 1) { + var x = (options && options.x) || align === 'center' ? canvas.width/2 : align === 'right' ? canvas.width : 0; + ctx.fillText(text, x, y); + } + else { + for (var i=0; i<lines; ++i) { + var x = (options && options.x) || align === 'center' ? canvas.width/2 : align === 'right' ? canvas.width : 0; + ctx.fillText(text[i], x, y+i*lineHeight); + } //for + } //if + ctx.fill(); + + this.use = CanvasTexture.prototype.use; + this.clear = CanvasTexture.prototype.clear; + this.update = CanvasTexture.prototype.update; + CanvasTexture.apply(this, [canvas]); + + this.update(); + this.canvasSource = canvas = ctx = null; +}; //TextTexture + +function PJSTexture(pjsURL, width, height) { + var gl = CubicVR.GLCore.gl; + this.texture = new CubicVR.Texture(); + this.canvas = document.createElement("CANVAS"); + this.canvas.width = width; + this.canvas.height = height; + + // this assumes processing is already included.. + this.pjs = new Processing(this.canvas,CubicVR.util.getURL(pjsURL)); + this.pjs.noLoop(); + this.pjs.redraw(); + + var tw = this.canvas.width, th = this.canvas.height; + + var isPOT = true; + + if (tw===1||th===1) { + isPOT = false; + } else { + if (tw !== 1) { while ((tw % 2) === 0) { tw /= 2; } } + if (th !== 1) { while ((th % 2) === 0) { th /= 2; } } + if (tw > 1) { isPOT = false; } + if (th > 1) { isPOT = false; } + } + + // bind functions to "subclass" a texture + this.setFilter=this.texture.setFilter; + this.clear=this.texture.clear; + this.use=this.texture.use; + this.tex_id=this.texture.tex_id; + this.filterType=this.texture.filterType; + + + if (!isPOT) { + this.setFilter(enums.texture.filter.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); + } else { + this.setFilter(enums.texture.filter.LINEAR_MIP); + } +} + +PJSTexture.prototype.update = function() { + var gl = CubicVR.GLCore.gl; + + this.pjs.redraw(); + + gl.bindTexture(gl.TEXTURE_2D, CubicVR.Textures[this.texture.tex_id]); + gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true); + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, this.canvas); + + if (this.filterType === enums.texture.filter.LINEAR_MIP) { + gl.generateMipmap(gl.TEXTURE_2D); + } + + gl.bindTexture(gl.TEXTURE_2D, null); +}; + + +/* Render functions */ + + +function cubicvr_renderObject(obj_in,camera,o_matrix,lighting) { + + if (obj_in.compiled===null) { + return; + } + + var ofs = 0; + var gl = CubicVR.GLCore.gl; + var numLights = (lighting === undef) ? 0: lighting.length; + var mshader, last_ltype, l; + var lcount = 0; + var j; + var mat = null; +// var nullAmbient = [0,0,0]; +// var tmpAmbient = CubicVR.globalAmbient; + + var bound = false; + + gl.depthFunc(gl.LEQUAL); + + if (o_matrix === undef) { o_matrix = cubicvr_identity; } + + for (var ic = 0, icLen = obj_in.compiled.elements_ref.length; ic < icLen; ic++) { + var i = obj_in.compiled.elements_ref[ic][0][0]; + + mat = Materials[i]; + + var len = 0; + var drawn = false; + + if (mat.opacity !== 1.0) { + gl.enable(gl.BLEND); + gl.depthMask(0); + gl.blendFunc(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA); + } else { + gl.depthMask(1); + gl.disable(gl.BLEND); + gl.blendFunc(gl.ONE,gl.ONE); + } + + for (var jc = 0, jcLen = obj_in.compiled.elements_ref[ic].length; jc < jcLen; jc++) { + j = obj_in.compiled.elements_ref[ic][jc][1]; + + drawn = false; + + var this_len = obj_in.compiled.elements_ref[ic][jc][2]; + + len += this_len; + + if (obj_in.segment_state[j]) { + // ... + } else if (len > this_len) { + ofs += this_len*2; + len -= this_len; + + // start lighting loop + // start inner + if (!numLights) { + mat.use(0,0); + + gl.uniformMatrix4fv(mat.shader[0][0].uMVMatrix,false,camera.mvMatrix); + gl.uniformMatrix4fv(mat.shader[0][0].uPMatrix,false,camera.pMatrix); + gl.uniformMatrix4fv(mat.shader[0][0].uOMatrix,false,o_matrix); + gl.uniformMatrix3fv(mat.shader[0][0].uNMatrix,false,camera.nMatrix); + + if (!bound) { mat.bindObject(obj_in,mat.shader[0][0]); bound = true; } + + gl.drawElements(gl.TRIANGLES, len, gl.UNSIGNED_SHORT, ofs); + + } else { + var subcount = 0; + var blended = false; + + for (subcount = 0; subcount < numLights; ) + { + nLights = numLights-subcount; + if (nLights>MAX_LIGHTS) { + nLights=MAX_LIGHTS; + } + + if (subcount>0 && !blended) { + gl.enable(gl.BLEND); + gl.blendFunc(gl.ONE,gl.ONE); + gl.depthFunc(gl.EQUAL); + blended = true; + } + + mshader = undef; + l = lighting[subcount]; + var lt = l.light_type + + for (lcount = 0; lcount < nLights; lcount++) { + if (lighting[lcount+subcount].light_type!=lt) { + nLights = lcount; + break; + } + } + + mat.use(l.light_type,nLights); + + mshader = mat.shader[l.light_type][nLights]; + + gl.uniformMatrix4fv(mshader.uMVMatrix,false,camera.mvMatrix); + gl.uniformMatrix4fv(mshader.uPMatrix,false,camera.pMatrix); + gl.uniformMatrix4fv(mshader.uOMatrix,false,o_matrix); + gl.uniformMatrix3fv(mshader.uNMatrix,false,camera.nMatrix); + + if (!bound) { mat.bindObject(obj_in,mshader); bound = true; } + + for (lcount = 0; lcount < nLights; lcount++) { + lighting[lcount+subcount].setupShader(mshader,lcount); + } + + gl.drawElements(gl.TRIANGLES, len, gl.UNSIGNED_SHORT, ofs); + // var err = gl.getError(); + // if (err) { + // var uv = mshader.uniforms["aTextureCoord"]; + // var un = mshader.uniforms["aNormal"]; + // console.log(obj_in.compiled.gl_uvs!==null,obj_in.compiled.gl_normals!==null, un, uv, len, ofs, subcount); + // + // throw new Error('webgl error on mesh: ' + obj_in.name); + // } + + subcount += nLights; + } + + if (blended) + { + gl.disable(gl.BLEND); + gl.depthFunc(gl.LEQUAL); + } + } + + /// end inner + + + ofs += len*2; // Note: unsigned short = 2 bytes + len = 0; + drawn = true; + } else { + ofs += len*2; + len = 0; + } + } + + if (!drawn && obj_in.segment_state[j]) { + // this is an exact copy/paste of above + // start lighting loop + // start inner + if (!numLights) { + mat.use(0,0); + + gl.uniformMatrix4fv(mat.shader[0][0].uMVMatrix,false,camera.mvMatrix); + gl.uniformMatrix4fv(mat.shader[0][0].uPMatrix,false,camera.pMatrix); + gl.uniformMatrix4fv(mat.shader[0][0].uOMatrix,false,o_matrix); + gl.uniformMatrix3fv(mat.shader[0][0].uNMatrix,false,camera.nMatrix); + + if (!bound) { mat.bindObject(obj_in,mat.shader[0][0]); bound = true; } + + gl.drawElements(gl.TRIANGLES, len, gl.UNSIGNED_SHORT, ofs); + + } else { + var subcount = 0; + var blended = false; + + for (subcount = 0; subcount < numLights; ) + { + nLights = numLights-subcount; + if (nLights>MAX_LIGHTS) { + nLights=MAX_LIGHTS; + } + + if (subcount>0 && !blended) { + gl.enable(gl.BLEND); + gl.blendFunc(gl.ONE,gl.ONE); + gl.depthFunc(gl.EQUAL); + blended = true; + } + + mshader = undef; + l = lighting[subcount]; + var lt = l.light_type + + for (lcount = 0; lcount < nLights; lcount++) { + if (lighting[lcount+subcount].light_type!=lt) { + nLights = lcount; + break; + } + } + + mat.use(l.light_type,nLights); + + mshader = mat.shader[l.light_type][nLights]; + + gl.uniformMatrix4fv(mshader.uMVMatrix,false,camera.mvMatrix); + gl.uniformMatrix4fv(mshader.uPMatrix,false,camera.pMatrix); + gl.uniformMatrix4fv(mshader.uOMatrix,false,o_matrix); + gl.uniformMatrix3fv(mshader.uNMatrix,false,camera.nMatrix); + + if (!bound) { mat.bindObject(obj_in,mshader); bound = true; } + + for (lcount = 0; lcount < nLights; lcount++) { + lighting[lcount+subcount].setupShader(mshader,lcount); + } + + gl.drawElements(gl.TRIANGLES, len, gl.UNSIGNED_SHORT, ofs); + // var err = gl.getError(); + // if (err) { + // var uv = mshader.uniforms["aTextureCoord"]; + // var un = mshader.uniforms["aNormal"]; + // console.log(obj_in.compiled.gl_uvs!==null,obj_in.compiled.gl_normals!==null, un, uv, len, ofs, subcount); + // + // throw new Error('webgl error on mesh: ' + obj_in.name); + // } + + subcount += nLights; + } + + if (blended) + { + gl.disable(gl.BLEND); + gl.depthFunc(gl.LEQUAL); + } + } + + /// end inner + + ofs += len*2; + } + } + + if (mat && mshader) { + mat.clearObject(obj_in,mshader); + } + + // gl.disableVertexAttribArray(0); + // gl.disableVertexAttribArray(2); + // gl.disableVertexAttribArray(3); + + gl.depthMask(1); + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); +} + + +/* Procedural Objects */ + +function cubicvr_latheObject(obj_in, pointList, lathe_divisions, material, transform, uvmapper) { + var slices = []; + var sliceNum; + + var up = [0, 1, 0]; + var right = [1, 0, 0]; + var pos = [0, 0, 0]; + var pofs = obj_in.points.length; + + var i, j, jMax, k, kMax; + + sliceNum = 0; + + for (i = 0; i < M_TWO_PI; i += (M_TWO_PI / lathe_divisions)) { + if (sliceNum === lathe_divisions) { + break; + } + + right = [Math.cos(i), 0, Math.sin(i)]; + + for (j = 0, jMax = pointList.length; j < jMax; j++) { + pos = vec3.add(vec3.multiply(right, pointList[j][0]), vec3.multiply(up, pointList[j][1])); + + if (slices[sliceNum] === undef) { + slices[sliceNum] = []; + } + + slices[sliceNum].push(pos); + } + + sliceNum++; + } + + var m = null; + + if (transform!==undef) m = (transform.getResult!==undef)?transform.getResult():transform; + + for (j = 0; j < lathe_divisions; j++) { + for (k = 0, kMax = pointList.length; k < kMax; k++) { + if (m) { + obj_in.addPoint(mat4.vec3_multiply(slices[j][k], m)); + } else { + obj_in.addPoint(slices[j][k]); + } + } + } + + obj_in.setFaceMaterial(material); + + for (k = 0; k < lathe_divisions; k++) { + for (j = 0, jMax = pointList.length - 1; j < jMax; j++) { + var pt = j + (pointList.length * k); + var pt_r = j + (pointList.length * ((k + 1) % (lathe_divisions))); + + if (vec3.equal(obj_in.points[pofs + pt], obj_in.points[pofs + pt_r])) { + obj_in.addFace([pofs + pt + 1, pofs + pt_r + 1, pofs + pt_r]); + } else if (vec3.equal(obj_in.points[pofs + pt + 1], obj_in.points[pofs + pt_r + 1])) { + obj_in.addFace([pofs + pt, pofs + pt + 1, pofs + pt_r]); + } else { + obj_in.addFace([pofs + pt, pofs + pt + 1, pofs + pt_r + 1, pofs + pt_r]); + } + } + } + + + if (uvmapper !== undef) + { + var uvm = null; + + if (uvmapper.apply !== undef) + { + uvm = uvmapper; + } + else if (uvmapper) + { + uvm = new UVMapper(uvmapper); + } + + if (uvm !== null) + { + // Calculate face normals (used for UV mapping and lighting), todo: face range+offset + obj_in.calcNormals(); + + uvm.apply(obj_in, material); + } + } + +} + +function cubicvr_planeObject(mesh, size, mat, transform, uvmapper) { + var half_size = size*0.5; + var pofs = mesh.points.length; + + mesh.setFaceMaterial(mat); + + if (transform !== undef) { + var m = (transform.getResult!==undef)?transform.getResult():transform; + mesh.addPoint([ + mat4.vec3_multiply([half_size, -half_size, 0],m), + mat4.vec3_multiply([half_size, half_size, 0],m), + mat4.vec3_multiply([-half_size, half_size, 0],m), + mat4.vec3_multiply([-half_size, -half_size, 0],m) + ]); + } + else { + mesh.addPoint([ + [half_size, -half_size, 0], + [half_size, half_size, 0], + [-half_size, half_size, 0], + [-half_size, -half_size, 0] + ]); + } + mesh.addFace([ + [pofs+0, pofs+1, pofs+2, pofs+3], //back + [pofs+3, pofs+2, pofs+1, pofs+0] //front + ]); + + if (uvmapper !== undef) + { + var uvm = null; + + if (uvmapper.apply !== undef) + { + uvm = uvmapper; + } + else if (uvmapper) + { + uvm = new UVMapper(uvmapper); + } + + if (uvm !== null) + { + // Calculate face normals (used for UV mapping and lighting), todo: face range+offset + mesh.calcNormals(); + + uvm.apply(mesh, mat); + } + } + +} //cubicvr_planeObject + +function cubicvr_boxObject(boxObj, box_size, box_mat, transform, uvmapper) { + var half_box = box_size / 2.0; + var pofs = boxObj.points.length; + + boxObj.setFaceMaterial(box_mat); + + if (transform !== undef) { + var m = (transform.getResult!==undef)?transform.getResult():transform; + boxObj.addPoint([ + mat4.vec3_multiply([half_box, -half_box, half_box], m), + mat4.vec3_multiply([half_box, half_box, half_box], m), + mat4.vec3_multiply([-half_box, half_box, half_box], m), + mat4.vec3_multiply([-half_box, -half_box, half_box], m), + mat4.vec3_multiply([half_box, -half_box, -half_box], m), + mat4.vec3_multiply([half_box, half_box, -half_box], m), + mat4.vec3_multiply([-half_box, half_box, -half_box], m), + mat4.vec3_multiply([-half_box, -half_box, -half_box], m) + ]); + } else { + boxObj.addPoint([ + [half_box, -half_box, half_box], + [half_box, half_box, half_box], + [-half_box, half_box, half_box], + [-half_box, -half_box, half_box], + [half_box, -half_box, -half_box], + [half_box, half_box, -half_box], + [-half_box, half_box, -half_box], + [-half_box, -half_box, -half_box] + ]); + +} + +boxObj.addFace([ + [pofs + 0, pofs + 1, pofs + 2, pofs + 3], + [pofs + 7, pofs + 6, pofs + 5, pofs + 4], + [pofs + 4, pofs + 5, pofs + 1, pofs + 0], + [pofs + 5, pofs + 6, pofs + 2, pofs + 1], + [pofs + 6, pofs + 7, pofs + 3, pofs + 2], + [pofs + 7, pofs + 4, pofs + 0, pofs + 3] + ]); + + if (uvmapper !== undef) + { + var uvm = null; + + if (uvmapper.apply !== undef) + { + uvm = uvmapper; + } + else if (uvmapper) + { + uvm = new UVMapper(uvmapper); + } + + if (uvm !== null) + { + // Calculate face normals (used for UV mapping and lighting), todo: face range+offset + boxObj.calcNormals(); + + uvm.apply(boxObj, box_mat); + } + } +} + +function cubicvr_torusObject(mesh, inner_radius, outer_radius, lon, lat, material, transform, uvmapper) { + var pointList = new Array(); + + var thick = outer_radius-inner_radius; + var radius = inner_radius+(thick)/2.0; + + // generate a circle on the right side (radius) of the X/Y axis, circle radius of (thick) + var step = (M_TWO_PI / lat); + var theta = 0; + for (var i = 0; i <= lat; i ++) { + pointList.push([radius + Math.cos(theta) * thick, Math.sin(theta) * thick, 0]); + theta += step; + } + + CubicVR.genLatheObject(mesh, pointList, lon, material, transform, uvmapper); +} + + +function cubicvr_coneObject(mesh, base, height, lon, material, transform, uvmapper) { + CubicVR.genLatheObject(mesh, [[0,-height/2,0],[base/2.0,-height/2,0],[0,height/2,0]], lon, material, transform, uvmapper); +} + + +function cubicvr_cylinderObject(mesh, radius, height, lon, material, transform, uvmapper) { + CubicVR.genLatheObject(mesh, [[0,-height/2,0],[radius,-height/2,0],[radius,height/2,0],[0,height/2,0]], lon, material, transform, uvmapper); +} + +function cubicvr_sphereObject(mesh, radius, lon, lat, material, transform, uvmapper) { + var pointList = new Array(); + + lat = parseInt(lat /= 2); + lon = parseInt(lon); + + // generate a half-circle on the right side of the x/y axis + var step = (M_PI / lat); + var theta = -M_HALF_PI; + for (var i = 0; i <= lat; i ++) { + pointList.push([Math.cos(theta) * radius, Math.sin(theta) * radius, 0]); + theta += step; + } + + CubicVR.genLatheObject(mesh, pointList, lon, material, transform, uvmapper); +} + +var primitives = { + + lathe: function(obj_init) { + var obj_in, material, transform, uvmapper; + var pointList, lathe_divisions; + + if (obj_init.points==undef) return null; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + lathe_divisions = (obj_init.divisions!==undef)?obj_init.divisions:24; + + cubicvr_latheObject(obj_in,obj_init.points,lathe_divisions,material,transform,uvmapper); + + return obj_in; + }, + box: function(obj_init) { + var obj_in, material, transform, uvmapper; + var size; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + size = (obj_init.size!==undef)?obj_init.size:1.0; + + cubicvr_boxObject(obj_in, size, material, transform, uvmapper); + + return obj_in; + }, + plane: function(obj_init) { + var obj_in, material, transform, uvmapper; + var size; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + size = (obj_init.size!==undef)?obj_init.size:1.0; + + cubicvr_planeObject(obj_in, size, material, transform, uvmapper); + + return obj_in; + }, + sphere: function(obj_init) { + var obj_in, material, transform, uvmapper; + var radius, lon, lat; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + radius = (obj_init.radius!==undef)?obj_init.radius:1.0; + lon = (obj_init.lon!==undef)?obj_init.lon:24; + lat = (obj_init.lat!==undef)?obj_init.lat:24; + + cubicvr_sphereObject(obj_in, radius, lon, lat, material, transform, uvmapper); + + return obj_in; + }, + torus: function(obj_init) { + var obj_in, material, transform, uvmapper; + var innerRadius, outerRadius, lon, lat; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + innerRadius = (obj_init.innerRadius!==undef)?obj_init.innerRadius:0.75; + outerRadius = (obj_init.outerRadius!==undef)?obj_init.outerRadius:1.0; + lon = (obj_init.lon!==undef)?obj_init.lon:24; + lat = (obj_init.lat!==undef)?obj_init.lat:24; + + cubicvr_torusObject(obj_in, innerRadius, outerRadius, lon, lat, material, transform, uvmapper); + + return obj_in; + }, + cone: function(obj_init) { + var obj_in, material, transform, uvmapper; + var base, height, lon; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + base = (obj_init.base!==undef)?obj_init.base:1.0; + height = (obj_init.height!==undef)?obj_init.height:1.0; + lon = (obj_init.lon!==undef)?obj_init.lon:24; + + cubicvr_coneObject(obj_in, base, height, lon, material, transform, uvmapper); + + return obj_in; + }, + cylinder: function(obj_init) { + var obj_in, material, transform, uvmapper; + var radius, height; + + obj_in = (obj_init.mesh!==undef)?obj_init.mesh:(new CubicVR.Mesh((obj_init.name!==undef)?obj_init.name:undef)); + material = (obj_init.material!==undef)?obj_init.material:(new CubicVR.Material()); + transform = (obj_init.transform!==undef)?obj_init.transform:undef; + uvmapper = (obj_init.uvmapper!==undef)?obj_init.uvmapper:undef; + + radius = (obj_init.radius!==undef)?obj_init.radius:1.0; + height = (obj_init.height!==undef)?obj_init.height:1.0; + lon = (obj_init.lon!==undef)?obj_init.lon:24; + + cubicvr_cylinderObject(obj_in, radius, height, lon, material, transform, uvmapper); + + return obj_in; + } +} + + + +function Landscape(size_in, divisions_in_w, divisions_in_h, matRef_in) { + this.doTransform = function() {}; + this.tMatrix = cubicvr_identity; + + this.parent = null; + this.position = [0, 0, 0]; + this.scale = [1, 1, 1]; + this.size = size_in; + this.divisions_w = divisions_in_w; + this.divisions_h = divisions_in_h; + this.matRef = matRef_in; + this.children = null; + + this.obj = new Mesh(); + + var i, j; + + if (this.divisions_w > this.divisions_h) { + this.size_w = size_in; + this.size_h = (size_in / this.divisions_w) * this.divisions_h; + } else if (this.divisions_h > this.divisions_w) { + this.size_w = (size_in / this.divisions_h) * this.divisions_w; + this.size_h = size_in; + } else { + this.size_w = size_in; + this.size_h = size_in; + } + + for (j = -(this.size_h / 2.0); j < (this.size_h / 2.0); j += (this.size_h / this.divisions_h)) { + for (i = -(this.size_w / 2.0); i < (this.size_w / 2.0); i += (this.size_w / this.divisions_w)) { + this.obj.addPoint([i + ((this.size_w / (this.divisions_w)) / 2.0), 0, j + ((this.size_h / (this.divisions_h)) / 2.0)]); + } + } + + var k, l; + + this.obj.setFaceMaterial(this.matRef); + + for (l = 0; l < this.divisions_h - 1; l++) { + for (k = 0; k < this.divisions_w - 1; k++) { + this.obj.addFace([(k) + ((l + 1) * this.divisions_w), + (k + 1) + ((l) * this.divisions_w), + (k) + ((l) * this.divisions_w)]); + + this.obj.addFace([(k) + ((l + 1) * this.divisions_w), + (k + 1) + ((l + 1) * this.divisions_w), + (k + 1) + ((l) * this.divisions_w)]); + } + } +} + +Landscape.prototype.getMesh = function() { + return this.obj; +} + +Landscape.prototype.setIndexedHeight = function(ipos, jpos, val) { + obj.points[(ipos) + (jpos * this.divisions_w)][1] = val; +} + +Landscape.prototype.mapGen = function(w_func, ipos, jpos, ilen, jlen) { + var pt; + + if (ipos!==undef && jpos !==undef && ilen !==undef && jlen!==undef) { + if (ipos>=this.divisions_w) return; + if (jpos>=this.divisions_h) return; + if (ipos+ilen>=this.divisions_w) ilen = this.divisions_w-1-ipos; + if (jpos+jlen>=this.divisions_h) jlen = this.divisions_h-1-jpos; + if (ilen<=0 || jlen<=0) return; + + for (var i = ipos, imax = ipos+ilen; i < imax; i++) { + for (var j = jpos, jmax = jpos+jlen; j < jmax; j++) { + pt = this.obj.points[(i) + (j * this.divisions_w)]; + + pt[1] = w_func(pt[0],pt[2]); + } + } + } else { + for (var x = 0, xmax = this.obj.points.length; x < xmax; x++) { + pt = this.obj.points[x]; + + pt[1] = w_func(pt[0],pt[2]); + } + } +} + + +Landscape.prototype.getFaceAt = function(x, z) { + if (typeof(x) === 'object') { + return this.getFaceAt(x[0], x[2]); + } + + var ofs_w = (this.size_w / 2.0) - ((this.size_w / (this.divisions_w)) / 2.0); + var ofs_h = (this.size_h / 2.0) - ((this.size_h / (this.divisions_h)) / 2.0); + + var i = parseInt(Math.floor(((x + ofs_w) / this.size_w) * (this.divisions_w)), 10); + var j = parseInt(Math.floor(((z + ofs_h) / this.size_h) * (this.divisions_h)), 10); + + if (i < 0) { + return -1; + } + if (i >= this.divisions_w - 1) { + return -1; + } + if (j < 0) { + return -1; + } + if (j >= this.divisions_h - 1) { + return -1; + } + + var faceNum1 = parseInt(i + (j * (this.divisions_w - 1)), 10) * 2; + var faceNum2 = parseInt(faceNum1 + 1, 10); + + var testPt = this.obj.points[this.obj.faces[faceNum1].points[0]]; + + var slope = Math.abs(z - testPt[2]) / Math.abs(x - testPt[0]); + + if (slope >= 1.0) { + return (faceNum1); + } else { + return (faceNum2); + } +}; + + +/* + cvrFloat Landscape::getHeightValue(XYZ &pt) + { + Face *tmpFace; + XYZ *tmpPoint; + + int faceNum = getFaceAt(pt); + + if (faceNum === -1) return 0; + + tmpFace = obj->faces[faceNum]; + tmpPoint = obj->points[obj->faces[faceNum]->pointref[0]]; + + tmpFace->calcFaceNormal(); + + cvrFloat na = tmpFace->face_normal.x; + cvrFloat nb = tmpFace->face_normal.y; + cvrFloat nc = tmpFace->face_normal.z; + + cvrFloat d = -na * tmpPoint->x - nb * tmpPoint->y - nc * tmpPoint->z; + + return ((na * pt.x + nc * pt.z+d)/-nb)+getPosition().y; + }; + */ + +Landscape.prototype.getHeightValue = function(x, z) { + + if (typeof(x) === 'object') { + return this.getHeightValue(x[0], x[2]); + } + + var tmpFace; + var tmpPoint; + + var faceNum = this.getFaceAt(x, z); + + if (faceNum === -1) { + return 0; + } + + tmpFace = this.obj.faces[faceNum]; + tmpPoint = this.obj.points[this.obj.faces[faceNum].points[0]]; + + var tmpNorm = triangle.normal(this.obj.points[this.obj.faces[faceNum].points[0]], this.obj.points[this.obj.faces[faceNum].points[1]], this.obj.points[this.obj.faces[faceNum].points[2]]); + + var na = tmpNorm[0]; + var nb = tmpNorm[1]; + var nc = tmpNorm[2]; + + var d = -(na * tmpPoint[0]) - (nb * tmpPoint[1]) - (nc * tmpPoint[2]); + + return (((na * x) + (nc * z) + d) / (-nb)); // add height ofs here +}; + + +Landscape.prototype.orient = function(x, z, width, length, heading, center) { + if (center === undef) { + center = 0; + } + + var xpos, zpos; + var xrot, zrot; + var heightsample = []; + var xyzTmp; + + var halfw = width / 2.0; + var halfl = length / 2.0; + + var mag = Math.sqrt(halfl * halfl + halfw * halfw); + var ang = Math.atan2(halfl, halfw); + + heading *= (M_PI / 180.0); + + xpos = x + (Math.sin(heading) * center); + zpos = z + (Math.cos(heading) * center); + + heightsample[0] = this.getHeightValue([xpos + mag * Math.cos(-ang - M_HALF_PI + heading), 0, zpos + mag * -Math.sin(-ang - M_HALF_PI + heading)]); + heightsample[1] = this.getHeightValue([xpos + mag * Math.cos(ang - M_HALF_PI + heading), 0, zpos + mag * (-Math.sin(ang - M_HALF_PI + heading))]); + heightsample[2] = this.getHeightValue([xpos + mag * Math.cos(-ang + M_HALF_PI + heading), 0, zpos + mag * (-Math.sin(-ang + M_HALF_PI + heading))]); + heightsample[3] = this.getHeightValue([xpos + mag * Math.cos(ang + M_HALF_PI + heading), 0, zpos + mag * (-Math.sin(ang + M_HALF_PI + heading))]); + + xrot = -Math.atan2((heightsample[1] - heightsample[2]), width); + zrot = -Math.atan2((heightsample[0] - heightsample[1]), length); + + xrot += -Math.atan2((heightsample[0] - heightsample[3]), width); + zrot += -Math.atan2((heightsample[3] - heightsample[2]), length); + + xrot /= 2.0; // average angles + zrot /= 2.0; + + + return [[x, ((heightsample[2] + heightsample[3] + heightsample[1] + heightsample[0])) / 4.0, z], // + [xrot * (180.0 / M_PI), heading, zrot * (180.0 / M_PI)]]; +}; + +var scene_object_uuid = 0; + +function SceneObject(obj, name) { + var obj_init = null; + + if (obj!==undef && obj!==null) + { + if (obj.compile) + { + obj_init = null; + } else { + obj_init = obj; + } + } + + if (obj_init) { + this.position = (obj_init.position===undef)?[0, 0, 0]:obj_init.position; + this.rotation = (obj_init.rotation===undef)?[0, 0, 0]:obj_init.rotation; + this.scale = (obj_init.scale===undef)?[1, 1, 1]:obj_init.scale; + + this.motion = (obj_init.motion===undef)?null:obj_init.motion; + this.obj = (obj_init.mesh===undef)?((obj !== undef && obj_init.faces !== undef) ? obj : null):obj_init.mesh; + this.name = (obj_init.name===undef)?((name !== undef) ? name : null):obj_init.name; + } else { + this.position = [0, 0, 0]; + this.rotation = [0, 0, 0]; + this.scale = [1, 1, 1]; + + this.motion = null; + this.obj = obj; + this.name = name; + } + + this.children = null; + this.parent = null; + + this.drawn_this_frame = false; + + this.lposition = [0, 0, 0]; + this.lrotation = [0, 0, 0]; + this.lscale = [0, 0, 0]; + + this.trans = new Transform(); + + this.tMatrix = this.trans.getResult(); + + this.dirty = true; + + this.aabb = []; + + this.id = -1; + + this.octree_leaves = []; + this.octree_common_root = null; + this.octree_aabb = [[0,0,0],[0,0,0]]; + AABB_reset(this.octree_aabb, [0,0,0]); + this.ignore_octree = false; + this.visible = true; + this.culled = true; + this.was_culled = true; + + this.dynamic_lights = []; + this.static_lights = []; +} + +SceneObject.prototype.doTransform = function(mat) { + if (!vec3.equal(this.lposition, this.position) || !vec3.equal(this.lrotation, this.rotation) || !vec3.equal(this.lscale, this.scale) || (mat !== undef)) { + + this.trans.clearStack(); + + if ((mat !== undef)) { + this.trans.pushMatrix(mat); + } + + this.trans.translate(this.position); + + if (! (this.rotation[0] === 0 && this.rotation[1] === 0 && this.rotation[2] === 0)) { + this.trans.pushMatrix(); + this.trans.rotate(this.rotation); + } + + if (! (this.scale[0] === 1 && this.scale[1] === 1 && this.scale[2] === 1)) { + this.trans.pushMatrix(); + this.trans.scale(this.scale); + } + + + + + this.tMatrix = this.trans.getResult(); + + this.lposition[0] = this.position[0]; + this.lposition[1] = this.position[1]; + this.lposition[2] = this.position[2]; + this.lrotation[0] = this.rotation[0]; + this.lrotation[1] = this.rotation[1]; + this.lrotation[2] = this.rotation[2]; + this.lscale[0] = this.scale[0]; + this.lscale[1] = this.scale[1]; + this.lscale[2] = this.scale[2]; + this.dirty = true; + } +}; + +SceneObject.prototype.adjust_octree = function() { + var aabb = this.getAABB(); + var taabb = this.octree_aabb; + var px0 = aabb[0][0]; + var py0 = aabb[0][1]; + var pz0 = aabb[0][2]; + var px1 = aabb[1][0]; + var py1 = aabb[1][1]; + var pz1 = aabb[1][2]; + var tx0 = taabb[0][0]; + var ty0 = taabb[0][1]; + var tz0 = taabb[0][2]; + var tx1 = taabb[1][0]; + var ty1 = taabb[1][1]; + var tz1 = taabb[1][2]; + if (this.octree_leaves.length > 0 && (px0 < tx0 || py0 < ty0 || pz0 < tz0 || px1 > tx1 || py1 > ty1 || pz1 > tz1)) { + for (var i = 0; i < this.octree_leaves.length; ++i) { + this.octree_leaves[i].remove(this); + } //for + this.octree_leaves = []; + this.static_lights = []; + var common_root = this.octree_common_root; + this.octree_common_root = null; + if (common_root !== null) { + + while (true) { + if (!common_root.contains_point(aabb[0]) || !common_root.contains_point(aabb[1])) { + if (common_root._root !== undef && common_root._root !== null) { + common_root = common_root._root; + } else { + break; + } //if + } else { + break; + } //if + } //while + AABB_reset(this.octree_aabb, this.position); + common_root.insert(this); + } //if + } //if +}; //SceneObject::adjust_octree +SceneObject.prototype.bindChild = function(childSceneObj) { + if (this.children === null) { + this.children = []; + } + + childSceneObj.parent = this; + this.children.push(childSceneObj); +}; + + +SceneObject.prototype.control = function(controllerId, motionId, value) { + if (controllerId === enums.motion.POS) { + this.position[motionId] = value; + } else if (controllerId === enums.motion.SCL) { + this.scale[motionId] = value; + } else if (controllerId === enums.motion.ROT) { + this.rotation[motionId] = value; + } + + /* + switch (controllerId) { + case enums.motion.POS: + this.position[motionId] = value; + break; + case enums.motion.SCL: + this.scale[motionId] = value; + break; + case enums.motion.ROT: + this.rotation[motionId] = value; + break; + } + */ +}; + +SceneObject.prototype.getAABB = function() { + if (this.dirty) { + var p = new Array(8); + + this.doTransform(); + + var aabbMin; + var aabbMax; + + + + if (this.obj !== null) + { + if (this.obj.bb === null) + { + this.aabb = [vec3.add([-1,-1,-1],this.position),vec3.add([1,1,1],this.position)]; + return this.aabb; + } + + aabbMin = this.obj.bb[0]; + aabbMax = this.obj.bb[1]; + } + + if (this.obj === null || aabbMin === undef || aabbMax === undef) + { + // aabbMin=[-1,-1,-1]; + // aabbMax=[1,1,1]; + // + // if (this.obj.bb.length===0) + // { + this.aabb = [vec3.add([-1,-1,-1],this.position),vec3.add([1,1,1],this.position)]; + return this.aabb; + // } + } + + /* + if (this.scale[0] !== 1 || this.scale[1] !== 1 || this.scale[2] !== 1) { + aabbMin[0] *= this.scale[0]; + aabbMin[1] *= this.scale[1]; + aabbMin[2] *= this.scale[2]; + aabbMax[0] *= this.scale[0]; + aabbMax[1] *= this.scale[1]; + aabbMax[2] *= this.scale[2]; + } + */ + + var obj_aabb = aabbMin; + var obj_bounds = vec3.subtract(aabbMax, aabbMin); + + p[0] = [obj_aabb[0], obj_aabb[1], obj_aabb[2]]; + p[1] = [obj_aabb[0], obj_aabb[1], obj_aabb[2] + obj_bounds[2]]; + p[2] = [obj_aabb[0] + obj_bounds[0], obj_aabb[1], obj_aabb[2]]; + p[3] = [obj_aabb[0] + obj_bounds[0], obj_aabb[1], obj_aabb[2] + obj_bounds[2]]; + p[4] = [obj_aabb[0], obj_aabb[1] + obj_bounds[1], obj_aabb[2]]; + p[5] = [obj_aabb[0], obj_aabb[1] + obj_bounds[1], obj_aabb[2] + obj_bounds[2]]; + p[6] = [obj_aabb[0] + obj_bounds[0], obj_aabb[1] + obj_bounds[1], obj_aabb[2]]; + p[7] = [obj_aabb[0] + obj_bounds[0], obj_aabb[1] + obj_bounds[1], obj_aabb[2] + obj_bounds[2]]; + + var aabbTest; + + aabbTest = mat4.vec3_multiply(p[0], this.tMatrix); + + aabbMin = [aabbTest[0], aabbTest[1], aabbTest[2]]; + aabbMax = [aabbTest[0], aabbTest[1], aabbTest[2]]; + + for (var i = 1; i < 8; ++i) { + aabbTest = mat4.vec3_multiply(p[i], this.tMatrix); + + if (aabbMin[0] > aabbTest[0]) { + aabbMin[0] = aabbTest[0]; + } + if (aabbMin[1] > aabbTest[1]) { + aabbMin[1] = aabbTest[1]; + } + if (aabbMin[2] > aabbTest[2]) { + aabbMin[2] = aabbTest[2]; + } + + if (aabbMax[0] < aabbTest[0]) { + aabbMax[0] = aabbTest[0]; + } + if (aabbMax[1] < aabbTest[1]) { + aabbMax[1] = aabbTest[1]; + } + if (aabbMax[2] < aabbTest[2]) { + aabbMax[2] = aabbTest[2]; + } + } + + this.aabb[0] = aabbMin; + this.aabb[1] = aabbMax; + + this.dirty = false; + } + + return this.aabb; +}; + +var cubicvr_env_range = function(v, lo, hi) { + var v2, i = 0, + r; + + r = hi - lo; + + if (r === 0.0) { + return [lo, 0]; + } + + v2 = v - r * Math.floor((v - lo) / r); + + i = -parseInt((v2 - v) / r + (v2 > v ? 0.5 : -0.5), 10); + + return [v2, i]; +}; + +var cubicvr_env_hermite = function(t) { + var h1, h2, h3, h4; + var t2, t3; + + t2 = t * t; + t3 = t * t2; + + h2 = 3.0 * t2 - t3 - t3; + h1 = 1.0 - h2; + h4 = t3 - t2; + h3 = h4 - t2 + t; + + return [h1, h2, h3, h4]; +}; + +var cubicvr_env_bezier = function(x0, x1, x2, x3, t) { + var a, b, c, t2, t3; + + t2 = t * t; + t3 = t2 * t; + + c = 3.0 * (x1 - x0); + b = 3.0 * (x2 - x1) - c; + a = x3 - x0 - c - b; + + return a * t3 + b * t2 + c * t + x0; +}; + + + +var cubicvr_env_bez2_time = function(x0, x1, x2, x3, time, t0, t1) { + + var v, t; + + t = t0 + (t1 - t0) * 0.5; + v = cubicvr_env_bezier(x0, x1, x2, x3, t); + if (Math.abs(time - v) > 0.0001) { + if (v > time) { + t1 = t; + } else { + t0 = t; + } + return cubicvr_env_bez2_time(x0, x1, x2, x3, time, t0, t1); + } else { + return t; + } +}; + + + +var cubicvr_env_bez2 = function(key0, key1, time) +{ + var x, y, t, t0 = 0.0, t1 = 1.0; + + if ( key0.shape === enums.envelope.shape.BEZ2 ) { + + x = key0.time + key0.param[ 2 ]; + } else { + x = key0.time + ( key1.time - key0.time ) / 3.0; + } + + t = cubicvr_env_bez2_time( key0.time, x, key1.time + key1.param[ 0 ], key1.time, time, t0, t1 ); + + if ( key0.shape === enums.envelope.shape.BEZ2 ){ + y = key0.value + key0.param[ 3 ]; + } + else { + y = key0.value + key0.param[ 1 ] / 3.0; + } + + return cubicvr_env_bezier( key0.value, y, key1.param[ 1 ] + key1.value, key1.value, t ); +} + + +var cubicvr_env_outgoing = function(key0, key1) { + var a, b, d, t, out; + + if (key0.shape === enums.envelope.shape.TCB) { + a = (1.0 - key0.tension) * (1.0 + key0.continuity) * (1.0 + key0.bias); + b = (1.0 - key0.tension) * (1.0 - key0.continuity) * (1.0 - key0.bias); + d = key1.value - key0.value; + + if (key0.prev) { + t = (key1.time - key0.time) / (key1.time - (key0.prev).time); + out = t * (a * (key0.value - (key0.prev).value) + b * d); + } else { + out = b * d; + } + } else if (key0.shape === enums.envelope.shape.LINE) { + d = key1.value - key0.value; + if (key0.prev) { + t = (key1.time - key0.time) / (key1.time - (key0.prev).time); + out = t * (key0.value - (key0.prev).value + d); + } else { + out = d; + } + } else if ((key0.shape === enums.envelope.shape.BEZI)||(key0.shape === enums.envelope.shape.HERM)) { + out = key0.param[1]; + if (key0.prev) { + out *= (key1.time - key0.time) / (key1.time - (key0.prev).time); + } + } else if (key0.shape === enums.envelope.shape.BEZ2) { + out = key0.param[3] * (key1.time - key0.time); + if (Math.abs(key0.param[2]) > 1e-5) { + out /= key0.param[2]; + } else { + out *= 1e5; + } + } else if (key0.shape === enums.envelope.shape.STEP) { + out = 0.0; + } else { + out = 0.0; + } + + return out; +}; + + + +var cubicvr_env_incoming = function(key0, key1) { + var a, b, d, t, inval; + + if (key1.shape === enums.envelope.shape.LINE) { + d = key1.value - key0.value; + if (key1.next) { + t = (key1.time - key0.time) / ((key1.next).time - key0.time); + inval = t * ((key1.next).value - key1.value + d); + } else { + inval = d; + } + } else if (key1.shape === enums.envelope.shape.TCB) { + a = (1.0 - key1.tension) * (1.0 - key1.continuity) * (1.0 + key1.bias); + b = (1.0 - key1.tension) * (1.0 + key1.continuity) * (1.0 - key1.bias); + d = key1.value - key0.value; + + if (key1.next) { + t = (key1.time - key0.time) / ((key1.next).time - key0.time); + inval = t * (b * ((key1.next).value - key1.value) + a * d); + } else { + inval = a * d; + } + } else if ((key1.shape === enums.envelope.shape.HERM) || (key1.shape === enums.envelope.shape.BEZI)) { + inval = key1.param[0]; + if (key1.next) { + inval *= (key1.time - key0.time) / ((key1.next).time - key0.time); + } + } else if (key1.shape === enums.envelope.shape.BEZ2) { + inval = key1.param[1] * (key1.time - key0.time); + if (Math.abs(key1.param[0]) > 1e-5) { + inval /= key1.param[0]; + } else { + inval *= 1e5; + } + } else if (key1.shape === enums.envelope.shape.STEP) { + inval = 0.0; + } else { + inval = 0.0; + } + + return inval; +}; + + +function EnvelopeKey() { + this.value = 0; + this.time = 0; + this.shape = enums.envelope.shape.TCB; + this.tension = 0; + this.continuity = 0; + this.bias = 0; + this.prev = null; + this.next = null; + + this.param = [0,0,0,0]; +} + + +function Envelope(obj_init) { + this.nKeys = 0; + this.keys = null; + this.firstKey = null; + this.lastKey = null; + + if (obj_init) + { + this.in_behavior = obj_init.in_behavior?obj_init.in_behavior:enums.envelope.behavior.CONSTANT; + this.out_behavior = obj_init.out_behavior?obj_init.out_behavior:enums.envelope.behavior.CONSTANT; + } + else + { + this.in_behavior = enums.envelope.behavior.CONSTANT; + this.out_behavior = enums.envelope.behavior.CONSTANT; + } +} + +Envelope.prototype.setBehavior = function(in_b, out_b) { + this.in_behavior = in_b; + this.out_behavior = out_b; +}; + + +Envelope.prototype.empty = function() { + return (this.nKeys === 0); +}; + + +Envelope.prototype.addKey = function(time, value, key_init) { + var tempKey; + + var obj = (typeof(time)=='object')?time:key_init; + + if (!value) value = 0; + if (!time) time = 0; + + if (obj) { + obj = time; + time = obj.time; + + tempKey = this.insertKey(time); + + tempKey.value = obj.value?obj.value:value; + tempKey.time = obj.time?obj.time:time;; + tempKey.shape = obj.shape?obj.shape:enums.envelope.shape.TCB; + tempKey.tension = obj.tension?obj.tension:0; + tempKey.continuity = obj.continuity?obj.continuity:0; + tempKey.bias = obj.bias?obj.bias:0; + tempKey.param = obj.param?obj.param:[0,0,0,0]; + + } else { + tempKey = this.insertKey(time); + tempKey.value = value; + } + + + return tempKey; +}; + + +Envelope.prototype.insertKey = function(time) { + var tempKey = new EnvelopeKey(); + + tempKey.time = time; + if (!this.nKeys) { + this.keys = tempKey; + this.firstKey = tempKey; + this.lastKey = tempKey; + this.nKeys++; + + return tempKey; + } + + var k1 = this.keys; + + while (k1) { + // update first/last key + if (this.firstKey.time > time) { + this.firstKey = tempKey; + } else if (this.lastKey.time < time) { + this.lastKey = tempKey; + } + + if (k1.time > tempKey.time) { + tempKey.prev = k1.prev; + if (tempKey.prev) { + tempKey.prev.next = tempKey; + } + + tempKey.next = k1; + tempKey.next.prev = tempKey; + + this.nKeys++; + + return tempKey; + } else if (!k1.next) { + tempKey.prev = k1; + k1.next = tempKey; + + this.nKeys++; + + return tempKey; + } + + k1 = k1.next; + } + + return null; // you should not be here, time and space has imploded +}; + +Envelope.prototype.evaluate = function(time) { + var key0, key1, skey, ekey; + var t, h1, h2, h3, h4, inval, out, offset = 0.0; + var noff; + + /* if there's no key, the value is 0 */ + if (this.nKeys === 0) { + return 0.0; + } + + /* if there's only one key, the value is constant */ + if (this.nKeys === 1) { + return (this.keys).value; + } + + /* find the first and last keys */ + skey = this.firstKey; + ekey = this.lastKey; + + var tmp, behavior; + + /* use pre-behavior if time is before first key time */ + if (time < skey.time) { + behavior = this.in_behavior; + + if (behavior === enums.envelope.behavior.RESET) { + return 0.0; + } else if (behavior === enums.envelope.behavior.CONSTANT) { + return skey.value; + } else if (behavior === enums.envelope.behavior.REPEAT) { + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + } else if (behavior === enums.envelope.behavior.OCILLATE) { + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + + if (noff % 2) { + time = ekey.time - skey.time - time; + } + } else if (behavior === enums.envelope.behavior.OFFSET) { + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + offset = noff * (ekey.value - skey.value); + } else if (behavior === enums.envelope.behavior.LINEAR) { + out = cubicvr_env_outgoing(skey, skey.next) / (skey.next.time - skey.time); + return out * (time - skey.time) + skey.value; + } + + /* + switch (this.in_behavior) { + case enums.envelope.behavior.RESET: + return 0.0; + + case enums.envelope.behavior.CONSTANT: + return skey.value; + + case enums.envelope.behavior.REPEAT: + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + break; + + case enums.envelope.behavior.OSCILLATE: + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + + if (noff % 2) { + time = ekey.time - skey.time - time; + } + break; + + case enums.envelope.behavior.OFFSET: + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + offset = noff * (ekey.value - skey.value); + break; + + case enums.envelope.behavior.LINEAR: + out = cubicvr_env_outgoing(skey, skey.next) / (skey.next.time - skey.time); + return out * (time - skey.time) + skey.value; + } + */ + } + + /* use post-behavior if time is after last key time */ + else if (time > ekey.time) { + behavior = this.out_behavior; + + if (behavior === enums.envelope.behavior.RESET) { + return 0.0; + } else if (behavior === enums.envelope.behavior.CONSTANT) { + return ekey.value; + } else if (behavior === enums.envelope.behavior.REPEAT) { + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + } else if (behavior === enums.envelope.behavior.OCILLATE) { + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + + if (noff % 2) { + time = ekey.time - skey.time - time; + } + } else if (behavior === enums.envelope.behavior.OFFSET) { + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + offset = noff * (ekey.value - skey.value); + } else if (behavior === enums.envelope.behavior.LINEAR) { + inval = cubicvr_env_incoming(ekey.prev, ekey) / (ekey.time - ekey.prev.time); + return inval * (time - ekey.time) + ekey.value; + } + /* + switch (this.out_behavior) { + case enums.envelope.behavior.RESET: + return 0.0; + + case enums.envelope.behavior.CONSTANT: + return ekey.value; + + case enums.envelope.behavior.REPEAT: + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + break; + + case enums.envelope.behavior.OSCILLATE: + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + + if (noff % 2) { + time = ekey.time - skey.time - time; + } + break; + + case enums.envelope.behavior.OFFSET: + tmp = cubicvr_env_range(time, skey.time, ekey.time); + time = tmp[0]; + noff = tmp[1]; + offset = noff * (ekey.value - skey.value); + break; + + case enums.envelope.behavior.LINEAR: + inval = cubicvr_env_incoming(ekey.prev, ekey) / (ekey.time - ekey.prev.time); + return inval * (time - ekey.time) + ekey.value; + } + */ + } + + // get the endpoints of the interval being evaluated + key0 = this.keys; + while (time > key0.next.time) { + key0 = key0.next; + } + key1 = key0.next; + + // check for singularities first + if (time === key0.time) { + return key0.value + offset; + } else if (time === key1.time) { + return key1.value + offset; + } + + // get interval length, time in [0, 1] + t = (time - key0.time) / (key1.time - key0.time); + + // interpolate + /* + switch (key1.shape) { + case enums.envelope.shape.TCB: + case enums.envelope.shape.BEZI: + case enums.envelope.shape.HERM: + out = cubicvr_env_outgoing(key0, key1); + inval = cubicvr_env_incoming(key0, key1); + var h = cubicvr_env_hermite(t); + return h[0] * key0.value + h[1] * key1.value + h[2] * out + h[3] * inval + offset; + + case enums.envelope.shape.BEZ2: + return cubicvr_env_bez2_time(key0, key1, time) + offset; + + case enums.envelope.shape.LINE: + return key0.value + t * (key1.value - key0.value) + offset; + + case enums.envelope.shape.STEP: + return key0.value + offset; + + default: + return offset; + } + */ + + var keyShape = key1.shape; + + if (keyShape === enums.envelope.shape.TCB || keyShape === enums.envelope.shape.BEZI || keyShape === enums.envelope.shape.HERM) { + out = cubicvr_env_outgoing(key0, key1); + inval = cubicvr_env_incoming(key0, key1); + var h = cubicvr_env_hermite(t); + return h[0] * key0.value + h[1] * key1.value + h[2] * out + h[3] * inval + offset; + } else if (keyShape === enums.envelope.shape.BEZ2) { + return cubicvr_env_bez2(key0, key1, time) + offset; + } else if (keyShape === enums.envelope.shape.LINE) { + return key0.value + t * (key1.value - key0.value) + offset; + } else if (keyShape === enums.envelope.shape.STEP) { + return key0.value + offset; + } else { + return offset; + } +}; + +function Motion(env_init, key_init) { + this.env_init = env_init; + this.key_init = key_init; + this.controllers = []; + this.yzflip = false; +// this.rscale = 1; +} + +Motion.prototype.envelope = function(controllerId, motionId) { + if (this.controllers[controllerId] === undef) { + this.controllers[controllerId] = []; + } + if (this.controllers[controllerId][motionId] === undef) { + this.controllers[controllerId][motionId] = new Envelope(this.env_init); + } + + return this.controllers[controllerId][motionId]; +}; + +Motion.prototype.evaluate = function(index) { + var retArr = []; + + for (var i in this.controllers) { + if (this.controllers.hasOwnProperty(i)) { + retArr[i] = []; + + for (var j in this.controllers[i]) { + if (this.controllers[i].hasOwnProperty(j)) { + retArr[i][j] = this.controllers[i][j].evaluate(index); + } + } + } + } + + return retArr; +}; + +Motion.prototype.apply = function(index, target) { + for (var i in this.controllers) { + if (this.controllers.hasOwnProperty(i)) { + var ic = parseInt(i, 10); + + /* Special case quaternion fix for ZY->YZ rotation envelopes */ + if (this.yzflip && ic === enums.motion.ROT) // assume channel 0,1,2 + { + if (!this.q) { + this.q = new Quaternion(); + } + var q = this.q; + + var x = this.controllers[i][0].evaluate(index); + var y = this.controllers[i][1].evaluate(index); + var z = this.controllers[i][2].evaluate(index); + + //q.fromEuler(x*this.rscale, z*this.rscale, -y*this.rscale); + q.fromEuler(x, z, -y); + + + var qr = q.toEuler(); + + target.control(ic, 0, qr[0]); + target.control(ic, 1, qr[1]); + target.control(ic, 2, qr[2]); + } + else { + for (var j in this.controllers[i]) { + if (this.controllers[i].hasOwnProperty(j)) { + target.control(ic, parseInt(j, 10), this.controllers[i][j].evaluate(index)); + } + } + } + } + } +}; + + +Motion.prototype.setKey = function(controllerId, motionId, index, value, key_init) { + var ev = this.envelope(controllerId, motionId); + return ev.addKey(index, value, key_init?key_init:this.key_init); +}; + +Motion.prototype.setArray = function(controllerId, index, value, key_init) { + var tmpKeys = []; + + for (var i in value) { + if (value.hasOwnProperty(i)) { + var ev = this.envelope(controllerId, i); + tmpKeys[i] = ev.addKey(index, value[i], key_init?key_init:this.key_init); + } + } + + return tmpKeys; +}; + + +Motion.prototype.setBehavior = function(controllerId, motionId, behavior_in, behavior_out) { + var ev = this.envelope(controllerId, motionId); + ev.setBehavior(behavior_in, behavior_out); +}; + + +Motion.prototype.setBehaviorArray = function(controllerId, behavior_in, behavior_out) { + for (var motionId in this.controllers[controllerId]) { + if (this.controllers[controllerId].hasOwnProperty(motionId)) { + var ev = this.envelope(controllerId, motionId); + ev.setBehavior(behavior_in, behavior_out); + } + } +}; + + + +function cubicvr_nodeToMotion(node, controllerId, motion) { + var c = []; + c[0] = node.getElementsByTagName("x"); + c[1] = node.getElementsByTagName("y"); + c[2] = node.getElementsByTagName("z"); + c[3] = node.getElementsByTagName("fov"); + + var etime, evalue, ein, eout, etcb; + + for (var k in c) { + if (c.hasOwnProperty(k)) { + if (c[k] !== undef) { + if (c[k].length) { + etime = c[k][0].getElementsByTagName("time"); + evalue = c[k][0].getElementsByTagName("value"); + ein = c[k][0].getElementsByTagName("in"); + eout = c[k][0].getElementsByTagName("out"); + etcb = c[k][0].getElementsByTagName("tcb"); + + var time = null, + value = null, + tcb = null; + + var intype = null, + outtype = null; + + if (ein.length) { + intype = util.collectTextNode(ein[0]); + } + + if (eout.length) { + outtype = util.collectTextNode(eout[0]); + } + + if (etime.length) { + time = util.floatDelimArray(util.collectTextNode(etime[0]), " "); + } + + if (evalue.length) { + value = util.floatDelimArray(util.collectTextNode(evalue[0]), " "); + } + + if (etcb.length) { + tcb = util.floatDelimArray(util.collectTextNode(etcb[0]), " "); + } + + + if (time !== null && value !== null) { + for (var i = 0, iMax = time.length; i < iMax; i++) { + var mkey = motion.setKey(controllerId, k, time[i], value[i]); + + if (tcb) { + mkey.tension = tcb[i * 3]; + mkey.continuity = tcb[i * 3 + 1]; + mkey.bias = tcb[i * 3 + 2]; + } + } + } + + var in_beh = enums.envelope.behavior.CONSTANT; + var out_beh = enums.envelope.behavior.CONSTANT; + + if (intype) { + switch (intype) { + case "reset": + in_beh = enums.envelope.behavior.RESET; + break; + case "constant": + in_beh = enums.envelope.behavior.CONSTANT; + break; + case "repeat": + in_beh = enums.envelope.behavior.REPEAT; + break; + case "oscillate": + in_beh = enums.envelope.behavior.OSCILLATE; + break; + case "offset": + in_beh = enums.envelope.behavior.OFFSET; + break; + case "linear": + in_beh = enums.envelope.behavior.LINEAR; + break; + } + } + + if (outtype) { + switch (outtype) { + case "reset": + out_beh = enums.envelope.behavior.RESET; + break; + case "constant": + out_beh = enums.envelope.behavior.CONSTANT; + break; + case "repeat": + out_beh = enums.envelope.behavior.REPEAT; + break; + case "oscillate": + out_beh = enums.envelope.behavior.OSCILLATE; + break; + case "offset": + out_beh = enums.envelope.behavior.OFFSET; + break; + case "linear": + out_beh = enums.envelope.behavior.LINEAR; + break; + } + } + + motion.setBehavior(controllerId, k, in_beh, out_beh); + } + } + } + } +} + + +function cubicvr_isMotion(node) { + if (node === null) { + return false; + } + + return (node.getElementsByTagName("x").length || node.getElementsByTagName("y").length || node.getElementsByTagName("z").length || node.getElementsByTagName("fov").length); +} + +/*********************************************** + * Plane + ***********************************************/ + +function Plane() { + this.a = 0; + this.b = 0; + this.c = 0; + this.d = 0; +} //Plane::Constructor +Plane.prototype.classify_point = function(pt) { + var dist = (this.a * pt[0]) + (this.b * pt[1]) + (this.c * pt[2]) + (this.d); + if (dist < 0) { + return -1; + } + if (dist > 0) { + return 1; + } + return 0; +}; //Plane::classify_point +Plane.prototype.normalize = function() { + var mag = Math.sqrt(this.a * this.a + this.b * this.b + this.c * this.c); + this.a = this.a / mag; + this.b = this.b / mag; + this.c = this.c / mag; + this.d = this.d / mag; +}; //Plane::normalize +Plane.prototype.toString = function() { + return "[Plane " + this.a + ", " + this.b + ", " + this.c + ", " + this.d + "]"; +}; //Plane::toString +/*********************************************** + * Sphere + ***********************************************/ + +function Sphere(position, radius) { + this.position = position; + if (this.position === undef) { + this.position = [0, 0, 0]; + } + this.radius = radius; +} //Sphere::Constructor +Sphere.prototype.intersects = function(other_sphere) { + var diff = vec3.subtract(this.position, other_sphere.position); + var mag = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1] + diff[2] * diff[2]); + var sum_radii = this.radius + other_sphere.radius; + if (mag * mag < sum_radii * sum_radii) { + return true; + } + return false; +}; //Sphere::intersects + +function OctreeWorkerProxy(size, depth) { + var that = this; + this.size = size; + this.depth = depth; + this.worker = new CubicVR_Worker({ + message: function(e) { + console.log('Octree Worker Message:', e); + }, + error: function(e) { + console.log('Octree Worker Error:', e); + }, + type: 'octree'}); + this.worker.start(); + + this.init = function(scene) { + that.scene = scene; + that.worker.init({ + size: that.size, + max_depth: that.depth, + camera: scene.camera + }); + }; //init + this.insert = function(node) { + that.worker.send({message:'insert', node:node}); + }; //insert + this.draw_on_map = function() { + return; + }; //draw_on_map + this.reset_node_visibility = function() { + return; + }; //reset_node_visibility + this.get_frustum_hits = function() { + }; //get_frustum_hits +} //OctreeWorkerProxy + +function Octree(size, max_depth, root, position, child_index) { + this._children = []; + this._dirty = false; + this._children[0] = null; + this._children[1] = null; + this._children[2] = null; + this._children[3] = null; + this._children[4] = null; + this._children[5] = null; + this._children[6] = null; + this._children[7] = null; + + if (child_index === undef) { + this._child_index = -1; + } else { + this._child_index = child_index; + } + + if (size === undef) { + this._size = 0; + } else { + this._size = size; + } + + if (max_depth === undef) { + this._max_depth = 0; + } else { + this._max_depth = max_depth; + } + + if (root === undef) { + this._root = null; + } else { + this._root = root; + } + + if (position === undef) { + this._position = [0, 0, 0]; + } else { + this._position = position; + } + + this._nodes = []; + //this._static_nodes = []; + this._lights = []; + this._static_lights = []; + + this._sphere = new Sphere(this._position, Math.sqrt(3 * (this._size / 2 * this._size / 2))); + this._bbox = [[0,0,0],[0,0,0]]; + AABB_reset(this._bbox, this._position); + + var s = this._size/2; + AABB_engulf(this._bbox, [this._position[0] + s, this._position[1] + s, this._position[2] + s]); + AABB_engulf(this._bbox, [this._position[0] - s, this._position[1] - s, this._position[2] - s]); + this._debug_visible = false; +} //Octree::Constructor +Array_remove = function(arr, from, to) { + var rest = arr.slice((to || from) + 1 || arr.length); + arr.length = from < 0 ? arr.length + from : from; + return arr.push.apply(arr, rest); +}; +Octree.prototype.destroy = function() { + for (var i=0, li = this._static_lights.length; i<li; ++i) { + var light = this._static_lights[i]; + light.octree_leaves = null; + light.octree_common_root = null; + light.octree_aabb = null; + } //for + for (var i=0, li = this._lights.length; i<li; ++i) { + var light = this._lights[i]; + light.octree_leaves = null; + light.octree_common_root = null; + light.octree_aabb = null; + } //for + this._static_lights = null; + this._lights = null; + for (var i = 0, len = this._children.length; i < len; ++i) { + if (this._children[i] !== null) { + this._children[i].destroy(); + } //if + } //for + for (var i = 0, max_i = this._nodes.length; i < max_i; ++i) { + var node = this._nodes[i]; + node.octree_leaves = null; + node.octree_common_root = null; + node.octree_aabb = null; + node.dynamic_lights = []; + node.static_lights = []; + } //for + this._children[0] = null; + this._children[1] = null; + this._children[2] = null; + this._children[3] = null; + this._children[4] = null; + this._children[5] = null; + this._children[6] = null; + this._children[7] = null; + this._children = null; + this._root = null; + this._position = null; + this._nodes = null; + this._lights = null; + this._static_lights = null; + this._sphere = null; + this._bbox = null; +} //Octree::destroy +Octree.prototype.toString = function() { + var real_size = [this._bbox[1][0] - this._bbox[0][0], this._bbox[1][2] - this._bbox[0][2]]; + return "[Octree: @" + this._position + ", depth: " + this._max_depth + ", size: " + this._size + ", nodes: " + this._nodes.length + ", measured size:" + real_size + "]"; +}; //Octree::toString +Octree.prototype.remove = function(node) { + var dont_check_lights = false; + var len = this._nodes.length; + var i; + for (i = len - 1, len = this._nodes.length; i >= 0; --i) { + if (node === this._nodes[i]) { + Array_remove(this._nodes, i); + this.dirty_lineage(); + dont_check_lights = true; + break; + } //if + } //for + if (!dont_check_lights) { + for (i = len - 1, len = this._lights.length; i >= 0; --i) { + if (node === this._lights[i]) { + Array_remove(this._lights, i); + this.dirty_lineage(); + break; + } //if + } //for + } //if +}; //Octree::remove +Octree.prototype.dirty_lineage = function() { + this._dirty = true; + if (this._root !== null) { this._root.dirty_lineage(); } +} //Octree::dirty_lineage +Octree.prototype.cleanup = function() { + var num_children = this._children.length; + var num_keep_children = 0; + for (var i = 0; i < num_children; ++i) { + var child = this._children[i]; + if (child !== null) { + var keep = true; + if (child._dirty === true) { + keep = child.cleanup(); + } //if + if (!keep) { + this._children[i] = null; + } else { + ++num_keep_children; + } + } //if + } //for + if ((this._nodes.length === 0 && this._static_lights.length === 0 && this._lights.length === 0) && (num_keep_children === 0 || num_children === 0)) { + return false; + } + return true; +}; //Octree::cleanup +Octree.prototype.insert_light = function(light) { + this.insert(light, true); +}; //insert_light +Octree.prototype.propagate_static_light = function(light) { + var i,l; + for (i = 0, l = this._nodes.length; i < l; ++i) { + if (this._nodes[i].static_lights.indexOf(light) === -1) { + this._nodes[i].static_lights.push(light); + } //if + } //for + for (i = 0; i < 8; ++i) { + if (this._children[i] !== null) { + this._children[i].propagate_static_light(light); + } //if + } //for +}; //propagate_static_light +Octree.prototype.collect_static_lights = function(node) { + for (var i=0, li = this._static_lights.length; i<li; ++i) { + if (node.static_lights.indexOf(this._static_lights[i]) === -1) { + node.static_lights.push(this._static_lights[i]); + } //if + } //for + for (var i = 0; i < 8; ++i) { + if (this._children[i] !== null) { + this._children[i].collect_static_lights(node); + } //if + } //for +}; //collect_static_lights +Octree.prototype.insert = function(node, is_light) { + if (is_light === undef) { is_light = false; } + function $insert(octree, node, is_light, root) { + var i, li; + if (is_light) { + if (node.method === enums.light.method.STATIC) { + if (octree._static_lights.indexOf(node) === -1) { + octree._static_lights.push(node); + } //if + for (i=0; i<octree._nodes.length; ++i) { + if (octree._nodes[i].static_lights.indexOf(node) === -1) { + octree._nodes[i].static_lights.push(node); + } //if + } //for + var root_tree = octree._root; + while (root_tree !== null) { + for (var i=0, l=root_tree._nodes.length; i<l; ++i) { + var n = root_tree._nodes[i]; + if (n.static_lights.indexOf(node) === -1) { + n.static_lights.push(node); + } //if + } //for + root_tree = root_tree._root; + } //while + } + else { + if (octree._lights.indexOf(node) === -1) { + octree._lights.push(node); + } //if + } //if + } else { + octree._nodes.push(node); + for (i=0, li = octree._static_lights.length; i<li; ++i) { + if (node.static_lights.indexOf(octree._static_lights[i]) === -1) { + node.static_lights.push(octree._static_lights[i]); + } //if + } //for + var root_tree = octree._root; + while (root_tree !== null) { + for (var i=0, l=root_tree._static_lights.length; i<l; ++i) { + var light = root_tree._static_lights[i]; + if (node.static_lights.indexOf(light) === -1) { + node.static_lights.push(light); + } //if + } //for + root_tree = root_tree._root; + } //while + } //if + node.octree_leaves.push(octree); + node.octree_common_root = root; + AABB_engulf(node.octree_aabb, octree._bbox[0]); + AABB_engulf(node.octree_aabb, octree._bbox[1]); + } //$insert + if (this._root === null) { + node.octree_leaves = []; + node.octree_common_root = null; + } //if + if (this._max_depth === 0) { + $insert(this, node, is_light, this._root); + return; + } //if + //Check to see where the node is + var p = this._position; + var t_nw, t_ne, t_sw, t_se, b_nw, b_ne, b_sw, b_se; + var aabb = node.getAABB(); + var min = [aabb[0][0], aabb[0][1], aabb[0][2]]; + var max = [aabb[1][0], aabb[1][1], aabb[1][2]]; + + t_nw = min[0] < p[0] && min[1] < p[1] && min[2] < p[2]; + t_ne = max[0] > p[0] && min[1] < p[1] && min[2] < p[2]; + b_nw = min[0] < p[0] && max[1] > p[1] && min[2] < p[2]; + b_ne = max[0] > p[0] && max[1] > p[1] && min[2] < p[2]; + t_sw = min[0] < p[0] && min[1] < p[1] && max[2] > p[2]; + t_se = max[0] > p[0] && min[1] < p[1] && max[2] > p[2]; + b_sw = min[0] < p[0] && max[1] > p[1] && max[2] > p[2]; + b_se = max[0] > p[0] && max[1] > p[1] && max[2] > p[2]; + + //Is it in every sector? + if (t_nw && t_ne && b_nw && b_ne && t_sw && t_se && b_sw && b_se) { + $insert(this, node, is_light, this); + if (is_light) { + if (node.method == enums.light.method.STATIC) { + this.propagate_static_light(node); + } //if + } + else { + this.collect_static_lights(node); + } //if + } else { + + //Add static lights in this octree + for (var i=0, ii=this._static_lights.length; i<ii; ++i) { + if (node.static_lights === undef) node.static_lights = []; + if (node.static_lights.indexOf(this._static_lights[i]) === -1) { + node.static_lights.push(this._static_lights[i]); + } //if + } //for + + var new_size = this._size / 2; + var offset = this._size / 4; + var new_position; + + var num_inserted = 0; + //Create & check children to see if node fits there too + var x = this._position[0]; + var y = this._position[1]; + var z = this._position[2]; + if (t_nw) { + new_position = [x - offset, y - offset, z - offset]; + if (this._children[enums.octree.TOP_NW] === null) { + this._children[enums.octree.TOP_NW] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.TOP_NW); + } + this._children[enums.octree.TOP_NW].insert(node, is_light); + ++num_inserted; + } //if + if (t_ne) { + new_position = [x + offset, y - offset, z - offset]; + if (this._children[enums.octree.TOP_NE] === null) { + this._children[enums.octree.TOP_NE] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.TOP_NE); + } + this._children[enums.octree.TOP_NE].insert(node, is_light); + ++num_inserted; + } //if + if (b_nw) { + new_position = [x - offset, y + offset, z - offset]; + if (this._children[enums.octree.BOTTOM_NW] === null) { + this._children[enums.octree.BOTTOM_NW] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.BOTTOM_NW); + } + this._children[enums.octree.BOTTOM_NW].insert(node, is_light); + ++num_inserted; + } //if + if (b_ne) { + new_position = [x + offset, y + offset, z - offset]; + if (this._children[enums.octree.BOTTOM_NE] === null) { + this._children[enums.octree.BOTTOM_NE] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.BOTTOM_NE); + } + this._children[enums.octree.BOTTOM_NE].insert(node, is_light); + ++num_inserted; + } //if + if (t_sw) { + new_position = [x - offset, y - offset, z + offset]; + if (this._children[enums.octree.TOP_SW] === null) { + this._children[enums.octree.TOP_SW] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.TOP_SW); + } + this._children[enums.octree.TOP_SW].insert(node, is_light); + ++num_inserted; + } //if + if (t_se) { + new_position = [x + offset, y - offset, z + offset]; + if (this._children[enums.octree.TOP_SE] === null) { + this._children[enums.octree.TOP_SE] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.TOP_SE); + } + this._children[enums.octree.TOP_SE].insert(node, is_light); + ++num_inserted; + } //if + if (b_sw) { + new_position = [x - offset, y + offset, z + offset]; + if (this._children[enums.octree.BOTTOM_SW] === null) { + this._children[enums.octree.BOTTOM_SW] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.BOTTOM_SW); + } + this._children[enums.octree.BOTTOM_SW].insert(node, is_light); + ++num_inserted; + } //if + if (b_se) { + new_position = [x + offset, y + offset, z + offset]; + if (this._children[enums.octree.BOTTOM_SE] === null) { + this._children[enums.octree.BOTTOM_SE] = new Octree(new_size, this._max_depth - 1, this, new_position, enums.octree.BOTTOM_SE); + } + this._children[enums.octree.BOTTOM_SE].insert(node, is_light); + ++num_inserted; + } //if + if (num_inserted > 1 || node.octree_common_root === null) { + node.octree_common_root = this; + } //if + } //if +}; //Octree::insert +Octree.prototype.draw_on_map = function(map_canvas, map_context, target) { + var mhw = map_canvas.width/2; + var mhh = map_canvas.height/2; + var x, y, w, h; + var i, len; + + if (target === undef || target === "map") { + map_context.save(); + if (this._debug_visible !== false) { + map_context.fillStyle = "rgba(0,0,0,0)"; + map_context.strokeStyle = "#FF0000"; + } + else { + map_context.fillStyle = "rgba(0,0,0,0)"; + map_context.strokeStyle = "rgba(0,0,0,0)"; + } //if + map_context.beginPath(); + var offset = this._size / 2; + x = this._position[0]; + y = this._position[2]; + map_context.moveTo(mhw + x - offset, mhw + y - offset); + map_context.lineTo(mhw + x - offset, mhw + y + offset); + map_context.lineTo(mhw + x + offset, mhw + y + offset); + map_context.lineTo(mhw + x + offset, mhw + y - offset); + map_context.stroke(); + map_context.fill(); + map_context.restore(); + } + + if (target === undef || target === "objects") { + map_context.save(); + for (i = 0, len = this._nodes.length; i < len; ++i) { + var n = this._nodes[i]; + map_context.fillStyle = "#5500FF"; + if (n.visible === true && n.culled === false) { + map_context.strokeStyle = "#FFFFFF"; + } else { + map_context.strokeStyle = "#000000"; + } //if + map_context.beginPath(); + x = n.aabb[0][0]; + y = n.aabb[0][2]; + w = n.aabb[1][0] - x; + h = n.aabb[1][2] - y; + map_context.rect(mhw + x, mhh + y, w, h); + map_context.stroke(); + } //for + map_context.restore(); + } + + if (target === undef || target === "lights") { + for (i = 0, len = this._lights.length; i < len; ++i) { + var l = this._lights[i]; + if (l.culled === false && l.visible === true) { + map_context.fillStyle = "rgba(255, 255, 255, 0.1)"; + } else { + map_context.fillStyle = "rgba(255, 255, 255, 0.0)"; + } + map_context.strokeStyle = "#FFFF00"; + map_context.beginPath(); + var d = l.distance; + x = l.position[0]; + y = l.position[2]; + map_context.arc(mhw + x, mhh + y, d, 0, Math.PI * 2, true); + map_context.closePath(); + map_context.stroke(); + map_context.fill(); + map_context.beginPath(); + x = l.aabb[0][0]; + y = l.aabb[0][2]; + w = l.aabb[1][0] - x; + h = l.aabb[1][2] - y; + map_context.rect(mhw + x, mhh + y, w, h); + map_context.closePath(); + map_context.stroke(); + } //for + for (i = 0, len = this._static_lights.length; i < len; ++i) { + var l = this._static_lights[i]; + if (l.culled === false && l.visible === true) { + map_context.fillStyle = "rgba(255, 255, 255, 0.01)"; + } else { + map_context.fillStyle = "rgba(255, 255, 255, 0.0)"; + } + map_context.strokeStyle = "#FF66BB"; + map_context.beginPath(); + var d = l.distance; + x = l.position[0]; + y = l.position[2]; + map_context.arc(mhw + x, mhh + y, d, 0, Math.PI * 2, true); + map_context.closePath(); + map_context.stroke(); + map_context.fill(); + map_context.beginPath(); + x = l.aabb[0][0]; + y = l.aabb[0][2]; + w = l.aabb[1][0] - x; + h = l.aabb[1][2] - y; + map_context.rect(mhw + x, mhh + y, w, h); + map_context.closePath(); + map_context.stroke(); + } //for + } //if + + function $draw_box(x1, y1, x2, y2, fill) { + var x = x1 < x2 ? x1 : x2; + var y = y1 < y2 ? y1 : y2; + var w = x1 < x2 ? x2-x1 : x1-x2; + var h = y1 < y2 ? y2-y1 : y1-y2; + map_context.save(); + if (fill !== undefined) { + map_context.fillStyle = fill; + map_context.fillRect(mhw+x,mhh+y,w,h); + } //if + map_context.strokeRect(mhw+x,mhh+y,w,h); + map_context.restore(); + } //$draw_box + + function $draw_oct(oct, fill) { + var x1 = oct._bbox[0][0]; + var y1 = oct._bbox[0][2]; + var x2 = oct._bbox[1][0]; + var y2 = oct._bbox[1][2]; + $draw_box(x1, y1, x2, y2, fill); + } //$draw_oct + if (target != "lights" && target != "objects" && target != "map") { + map_context.save(); + var nodes = this._nodes; + for (var i=0,l=nodes.length;i<l;++i) { + var n = nodes[i]; + if (n.name == target) { + map_context.strokeStyle = "#FFFF00"; + map_context.lineWidth = 3; + map_context.beginPath(); + x = n.aabb[0][0]; + y = n.aabb[0][2]; + w = n.aabb[1][0] - x; + h = n.aabb[1][2] - y; + map_context.rect(mhw + x, mhh + y, w, h); + map_context.closePath(); + map_context.stroke(); + + var oab = n.octree_aabb; + map_context.strokeStyle = "#0000FF"; + $draw_box(oab[0][0], oab[0][2], oab[1][0], oab[1][2]); + map_context.lineWidth = 1; + if (n.common_root !== null) { + map_context.strokeStyle = "#00FF00"; + //$draw_oct(n.octree_common_root); + } //if + break; + } //if + } //for + map_context.lineWidth = 1; + map_context.strokeStyle = "#FFFF00"; + $draw_oct(this, "#444444"); + map_context.fill(); + map_context.restore(); + + } //if + + for (i = 0, len = this._children.length; i < len; ++i) { + if (this._children[i] !== null) { + this._children[i].draw_on_map(map_canvas, map_context, target); + } + } //for +}; //Octree::draw_on_map +Octree.prototype.contains_point = function(position) { + return position[0] <= this._position[0] + this._size / 2 && position[1] <= this._position[1] + this._size / 2 && position[2] <= this._position[2] + this._size / 2 && position[0] >= this._position[0] - this._size / 2 && position[1] >= this._position[1] - this._size / 2 && position[2] >= this._position[2] - this._size / 2; +}; //Octree::contains_point +Octree.prototype.get_frustum_hits = function(camera, test_children) { + var hits = { + objects: [], + lights: [] + }; + if (test_children === undef || test_children === true) { + if (! (this.contains_point(camera.position))) { + if (camera.frustum.sphere.intersects(this._sphere) === false) { + return hits; + } + //if(_sphere.intersects(c.get_frustum().get_cone()) === false) return; + var contains_sphere = camera.frustum.contains_sphere(this._sphere); + if (contains_sphere === -1) { + this._debug_visible = false; + return hits; + } + else if (contains_sphere === 1) { + this._debug_visible = 2; + test_children = false; + } + else if (contains_sphere === 0) { + this._debug_visible = true; + var contains_box = camera.frustum.contains_box(this._bbox); + if (contains_box === -1) { + this._debug_visible = false; + return hits; + } + else if (contains_box === 1) { + this._debug_visible = 3; + test_children = false; + } //if + } //if + } //if + } //if + var i, max_i; + for (i = 0, max_i = this._nodes.length; i < max_i; ++i) { + var n = this._nodes[i]; + hits.objects.push(n); + n.dynamic_lights = [].concat(this._lights); + n.was_culled = n.culled; + n.culled = false; + n.drawn_this_frame = false; + } //for objects + this._debug_visible = this._lights.length > 0 ? 4 : this._debug_visible; + for (i = 0, max_i = this._lights.length; i < max_i; ++i) { + var l = this._lights[i]; + if (l.visible === true) { + hits.lights.push(l); + l.was_culled = l.culled; + l.culled = false; + } //if + } //for dynamic lights + for (i = 0, max_i = this._static_lights.length; i < max_i; ++i) { + var l = this._static_lights[i]; + if (l.visible === true) { + l.culled = false; + } //if + } //for static lights + for (i = 0; i < 8; ++i) { + if (this._children[i] !== null) { + var child_hits = this._children[i].get_frustum_hits(camera, test_children); + var o, max_o; + for (o = 0, max_o = child_hits.objects.length; o < max_o; ++o) { + hits.objects.push(child_hits.objects[o]); + var obj_lights = child_hits.objects[o].dynamic_lights; + for (var j=0, lj=this._lights.length; j<lj; ++j) { + if(obj_lights.indexOf(this._lights[j]) < 0) { + obj_lights.push(this._lights[j]); + } //if + } //for j + } //for o + //hits.lights = hits.lights.concat(child_hits.lights); + //collect lights and make sure they're unique <- really slow + for (o = 0, max_o = child_hits.lights.length; o < max_o; ++o) { + if (hits.lights.indexOf(child_hits.lights[o]) < 0) { + hits.lights.push(child_hits.lights[o]); + } //if + } //for o + } //if + } //for + return hits; +}; //Octree::get_frustum_hits +Octree.prototype.reset_node_visibility = function() { + this._debug_visible = false; + + var i, l; + for (i = 0, l = this._nodes.length; i < l; ++i) { + this._nodes[i].culled = true; + } //for + for (i = 0, l = this._lights.length; i < l; ++i) { + this._lights[i].culled = true; + } //for + for (i = 0, l = this._static_lights.length; i < l; ++i) { + this._static_lights[i].culled = true; + } //for + for (i = 0, l = this._children.length; i < l; ++i) { + if (this._children[i] !== null) { + this._children[i].reset_node_visibility(); + } //if + } //for +}; //Octree::reset_visibility +/*********************************************** + * OctreeNode + ***********************************************/ + +function OctreeNode() { + this.position = [0, 0, 0]; + this.visible = false; + this._object = null; +} //OctreeNode::Constructor +OctreeNode.prototype.toString = function() { + return "[OctreeNode " + this.position + "]"; +}; //OctreeNode::toString +OctreeNode.prototype.attach = function(obj) { + this._object = obj; +}; //OctreeNode::attach + +function CubicVR_OctreeWorker() { + this.octree = null; + this.nodes = []; + this.camera = null; +} //CubicVR_OctreeWorker::Constructor +CubicVR_OctreeWorker.prototype.onmessage = function(input) { + var message = input.message; + if (message === "init") { + var params = input.data; + this.octree = new Octree(params.size, params.max_depth); + this.camera = new Camera(); + } + else if (type === "set_camera") { + var data = message.data; + this.camera.mvMatrix = data.mvMatrix; + this.camera.pMatrix = data.pMatrix; + this.camera.position = data.position; + this.camera.target = data.target; + this.camera.frustum.extract(this.camera, this.camera.mvMatrix, this.camera.pMatrix); + } + else if (type === "insert") { + var json_node = JSON.parse(message.data); + var node = new SceneObject(); + var trans = new Transform(); + + for (var i in json_node) { + if (json_node.hasOwnProperty(i)) { + node[i] = json_node[i]; + } //if + } //for + + for (var i in json_node.trans) { + if (json_node.trans.hasOwnProperty(i)) { + trans[i] = json_node.trans[i]; + } //if + } //for + + node.trans = trans; + node.id = json_node.id; + + this.octree.insert(node); + this.nodes[node.id] = node; + } + else if (type === "cleaup") { + this.octree.cleanup(); + } //if +}; //onmessage + +/*********************************************** + * Frustum + ***********************************************/ + +function FrustumWorkerProxy(worker, camera) { + this.camera = camera; + this.worker = worker; + this.draw_on_map = function(map_context) { + return; + }; +} //FrustumWorkerProxy +FrustumWorkerProxy.prototype.extract = function(camera, mvMatrix, pMatrix) { + this.worker.send({ + type: "set_camera", + data: { + mvMatrix: this.camera.mvMatrix, + pMatrix: this.camera.pMatrix, + position: this.camera.position, + target: this.camera.target + } + }); +}; //FrustumWorkerProxy::extract + +function Frustum() { + this.last_in = []; + this._planes = []; + this.sphere = null; + for (var i = 0; i < 6; ++i) { + this._planes[i] = new Plane(); + } //for +} //Frustum::Constructor +Frustum.prototype.extract = function(camera, mvMatrix, pMatrix) { + if (mvMatrix === undef || pMatrix === undef) { + return; + } + var comboMatrix = mat4.multiply(mvMatrix, pMatrix); + + // Left clipping plane + this._planes[enums.frustum.plane.LEFT].a = comboMatrix[3] + comboMatrix[0]; + this._planes[enums.frustum.plane.LEFT].b = comboMatrix[7] + comboMatrix[4]; + this._planes[enums.frustum.plane.LEFT].c = comboMatrix[11] + comboMatrix[8]; + this._planes[enums.frustum.plane.LEFT].d = comboMatrix[15] + comboMatrix[12]; + + // Right clipping plane + this._planes[enums.frustum.plane.RIGHT].a = comboMatrix[3] - comboMatrix[0]; + this._planes[enums.frustum.plane.RIGHT].b = comboMatrix[7] - comboMatrix[4]; + this._planes[enums.frustum.plane.RIGHT].c = comboMatrix[11] - comboMatrix[8]; + this._planes[enums.frustum.plane.RIGHT].d = comboMatrix[15] - comboMatrix[12]; + + // Top clipping plane + this._planes[enums.frustum.plane.TOP].a = comboMatrix[3] - comboMatrix[1]; + this._planes[enums.frustum.plane.TOP].b = comboMatrix[7] - comboMatrix[5]; + this._planes[enums.frustum.plane.TOP].c = comboMatrix[11] - comboMatrix[9]; + this._planes[enums.frustum.plane.TOP].d = comboMatrix[15] - comboMatrix[13]; + + // Bottom clipping plane + this._planes[enums.frustum.plane.BOTTOM].a = comboMatrix[3] + comboMatrix[1]; + this._planes[enums.frustum.plane.BOTTOM].b = comboMatrix[7] + comboMatrix[5]; + this._planes[enums.frustum.plane.BOTTOM].c = comboMatrix[11] + comboMatrix[9]; + this._planes[enums.frustum.plane.BOTTOM].d = comboMatrix[15] + comboMatrix[13]; + + // Near clipping plane + this._planes[enums.frustum.plane.NEAR].a = comboMatrix[3] + comboMatrix[2]; + this._planes[enums.frustum.plane.NEAR].b = comboMatrix[7] + comboMatrix[6]; + this._planes[enums.frustum.plane.NEAR].c = comboMatrix[11] + comboMatrix[10]; + this._planes[enums.frustum.plane.NEAR].d = comboMatrix[15] + comboMatrix[14]; + + // Far clipping plane + this._planes[enums.frustum.plane.FAR].a = comboMatrix[3] - comboMatrix[2]; + this._planes[enums.frustum.plane.FAR].b = comboMatrix[7] - comboMatrix[6]; + this._planes[enums.frustum.plane.FAR].c = comboMatrix[11] - comboMatrix[10]; + this._planes[enums.frustum.plane.FAR].d = comboMatrix[15] - comboMatrix[14]; + + for (var i = 0; i < 6; ++i) { + this._planes[i].normalize(); + } + + //Sphere + var fov = 1 / pMatrix[5]; + var near = -this._planes[enums.frustum.plane.NEAR].d; + var far = this._planes[enums.frustum.plane.FAR].d; + var view_length = far - near; + var height = view_length * fov; + var width = height; + + var P = [0, 0, near + view_length * 0.5]; + var Q = [width, height, near + view_length]; + var diff = vec3.subtract(P, Q); + var diff_mag = vec3.length(diff); + + var look_v = [comboMatrix[3], comboMatrix[9], comboMatrix[10]]; + var look_mag = vec3.length(look_v); + look_v = vec3.multiply(look_v, 1 / look_mag); + + this.sphere = new Sphere([camera.position[0], camera.position[1], camera.position[2]], diff_mag); + this.sphere.position = vec3.add(this.sphere.position, vec3.multiply(look_v, view_length * 0.5)); + this.sphere.position = vec3.add(this.sphere.position, vec3.multiply(look_v, 1)); + +}; //Frustum::extract +Frustum.prototype.contains_sphere = function(sphere) { + for (var i = 0; i < 6; ++i) { + var p = this._planes[i]; + var normal = [p.a, p.b, p.c]; + var distance = vec3.dot(normal, sphere.position) + p.d; + this.last_in[i] = 1; + + //OUT + if (distance < -sphere.radius) { + return -1; + } + + //INTERSECT + if (Math.abs(distance) < sphere.radius) { + return 0; + } + + } //for + //IN + return 1; +}; //Frustum::contains_sphere +Frustum.prototype.draw_on_map = function(map_canvas, map_context) { + var mhw = map_canvas.width/2; + var mhh = map_canvas.height/2; + map_context.save(); + for (var pi = 0, l = this._planes.length; pi < l; ++pi) { + if (pi === 2 || pi === 3) {continue;} + map_context.strokeStyle = "#FF00FF"; + if (pi < this.last_in.length) { + if (this.last_in[pi]) { + map_context.strokeStyle = "#FFFF00"; + } + } //if + var p = this._planes[pi]; + var x1 = -mhw; + var y1 = (-p.d - p.a * x1) / p.c; + var x2 = mhw; + var y2 = (-p.d - p.a * x2) / p.c; + map_context.moveTo(mhw + x1, mhh + y1); + map_context.lineTo(mhw + x2, mhh + y2); + map_context.stroke(); + } //for + map_context.strokeStyle = "#0000FF"; + map_context.beginPath(); + map_context.arc(mhw + this.sphere.position[0], mhh + this.sphere.position[2], this.sphere.radius, 0, Math.PI * 2, false); + map_context.closePath(); + map_context.stroke(); + map_context.restore(); +}; //Frustum::draw_on_map +Frustum.prototype.contains_box = function(bbox) { + var total_in = 0; + + var points = []; + points[0] = bbox[0]; + points[1] = [bbox[0][0], bbox[0][1], bbox[1][2]]; + points[2] = [bbox[0][0], bbox[1][1], bbox[0][2]]; + points[3] = [bbox[0][0], bbox[1][1], bbox[1][2]]; + points[4] = [bbox[1][0], bbox[0][1], bbox[0][2]]; + points[5] = [bbox[1][0], bbox[0][1], bbox[1][2]]; + points[6] = [bbox[1][0], bbox[1][1], bbox[0][2]]; + points[7] = bbox[1]; + + for (var i = 0; i < 6; ++i) { + var in_count = 8; + var point_in = 1; + + for (var j = 0; j < 8; ++j) { + if (this._planes[i].classify_point(points[j]) === -1) { + point_in = 0; + --in_count; + } //if + } //for j + this.last_in[i] = point_in; + + //OUT + if (in_count === 0) { + return -1; + } + + total_in += point_in; + } //for i + //IN + if (total_in === 6) { + return 1; + } + + return 0; +}; //Frustum::contains_box + +function Camera(width, height, fov, nearclip, farclip) { + this.frustum = new Frustum(); + + if (typeof(width)=='object') { + this.position = width.position?width.position:[0, 0, 0]; + this.rotation = width.rotation?width.rotation:[0, 0, 0]; + this.target = width.target?width.target:[0, 0, 0]; + this.fov = width.fov?width.fov:60.0; + this.nearclip = width.nearclip?width.nearclip:0.1; + this.farclip = width.farclip?width.farclip:400.0; + this.targeted = width.targeted?width.targeted:true; + height = width.height?width.height:undef; + width = width.width?width.width:undef; + } else { + this.position = [0, 0, 0]; + this.rotation = [0, 0, 0]; + this.target = [0, 0, 0]; + this.fov = (fov !== undef) ? fov : 60.0; + this.nearclip = (nearclip !== undef) ? nearclip : 0.1; + this.farclip = (farclip !== undef) ? farclip : 400.0; + this.targeted = true; + } + + this.targetSceneObject = null; + this.motion = null; + this.transform = new Transform(); + + this.manual = false; + + this.setDimensions((width !== undef) ? width : 512, (height !== undef) ? height : 512); + + this.mvMatrix = cubicvr_identity; + this.pMatrix = null; + this.calcProjection(); +} + +Camera.prototype.control = function(controllerId, motionId, value) { + if (controllerId === enums.motion.ROT) { + this.rotation[motionId] = value; + } else if (controllerId === enums.motion.POS) { + this.position[motionId] = value; + } else if (controllerId === enums.motion.FOV) { + this.setFOV(value); + } else if (controllerId === enums.motion.LENS) { + this.setLENS(value); + } else if (controllerId === enums.motion.NEARCLIP) { + this.setClip(value,this.farclip); + } else if (controllerId === enums.motion.FARCLIP) { + this.setClip(this.nearclip,value); + } + /* + switch (controllerId) { + case enums.motion.ROT: + this.rotation[motionId] = value; + break; + case enums.motion.POS: + this.position[motionId] = value; + break; + case enums.motion.FOV: + this.setFOV(value); + break; + } + */ +}; + + +Camera.prototype.makeFrustum = function(left, right, bottom, top, zNear, zFar) { + var A = (right + left) / (right - left); + var B = (top + bottom) / (top - bottom); + var C = -(zFar + zNear) / (zFar - zNear); + var D = -2.0 * zFar * zNear / (zFar - zNear); + + return [2.0 * zNear / (right - left), 0.0, 0.0, 0.0, 0.0, 2.0 * zNear / (top - bottom), 0.0, 0.0, A, B, C, -1.0, 0.0, 0.0, D, 0.0]; +}; + + +Camera.prototype.setTargeted = function(targeted) { + this.targeted = targeted; +}; + +Camera.prototype.calcProjection = function() { + this.pMatrix = mat4.perspective(this.fov, this.aspect, this.nearclip, this.farclip); + if (!this.targeted) { + this.transform.clearStack(); + //this.transform.translate(vec3.subtract([0,0,0],this.position)).pushMatrix().rotate(vec3.subtract([0,0,0],this.rotation)).getResult(); + this.transform.translate(-this.position[0], -this.position[1], -this.position[2]); + this.transform.pushMatrix(); + this.transform.rotate(-this.rotation[2], 0, 0, 1); + this.transform.rotate(-this.rotation[1], 0, 1, 0); + this.transform.rotate(-this.rotation[0], 1, 0, 0); + this.transform.pushMatrix(); + this.mvMatrix = this.transform.getResult(); + this.nMatrix = mat4.inverse_mat3(this.mvMatrix); + mat3.transpose_inline(this.nMatrix); + } + this.frustum.extract(this, this.mvMatrix, this.pMatrix); +}; + + +Camera.prototype.setClip = function(nearclip, farclip) { + this.nearclip = nearclip; + this.farclip = farclip; + this.calcProjection(); +}; + + +Camera.prototype.setDimensions = function(width, height) { + this.width = width; + this.height = height; + + this.aspect = width / height; + this.calcProjection(); +}; + + +Camera.prototype.setFOV = function(fov) { + this.fov = fov; + this.calcProjection(); +}; + +Camera.prototype.setLENS = function(lens) { + this.setFOV(2.0*Math.atan(16.0/lens)*(180.0/M_PI)); +}; + +Camera.prototype.lookat = function(eyeX, eyeY, eyeZ, lookAtX, lookAtY, lookAtZ, upX, upY, upZ) { + + if (typeof(eyeX)=='object') { + this.lookat(this.position[0],this.position[1],this.position[2],eyeX[0],eyeX[1],eyeX[2],0,1,0); + return; + } + + this.mvMatrix = mat4.lookat(eyeX, eyeY, eyeZ, lookAtX, lookAtY, lookAtZ, upX, upY, upZ); + this.nMatrix = mat4.inverse_mat3(this.mvMatrix); + mat3.transpose_inline(this.nMatrix); + this.frustum.extract(this, this.mvMatrix, this.pMatrix); +}; + + +Camera.prototype.unProject = function (winx, winy, winz) { + + var tmpClip = this.nearclip; + + if (tmpClip < 1.0) { this.nearclip = 1.0; this.calcProjection(); } + + var viewport = [0, 0, this.width, this.height]; + + if (winz === undef) winz = this.farclip; + + var p = [(((winx - viewport[0]) / (viewport[2])) * 2) - 1, -((((winy - viewport[1]) / (viewport[3])) * 2) - 1), (winz - this.nearclip) / (this.farclip - this.nearclip), 1.0]; + + var invp = mat4.vec4_multiply(mat4.vec4_multiply(p, mat4.inverse(this.pMatrix)), mat4.inverse(this.mvMatrix)); + + if (tmpClip < 1.0) { this.nearclip = tmpClip; this.calcProjection(); } + + return [invp[0] / invp[3], invp[1] / invp[3], invp[2] / invp[3]]; +} + + +Camera.prototype.project = function (objx, objy, objz) { + + var p = [objx,objy,objz,1.0]; + + var mp = mat4.vec4_multiply(mat4.vec4_multiply(p,this.mvMatrix),this.pMatrix); + + return [((mp[0]/mp[3]+1.0)/2.0)*this.width,((-mp[1]/mp[3]+1.0)/2.0)*this.height,((mp[2]/mp[3]))*(this.farclip-this.nearclip)+this.nearclip]; + +} + + +/*** Auto-Cam Prototype ***/ + +function AutoCameraNode(pos) { + this.position = (pos !== undef) ? pos : [0, 0, 0]; +} + +AutoCameraNode.prototype.control = function(controllerId, motionId, value) { + if (controllerId === enums.motion.POS) { + this.position[motionId] = value; + } +}; + +function AutoCamera(start_position, target, bounds) { + this.camPath = new Motion(); + this.targetPath = new Motion(); + + this.start_position = (start_position !== undef) ? start_position : [8, 8, 8]; + this.target = (target !== undef) ? target : [0, 0, 0]; + + this.bounds = (bounds !== undef) ? bounds : [[-15, 3, -15], [15, 20, 15]]; + +this.safe_bb = []; +this.avoid_sphere = []; + +this.segment_time = 3.0; +this.buffer_time = 20.0; +this.start_time = 0.0; +this.current_time = 0.0; + +this.path_time = 0.0; +this.path_length = 0; + +this.min_distance = 2.0; +this.max_distance = 40.0; + +this.angle_min = 40; +this.angle_max = 180; +} + + +AutoCamera.prototype.inBounds = function(pt) { + if (! (pt[0] > this.bounds[0][0] && pt[1] > this.bounds[0][1] && pt[2] > this.bounds[0][2] && pt[0] < this.bounds[1][0] && pt[1] < this.bounds[1][1] && pt[2] < this.bounds[1][2])) { + return false; + } + + for (var i = 0, iMax = this.avoid_sphere.length; i < iMax; i++) { + var l = vec3.length(pt, this.avoid_sphere[i][0]); + if (l < this.avoid_sphere[i][1]) { + return false; + } + } + + return true; +}; + +AutoCamera.prototype.findNextNode = function(aNode, bNode) { + var d = [this.bounds[1][0] - this.bounds[0][0], this.bounds[1][1] - this.bounds[0][1], this.bounds[1][2] - this.bounds[0][2]]; + + var nextNodePos = [0, 0, 0]; + var randVector = [0, 0, 0]; + var l = 0.0; + var loopkill = 0; + var valid = false; + + do { + randVector[0] = Math.random() - 0.5; + randVector[1] = Math.random() - 0.5; + randVector[2] = Math.random() - 0.5; + + randVector = vec3.normalize(randVector); + + var r = Math.random(); + + l = (r * (this.max_distance - this.min_distance)) + this.min_distance; + + nextNodePos = vec3.add(bNode.position, vec3.multiply(randVector, l)); + + valid = this.inBounds(nextNodePos); + + loopkill++; + + if (loopkill > 30) { + nextNodePos = bNode.position; + break; + } + } while (!valid); + + return nextNodePos; +}; + +AutoCamera.prototype.run = function(timer) { + this.current_time = timer; + + if (this.path_time === 0.0) { + this.path_time = this.current_time; + + this.camPath.setKey(enums.motion.POS, enums.motion.X, this.path_time, this.start_position[0]); + this.camPath.setKey(enums.motion.POS, enums.motion.Y, this.path_time, this.start_position[1]); + this.camPath.setKey(enums.motion.POS, enums.motion.Z, this.path_time, this.start_position[2]); + } + + while (this.path_time < this.current_time + this.buffer_time) { + this.path_time += this.segment_time; + + var tmpNodeA = new AutoCameraNode(); + var tmpNodeB = new AutoCameraNode(); + + if (this.path_length) { + this.camPath.apply(this.path_time - (this.segment_time * 2.0), tmpNodeA); + } + + this.camPath.apply(this.path_time - this.segment_time, tmpNodeB); + + var nextPos = this.findNextNode(tmpNodeA, tmpNodeB); + + this.camPath.setKey(enums.motion.POS, enums.motion.X, this.path_time, nextPos[0]); + this.camPath.setKey(enums.motion.POS, enums.motion.Y, this.path_time, nextPos[1]); + this.camPath.setKey(enums.motion.POS, enums.motion.Z, this.path_time, nextPos[2]); + + this.path_length++; + } + + var tmpNodeC = new AutoCameraNode(); + + this.camPath.apply(timer, tmpNodeC); + + return tmpNodeC.position; +}; + + +AutoCamera.prototype.addSafeBound = function(min, max) { + this.safe_bb.push([min, max]); +}; + +AutoCamera.prototype.addAvoidSphere = function(center, radius) { + this.avoid_sphere.push([center, radius]); +}; + +function Scene(width, height, fov, nearclip, farclip, octree) { + this.frames = 0; + + this.sceneObjects = []; + this.sceneObjectsByName = []; + this.sceneObjectsById = []; + this.lights = []; + this.global_lights = []; + this.dynamic_lights = []; + this.pickables = []; + this.octree = octree; + this.skybox = null; + this.camera = new Camera(width, height, fov, nearclip, farclip); + this._workers = null; + this.stats = []; + this.collect_stats = false; +} + +Scene.prototype.attachOctree = function(octree) { + this.octree = octree; + if (octree.init) { + octree.init(this); + } //if + + // rebind any active lights + var tmpLights = this.lights; + this.lights = []; + + for (var l = 0, lMax = tmpLights.length; l < lMax; l++) { + this.bindLight(tmpLights[l]); + } //for + + var objs = this.sceneObjects; + if (this.octree !== undef) { + for (var i=0, l=objs.length; i<l; ++i) { + var obj = objs[i]; + if (obj.obj === null) { continue; } + if (obj.id < 0) { + obj.id = scene_object_uuid; + ++scene_object_uuid; + } //if + this.sceneObjectsById[obj.id] = obj; + AABB_reset(obj.octree_aabb, obj.position); + this.octree.insert(obj); + if (obj.octree_common_root === undefined || obj.octree_common_root === null) { + log("!!", obj.name, "octree_common_root is null"); + } //if + } //for + } //if + + +} //Scene::attachOctree + +Scene.prototype.setSkyBox = function(skybox) { + this.skybox = skybox; + //this.bindSceneObject(skybox.scene_object, null, false); +}; + +Scene.prototype.getSceneObject = function(name) { + return this.sceneObjectsByName[name]; +}; + +Scene.prototype.bindSceneObject = function(sceneObj, pickable, use_octree) { + this.sceneObjects.push(sceneObj); + if (pickable !== undef) { + if (pickable) { + this.pickables.push(sceneObj); + } + } + + if (sceneObj.name !== null) { + this.sceneObjectsByName[sceneObj.name] = sceneObj; + } + + if (this.octree !== undef && (use_octree === undef || use_octree === "true")) { + if (sceneObj.id < 0) { + sceneObj.id = scene_object_uuid; + ++scene_object_uuid; + } //if + this.sceneObjectsById[sceneObj.id] = sceneObj; + AABB_reset(sceneObj.octree_aabb, sceneObj.position); + this.octree.insert(sceneObj); + } //if +}; + +Scene.prototype.bindLight = function(lightObj, use_octree) { + this.lights.push(lightObj); + if (this.octree !== undef && (use_octree === undef || use_octree === "true")) { + if (lightObj.method === enums.light.method.GLOBAL) { + this.global_lights.push(lightObj); + } + else { + if (lightObj.method === enums.light.method.DYNAMIC) { + this.dynamic_lights.push(lightObj); + } //if + this.octree.insert_light(lightObj); + } //if + } //if + + this.lights=this.lights.sort(cubicvr_lightPackTypes); +}; + +Scene.prototype.bindCamera = function(cameraObj) { + this.camera = cameraObj; +}; + + +Scene.prototype.evaluate = function(index) { + var i,iMax; + + for (i = 0, iMax = this.sceneObjects.length; i < iMax; i++) { + if (!(this.sceneObjects[i].motion)) { + continue; + } + this.sceneObjects[i].motion.apply(index, this.sceneObjects[i]); + } + + if (this.camera.motion !== null) { + if (this.camera.targetSceneObject !== null) { + this.camera.target = this.camera.targetSceneObject.position; + } + + this.camera.motion.apply(index, this.camera); + } + + for (var i = 0, iMax = this.lights.length; i < iMax; i++) { + var l = this.lights[i]; + + if (l.motion !== null) { + l.motion.apply(index, l); + } + } +}; + +Scene.prototype.renderSceneObjectChildren = function(sceneObj) { + var gl = GLCore.gl; + var sflip = false; + + for (var i = 0, iMax = sceneObj.children.length; i < iMax; i++) { + + try { + sceneObj.children[i].doTransform(sceneObj.tMatrix); + }catch(e){break;} + + if (sceneObj.children[i].scale[0] < 0) { + sflip = !sflip; + } + if (sceneObj.children[i].scale[1] < 0) { + sflip = !sflip; + } + if (sceneObj.children[i].scale[2] < 0) { + sflip = !sflip; + } + + if (sflip) { + gl.cullFace(gl.FRONT); + } + + cubicvr_renderObject(sceneObj.children[i].obj, this.camera, sceneObj.children[i].tMatrix, this.lights); + + if (sflip) { + gl.cullFace(gl.BACK); + } + + if (sceneObj.children[i].children !== null) { + this.renderSceneObjectChildren(sceneObj.children[i]); + } + } +}; + +function cubicvr_lightPackTypes(a,b) { + return a.light_type - b.light_type; +} + +Scene.prototype.render = function() { + ++this.frames; + + var gl = GLCore.gl; + var frustum_hits; + + if (this.camera.manual===false) + { + if (this.camera.targeted) { + this.camera.lookat(this.camera.position[0], this.camera.position[1], this.camera.position[2], this.camera.target[0], this.camera.target[1], this.camera.target[2], 0, 1, 0); + } else { + this.camera.calcProjection(); + } + } + + var use_octree = this.octree !== undef; + var lights_rendered = 0; + if (use_octree) { + for (var i = 0, l = this.dynamic_lights.length; i < l; ++i) { + var light = this.dynamic_lights[i]; + light.doTransform(); + } //for + this.octree.reset_node_visibility(); + this.octree.cleanup(); + frustum_hits = this.octree.get_frustum_hits(this.camera); + lights_rendered = frustum_hits.lights.length; + } //if + var sflip = false; + var objects_rendered = 0; + var lights_list = []; + + for (var i = 0, iMax = this.sceneObjects.length; i < iMax; i++) { + + var lights = this.lights; + var scene_object = this.sceneObjects[i]; + if (scene_object.parent !== null) { + continue; + } //if + + scene_object.doTransform(); + + if (use_octree) + { + lights = []; + if (scene_object.dirty && scene_object.obj !== null) { + scene_object.adjust_octree(); + } //if + + if (scene_object.visible === false || (use_octree && (scene_object.ignore_octree || scene_object.drawn_this_frame === true || scene_object.culled === true))) { + continue; + } //if + + //lights = frustum_hits.lights; + lights = scene_object.dynamic_lights; + //lights = this.lights; + + lights = lights.concat(scene_object.static_lights); + lights = lights.concat(this.global_lights); + if (this.collect_stats) { + lights_rendered = Math.max(lights.length, lights_rendered); + if (lights_rendered === lights.length) { + lights_list = lights; + } //if + ++objects_rendered; + } //if + + if (lights.length === 0) { + lights = [emptyLight]; + } //if + + scene_object.drawn_this_frame = true; + } + else if (scene_object.visible === false) { + continue; + } //if + + if (scene_object.obj !== null) { + if (scene_object.scale[0] < 0) { + sflip = !sflip; + } + if (scene_object.scale[1] < 0) { + sflip = !sflip; + } + if (scene_object.scale[2] < 0) { + sflip = !sflip; + } + + if (sflip) { + gl.cullFace(gl.FRONT); + } + + + cubicvr_renderObject(scene_object.obj, this.camera, scene_object.tMatrix, lights.sort(cubicvr_lightPackTypes)); + + if (sflip) { + gl.cullFace(gl.BACK); + } + + sflip = false; + } //if + + if (scene_object.children !== null) { + this.renderSceneObjectChildren(scene_object); + } //if + } //for + + if (this.collect_stats) { + this.stats['objects.num_rendered'] = objects_rendered; + this.stats['lights.num_rendered'] = lights_rendered; + this.stats['lights.rendered'] = lights_list; + this.stats['lights.num_global'] = this.global_lights.length; + this.stats['lights.num_dynamic'] = this.dynamic_lights.length; + } //if + + if (this.skybox !== null && this.skybox.ready === true) { + gl.cullFace(gl.FRONT); + var size = (this.camera.farclip * 2) / Math.sqrt(3.0); + this.skybox.scene_object.position = [this.camera.position[0], this.camera.position[1], this.camera.position[2]]; + this.skybox.scene_object.scale = [size, size, size]; + this.skybox.scene_object.doTransform(); + cubicvr_renderObject(this.skybox.scene_object.obj, this.camera, this.skybox.scene_object.tMatrix, []); + gl.cullFace(gl.BACK); + } //if +}; + +Scene.prototype.bbRayTest = function(pos, ray, axisMatch) { + var pt1, pt2; + var selList = []; + + if (ray.length === 2) { + ray = this.camera.unProject(ray[0], ray[1]); + } else { + ray = vec3.add(pos, ray); + } + + pt1 = pos; + pt2 = ray; + + for (var obj_i in this.pickables) { + if (this.pickables.hasOwnProperty(obj_i)) { + var obj = this.pickables[obj_i]; + if (obj.visible !== true) continue; + + var bb1, bb2; + var aabb = obj.getAABB(); + bb1 = aabb[0]; + bb2 = aabb[1]; + + var mindepth = 0.2; + + if (bb2[0]-bb1[0] < mindepth) {bb1[0] -= mindepth/2; bb2[0] += mindepth/2;} + if (bb2[1]-bb1[1] < mindepth) {bb1[1] -= mindepth/2; bb2[1] += mindepth/2;} + if (bb2[2]-bb1[2] < mindepth) {bb1[2] -= mindepth/2; bb2[2] += mindepth/2;} + + var center = vec3.multiply(vec3.add(bb1, bb2), 0.5); + var testPt = vec3.get_closest_to(pt1, pt2, center); + var testDist = vec3.length(vec3.subtract(testPt, center)); + + var matches = + ((testPt[0] >= bb1[0] && testPt[0] <= bb2[0]) ? 1 : 0) + + ((testPt[1] >= bb1[1] && testPt[1] <= bb2[1]) ? 1 : 0) + + ((testPt[2] >= bb1[2] && testPt[2] <= bb2[2]) ? 1 : 0); + + if (matches >= axisMatch) { + selList.push({dist:testDist, obj:obj}); + } + } + } + + if (selList.length) { + selList.sort(function(a,b) { if (a.dist==b.dist) return 0; return (a.dist<b.dist) ?-1:1; }); + } + + return selList; +}; + +function cubicvr_loadMesh(meshUrl, prefix) { + if (MeshPool[meshUrl] !== undef) { + return MeshPool[meshUrl]; + } + + var i, j, p, iMax, jMax, pMax; + + var obj = new Mesh(); + var mesh = util.getXML(meshUrl); + var pts_elem = mesh.getElementsByTagName("points"); + + var pts_str = util.collectTextNode(pts_elem[0]); + var pts = pts_str.split(" "); + + var texName, tex; + + for (i = 0, iMax = pts.length; i < iMax; i++) { + pts[i] = pts[i].split(","); + for (j = 0, jMax = pts[i].length; j < jMax; j++) { + pts[i][j] = parseFloat(pts[i][j]); + } + } + + obj.addPoint(pts); + + var material_elem = mesh.getElementsByTagName("material"); + var mappers = []; + + + for (i = 0, iMax = material_elem.length; i < iMax; i++) { + var melem = material_elem[i]; + + var matName = (melem.getElementsByTagName("name").length) ? (melem.getElementsByTagName("name")[0].firstChild.nodeValue) : null; + var mat = new Material(matName); + + if (melem.getElementsByTagName("alpha").length) { + mat.opacity = parseFloat(melem.getElementsByTagName("alpha")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("shininess").length) { + mat.shininess = (parseFloat(melem.getElementsByTagName("shininess")[0].firstChild.nodeValue) / 100.0); + } + if (melem.getElementsByTagName("max_smooth").length) { + mat.max_smooth = parseFloat(melem.getElementsByTagName("max_smooth")[0].firstChild.nodeValue); + } + + if (melem.getElementsByTagName("color").length) { + mat.color = util.floatDelimArray(melem.getElementsByTagName("color")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("ambient").length) { + mat.ambient = util.floatDelimArray(melem.getElementsByTagName("ambient")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("diffuse").length) { + mat.diffuse = util.floatDelimArray(melem.getElementsByTagName("diffuse")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("specular").length) { + mat.specular = util.floatDelimArray(melem.getElementsByTagName("specular")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("texture").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.COLOR); + } + + if (melem.getElementsByTagName("texture_luminosity").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture_luminosity")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.AMBIENT); + } + + if (melem.getElementsByTagName("texture_normal").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture_normal")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.NORMAL); + } + + if (melem.getElementsByTagName("texture_specular").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture_specular")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.SPECULAR); + } + + if (melem.getElementsByTagName("texture_bump").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture_bump")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.BUMP); + } + + if (melem.getElementsByTagName("texture_envsphere").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture_envsphere")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.ENVSPHERE); + } + + if (melem.getElementsByTagName("texture_alpha").length) { + texName = (prefix ? prefix : "") + melem.getElementsByTagName("texture_alpha")[0].firstChild.nodeValue; + tex = (Texture_ref[texName] !== undef) ? Textures_obj[Texture_ref[texName]] : (new Texture(texName)); + mat.setTexture(tex, enums.texture.map.ALPHA); + } + + var uvSet = null; + + if (melem.getElementsByTagName("uvmapper").length) { + var uvm = new UVMapper(); + var uvelem = melem.getElementsByTagName("uvmapper")[0]; + var uvmType = ""; + + if (uvelem.getElementsByTagName("type").length) { + uvmType = melem.getElementsByTagName("type")[0].firstChild.nodeValue; + + switch (uvmType) { + case "uv": + break; + case "planar": + uvm.projection_mode = enums.uv.projection.PLANAR; + break; + case "cylindrical": + uvm.projection_mode = enums.uv.projection.CYLINDRICAL; + break; + case "spherical": + uvm.projection_mode = enums.uv.projection.SPHERICAL; + break; + case "cubic": + uvm.projection_mode = enums.uv.projection.CUBIC; + break; + } + } + + if (uvmType === "uv") { + if (uvelem.getElementsByTagName("uv").length) { + var uvText = util.collectTextNode(melem.getElementsByTagName("uv")[0]); + + uvSet = uvText.split(" "); + + for (j = 0, jMax = uvSet.length; j < jMax; j++) { + uvSet[j] = util.floatDelimArray(uvSet[j]); + } + } + } + + if (uvelem.getElementsByTagName("axis").length) { + var uvmAxis = melem.getElementsByTagName("axis")[0].firstChild.nodeValue; + + switch (uvmAxis) { + case "x": + uvm.projection_axis = enums.uv.axis.X; + break; + case "y": + uvm.projection_axis = enums.uv.axis.Y; + break; + case "z": + uvm.projection_axis = enums.uv.axis.Z; + break; + } + + } + + if (melem.getElementsByTagName("center").length) { + uvm.center = util.floatDelimArray(melem.getElementsByTagName("center")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("rotation").length) { + uvm.rotation = util.floatDelimArray(melem.getElementsByTagName("rotation")[0].firstChild.nodeValue); + } + if (melem.getElementsByTagName("scale").length) { + uvm.scale = util.floatDelimArray(melem.getElementsByTagName("scale")[0].firstChild.nodeValue); + } + + if (uvmType !== "" && uvmType !== "uv") { + mappers.push([uvm, mat]); + } + } + + + var seglist = null; + var triangles = null; + + if (melem.getElementsByTagName("segments").length) { + seglist = util.intDelimArray(util.collectTextNode(melem.getElementsByTagName("segments")[0]), " "); + } + if (melem.getElementsByTagName("triangles").length) { + triangles = util.intDelimArray(util.collectTextNode(melem.getElementsByTagName("triangles")[0]), " "); + } + + + if (seglist === null) { + seglist = [0, parseInt((triangles.length) / 3, 10)]; + } + + var ofs = 0; + + if (triangles.length) { + for (p = 0, pMax = seglist.length; p < pMax; p += 2) { + var currentSegment = seglist[p]; + var totalPts = seglist[p + 1] * 3; + + obj.setSegment(currentSegment); + obj.setFaceMaterial(mat); + + for (j = ofs, jMax = ofs + totalPts; j < jMax; j += 3) { + var newFace = obj.addFace([triangles[j], triangles[j + 1], triangles[j + 2]]); + if (uvSet) { + obj.faces[newFace].setUV([uvSet[j], uvSet[j + 1], uvSet[j + 2]]); + } + } + + ofs += totalPts; + } + } + } + + obj.calcNormals(); + + for (i = 0, iMax = mappers.length; i < iMax; i++) { + mappers[i][0].apply(obj, mappers[i][1]); + } + + obj.compile(); + + MeshPool[meshUrl] = obj; + + return obj; +} + + + + + + + +function cubicvr_loadScene(sceneUrl, model_prefix, image_prefix) { + if (model_prefix === undef) { + model_prefix = ""; + } + if (image_prefix === undef) { + image_prefix = ""; + } + + var obj = new Mesh(); + var scene = util.getXML(sceneUrl); + + var sceneOut = new Scene(); + + var parentingSet = []; + + var sceneobjs = scene.getElementsByTagName("sceneobjects"); + + var tempNode; + + var position, rotation, scale; + + // var pts_str = util.collectTextNode(pts_elem[0]); + for (var i = 0, iMax = sceneobjs[0].childNodes.length; i < iMax; i++) { + var sobj = sceneobjs[0].childNodes[i]; + + if (sobj.tagName === "sceneobject") { + + var name = "unnamed"; + var parent = ""; + var model = ""; + + tempNode = sobj.getElementsByTagName("name"); + if (tempNode.length) { + name = util.collectTextNode(tempNode[0]); + } + + tempNode = sobj.getElementsByTagName("parent"); + if (tempNode.length) { + parent = util.collectTextNode(tempNode[0]); + } + + tempNode = sobj.getElementsByTagName("model"); + if (tempNode.length) { + model = util.collectTextNode(tempNode[0]); + } + + position = null; + rotation = null; + scale = null; + + tempNode = sobj.getElementsByTagName("position"); + if (tempNode.length) { + position = tempNode[0]; + } + + tempNode = sobj.getElementsByTagName("rotation"); + if (tempNode.length) { + rotation = tempNode[0]; + } + + tempNode = sobj.getElementsByTagName("scale"); + if (tempNode.length) { + scale = tempNode[0]; + } + + obj = null; + + if (model !== "") { + obj = cubicvr_loadMesh(model_prefix + model, image_prefix); + } + + var sceneObject = new SceneObject(obj, name); + + if (cubicvr_isMotion(position)) { + if (!sceneObject.motion) { + sceneObject.motion = new Motion(); + } + cubicvr_nodeToMotion(position, enums.motion.POS, sceneObject.motion); + } else if (position) { + sceneObject.position = util.floatDelimArray(util.collectTextNode(position)); + } + + if (cubicvr_isMotion(rotation)) { + if (!sceneObject.motion) { + sceneObject.motion = new Motion(); + } + cubicvr_nodeToMotion(rotation, enums.motion.ROT, sceneObject.motion); + } else { + sceneObject.rotation = util.floatDelimArray(util.collectTextNode(rotation)); + } + + if (cubicvr_isMotion(scale)) { + if (!sceneObject.motion) { + sceneObject.motion = new Motion(); + } + cubicvr_nodeToMotion(scale, enums.motion.SCL, sceneObject.motion); + } else { + sceneObject.scale = util.floatDelimArray(util.collectTextNode(scale)); + + } + + sceneOut.bindSceneObject(sceneObject); + + if (parent !== "") { + parentingSet.push([sceneObject, parent]); + } + } + } + + for (var j in parentingSet) { + if (parentingSet.hasOwnProperty(j)) { + sceneOut.getSceneObject(parentingSet[j][1]).bindChild(parentingSet[j][0]); + } + } + + var camera = scene.getElementsByTagName("camera"); + + if (camera.length) { + position = null; + rotation = null; + + var target = ""; + + tempNode = camera[0].getElementsByTagName("name"); + + var cam = sceneOut.camera; + + var fov = null; + + if (tempNode.length) { + target = tempNode[0].firstChild.nodeValue; + } + + tempNode = camera[0].getElementsByTagName("target"); + if (tempNode.length) { + target = tempNode[0].firstChild.nodeValue; + } + + if (target !== "") { + cam.targetSceneObject = sceneOut.getSceneObject(target); + } + + tempNode = camera[0].getElementsByTagName("position"); + if (tempNode.length) { + position = tempNode[0]; + } + + tempNode = camera[0].getElementsByTagName("rotation"); + if (tempNode.length) { + rotation = tempNode[0]; + } + + tempNode = camera[0].getElementsByTagName("fov"); + if (tempNode.length) { + fov = tempNode[0]; + } + + if (cubicvr_isMotion(position)) { + if (!cam.motion) { + cam.motion = new Motion(); + } + cubicvr_nodeToMotion(position, enums.motion.POS, cam.motion); + } else if (position) { + cam.position = util.floatDelimArray(position.firstChild.nodeValue); + } + + if (cubicvr_isMotion(rotation)) { + if (!cam.motion) { + cam.motion = new Motion(); + } + cubicvr_nodeToMotion(rotation, enums.motion.ROT, cam.motion); + } else if (rotation) { + cam.rotation = util.floatDelimArray(rotation.firstChild.nodeValue); + } + + if (cubicvr_isMotion(fov)) { + if (!cam.motion) { + cam.motion = new Motion(); + } + cubicvr_nodeToMotion(fov, enums.motion.FOV, cam.motion); + } else if (fov) { + cam.fov = parseFloat(fov.firstChild.nodeValue); + } + + } + + + return sceneOut; +} + + +function RenderBuffer(width, height, depth_enabled) { + this.createBuffer(width, height, depth_enabled); +} + +RenderBuffer.prototype.createBuffer = function(width, height, depth_enabled) { + this.fbo = null; + this.depth = null; + this.texture = null; + this.width = parseInt(width, 10); + this.height = parseInt(height, 10); + + var w = this.sizeParam(width); + var h = this.sizeParam(height); + + var gl = GLCore.gl; + + this.fbo = gl.createFramebuffer(); + + if (depth_enabled) { + this.depth = gl.createRenderbuffer(); + } + + // configure fbo + gl.bindFramebuffer(gl.FRAMEBUFFER, this.fbo); + + if (depth_enabled) { + gl.bindRenderbuffer(gl.RENDERBUFFER, this.depth); + + if (navigator.appVersion.indexOf("Windows")!==-1 || 1) + { + gl.renderbufferStorage(gl.RENDERBUFFER, gl.DEPTH_COMPONENT16, w, h); + gl.framebufferRenderbuffer(gl.FRAMEBUFFER, gl.DEPTH_ATTACHMENT, gl.RENDERBUFFER, this.depth); + } + else + { + gl.renderbufferStorage(gl.RENDERBUFFER, gl.DEPTH_STENCIL, w, h); + gl.framebufferRenderbuffer(gl.FRAMEBUFFER, gl.DEPTH_STENCIL_ATTACHMENT, gl.RENDERBUFFER, this.depth); + } + } + + + // if (depth_enabled) { + // gl.bindRenderbuffer(gl.RENDERBUFFER, this.depth); + // gl.renderbufferStorage(gl.RENDERBUFFER, gl.DEPTH_COMPONENT16, w, h); + // } + + // GL_DEPTH_COMPONENT32 0x81A7 + // if (depth_enabled) { gl.renderbufferStorage(gl.RENDERBUFFER, gl.DEPTH_COMPONENT, w, h); } + // if (depth_enabled) { + // gl.framebufferRenderbuffer(gl.FRAMEBUFFER, gl.DEPTH_ATTACHMENT, gl.RENDERBUFFER, this.depth); + // } + + + + // init texture + this.texture = new Texture(); + gl.bindTexture(gl.TEXTURE_2D, Textures[this.texture.tex_id]); + + // configure texture params + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); + + // clear buffer + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, w, h, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); + + gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, Textures[this.texture.tex_id], 0); + + gl.bindFramebuffer(gl.FRAMEBUFFER, null); +}; + +RenderBuffer.prototype.destroyBuffer = function() { + var gl = GLCore.gl; + + gl.bindFramebuffer(gl.FRAMEBUFFER, null); + gl.deleteRenderbuffer(this.depth); + gl.deleteFramebuffer(this.fbo); + gl.deleteTexture(Textures[this.texture.tex_id]); + Textures[this.texture.tex_id] = null; +}; + +RenderBuffer.prototype.sizeParam = function(t) { + return t; + // var s = 32; + // + // while (t > s) s *= 2; + // + // return s; +}; + + +RenderBuffer.prototype.use = function() { + var gl = GLCore.gl; + + gl.bindFramebuffer(gl.FRAMEBUFFER, this.fbo); + // if (this.depth !== null) { gl.bindRenderbuffer(gl.RENDERBUFFER, this.depth); } + // gl.viewport(0, 0, this.width, this.height); +}; + + + +function PostProcessFX(width, height) { + this.bloom = true; + + this.renderBuffer = new RenderBuffer(width, height, true); + this.blurBuffer = new RenderBuffer(width, height, false); + this.bloomBuffer = new RenderBuffer(parseInt(width / 6, 10), parseInt(height / 6, 10), false); + + this.copyShader = new Shader("attribute vec3 aVertex;\n" + "attribute vec2 aTex;\n" + "varying vec2 vTex;\n" + "void main(void)\n" + "{\n" + "vTex = aTex;\n" + "vec4 vPos = vec4(aVertex.xyz,1.0);\n" + "gl_Position = vPos;\n" + "}\n", "#ifdef GL_ES\nprecision highp float;\n#endif\n" + "uniform sampler2D srcTex;\n" + "varying vec2 vTex;\n" + "void main(void)\n" + "{\n" + "gl_FragColor = texture2D(srcTex, vTex);\n" + "}\n"); + + + this.copyShader.use(); + this.copyShader.addUVArray("aTex"); + this.copyShader.addVertexArray("aVertex"); + this.copyShader.addInt("srcTex", 0); + + this.fsQuad = this.makeFSQuad(width, height); + + this.bloomShader = new Shader("attribute vec3 aVertex;\n" + "attribute vec2 aTex;\n" + "varying vec2 vTex;\n" + "void main(void)\n" + "{\n" + "vTex = aTex;\n" + "vec4 vPos = vec4(aVertex.xyz,1.0);\n" + "gl_Position = vPos;\n" + "}\n", + + "#ifdef GL_ES\nprecision highp float;\n#endif\n" + "uniform sampler2D srcTex;\n" + "uniform vec3 texel_ofs;\n" + "varying vec2 vTex;\n" + "vec3 rangeValHDR(vec3 src)\n" + "{\n" + "return (src.r>0.90||src.g>0.90||src.b>0.90)?(src):vec3(0.0,0.0,0.0);\n" + "}\n" + "vec4 hdrSample(float rad)\n" + "{\n" + "vec3 accum;\n" + "float radb = rad*0.707106781;\n" + "accum = rangeValHDR(texture2D(srcTex, vec2(vTex.s+texel_ofs.x*rad, vTex.t)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s, vTex.t+texel_ofs.y*rad)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s-texel_ofs.x*rad, vTex.t)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s, vTex.t-texel_ofs.y*rad)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s+texel_ofs.x*radb, vTex.t+texel_ofs.y*radb)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s-texel_ofs.x*radb, vTex.t-texel_ofs.y*radb)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s+texel_ofs.x*radb, vTex.t-texel_ofs.y*radb)).rgb);\n" + "accum += rangeValHDR(texture2D(srcTex, vec2(vTex.s-texel_ofs.x*radb, vTex.t+texel_ofs.y*radb)).rgb);\n" + "accum /= 8.0;\n" + "return vec4(accum,1.0);\n" + "}\n" + "void main(void)\n" + "{\n" + "vec4 color;\n" + "color = hdrSample(2.0);\n" + "color += hdrSample(8.0);\n" + "color += hdrSample(12.0);\n" + "gl_FragColor = color/2.0;\n" + "}\n"); + + this.bloomShader.use(); + this.bloomShader.addUVArray("aTex"); + this.bloomShader.addVertexArray("aVertex"); + this.bloomShader.addInt("srcTex", 0); + this.bloomShader.addVector("texel_ofs"); + this.bloomShader.setVector("texel_ofs", [1.0 / this.renderBuffer.sizeParam(width), 1.0 / this.renderBuffer.sizeParam(height), 0]); + + this.fsQuadBloom = this.makeFSQuad(this.bloomBuffer.width, this.bloomBuffer.height); + + this.blurShader = new Shader("attribute vec3 aVertex;\n" + "attribute vec2 aTex;\n" + "varying vec2 vTex;\n" + "void main(void)\n" + "{\n" + "vTex = aTex;\n" + "vec4 vPos = vec4(aVertex.xyz,1.0);\n" + "gl_Position = vPos;\n" + "}\n", "#ifdef GL_ES\nprecision highp float;\n#endif\n" + "uniform sampler2D srcTex;\n" + "varying vec2 vTex;\n" + "uniform float opacity;\n" + "void main(void)\n" + "{\n" + "gl_FragColor = vec4(texture2D(srcTex, vTex).rgb, opacity);\n" + "}\n"); + + this.blurShader.use(); + this.blurShader.addUVArray("aTex"); + this.blurShader.addVertexArray("aVertex"); + this.blurShader.addInt("srcTex", 0); + this.blurShader.addFloat("opacity"); + this.blurOpacity = 0.1; + + + var gl = GLCore.gl; + + this.blurBuffer.use(); + gl.clear(gl.COLOR_BUFFER_BIT); + this.end(); +} + +PostProcessFX.prototype.resize = function(width, height) { + this.renderBuffer.destroyBuffer(); + this.blurBuffer.destroyBuffer(); + this.bloomBuffer.destroyBuffer(); + this.renderBuffer.createBuffer(width, height, true); + this.blurBuffer.createBuffer(width, height, false); + this.bloomBuffer.createBuffer(parseInt(width / 6, 10), parseInt(height / 6, 10), false); + + this.bloomShader.use(); + this.bloomShader.setVector("texel_ofs", [1.0 / this.renderBuffer.sizeParam(width), 1.0 / this.renderBuffer.sizeParam(height), 0]); + + this.destroyFSQuad(this.fsQuad); + this.fsQuad = this.makeFSQuad(width, height); + this.destroyFSQuad(this.fsQuadBloom); + this.fsQuadBloom = this.makeFSQuad(this.bloomBuffer.width, this.bloomBuffer.height); +}; + +PostProcessFX.prototype.begin = function() { + this.renderBuffer.use(); +}; + +PostProcessFX.prototype.end = function() { + var gl = GLCore.gl; + + gl.bindFramebuffer(gl.FRAMEBUFFER, null); + + // if (this.depth !== null) { gl.bindRenderbuffer(gl.RENDERBUFFER, null); } +}; + +PostProcessFX.prototype.makeFSQuad = function(width, height) { + var gl = GLCore.gl; + var fsQuad = []; // intentional empty object + // var w = this.renderBuffer.sizeParam(width); + // var h = this.renderBuffer.sizeParam(height); + + // var uscale = (width / w); + // var vscale = (height / h); + + var uscale, vscale; + + uscale=vscale=1; + + // fsQuad.addPoint([[-1,-1,0],[1, -1, 0],[1, 1, 0],[-1, 1, 0]]); + // var faceNum = fsQuad.addFace([0,1,2,3]); + // fsQuad.faces[faceNum].setUV([[0, 0],[uscale, 0],[uscale, vscale],[0, vscale]]); + // fsQuad.triangulateQuads(); + // fsQuad.calcNormals(); + // fsQuad.compile(); + fsQuad.vbo_points = new Float32Array([-1, -1, 0, 1, -1, 0, 1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0]); + fsQuad.vbo_uvs = new Float32Array([0, 0, uscale, 0, uscale, vscale, 0, vscale, 0, 0, uscale, vscale]); + + fsQuad.gl_points = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, fsQuad.gl_points); + gl.bufferData(gl.ARRAY_BUFFER, fsQuad.vbo_points, gl.STATIC_DRAW); + + fsQuad.gl_uvs = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, fsQuad.gl_uvs); + gl.bufferData(gl.ARRAY_BUFFER, fsQuad.vbo_uvs, gl.STATIC_DRAW); + + + return fsQuad; +}; + +PostProcessFX.prototype.destroyFSQuad = function(fsQuad) { + var gl = GLCore.gl; + + gl.deleteBuffer(fsQuad.gl_points); + gl.deleteBuffer(fsQuad.gl_uvs); +}; + +PostProcessFX.prototype.renderFSQuad = function(shader, fsq) { + var gl = GLCore.gl; + + shader.use(); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + + gl.bindBuffer(gl.ARRAY_BUFFER, fsq.gl_points); + gl.vertexAttribPointer(shader.aVertex, 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribPointer(shader.aVertex); + gl.bindBuffer(gl.ARRAY_BUFFER, fsq.gl_uvs); + gl.vertexAttribPointer(shader.aTex, 2, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribPointer(shader.aTex); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + gl.drawArrays(gl.TRIANGLES, 0, 6); + +}; + +PostProcessFX.prototype.render = function() { + var gl = GLCore.gl; + + gl.disable(gl.DEPTH_TEST); + + this.renderBuffer.texture.use(gl.TEXTURE0); + this.copyShader.use(); + this.copyShader.setInt("srcTex", 0); + + this.renderFSQuad(this.copyShader, this.fsQuad); + + if (this.blur) { + this.renderBuffer.texture.use(gl.TEXTURE0); + this.blurShader.use(); + this.blurShader.setInt("srcTex", 0); + this.blurShader.setFloat("opacity", this.blurOpacity); + + this.blurBuffer.use(); + gl.enable(gl.BLEND); + gl.depthMask(0); + gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA); + this.renderFSQuad(this.blurShader, this.fsQuad); + gl.disable(gl.BLEND); + gl.depthMask(1); + gl.blendFunc(gl.ONE, gl.ONE); + this.end(); + + this.blurBuffer.texture.use(gl.TEXTURE0); + + this.blurShader.setFloat("opacity", 0.5); + + gl.enable(gl.BLEND); + gl.depthMask(0); + gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA); + + this.renderFSQuad(this.blurShader, this.fsQuad); + + gl.disable(gl.BLEND); + gl.depthMask(1); + gl.blendFunc(gl.ONE, gl.ONE); + } + + if (this.bloom) { + this.renderBuffer.texture.use(gl.TEXTURE0); + + gl.viewport(0, 0, this.bloomBuffer.width, this.bloomBuffer.height); + + this.bloomShader.use(); + this.bloomShader.setInt("srcTex", 0); + + this.bloomBuffer.use(); + this.renderFSQuad(this.bloomShader, this.fsQuad); + this.end(); + + this.bloomBuffer.texture.use(gl.TEXTURE0); + this.copyShader.use(); + this.copyShader.setInt("srcTex", 0); + + gl.viewport(0, 0, this.renderBuffer.width, this.renderBuffer.height); + + gl.enable(gl.BLEND); + gl.depthMask(0); + gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_COLOR); + + this.renderFSQuad(this.copyShader, this.fsQuadBloom); + + gl.disable(gl.BLEND); + gl.depthMask(1); + gl.blendFunc(gl.ONE, gl.ONE); + + } + + gl.enable(gl.DEPTH_TEST); +}; + +/* + PostProcessShader: + + shaderInfo + { + enabled: enabled (default true) + shader_vertex: id or url for vertex shader + shader_fragment: id or url for fragment shader + outputMode: method of output for this shader + init: function to perform to initialize shader + onresize: function to perform on resize; params ( shader, width, height ) + onupdate: function to perform on update; params ( shader ) + outputDivisor: use custom output buffer size, divisor of (outputDivisor) eg. 1 (default) = 1024x768, 2 = 512x384, 3 = 256x192 + } + + */ + +var postProcessDivisorBuffers = []; +var postProcessDivisorQuads = []; + +function PostProcessShader(shaderInfo) { + if (shaderInfo.shader_vertex === undef) { + return null; + } + if (shaderInfo.shader_fragment === undef) { + return null; + } + + this.outputMode = (shaderInfo.outputMode === undef) ? enums.post.output.REPLACE : shaderInfo.outputMode; + this.onresize = (shaderInfo.onresize === undef) ? null : shaderInfo.onresize; + this.onupdate = (shaderInfo.onupdate === undef) ? null : shaderInfo.onupdate; + this.init = (shaderInfo.init === undef) ? null : shaderInfo.init; + this.enabled = (shaderInfo.enabled === undef) ? true : shaderInfo.enabled; + this.outputDivisor = (shaderInfo.outputDivisor === undef) ? 1 : shaderInfo.outputDivisor; + + this.shader = new Shader(shaderInfo.shader_vertex, shaderInfo.shader_fragment); + this.shader.use(); + + // set defaults + this.shader.addUVArray("aTex"); + this.shader.addVertexArray("aVertex"); + this.shader.addInt("srcTex", 0); + this.shader.addInt("captureTex", 1); + this.shader.addVector("texel"); + + if (this.init !== null) { + this.init(this.shader); + } +} + +/* New post-process shader chain -- to replace postProcessFX */ + +function PostProcessChain(width, height, accum) { + var gl = GLCore.gl; + + this.width = width; + this.height = height; + this.accum = (accum === undef)?false:true; + this.vTexel = [1.0 / this.width, 1.0 / this.height, 0]; + + // buffers + this.captureBuffer = new RenderBuffer(width, height, true); + this.bufferA = new RenderBuffer(width, height, false); + this.bufferB = new RenderBuffer(width, height, false); + this.bufferC = new RenderBuffer(width, height, false); + + this.accumOpacity = 1.0; + this.accumIntensity = 0.3; + + if (this.accum) { + this.accumBuffer = new RenderBuffer(width, height, false); + this.accumBuffer.use(); + + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + + this.blur_shader = new PostProcessShader({ + shader_vertex: ["attribute vec3 aVertex;", + "attribute vec2 aTex;", + "varying vec2 vTex;", + "void main(void)", + "{", + "vTex = aTex;", + "vec4 vPos = vec4(aVertex.xyz,1.0);", + "gl_Position = vPos;", + "}"].join("\n"), + shader_fragment: ["#ifdef GL_ES", + "precision highp float;", + "#endif", + "uniform sampler2D srcTex;", + "varying vec2 vTex;", + "uniform float opacity;", + "void main(void)", + "{ gl_FragColor = vec4(texture2D(srcTex, vTex).rgb, opacity);", + "}"].join("\n"), + init: function(shader) { + shader.addFloat("opacity"); + shader.setFloat("opacity",1.0); + }}); + } + + this.bufferA.use(); + + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + + this.bufferB.use(); + + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + + this.end(); + + // quad + this.fsQuad = this.makeFSQuad(this.width, this.height); + + this.shaders = []; + + this.copy_shader = new PostProcessShader({ + shader_vertex: ["attribute vec3 aVertex;", + "attribute vec2 aTex;", + "varying vec2 vTex;", + "void main(void) {", + "vTex = aTex;", + "vec4 vPos = vec4(aVertex.xyz,1.0);", + "gl_Position = vPos;", + "}"].join("\n"), + shader_fragment: [ + "#ifdef GL_ES", + "precision highp float;", + "#endif", + "uniform sampler2D srcTex;", + "varying vec2 vTex;", + "void main(void) {", + "gl_FragColor = texture2D(srcTex, vTex);", + "}"].join("\n") + }); + + this.resize(width, height); +} + +PostProcessChain.prototype.setBlurOpacity = function (opacity) +{ + this.accumOpacity = opacity; +} + +PostProcessChain.prototype.setBlurIntensity = function (intensity) +{ + this.accumIntensity = intensity; +} + + +PostProcessChain.prototype.makeFSQuad = makeFSQuad = function(width, height) { + var gl = GLCore.gl; + var fsQuad = []; // intentional empty object + var w = width; + var h = height; + + var uscale = (width / w); + var vscale = (height / h); + + fsQuad.vbo_points = new Float32Array([-1, -1, 0, 1, -1, 0, 1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0]); + fsQuad.vbo_uvs = new Float32Array([0, 0, uscale, 0, uscale, vscale, 0, vscale, 0, 0, uscale, vscale]); + + fsQuad.gl_points = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, fsQuad.gl_points); + gl.bufferData(gl.ARRAY_BUFFER, fsQuad.vbo_points, gl.STATIC_DRAW); + + fsQuad.gl_uvs = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, fsQuad.gl_uvs); + gl.bufferData(gl.ARRAY_BUFFER, fsQuad.vbo_uvs, gl.STATIC_DRAW); + + return fsQuad; +}; + +PostProcessChain.prototype.destroyFSQuad = destroyFSQuad = function(fsQuad) { + var gl = GLCore.gl; + + gl.deleteBuffer(fsQuad.gl_points); + gl.deleteBuffer(fsQuad.gl_uvs); +}; + +PostProcessChain.prototype.renderFSQuad = renderFSQuad = function(shader, fsq) { + var gl = GLCore.gl; + + shader.use(); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + + gl.bindBuffer(gl.ARRAY_BUFFER, fsq.gl_points); + gl.vertexAttribPointer(shader.aVertex, 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(shader.aVertex); + gl.bindBuffer(gl.ARRAY_BUFFER, fsq.gl_uvs); + gl.vertexAttribPointer(shader.aTex, 2, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(shader.aTex); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + gl.drawArrays(gl.TRIANGLES, 0, 6); + +}; + + +PostProcessChain.prototype.addShader = function(shader) { + this.shaders[this.shaders.length] = shader; + shader.shader.use(); + shader.shader.setVector("texel", this.vTexel); + + if (shader.outputDivisor && shader.outputDivisor != 1) + { + if (postProcessDivisorBuffers[shader.outputDivisor] === undef) + + var divw = parseInt(this.width/shader.outputDivisor); + var divh = parseInt(this.height/shader.outputDivisor); + + postProcessDivisorBuffers[shader.outputDivisor] = new RenderBuffer(divw, divh, false); + postProcessDivisorQuads[shader.outputDivisor] = this.makeFSQuad(divw, divh); + + } +}; + +PostProcessChain.prototype.resize = function(width, height) { + var gl = GLCore.gl; + + this.width = width; + this.height = height; + + this.vTexel = [1.0 / this.width, 1.0 / this.height, 0]; + + this.captureBuffer.destroyBuffer(); + this.captureBuffer.createBuffer(this.width, this.height, true); + + this.bufferA.destroyBuffer(); + this.bufferA.createBuffer(this.width, this.height, false); + + this.bufferB.destroyBuffer(); + this.bufferB.createBuffer(this.width, this.height, false); + + this.bufferC.destroyBuffer(); + this.bufferC.createBuffer(this.width, this.height, false); + + if (this.accum) { + this.accumBuffer.destroyBuffer(); + this.accumBuffer.createBuffer(this.width, this.height, false); + this.accumBuffer.use(); + + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + } + + for (var p in postProcessDivisorBuffers) + { + var divw = parseInt(this.width/p); + var divh = parseInt(this.height/p); + + postProcessDivisorBuffers[p].destroyBuffer(); + postProcessDivisorBuffers[p].createBuffer(divw, divh, false); + + this.destroyFSQuad(postProcessDivisorQuads[p]); + postProcessDivisorQuads[p] = this.makeFSQuad(divw, divh); + } + + this.inputBuffer = this.bufferA; + this.outputBuffer = this.bufferB; + + for (var i = 0, iMax = this.shaders.length; i < iMax; i++) { + this.shaders[i].shader.use(); + this.shaders[i].shader.setVector("texel", this.vTexel); + if (this.shaders[i].onresize !== null) { + this.shaders[i].onresize(this.shaders[i].shader, this.width, this.height); + } + } + + this.destroyFSQuad(this.fsQuad); + this.fsQuad = this.makeFSQuad(this.width, this.height); +}; + +PostProcessChain.prototype.swap = function() { + var t = this.inputBuffer; + + this.inputBuffer = this.outputBuffer; + this.outputBuffer = t; +}; + +PostProcessChain.prototype.begin = function() { + this.captureBuffer.use(); +}; + +PostProcessChain.prototype.end = function() { + var gl = GLCore.gl; + + gl.bindFramebuffer(gl.FRAMEBUFFER, null); +}; + +PostProcessChain.prototype.render = function() { + var gl = GLCore.gl; + + var initBuffer = null; + + this.captureBuffer.texture.use(gl.TEXTURE1); + + this.outputBuffer.use(); + this.captureBuffer.texture.use(gl.TEXTURE0); + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + this.renderFSQuad(this.copy_shader.shader, this.fsQuad); + this.end(); + + var c = 0; + for (var i = 0, iMax = this.shaders.length; i < iMax; i++) { + var s = this.shaders[i]; + if (!s.enabled) { + continue; + } + this.swap(); + this.inputBuffer.texture.use(gl.TEXTURE0); + + var o_mode = s.outputMode; + //switch (s.outputMode) { + if (o_mode === enums.post.output.REPLACE) { + //case enums.post.output.REPLACE: + if (s.outputDivisor !== 1) { + postProcessDivisorBuffers[s.outputDivisor].use(); + } + else { + this.outputBuffer.use(); + } //if + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + //break; + } + else if (o_mode === enums.post.output.ADD || o_mode === enums.post.output.BLEND) { + //case enums.post.output.ADD: + //case enums.post.output.BLEND: + if (s.outputDivisor !== 1) { + postProcessDivisorBuffers[s.outputDivisor].use(); + } + else { + this.bufferC.use(); + } //if + + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + //break; + } //if + + if (s.onupdate !== null) { + s.shader.use(); + s.onupdate(s.shader); + } //if + + if (s.outputDivisor !== 1) { + gl.viewport(0, 0, postProcessDivisorBuffers[s.outputDivisor].width, postProcessDivisorBuffers[s.outputDivisor].height); + + this.renderFSQuad(s.shader, postProcessDivisorQuads[s.outputDivisor]); + + if (s.outputMode === enums.post.output.REPLACE) { + this.outputBuffer.use(); + + postProcessDivisorBuffers[s.outputDivisor].texture.use(gl.TEXTURE0); + + gl.viewport(0, 0, this.width, this.height); + + this.renderFSQuad(this.copy_shader.shader, this.fsQuad); + } + else { + gl.viewport(0, 0, this.width, this.height); + } //if + } + else { + this.renderFSQuad(s.shader, this.fsQuad); + } //if + + //switch (s.outputMode) { + + //case enums.post.output.REPLACE: + // break; + if (o_mode === enums.post.output.BLEND) { + //case enums.post.output.BLEND: + this.swap(); + this.outputBuffer.use(); + + gl.enable(gl.BLEND); + gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA); + + this.inputBuffer.texture.use(gl.TEXTURE0); + + if (s.outputDivisor !== 1) { + postProcessDivisorBuffers[s.outputDivisor].texture.use(gl.TEXTURE0); + } + else { + this.bufferC.texture.use(gl.TEXTURE0); + } //if + + this.renderFSQuad(this.copy_shader.shader, this.fsQuad); + + gl.disable(gl.BLEND); + //break; + } + else if (o_mode === enums.post.output.ADD) { + //case enums.post.output.ADD: + this.swap(); + this.outputBuffer.use(); + + gl.enable(gl.BLEND); + gl.blendFunc(gl.ONE, gl.ONE); + + if (s.outputDivisor !== 1) { + postProcessDivisorBuffers[s.outputDivisor].texture.use(gl.TEXTURE0); + } + else { + this.bufferC.texture.use(gl.TEXTURE0); + } //if + + this.renderFSQuad(this.copy_shader.shader, this.fsQuad); + + gl.disable(gl.BLEND); + //break; + } //if + + this.end(); + c++; + } //for + + if (c === 0) { + this.captureBuffer.texture.use(gl.TEXTURE0); + } else { + this.outputBuffer.texture.use(gl.TEXTURE0); + } //if + + if (this.accum && this.accumOpacity !== 1.0) + { + this.blur_shader.shader.use(); + this.blur_shader.shader.setFloat("opacity",this.accumOpacity); + + this.accumBuffer.use(); + + gl.enable(gl.BLEND); + gl.blendFunc(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA); + + this.renderFSQuad(this.blur_shader.shader, this.fsQuad); + + this.end(); + + gl.disable(gl.BLEND); + + this.renderFSQuad(this.copy_shader.shader, this.fsQuad); + + gl.enable(gl.BLEND); + gl.blendFunc(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA); + + this.blur_shader.shader.use(); + this.blur_shader.shader.setFloat("opacity",this.accumIntensity); + + this.accumBuffer.texture.use(gl.TEXTURE0); + + this.renderFSQuad(this.blur_shader.shader, this.fsQuad); + + gl.disable(gl.BLEND); + } + else + { + this.renderFSQuad(this.copy_shader.shader, this.fsQuad); + } + +}; + + + + function NormalMapGen(inTex,width,height) + { + var gl = GLCore.gl; + + this.width = width; + this.height = height; + this.srcTex = inTex; + this.outTex = new RenderBuffer(width,height); + + var tw = width, th = height; + + var isPOT = true; + + if (tw===1||th===1) { + isPOT = false; + } else { + if (tw !== 1) { while ((tw % 2) === 0) { tw /= 2; } } + if (th !== 1) { while ((th % 2) === 0) { th /= 2; } } + if (tw > 1) { isPOT = false; } + if (th > 1) { isPOT = false; } + } + + var vTexel = [1.0/width,1.0/height,0]; + + // buffers + this.outputBuffer = new RenderBuffer(width,height,false); + + // quads + this.fsQuad = PostProcessChain.prototype.makeFSQuad(width,height); + + var vs = ["attribute vec3 aVertex;", + "attribute vec2 aTex;", + "varying vec2 vTex;", + "void main(void)", + "{", + " vTex = aTex;", + " vec4 vPos = vec4(aVertex.xyz,1.0);", + " gl_Position = vPos;", + "}"].join("\n"); + + + // simple convolution test shader + shaderNMap = new Shader(vs, + ["#ifdef GL_ES", + "precision highp float;", + "#endif", + "uniform sampler2D srcTex;", + "varying vec2 vTex;", + "uniform vec3 texel;", + "void main(void)", + "{", + " vec3 color;", + " color.r = (texture2D(srcTex,vTex + vec2(texel.x,0)).r-texture2D(srcTex,vTex + vec2(-texel.x,0)).r)/2.0 + 0.5;", + " color.g = (texture2D(srcTex,vTex + vec2(0,-texel.y)).r-texture2D(srcTex,vTex + vec2(0,texel.y)).r)/2.0 + 0.5;", + " color.b = 1.0;", + " gl_FragColor.rgb = color;", + " gl_FragColor.a = 1.0;", + "}"].join("\n")); + + shaderNMap.use(); + shaderNMap.addUVArray("aTex"); + shaderNMap.addVertexArray("aVertex"); + shaderNMap.addInt("srcTex",0); + shaderNMap.addVector("texel"); + shaderNMap.setVector("texel",vTexel); + + this.shaderNorm = shaderNMap; + + // bind functions to "subclass" a texture + this.setFilter=this.outputBuffer.texture.setFilter; + this.clear=this.outputBuffer.texture.clear; + this.use=this.outputBuffer.texture.use; + this.tex_id=this.outputBuffer.texture.tex_id; + this.filterType=this.outputBuffer.texture.filterType; + + this.outTex.use(gl.TEXTURE0); + // + // if (!isPOT) { + // this.setFilter(enums.texture.filter.LINEAR); + // gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); + // gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); + // } else { + this.setFilter(enums.texture.filter.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.REPEAT) + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.REPEAT) + // } + + } + + + + NormalMapGen.prototype.update = function() + { + var gl = GLCore.gl; + + var dims = gl.getParameter(gl.VIEWPORT); + + this.outputBuffer.use(); + + gl.viewport(0, 0, this.width, this.height); + + gl.clearColor(0.0, 0.0, 0.0, 1.0); + gl.clear(gl.COLOR_BUFFER_BIT); + + this.srcTex.use(gl.TEXTURE0); + + PostProcessChain.prototype.renderFSQuad(this.shaderNorm,this.fsQuad); // copy the output buffer to the screen via fullscreen quad + + gl.bindFramebuffer(gl.FRAMEBUFFER, null); + + gl.viewport(dims[0], dims[1], dims[2], dims[3]); + } + + + + function DeferredBin() + { + this.meshBin = {}; + this.imageBin = {}; + + this.meshMap = {}; + this.imageMap = {}; + + this.imageBinPtr = {}; + this.meshBinPtr = {}; + } + + DeferredBin.prototype.addMesh = function(binId,meshId,meshObj) { + if (this.meshBin[binId] === undef) + { + this.meshBin[binId] = []; + if (this.meshBinPtr[binId]===undef) { + this.meshBinPtr[binId] = 0; + } + } + + if (this.meshMap[meshId] === undef) + { + this.meshMap[meshId] = meshObj; + this.meshBin[binId].push(meshObj); + } + } + + DeferredBin.prototype.addImage = function(binId,imageId,imageObj) { + if (this.imageBin[binId] === undef) + { + this.imageBin[binId] = []; + if (this.imageBinPtr[binId]===undef) { + this.imageBinPtr[binId] = 0; + } + } + + if (this.imageMap[imageId] === undef) + { + this.imageMap[imageId] = imageObj; + this.imageBin[binId].push(imageObj); + } + }; + + DeferredBin.prototype.getMeshes = function(binId) { + return this.meshBin[binId]; + }; + + DeferredBin.prototype.getImages = function(binId) { + return this.imageBin[binId]; + }; + + DeferredBin.prototype.rewindMeshes = function(binId) { + this.meshBinPtr[binId] = 0; + }; + + DeferredBin.prototype.rewindImages = function(binId) { + this.imageBinPtr[binId] = 0; + }; + + DeferredBin.prototype.getNextMesh = function(binId) { + var cBin = this.meshBinPtr[binId]; + + if (cBin<this.meshBin[binId].length) + { + this.meshBinPtr[binId]++; + return this.meshBin[binId][cBin]; + } + + return null; + }; + + DeferredBin.prototype.loadNextMesh = function(binId) + { + var mesh = this.getNextMesh(binId); + + if (mesh !== null) + { + if (mesh.compiled===null) + { + mesh.triangulateQuads(); + mesh.compile(); + mesh.clean(); + } + + return true; + } + + return false; + }; + + DeferredBin.prototype.isMeshBinEmpty = function(binId) { + //console.log('isMeshBinEmpty[' + binId + '] = ' + (this.meshBinPtr[binId] === this.meshBin[binId].length) + ' meshBinPtr = ' + this.meshBinPtr[binId] + ' meshBin.length = ' + this.meshBin[binId].length); + return this.meshBinPtr[binId] === this.meshBin[binId].length; + }; + + DeferredBin.prototype.loadNextImage = function(binId) + { + var img = this.getNextImage(binId); + + if (img !== null) { + img.src = img.deferredSrc; +// return true; + } + +// return false; + }; + + + DeferredBin.prototype.getNextImage = function(binId) { + var cBin = this.imageBinPtr[binId]; + + if (cBin<this.imageBin[binId].length) + { + this.imageBinPtr[binId]++; + return this.imageBin[binId][cBin]; + } + + return null; + }; + + DeferredBin.prototype.isImageBinEmpty = function(binId) { + //console.log('isImageBinEmpty[' + binId + '] = ' + (this.imageBinPtr[binId] === this.imageBin[binId].length)); + return this.imageBinPtr[binId] === this.imageBin[binId].length ; + }; + +function cubicvr_loadColladaWorker(meshUrl, prefix, callback, deferred_bin) { + var worker; + try { + worker = new Worker(SCRIPT_LOCATION + 'collada.js'); + } + catch(e) { + throw new Error("Can't find collada.js"); + } //try + + var materials_map = []; + var meshes_map = []; + + worker.onmessage = function(e) { + + function copyObjectFromJSON(json, obj) { + for (var i in json) { + obj[i] = json[i]; + } //for + } //new_obj + + var message = e.data.message; + if (message == 'materials') { + var mats = JSON.parse(e.data.data); + for (var i=0, maxI=mats.length; i<maxI; ++i) { + var new_mat = new Material(mats[i].name); + var mat_id = new_mat.material_id; + copyObjectFromJSON(mats[i], new_mat); + new_mat.material_id = mat_id; + materials_map[mats[i].material_id] = mat_id; + for (var j=0, maxJ=mats[i].textures.length; j<maxJ; ++j) { + var dt = mats[i].textures[j]; + if (dt) { + var stored_tex = Texture_ref[dt.img_path]; + + if (stored_tex === undefined) { + var t = new Texture(dt.img_path, dt.filter_type, deferred_bin, meshUrl); + new_mat.textures[j] = t; + } + else { + new_mat.textures[j] = Textures_obj[stored_tex]; + } //if + } + else { + new_mat.textures[j] = 0; + } //if + } //for + } //for + } + else if (message == 'scene') { + var scene = JSON.parse(e.data.data); + + function reassembleMotion(obj) { + //reassemble linked-list for sceneObject motion envelope keys + if (obj.motion) { + var co = obj.motion.controllers; + var new_controllers = []; + for (var j=0, maxJ=co.length; j<maxJ; ++j) { + var con = co[j]; + if (!con) { + co[j] = undefined; + continue; + } + var new_con = []; + for (var k=0, maxK=con.length; k<maxK; ++k) { + var env = con[k]; + if (!env) { + con[k] = undefined; + continue; + } + var keys = env.keys[0]; + if (env.keys.length > 1) { + keys.prev = null; + keys.next = env.keys[1]; + keys = env.keys[1]; + } //if + for (var keyI=1,maxKeyI=env.keys.length-1; keyI<maxKeyI; ++keyI) { + keys.prev = env.keys[keyI-1]; + keys.next = env.keys[keyI+1]; + keys = env.keys[keyI+1]; + } //for keyI + if (env.keys.length > 1) { + keys = env.keys[env.keys.length-1]; + keys.prev = env.keys[env.keys.length-2]; + keys.next = null; + } //if + env.firstKey = env.keys[0]; + env.lastKey = env.keys[env.keys.length-1]; + env.keys = env.firstKey; + + var envelope = new Envelope(); + copyObjectFromJSON(env, envelope); + new_con[k]=envelope; + } //for k + new_controllers[j] = new_con; + } //for j + obj.motion.controllers = new_controllers; + var motion = new Motion(); + copyObjectFromJSON(obj.motion, motion); + obj.motion = motion; + } //if + } //reassembleMotion + + for (var i=0, maxI=scene.sceneObjects.length; i<maxI; ++i) { + var so = scene.sceneObjects[i]; + + if (so.obj !== null) { + + } //if + + if (so.reassembled === undefined) { + reassembleMotion(so); + so.reassembled = true; + } //if + + function createSceneObject(scene_obj) { + var sceneObject = new SceneObject(); + copyObjectFromJSON(scene_obj, sceneObject); + if (scene_obj.obj !== null) { + var stored_mesh = meshes_map[scene_obj.obj.id]; + if (stored_mesh === undefined) { + var mesh = new Mesh(); + copyObjectFromJSON(scene_obj.obj, mesh); + sceneObject.obj = mesh; + meshes_map[scene_obj.obj.id] = mesh; + if (deferred_bin) { + if (mesh.points.length > 0) { + deferred_bin.addMesh(meshUrl,meshUrl+":"+mesh.id,mesh) + for (var f=0,maxF=mesh.faces.length; f<maxF; ++f) { + var face = mesh.faces[f]; + var m_index = face.material; + var mapped = materials_map[m_index]; + if (mapped !== undefined) { + face.material = materials_map[m_index]; + } + else { + face.material = 0; + } //if + } //for + } //if + } + else { + sceneObject.obj.triangulateQuads(); + sceneObject.obj.calcNormals(); + sceneObject.obj.compile(); + sceneObject.obj.clean(); + } //if + } + else { + sceneObject.obj = stored_mesh; + } //if + } //if + + sceneObject.trans = new Transform(); + + if (scene_obj.children && scene_obj.children.length > 0) { + sceneObject.children = []; + createChildren(scene_obj, sceneObject); + } //if + + return sceneObject; + } //createSceneObject + + function createChildren(scene_obj, sceneObject) { + if (scene_obj.children) { + for (var j=0, maxJ=scene_obj.children.length; j<maxJ; ++j) { + var child = createSceneObject(scene_obj.children[j]); + sceneObject.bindChild(child); + } //for + } //if + } //createChildren + + scene.sceneObjects[i] = createSceneObject(so); + + } //for i + + var new_scene = new Scene(); + // place parsed scene elements into new scene (since parse scene has no prototype) + var camera = new_scene.camera; + var camera_transform = camera.transform; + copyObjectFromJSON(scene.camera, camera); + copyObjectFromJSON(scene.camera.transform, camera_transform); + reassembleMotion(camera); + new_scene.camera = camera; + new_scene.camera.transform = camera_transform; + new_scene.camera.frustum = new Frustum(); + + for (var i=0, maxI=scene.sceneObjects.length; i<maxI; ++i) { + var o = scene.sceneObjects[i]; + new_scene.bindSceneObject(o); + try { + o.getAABB(); + } + catch(e) { + //console.log(o); + } //try + + } //for + + for (var i=0, maxI=scene.lights.length; i<maxI; ++i) { + var l = new Light(); + copyObjectFromJSON(scene.lights[i], l); + l.trans = new Transform(); + reassembleMotion(l); + new_scene.bindLight(l); + } //for + + callback(new_scene); + } + else { + console.log("message from collada worker:", e.data.message); + } //if + } //onmessage + + worker.onerror = function(e) { + console.log("error from collada worker:", e.message); + } //onerror + + worker.postMessage({message:'start', params: {meshUrl: meshUrl, prefix: prefix, rootDir: SCRIPT_LOCATION}}); +} //cubicvr_loadColladaWorker + + +function xml2badgerfish(xmlDoc) { + var jsonData = {}; + var nodeStack = []; + + var i, iMax, iMin; + + var n = xmlDoc; + var j = jsonData; + var cn, tn; + var regEmpty = /^\s+|\s+$/g; + + xmlDoc.jsonParent = j; + nodeStack.push(xmlDoc); + + while (nodeStack.length) { + var n = nodeStack.pop(); + var tagGroup = null; + + j = n.jsonParent; + + for (i = 0, iMax = n.childNodes.length; i < iMax; i++) { + cn = n.childNodes[i]; + tn = cn.tagName; + + if (tn !== undef) { + tagGroup = tagGroup || {}; + tagGroup[tn] = tagGroup[tn] || 0; + tagGroup[tn]++; + } + } + + if (n.attributes) if (n.attributes.length) { + for (i = 0, iMax = n.attributes.length; i < iMax; i++) { + var att = n.attributes[i]; + + j["@" + att.name] = att.value; + } + } + + for (i = 0, iMax = n.childNodes.length; i < iMax; i++) { + cn = n.childNodes[i]; + tn = cn.tagName; + + if (cn.nodeType === 1) { + if (tagGroup[tn] > 1) { + j[tn] = j[tn] || []; + j[tn].push({}); + cn.jsonParent = j[tn][j[tn].length - 1]; + } else { + j[tn] = j[tn] || {}; + cn.jsonParent = j[tn]; + } + nodeStack.push(cn); + } else if (cn.nodeType === 3) { + if (cn.nodeValue.replace(regEmpty, "") !== "") { + j.$ = j.$ || ""; + j.$ += cn.nodeValue; + } + } + } + } + + return jsonData; +} + +var collada_tools = { + fixuaxis: function (up_axis, v) { + if (up_axis === 0) { // untested + return [v[1], v[0], v[2]]; + } else if (up_axis === 1) { + return v; + } else if (up_axis === 2) { + return [v[0], v[2], -v[1]]; + } + }, + fixscaleaxis: function (up_axis, v) { + if (up_axis === 0) { // untested + return [v[1], v[0], v[2]]; + } else if (up_axis === 1) { + return v; + } else if (up_axis === 2) { + return [v[0], v[2], v[1]]; + } + }, + fixukaxis: function (up_axis, mot, chan, val) { + // if (mot === enums.motion.POS && chan === enums.motion.Y && up_axis === enums.motion.Z) return -val; + if (mot === enums.motion.POS && chan === enums.motion.Z && up_axis === enums.motion.Z) { + return -val; + } + return val; + }, + getAllOf: function (root_node, leaf_name) { + var nStack = [root_node]; + var results = []; + + while (nStack.length) { + var n = nStack.pop(); + + for (var i in n) { + if (!n.hasOwnProperty(i)) continue; + + if (i === leaf_name) { + if (n[i].length) { + for (var p = 0, pMax = n[i].length; p < pMax; p++) { + results.push(n[i][p]); + } + } else { + results.push(n[i]); + } + } + if (typeof(n[i]) == 'object') { + if (n[i].length) { + for (var p = 0, pMax = n[i].length; p < pMax; p++) { + nStack.push(n[i][p]); + } + } else { + nStack.push(n[i]); + } + } + } + } + + return results; + }, + quaternionFilterZYYZ: function (rot, ofs) { + var r = rot; + var temp_q = new Quaternion(); + + if (ofs !== undef) { + r = vec3.add(rot, ofs); + } + + temp_q.fromEuler(r[0], r[2], -r[1]); + + return temp_q.toEuler(); + }, + cl_getInitalTransform: function (up_axis, scene_node) { + var retObj = { + position: [0, 0, 0], + rotation: [0, 0, 0], + scale: [1, 1, 1] + }; + + var translate = scene_node.translate; + var rotate = scene_node.rotate; + var scale = scene_node.scale; + + if (translate) { + retObj.position = collada_tools.fixuaxis(up_axis, util.floatDelimArray(translate.$, " ")); + } + + + if (rotate) { + for (var r = 0, rMax = rotate.length; r < rMax; r++) { + var cl_rot = rotate[r]; + + var rType = cl_rot["@sid"]; + + var rVal = util.floatDelimArray(cl_rot.$, " "); + + if (rType == "rotateX" || rType == "rotationX") { + retObj.rotation[0] = rVal[3]; + } else if (rType == "rotateY" || rType == "rotationY") { + retObj.rotation[1] = rVal[3]; + } else if (rType == "rotateZ" || rType == "rotationZ") { + retObj.rotation[2] = rVal[3]; + } //if + } //for + } //if + if (scale) { + retObj.scale = collada_tools.fixscaleaxis(up_axis, util.floatDelimArray(scale.$, " ")); + } + + // var cl_matrix = scene_node.getElementsByTagName("matrix"); + // + // if (cl_matrix.length) + // { + // console.log(util.collectTextNode(cl_matrix[0])); + // } + return retObj; + } +}; + + + +function cubicvr_parseCollada(meshUrl, prefix, deferred_bin) { + // if (MeshPool[meshUrl] !== undef) return MeshPool[meshUrl]; + var obj = new Mesh(); + var scene = new Scene(); + var cl = util.getXML(meshUrl); + var tech; + var sourceId; + var materialRef, nameRef, nFace, meshName; + + var norm, vert, uv, mapLen, computedLen; + + var i, iCount, iMax, iMod, mCount, mMax, k, kMax, cCount, cMax, sCount, sMax, pCount, pMax, j, jMax; + + var cl_source = xml2badgerfish(cl); + + cl = null; + + if (!cl_source.COLLADA) { + throw new Error(meshUrl + " does not appear to be a valid COLLADA file."); + } + + cl_source = cl_source.COLLADA; + + var clib = { + up_axis: 1, + images: [], + effects: [], + materials: [], + meshes: [], + scenes: [], + lights: [], + cameras: [], + animations: [], + }; + + + // var up_axis = 1; // Y + if (cl_source.asset) { + var sAxis = cl_source.asset.up_axis.$; + if (sAxis === "X_UP") { + clib.up_axis = 0; + } else if (sAxis === "Y_UP") { + clib.up_axis = 1; + } else if (sAxis === "Z_UP") { + clib.up_axis = 2; + } + } + + var up_axis = clib.up_axis; + + if (cl_source.library_images) if (cl_source.library_images.image.length) { + var cl_images = cl_source.library_images.image; + for (var imgCount = 0, imgCountMax = cl_images.length; imgCount < imgCountMax; imgCount++) { + var cl_img = cl_images[imgCount]; + var imageId = cl_img["@id"]; + var imageName = cl_img["@name"]; + var cl_imgsrc = cl_img.init_from; + + if (cl_imgsrc.$) { + var imageSource = cl_imgsrc.$; + + if (prefix !== undef && (imageSource.lastIndexOf("/") !== -1)) { + imageSource = imageSource.substr(imageSource.lastIndexOf("/") + 1); + } + if (prefix !== undef && (imageSource.lastIndexOf("\\") !== -1)) { + imageSource = imageSource.substr(imageSource.lastIndexOf("\\") + 1); + } + + // console.log("Image reference: "+imageSource+" @"+imageId+":"+imageName); + clib.images[imageId] = { + source: imageSource, + id: imageId, + name: imageName + }; + } + } + } + + // Effects + var effectId; + var effectCount, effectMax; + var tCount, tMax, inpCount, inpMax; + var cl_params, cl_inputs, cl_input, cl_inputmap, cl_samplers, cl_camera, cl_cameras, cl_scene; + var ofs; + + + if (cl_source.library_effects) { + var cl_effects = cl_source.library_effects.effect; + + if (cl_effects && !cl_effects.length) cl_effects = [cl_effects]; + + for (effectCount = 0, effectMax = cl_effects.length; effectCount < effectMax; effectCount++) { + var cl_effect = cl_effects[effectCount]; + + effectId = cl_effect["@id"]; + + var effect = {}; + + effect.id = effectId; + + effect.surfaces = []; + effect.samplers = []; + + cl_params = cl_effect.profile_COMMON.newparam; + + if (cl_params && !cl_params.length) { + cl_params = [cl_params]; + }; + + var params = []; + + var cl_init; + + if (cl_params) { + for (pCount = 0, pMax = cl_params.length; pCount < pMax; pCount++) { + var cl_param = cl_params[pCount]; + + var paramId = cl_param["@sid"]; + + if (cl_param.surface) { + effect.surfaces[paramId] = {}; + + var initFrom = cl_param.surface.init_from.$; + + if (typeof(clib.images[initFrom]) === 'object') { + + var img_path = prefix + "/" + clib.images[initFrom].source; + effect.surfaces[paramId].source = img_path; + // console.log(prefix+"/"+clib.images[initFrom].source); + } + } else if (cl_param.sampler2D) { + effect.samplers[paramId] = {}; + + effect.samplers[paramId].source = cl_param.sampler2D.source.$; + + if (cl_param.sampler2D.minfilter) { + effect.samplers[paramId].minfilter = cl_param.sampler2D.minfilter.$; + } + + if (cl_param.sampler2D.magfilter) { + effect.samplers[paramId].magfiter = cl_param.sampler2D.magfilter.$; + } + } + + } + } + + var cl_technique = cl_effect.profile_COMMON.technique; + + if (cl_technique && !cl_technique.length) cl_technique = [cl_technique]; + + var getColorNode = (function () { + return function (n) { + var el = n.color; + if (!el) { + return false; + } + + var cn = n.color; + var ar = cn ? util.floatDelimArray(cn.$, " ") : false; + + return ar; + }; + }()); + + var getFloatNode = (function () { + return function (n) { + var el = n.float; + if (!el) { + return false; + } + + var cn = n.float; + cn = cn ? parseFloat(cn.$) : 0; + + return cn; + }; + }()); + + var getTextureNode = (function () { + return function (n) { + var el = n.texture; + if (!el) { + return false; + } + + var cn = n.texture["@texture"]; + + return cn; + }; + }()); + + // effect.material = new Material(effectId); + effect.material = { + textures_ref: [] + } + + for (tCount = 0, tMax = cl_technique.length; tCount < tMax; tCount++) { + // if (cl_technique[tCount].getAttribute("sid") === 'common') { + tech = cl_technique[tCount].blinn; + + if (!tech) { + tech = cl_technique[tCount].phong; + } + if (!tech) { + tech = cl_technique[tCount].lambert; + } + + if (tech) { + // for (var eCount = 0, eMax = tech[0].childNodes.length; eCount < eMax; eCount++) { + // var node = tech[0].childNodes[eCount]; + for (var tagName in tech) { + var node = tech[tagName]; + + var c = getColorNode(node); + var f = getFloatNode(node); + var t = getTextureNode(node); + + if (c !== false) { + if (c.length > 3) { + c.pop(); + } + } + + if (tagName == "emission") { + if (c !== false) { + effect.material.ambient = c; + } + } else if (tagName == "ambient") {} else if (tagName == "diffuse") { + if (c !== false) { + effect.material.color = c; + } + } else if (tagName == "specular") { + if (c !== false) { + effect.material.specular = c; + } + } else if (tagName == "shininess") { + if (f !== false) { + effect.material.shininess = f; + } + } else if (tagName == "reflective") {} else if (tagName == "reflectivity") {} else if (tagName == "transparent") {} else if (tagName == "index_of_refraction") {} + // case "transparency": if (f!==false) effect.material.opacity = 1.0-f; break; + if (t !== false) { + effect.material + var srcTex = effect.surfaces[effect.samplers[t].source].source; + if (tagName == "emission") { + effect.material.textures_ref.push({ + image: srcTex, + type: enums.texture.map.AMBIENT + }); + } else if (tagName == "ambient") { + effect.material.textures_ref.push({ + image: srcTex, + type: enums.texture.map.AMBIENT + }); + } else if (tagName == "diffuse") { + effect.material.textures_ref.push({ + image: srcTex, + type: enums.texture.map.COLOR + }); + } else if (tagName == "specular") { + effect.material.textures_ref.push({ + image: srcTex, + type: enums.texture.map.SPECULAR + }); + } else if (tagName == "shininess") {} else if (tagName == "reflective") { + effect.material.textures_ref.push({ + image: srcTex, + type: enums.texture.map.REFLECT + }); + } else if (tagName == "reflectivity") {} else if (tagName == "transparent") { + effect.material.textures_ref.push({ + image: srcTex, + type: enums.texture.map.ALPHA + }); + } else if (tagName == "transparency") {} else if (tagName == "index_of_refraction") {} + } + } + } + + clib.effects[effectId] = effect; + } + } + } + + // End Effects + + var cl_lib_mat_inst = collada_tools.getAllOf(cl_source.library_visual_scenes, "instance_material"); + var materialMap = []; + + if (cl_lib_mat_inst.length) { + for (i = 0, iMax = cl_lib_mat_inst.length; i < iMax; i++) { + var cl_mat_inst = cl_lib_mat_inst[i]; + + var symbolId = cl_mat_inst["@symbol"]; + var targetId = cl_mat_inst["@target"].substr(1); + + materialMap[symbolId] = targetId; + } + } + + + var cl_lib_materials = cl_source.library_materials; + + if (cl_lib_materials.material) { + var cl_materials = cl_lib_materials.material; + if (cl_materials && !cl_materials.length) cl_materials = [cl_materials]; + + for (mCount = 0, mMax = cl_materials.length; mCount < mMax; mCount++) { + var cl_material = cl_materials[mCount]; + + var materialId = cl_material["@id"]; + var materialName = cl_material["@name"]; + + var cl_einst = cl_material.instance_effect; + + if (cl_einst) { + effectId = cl_einst["@url"].substr(1); + clib.materials.push({ + id: materialId, + name: materialName, + mat: clib.effects[effectId].material + }); + } + } + } + + var cl_lib_geo = cl_source.library_geometries; + + if (cl_lib_geo) { + var cl_geo_node = cl_lib_geo.geometry; + + if (cl_geo_node && !cl_geo_node.length) cl_geo_node = [cl_geo_node]; + + if (cl_geo_node.length) { + for (var meshCount = 0, meshMax = cl_geo_node.length; meshCount < meshMax; meshCount++) { + var meshData = { + id: undef, + points: [], + parts: [] + }; + + var currentMaterial; + + var cl_geomesh = cl_geo_node[meshCount].mesh; + + // console.log("found "+meshUrl+"@"+meshName); + if (cl_geomesh) { + var meshId = cl_geo_node[meshCount]["@id"]; + meshName = cl_geo_node[meshCount]["@name"]; + + // MeshPool[meshUrl + "@" + meshName] = newObj; + var cl_geosources = cl_geomesh.source; + if (cl_geosources && !cl_geosources.length) cl_geosources = [cl_geosources]; + + var geoSources = []; + + for (var sourceCount = 0, sourceMax = cl_geosources.length; sourceCount < sourceMax; sourceCount++) { + var cl_geosource = cl_geosources[sourceCount]; + + sourceId = cl_geosource["@id"]; + var sourceName = cl_geosource["@name"]; + var cl_floatarray = cl_geosource.float_array; + + + if (cl_floatarray) { + geoSources[sourceId] = { + id: sourceId, + name: sourceName, + data: util.floatDelimArray(cl_floatarray.$?cl_floatarray.$:"", " ") + }; + } + + var cl_accessor = cl_geosource.technique_common.accessor; + + if (cl_accessor) { + geoSources[sourceId].count = parseInt(cl_accessor["@count"]); + geoSources[sourceId].stride = parseInt(cl_accessor["@stride"]); + if (geoSources[sourceId].count) { + geoSources[sourceId].data = util.repackArray(geoSources[sourceId].data, geoSources[sourceId].stride, geoSources[sourceId].count); + } + } + } + + var geoVerticies = []; + + var cl_vertices = cl_geomesh.vertices; + + var pointRef = null; + var pointRefId = null; + var triangleRef = null; + var normalRef = null; + var uvRef = null; + + + if (cl_vertices) { + pointRefId = cl_vertices["@id"]; + cl_inputs = cl_vertices.input; + + if (cl_inputs && !cl_inputs.length) cl_inputs = [cl_inputs]; + + if (cl_inputs) { + for (inpCount = 0, inpMax = cl_inputs.length; inpCount < inpMax; inpCount++) { + cl_input = cl_inputs[inpCount]; + + if (cl_input["@semantic"] === "POSITION") { + pointRef = cl_input["@source"].substr(1); + } + } + } + } + + var CL_VERTEX = 0, + CL_NORMAL = 1, + CL_TEXCOORD = 2, + CL_OTHER = 3; + + + var cl_triangles = cl_geomesh.triangles; + if (cl_triangles && !cl_triangles.length) cl_triangles = [cl_triangles]; + + var v_c = false, + n_c = false, + u_c = false; + + if (cl_triangles) { + for (tCount = 0, tMax = cl_triangles.length; tCount < tMax; tCount++) { + var meshPart = { + material: 0, + faces: [], + normals: [], + texcoords: [] + } + + var cl_trianglesCount = parseInt(cl_triangles[tCount]["@count"], 10); + cl_inputs = cl_triangles[tCount].input; + if (cl_inputs && !cl_inputs.length) cl_inputs = [cl_inputs]; + + cl_inputmap = []; + + if (cl_inputs.length) { + for (inpCount = 0, inpMax = cl_inputs.length; inpCount < inpMax; inpCount++) { + cl_input = cl_inputs[inpCount]; + + ofs = parseInt(cl_input["@offset"], 10); + nameRef = cl_input["@source"].substr(1); + + if (cl_input["@semantic"] === "VERTEX") { + if (nameRef === pointRefId) { + nameRef = triangleRef = pointRef; + } else { + triangleRef = nameRef; + } + v_c = true; + cl_inputmap[ofs] = CL_VERTEX; + } else if (cl_input["@semantic"] === "NORMAL") { + normalRef = nameRef; + if (geoSources[normalRef].count) { + cl_inputmap[ofs] = CL_NORMAL; + } + n_c = true; + } else if (cl_input["@semantic"] === "TEXCOORD") { + uvRef = nameRef; + if (geoSources[uvRef].count) { + cl_inputmap[ofs] = CL_TEXCOORD; + } + u_c = true; + } else { + cl_inputmap[ofs] = CL_OTHER; + } + } + } + mapLen = cl_inputmap.length; + + materialRef = cl_triangles[tCount]["@material"]; + + if (materialRef === null) { + meshPart.material = 0; + } else { + if (materialMap[materialRef] === undef) { + log("missing material [" + materialRef + "]@" + meshName + "?"); + meshPart.material = 0; + } else { + meshPart.material = materialMap[materialRef]; + } + } + + + var cl_triangle_source = cl_triangles[tCount].p; + + var triangleData = []; + + if (cl_triangle_source) { + triangleData = util.intDelimArray(cl_triangle_source.$, " "); + } + + if (triangleData.length) { + computedLen = ((triangleData.length) / cl_inputmap.length) / 3; + + if (computedLen !== cl_trianglesCount) { + // console.log("triangle data doesn't add up, skipping object load: "+computedLen+" !== "+cl_trianglesCount); + } else { + if (meshData.points.length === 0) { + meshData.points = geoSources[pointRef].data; + } + + ofs = 0; + + for (i = 0, iMax = triangleData.length, iMod = cl_inputmap.length; i < iMax; i += iMod * 3) { + norm = []; + vert = []; + uv = []; + + for (j = 0; j < iMod * 3; j++) { + var jMod = j % iMod; + + if (cl_inputmap[jMod] === CL_VERTEX) { + vert.push(triangleData[i + j]); + } else if (cl_inputmap[jMod] === CL_NORMAL) { + norm.push(triangleData[i + j]); + } else if (cl_inputmap[jMod] === CL_TEXCOORD) { + uv.push(triangleData[i + j]); + } + } + + if (vert.length) { + meshPart.faces.push(vert); + + if (norm.length === 3) { + meshPart.normals.push([collada_tools.fixuaxis(clib.up_axis, geoSources[normalRef].data[norm[0]]), collada_tools.fixuaxis(clib.up_axis, geoSources[normalRef].data[norm[1]]), collada_tools.fixuaxis(clib.up_axis, geoSources[normalRef].data[norm[2]])]); + } + + + if (uv.length === 3) { + meshPart.texcoords.push([geoSources[uvRef].data[uv[0]], geoSources[uvRef].data[uv[1]], geoSources[uvRef].data[uv[2]]]); + } + } + } + } + } + + meshData.parts.push(meshPart); + } + } + + + var cl_polylist = cl_geomesh.polylist; + if (!cl_polylist) { + cl_polylist = cl_geomesh.polygons; // try polygons + } + + if (cl_polylist && !cl_polylist.length) cl_polylist = [cl_polylist]; + + if (cl_polylist) { + for (tCount = 0, tMax = cl_polylist.length; tCount < tMax; tCount++) { + var meshPart = { + material: 0, + faces: [], + normals: [], + texcoords: [] + } + + var cl_polylistCount = parseInt(cl_polylist[tCount]["@count"], 10); + + cl_inputs = cl_polylist[tCount].input; + + if (cl_inputs && !cl_inputs.length) cl_inputs = [cl_inputs]; + + cl_inputmap = []; + + if (cl_inputs.length) { + for (inpCount = 0, inpMax = cl_inputs.length; inpCount < inpMax; inpCount++) { + cl_input = cl_inputs[inpCount]; + + var cl_ofs = cl_input["@offset"]; + + if (cl_ofs === null) { + cl_ofs = cl_input["@idx"]; + } + + ofs = parseInt(cl_ofs, 10); + nameRef = cl_input["@source"].substr(1); + + if (cl_input["@semantic"] === "VERTEX") { + if (nameRef === pointRefId) { + nameRef = triangleRef = pointRef; + + } else { + triangleRef = nameRef; + } + cl_inputmap[ofs] = CL_VERTEX; + } else if (cl_input["@semantic"] === "NORMAL") { + normalRef = nameRef; + cl_inputmap[ofs] = CL_NORMAL; + } else if (cl_input["@semantic"] === "TEXCOORD") { + uvRef = nameRef; + cl_inputmap[ofs] = CL_TEXCOORD; + } else { + cl_inputmap[ofs] = CL_OTHER; + } + } + } + + + var cl_vcount = cl_polylist[tCount].vcount; + var vcount = []; + + if (cl_vcount) { + vcount = util.intDelimArray(cl_vcount.$, " "); + } + + materialRef = cl_polylist[tCount]["@material"]; + + if (materialRef === undef) { + meshPart.material = 0; + } else { + meshPart.material = materialMap[materialRef]; + } + + var cl_poly_source = cl_polylist[tCount].p; + + mapLen = cl_inputmap.length; + + var polyData = []; + + if ((cl_poly_source.length > 1) && !vcount.length) // blender 2.49 style + { + var pText = ""; + for (pCount = 0, pMax = cl_poly_source.length; pCount < pMax; pCount++) { + var tmp = util.intDelimArray(cl_poly_source[pCount].$, " "); + + vcount[pCount] = parseInt(tmp.length / mapLen, 10); + + polyData.splice(polyData.length, 0, tmp); + } + } else { + if (cl_poly_source) { + polyData = util.intDelimArray(cl_poly_source.$, " "); + } + } + + if (polyData.length) { + computedLen = vcount.length; + + if (computedLen !== cl_polylistCount) { + log("poly vcount data doesn't add up, skipping object load: " + computedLen + " !== " + cl_polylistCount); + } else { + if (meshData.points.length === 0) { + meshData.points = geoSources[pointRef].data; + } + + ofs = 0; + + for (i = 0, iMax = vcount.length; i < iMax; i++) { + norm = []; + vert = []; + uv = []; + + for (j = 0, jMax = vcount[i] * mapLen; j < jMax; j++) { + if (cl_inputmap[j % mapLen] === CL_VERTEX) { + vert.push(polyData[ofs]); + ofs++; + } else if (cl_inputmap[j % mapLen] === CL_NORMAL) { + norm.push(polyData[ofs]); + ofs++; + } else if (cl_inputmap[j % mapLen] === CL_TEXCOORD) { + uv.push(polyData[ofs]); + ofs++; + } + } + + + if (vert.length) { + // if (up_axis !== 1) + // { + // vert.reverse(); + // } + // nFace = newObj.addFace(vert); + meshPart.faces.push(vert); + + if (norm.length) { + var nlist = []; + for (k = 0, kMax = norm.length; k < kMax; k++) { + // newObj.faces[nFace].point_normals[k] = fixuaxis(geoSources[normalRef].data[norm[k]]); + nlist.push(collada_tools.fixuaxis(clib.up_axis, geoSources[normalRef].data[norm[k]])); + } + meshPart.normals.push(nlist); + } + + if (uv.length) { + var tlist = []; + for (k = 0, kMax = uv.length; k < kMax; k++) { + // newObj.faces[nFace].uvs[k] = geoSources[uvRef].data[uv[k]]; + tlist.push(geoSources[uvRef].data[uv[k]]); + } + meshPart.texcoords.push(tlist); + } + } + } + } + } + } + } + + if (up_axis !== 1) { + for (i = 0, iMax = meshData.points.length; i < iMax; i++) { + meshData.points[i] = collada_tools.fixuaxis(clib.up_axis, meshData.points[i]); + } + } + + + + meshData.id = meshId; + clib.meshes.push(meshData); + + } + } + } + } + + + + + + var cl_lib_cameras = cl_source.library_cameras; + var camerasBoundRef = []; + + if (cl_lib_cameras) { + cl_cameras = cl_lib_cameras.camera; + if (cl_cameras && !cl_cameras.length) cl_cameras = [cl_cameras]; + + for (cCount = 0, cMax = cl_cameras.length; cCount < cMax; cCount++) { + cl_camera = cl_cameras[cCount]; + + var cameraId = cl_camera["@id"]; + var cameraName = cl_camera["@name"]; + + // var cl_perspective = cl_camera.getElementsByTagName("perspective"); + // if (cl_perspective.length) { + // var perspective = cl_perspective[0]; + var cl_yfov = 0; + var cl_znear = 0; + var cl_zfar = 0; + + if (cl_camera.optics) if (cl_camera.optics.technique_common) if (cl_camera.optics.technique_common.perspective) { + cl_yfov = cl_camera.optics.technique_common.perspective.yfov; + cl_znear = cl_camera.optics.technique_common.perspective.znear; + cl_zfar = cl_camera.optics.technique_common.perspective.zfar; + } + + + var yfov; + var znear; + var zfar; + + if (!cl_yfov && !cl_znear && !cl_zfar) { + cl_params = cl_camera.param; + if (cl_params && !cl_params.length) cl_params = [cl_params]; + + for (i = 0, iMax = cl_params.length; i < iMax; i++) { + var txt = cl_params[i].$; + var pName = cl_params[i]["@name"]; + if (pName == "YFOV") { + yfov = parseFloat(txt); + } else if (pName == "ZNEAR") { + znear = parseFloat(txt); + } else if (pName == "ZFAR") { + zfar = parseFloat(txt); + } + } + } else { + yfov = cl_yfov ? parseFloat(cl_yfov.$) : 60; + znear = cl_znear ? parseFloat(cl_znear.$) : 0.1; + zfar = cl_zfar ? parseFloat(cl_zfar.$) : 1000.0; + } + + clib.cameras.push({ + id: cameraId, + targeted: false, + fov: parseFloat(yfov), + nearclip: parseFloat(znear), + farclip: parseFloat(zfar) + }); + } + } + + + var cl_lib_lights = cl_source.library_lights; + + if (cl_lib_lights) { + var cl_lights = cl_lib_lights.light; + if (cl_lights && !cl_lights.length) cl_lights = [cl_lights]; + + if (cl_lights) for (var lightCount = 0, lightMax = cl_lights.length; lightCount < lightMax; lightCount++) { + + var cl_light = cl_lights[lightCount]; + + var cl_point = cl_light.technique_common.point; + var cl_pointLight = cl_point ? cl_point : null; + + var lightId = cl_light["@id"]; + var lightName = cl_light["@name"]; + + if (cl_pointLight !== null) { + + var cl_intensity = cl_pointLight.intensity; + var intensity = cl_intensity ? parseFloat(cl_intensity.$) : 1.0; + var cl_distance = cl_pointLight.distance; + var distance = cl_distance ? parseFloat(cl_distance.$) : 10.0; + + var cl_color = cl_pointLight.color; + var color = [1, 1, 1]; + + if (cl_color) { + color = util.floatDelimArray(cl_color.$, " "); + } + + clib.lights.push({ + id: lightId, + name: lightId, + type: enums.light.type.POINT, + method: enums.light.method.STATIC, + diffuse: color, + specular: [0, 0, 0], + distance: distance, + intensity: intensity + }); + } + } + } + + var cl_lib_scenes = cl_source.library_visual_scenes; + + if (cl_lib_scenes) { + var cl_scenes = null; + + cl_scenes = cl_lib_scenes.visual_scene; + if (cl_scenes && !cl_scenes.length) cl_scenes = [cl_scenes]; + + for (var sceneCount = 0, sceneMax = cl_scenes.length; sceneCount < sceneMax; sceneCount++) { + + cl_scene = cl_scenes[sceneCount]; + + var sceneId = cl_scene["@id"]; + var sceneName = cl_scene["@name"]; + + var sceneData = { + id: sceneName, + sceneObjects: [], + cameras: [], + lights: [], + parentMap: [] + }; + + var nodeMap = {}; + + var cl_nodes = []; + var cl_stack = [cl_scene]; + + while (cl_stack.length) { + var ntemp = cl_stack.pop(); + if (ntemp.node) { + var nlist = ntemp.node; + if (nlist && !nlist.length) nlist = [nlist]; + + if (nlist) { + for (var i = 0, iMax = nlist.length; i < iMax; i++) { + nlist[i].parentNode = ntemp; + cl_nodes.push(nlist[i]); + cl_stack.push(nlist[i]); + } + } + } + } + + if (cl_nodes.length) { + for (var nodeCount = 0, nodeMax = cl_nodes.length; nodeCount < nodeMax; nodeCount++) { + var cl_node = cl_nodes[nodeCount]; + + var cl_geom = cl_node.instance_geometry; + var cl_light = cl_nodes[nodeCount].instance_light; + cl_camera = cl_nodes[nodeCount].instance_camera; + + var nodeId = cl_node["@id"]; + var nodeName = cl_node["@name"]; + + var it = collada_tools.cl_getInitalTransform(clib.up_axis, cl_node); + + if (up_axis === 2) { + it.rotation = collada_tools.quaternionFilterZYYZ(it.rotation, (cl_camera) ? [-90, 0, 0] : undef); + } + + var sceneObject = {}; + + if (cl_geom) { + meshName = cl_geom["@url"].substr(1); + + sceneObject.name = sceneObject.id = (nodeName) ? nodeName : nodeId; + + sceneObject.position = it.position; + sceneObject.rotation = it.rotation; + sceneObject.scale = it.scale; + sceneObject.meshId = meshName; + + sceneData.sceneObjects.push(sceneObject); + + nodeMap[sceneObject.id] = true;; + + if (cl_node.parentNode) { + var parentNodeId = cl_node.parentNode["@id"]; + var parentNodeName = cl_node.parentNode["@name"]; + if (parentNodeId) { + + if (nodeMap[parentNodeId]) { + sceneData.parentMap.push({ + parent: parentNodeId, + child: sceneObject.id + }); + } + } + } + } else if (cl_camera) { + var cam_instance = cl_camera; + + var camRefId = cam_instance["@url"].substr(1); + + sceneData.cameras.push({ + name: (nodeName) ? nodeName : nodeId, + id: (nodeName) ? nodeName : nodeId, + source: camRefId, + position: it.position, + rotation: it.rotation + }); + + + } else if (cl_light) { + + var lightRefId = cl_light["@url"].substr(1); + + sceneData.lights.push({ + name: (nodeName) ? nodeName : nodeId, + id: (nodeName) ? nodeName : nodeId, + source: lightRefId, + position: it.position + }); + + } else { + sceneData.sceneObjects.push({ + id: (nodeName !== null) ? nodeName : nodeId, + name: (nodeName !== null) ? nodeName : nodeId, + position: it.position, + rotation: it.rotation, + scale: it.scale + }); + + } + + } + } + + clib.scenes.push(sceneData); + } + } + + + var cl_lib_anim = cl_source.library_animations; + + var animId; + if (cl_lib_anim) { + var cl_anim_sources = cl_lib_anim.animation; + if (cl_anim_sources && !cl_anim_sources.length) cl_anim_sources = [cl_anim_sources]; + + if (cl_anim_sources) { + for (var aCount = 0, aMax = cl_anim_sources.length; aCount < aMax; aCount++) { + var cl_anim = cl_anim_sources[aCount]; + + animId = cl_anim["@id"]; + var animName = cl_anim["@name"]; + + clib.animations[animId] = {}; + clib.animations[animId].sources = []; + + var cl_sources = cl_anim.source; + if (cl_sources && !cl_sources.length) cl_sources = [cl_sources]; + + if (cl_sources.length) { + for (sCount = 0, sMax = cl_sources.length; sCount < sMax; sCount++) { + var cl_csource = cl_sources[sCount]; + + sourceId = cl_csource["@id"]; + + + var tech_common = cl_csource.technique_common; + + var name_array = null; + var float_array = null; + var data = null; + + if (cl_csource.name_array) { + name_array = util.textDelimArray(cl_csource.name_array.$, " "); + } else if (cl_csource.Name_array) { + name_array = util.textDelimArray(cl_csource.Name_array.$, " "); + } else if (cl_csource.float_array) { + float_array = util.floatDelimArray(cl_csource.float_array.$, " "); + } + + var acCount = 0; + var acSource = ""; + var acStride = 1; + + if (tech_common) { + tech = tech_common; + var acc = tech.accessor; + + acCount = parseInt(acc["@count"], 10); + acSource = acc["@source"].substr(1); + var aStride = acc["@stride"]; + + if (aStride) { + acStride = parseInt(aStride, 10); + } + } + + clib.animations[animId].sources[sourceId] = { + data: name_array ? name_array : float_array, + count: acCount, + source: acSource, + stride: acStride + }; + + if (acStride !== 1) { + clib.animations[animId].sources[sourceId].data = util.repackArray(clib.animations[animId].sources[sourceId].data, acStride, acCount); + } + } + } + + cl_samplers = cl_anim.sampler; + if (cl_samplers && !cl_samplers.length) cl_samplers = [cl_samplers]; + + if (cl_samplers) { + clib.animations[animId].samplers = []; + + for (sCount = 0, sMax = cl_samplers.length; sCount < sMax; sCount++) { + var cl_sampler = cl_samplers[sCount]; + + var samplerId = cl_sampler["@id"]; + + cl_inputs = cl_sampler.input; + + if (cl_inputs && !cl_inputs.length) cl_inputs = [cl_inputs]; + + if (cl_inputs) { + var inputs = []; + + for (iCount = 0, iMax = cl_inputs.length; iCount < iMax; iCount++) { + cl_input = cl_inputs[iCount]; + + var semanticName = cl_input["@semantic"]; + + inputs[semanticName] = cl_input["@source"].substr(1); + } + + clib.animations[animId].samplers[samplerId] = inputs; + } + } + } + + var cl_channels = cl_anim.channel; + if (cl_channels && !cl_channels.length) cl_channels = [cl_channels]; + + + if (cl_channels) { + clib.animations[animId].channels = []; + + for (cCount = 0, cMax = cl_channels.length; cCount < cMax; cCount++) { + var channel = cl_channels[cCount]; + + var channelSource = channel["@source"].substr(1); + var channelTarget = channel["@target"]; + + var channelSplitA = channelTarget.split("/"); + var channelTargetName = channelSplitA[0]; + var channelSplitB = channelSplitA[1].split("."); + var channelParam = channelSplitB[0]; + var channelType = channelSplitB[1]; + + clib.animations[animId].channels.push({ + source: channelSource, + target: channelTarget, + targetName: channelTargetName, + paramName: channelParam, + typeName: channelType + }); + } + } + } + } + } + + var cl_lib_scene = cl_source.scene; + + if (cl_lib_scene) { + cl_scene = cl_lib_scene.instance_visual_scene; + + if (cl_scene) { + var sceneUrl = cl_scene["@url"].substr(1); + clib.scene = sceneUrl; + } + } + + + return clib; +} + + +function cubicvr_loadCollada(meshUrl, prefix, deferred_bin) { + + var clib = cubicvr_parseCollada(meshUrl, prefix, deferred_bin); + + var up_axis = clib.up_axis; + + var materialRef = []; + + for (var m = 0, mMax = clib.materials.length; m < mMax; m++) { + + var material = clib.materials[m]; + var newMaterial = new Material(material.mat); + + for (var t = 0, tMax = material.mat.textures_ref.length; t < tMax; t++) { + var tex = material.mat.textures_ref[t]; + + var texObj = null; + + if (Texture_ref[tex.image] === undefined) { + texObj = new Texture(tex.image, GLCore.default_filter, deferred_bin, meshUrl); + } else { + texObj = Textures_obj[Texture_ref[tex.image]]; + } + + newMaterial.setTexture(texObj, tex.type); + } + + materialRef[material.id] = newMaterial; + } + + + var meshRef = []; + + for (var m = 0, mMax = clib.meshes.length; m < mMax; m++) { + + var meshData = clib.meshes[m]; + + var newObj = new Mesh(meshData.id); + + newObj.points = meshData.points; + + for (var mp = 0, mpMax = meshData.parts.length; mp < mpMax; mp++) { + var part = meshData.parts[mp]; + + if (part.material !== 0) { + newObj.setFaceMaterial(materialRef[part.material]); + } + + var bNorm = part.normals.length ? true : false; + var bTex = part.texcoords.length ? true : false; + + for (var p = 0, pMax = part.faces.length; p < pMax; p++) { + var faceNum = newObj.addFace(part.faces[p]); + if (bNorm) newObj.faces[faceNum].point_normals = part.normals[p]; + if (bTex) newObj.faces[faceNum].uvs = part.texcoords[p]; + } + } + + // newObj.calcNormals(); + if (!deferred_bin) { + newObj.triangulateQuads(); + newObj.compile(); + } else { + deferred_bin.addMesh(meshUrl, meshUrl + ":" + meshId, newObj); + } + + meshRef[meshData.id] = newObj; + } + + + var camerasRef = []; + + for (var c = 0, cMax = clib.cameras.length; c < cMax; c++) { + camerasRef[clib.cameras[c].id] = clib.cameras[c]; + } + + + var lightsRef = []; + + for (var l = 0, lMax = clib.lights.length; l < lMax; l++) { + lightsRef[clib.lights[l].id] = clib.lights[l]; + } + + + + var sceneObjectMap = {}; + var sceneLightMap = {}; + var sceneCameraMap = {}; + + var scenesRef = {}; + + for (var s = 0, sMax = clib.scenes.length; s < sMax; s++) { + var scn = clib.scenes[s]; + + var newScene = new CubicVR.Scene(); + + for (var so = 0, soMax = scn.sceneObjects.length; so < soMax; so++) { + var sceneObj = scn.sceneObjects[so]; + var newSceneObject = new SceneObject(sceneObj); + var srcMesh = meshRef[sceneObj.meshId] || null; + newSceneObject.obj = srcMesh; + + sceneObjectMap[sceneObj.id] = newSceneObject; + newScene.bindSceneObject(newSceneObject); + } + + for (var l = 0, lMax = scn.lights.length; l < lMax; l++) { + var lt = scn.lights[l]; + + var newLight = new Light(lightsRef[lt.source]); + newLight.position = lt.position; + + sceneLightMap[lt.id] = newLight; + newScene.bindLight(newLight); + } + + if (scn.cameras.length) { // single camera for the moment until we support it + var cam = scn.cameras[0]; + var newCam = new Camera(camerasRef[cam.source]); + newCam.position = cam.position; + newCam.rotation = cam.rotation; + + sceneCameraMap[cam.id] = newCam; + newScene.camera = newCam; + } + for (var p = 0, pMax = scn.parentMap.length; p < pMax; p++) { + var pmap = scn.parentMap[p]; + sceneObjectMap[pmap.parent].bindChild(sceneObjectMap[pmap.child]); + } + + scenesRef[scn.id] = newScene; + } + + + + for (animId in clib.animations) { + if (clib.animations.hasOwnProperty(animId)) { + var anim = clib.animations[animId]; + + if (anim.channels.length) { + for (cCount = 0, cMax = anim.channels.length; cCount < cMax; cCount++) { + var chan = anim.channels[cCount]; + var sampler = anim.samplers[chan.source]; + var samplerInput = anim.sources[sampler["INPUT"]]; + var samplerOutput = anim.sources[sampler["OUTPUT"]]; + var samplerInterp = anim.sources[sampler["INTERPOLATION"]]; + var samplerInTangent = anim.sources[sampler["IN_TANGENT"]]; + var samplerOutTangent = anim.sources[sampler["OUT_TANGENT"]]; + var hasInTangent = (sampler["IN_TANGENT"] !== undef); + var hasOutTangent = (sampler["OUT_TANGENT"] !== undef); + var mtn = null; + + var targetSceneObject = sceneObjectMap[chan.targetName]; + var targetCamera = sceneCameraMap[chan.targetName]; + var targetLight = sceneLightMap[chan.targetName]; + + if (targetSceneObject) { + if (targetSceneObject.motion === null) { + targetSceneObject.motion = new Motion(); + } + mtn = targetSceneObject.motion; + } else if (targetCamera) { + if (targetCamera.motion === null) { + targetCamera.motion = new Motion(); + } + + mtn = targetCamera.motion; + } else if (targetLight) { + if (targetLight.motion === null) { + targetLight.motion = new Motion(); + } + + mtn = targetLight.motion; + } + // else + // { + // console.log("missing",chan.targetName); + // console.log("missing",chan.paramName); + // } + if (mtn === null) { + continue; + } + + var controlTarget = enums.motion.POS; + var motionTarget = enums.motion.X; + + if (up_axis === 2) { + mtn.yzflip = true; + } + + var pName = chan.paramName; + + if (pName === "rotateX" || pName === "rotationX") { + controlTarget = enums.motion.ROT; + motionTarget = enums.motion.X; + } else if (pName === "rotateY" || pName === "rotationY") { + controlTarget = enums.motion.ROT; + motionTarget = enums.motion.Y; + } else if (pName === "rotateZ" || pName === "rotationZ") { + controlTarget = enums.motion.ROT; + motionTarget = enums.motion.Z; + } else if (pName === "location") { + controlTarget = enums.motion.POS; + if (chan.typeName === "X") { + motionTarget = enums.motion.X; + } + if (chan.typeName === "Y") { + motionTarget = enums.motion.Y; + } + if (chan.typeName === "Z") { + motionTarget = enums.motion.Z; + } + } else if (pName === "translate") { + controlTarget = enums.motion.POS; + if (chan.typeName === "X") { + motionTarget = enums.motion.X; + } + if (chan.typeName === "Y") { + motionTarget = enums.motion.Y; + } + if (chan.typeName === "Z") { + motionTarget = enums.motion.Z; + } + } else if (pName === "LENS") { + // controlTarget = enums.motion.LENS; + // motionTarget = 4; + controlTarget = 10; + motionTarget = 10; + continue; // disabled, only here for temporary collada files + } else if (pName === "FOV") { + controlTarget = enums.motion.FOV; + motionTarget = 3; // ensure no axis fixes are applied + } else if (pName === "ZNEAR") { + controlTarget = enums.motion.NEARCLIP; + motionTarget = 3; // ensure no axis fixes are applied + } else if (pName === "ZFAR") { + controlTarget = enums.motion.FARCLIP; + motionTarget = 3; // ensure no axis fixes are applied + } else if (pName === "intensity") { + controlTarget = enums.motion.INTENSITY; + motionTarget = 3; // ensure no axis fixes are applied + } + + if (targetLight && controlTarget < 3) targetLight.method = enums.light.method.DYNAMIC; + + // if (up_axis === 2 && motionTarget === enums.motion.Z) motionTarget = enums.motion.Y; + // else if (up_axis === 2 && motionTarget === enums.motion.Y) motionTarget = enums.motion.Z; + // + var ival; + for (mCount = 0, mMax = samplerInput.data.length; mCount < mMax; mCount++) { // in the process of being deprecated + k = null; + + if (typeof(samplerOutput.data[mCount]) === 'object') { + for (i = 0, iMax = samplerOutput.data[mCount].length; i < iMax; i++) { + ival = i; + + if (up_axis === 2 && i === 2) { + ival = 1; + } else if (up_axis === 2 && i === 1) { + ival = 2; + } + + k = mtn.setKey(controlTarget, ival, samplerInput.data[mCount], collada_tools.fixukaxis(clib.up_axis, controlTarget, ival, samplerOutput.data[mCount][i])); + + if (samplerInterp) { + var pInterp = samplerInterp.data[mCount][i]; + if (pInterp === "LINEAR") { + k.shape = enums.envelope.shape.LINE; + } else if (pInterp === "BEZIER") { + if (!(hasInTangent || hasOutTangent)) { + k.shape = enums.envelope.shape.LINEAR; + } else { + k.shape = enums.envelope.shape.BEZI; + } + } + } + } + } else { + ival = motionTarget; + ofs = 0; + + if (targetCamera) { + if (controlTarget === enums.motion.ROT) { + if (up_axis === 2 && ival === 0) { + ofs = -90; + } + } + } + + if (controlTarget === enums.motion.ROT) { + k = mtn.setKey(controlTarget, ival, samplerInput.data[mCount], samplerOutput.data[mCount] + ofs); + } else { + if (up_axis === 2 && motionTarget === 2) { + ival = 1; + } else if (up_axis === 2 && motionTarget === 1) { + ival = 2; + } + + k = mtn.setKey(controlTarget, ival, samplerInput.data[mCount], collada_tools.fixukaxis(clib.up_axis, controlTarget, ival, samplerOutput.data[mCount])); + } + + if (samplerInterp) { + var pInterp = samplerInterp.data[mCount]; + if (pInterp === "LINEAR") { + k.shape = enums.envelope.shape.LINE; + } else if (pInterp === "BEZIER") { + if (!(hasInTangent || hasOutTangent)) { + k.shape = enums.envelope.shape.LINEAR; + k.continutity = 1.0; + } else { + k.shape = enums.envelope.shape.BEZ2; + + var itx = samplerInTangent.data[mCount][0], + ity; + var otx = samplerOutTangent.data[mCount][0], + oty; + + if (controlTarget === enums.motion.ROT) { + ity = samplerInTangent.data[mCount][1]; + oty = samplerOutTangent.data[mCount][1]; + + // k.value = k.value/10; + // mtn.rscale = 10; + k.param[0] = itx - k.time; + k.param[1] = ity - k.value + ofs; + k.param[2] = otx - k.time; + k.param[3] = oty - k.value + ofs; + } else { + ity = collada_tools.fixukaxis(clib.up_axis, controlTarget, ival, samplerInTangent.data[mCount][1]); + oty = collada_tools.fixukaxis(clib.up_axis, controlTarget, ival, samplerOutTangent.data[mCount][1]); + + k.param[0] = itx - k.time; + k.param[1] = ity - k.value; + k.param[2] = otx - k.time; + k.param[3] = oty - k.value; + } + + } + } + } + } + } + } + } + } + } + + + + var sceneRef = null; + + if (clib.scene) { + sceneRef = scenesRef[clib.scene]; + } else { + sceneRef = scenesRef.pop(); + } + + + return sceneRef; +} + +function GML(srcUrl) { + this.strokes = []; + this.bounds = [1, 1, 1]; + this.origin = [0, 0, 0]; + this.upvector = [0, 1, 0]; + this.viewvector = [0, 0, 1]; + this.manual_pos = 0; + + if (srcUrl === undef) { + return; + } + + var gml = util.getXML(srcUrl); + + var gml_header = gml.getElementsByTagName("header"); + + if (!gml_header.length) { + return null; + } + + var header = gml_header[0]; + + var gml_environment = gml.getElementsByTagName("environment"); + + + if (!gml_environment.length) { + return null; + } + + this.name = null; + + var gml_name = header.getElementsByTagName("name"); + + if (gml_name.length) { + this.name = util.collectTextNode(gml_name[0]); + } + + var gml_screenbounds = gml_environment[0].getElementsByTagName("screenBounds"); + + if (gml_screenbounds.length) { + this.bounds = [ + parseFloat(util.collectTextNode(gml_screenbounds[0].getElementsByTagName("x")[0])), + parseFloat(util.collectTextNode(gml_screenbounds[0].getElementsByTagName("y")[0])), + parseFloat(util.collectTextNode(gml_screenbounds[0].getElementsByTagName("z")[0])) + ]; + } + + var gml_origin = gml_environment[0].getElementsByTagName("origin"); + + if (gml_origin.length) { + this.origin = [ + parseFloat(util.collectTextNode(gml_origin[0].getElementsByTagName("x")[0])), + parseFloat(util.collectTextNode(gml_origin[0].getElementsByTagName("y")[0])), + parseFloat(util.collectTextNode(gml_origin[0].getElementsByTagName("z")[0])) + ]; + } + + var gml_upvector = gml_environment[0].getElementsByTagName("up"); + + if (gml_upvector.length) { + this.upvector = [ + parseFloat(util.collectTextNode(gml_upvector[0].getElementsByTagName("x")[0])), + parseFloat(util.collectTextNode(gml_upvector[0].getElementsByTagName("y")[0])), + parseFloat(util.collectTextNode(gml_upvector[0].getElementsByTagName("z")[0])) + ]; + } + + var gml_drawings = gml.getElementsByTagName("drawing"); + + var drawings = []; + + for (var dCount = 0, dMax = gml_drawings.length; dCount < dMax; dCount++) { + var drawing = gml_drawings[dCount]; + var gml_strokes = drawing.getElementsByTagName("stroke"); + + var xm = 0, + ym = 0, + zm = 0, + tm = 0; + + for (var sCount = 0, sMax = gml_strokes.length; sCount < sMax; sCount++) { + var gml_stroke = gml_strokes[sCount]; + var gml_points = gml_stroke.getElementsByTagName("pt"); + var plen = gml_points.length; + + var points = new Array(plen); + var px, py, pz, pt; + + for (var pCount = 0, pMax = plen; pCount < pMax; pCount++) { + var gml_point = gml_points[pCount]; + + px = parseFloat(util.collectTextNode(gml_point.getElementsByTagName("x")[0])); + py = parseFloat(util.collectTextNode(gml_point.getElementsByTagName("y")[0])); + pz = parseFloat(util.collectTextNode(gml_point.getElementsByTagName("z")[0])); + pt = parseFloat(util.collectTextNode(gml_point.getElementsByTagName("time")[0])); + + if (this.upvector[0] === 1) { + points[pCount] = [(py !== py) ? 0 : py, (px !== px) ? 0 : -px, (pz !== pz) ? 0 : pz, pt]; + } else if (this.upvector[1] === 1) { + points[pCount] = [(px !== px) ? 0 : px, (py !== py) ? 0 : py, (pz !== pz) ? 0 : pz, pt]; + } else if (this.upvector[2] === 1) { + points[pCount] = [(px !== px) ? 0 : px, (pz !== pz) ? 0 : -pz, (py !== py) ? 0 : py, pt]; + } + + if (xm < px) { + xm = px; + } + if (ym < py) { + ym = py; + } + if (zm < pz) { + zm = pz; + } + if (tm < pt) { + tm = pt; + } + } + + if (zm > tm) { // fix swapped Z/Time + for (var i = 0, iMax = points.length; i < iMax; i++) { + var t = points[i][3]; + points[i][3] = points[i][2]; + points[i][2] = t / this.bounds[2]; + } + } + + this.strokes[sCount] = points; + } + } +} + +GML.prototype.addStroke = function(points, tstep) { + var pts = []; + + if (tstep === undef) { + tstep = 0.1; + } + + for (var i = 0, iMax = points.length; i < iMax; i++) { + var ta = [points[i][0], points[i][1], points[i][2]]; + this.manual_pos += tstep; + ta.push(this.manual_pos); + pts.push(ta); + } + + this.strokes.push(pts); +}; + + +GML.prototype.recenter = function() { + var min = [0, 0, 0]; + var max = [this.strokes[0][0][0], this.strokes[0][0][1], this.strokes[0][0][2]]; + + var i, iMax, s, sMax; + + for (s = 0, sMax = this.strokes.length; s < sMax; s++) { + for (i = 0, iMax = this.strokes[s].length; i < iMax; i++) { + if (min[0] > this.strokes[s][i][0]) { + min[0] = this.strokes[s][i][0]; + } + if (min[1] > this.strokes[s][i][1]) { + min[1] = this.strokes[s][i][1]; + } + if (min[2] > this.strokes[s][i][2]) { + min[2] = this.strokes[s][i][2]; + } + + if (max[0] < this.strokes[s][i][0]) { + max[0] = this.strokes[s][i][0]; + } + if (max[1] < this.strokes[s][i][1]) { + max[1] = this.strokes[s][i][1]; + } + if (max[2] < this.strokes[s][i][2]) { + max[2] = this.strokes[s][i][2]; + } + } + } + + var center = vec3.multiply(vec3.subtract(max, min), 0.5); + + for (s = 0, sMax = this.strokes.length; s < sMax; s++) { + for (i = 0, iMax = this.strokes[s].length; i < iMax; i++) { + this.strokes[s][i][0] = this.strokes[s][i][0] - center[0]; + this.strokes[s][i][1] = this.strokes[s][i][1] - (this.upvector[1] ? center[1] : (-center[1])); + this.strokes[s][i][2] = this.strokes[s][i][2] - center[2]; + } + } +}; + +GML.prototype.generateObject = function(seg_mod, extrude_depth, pwidth, divsper, do_zmove) { + if (seg_mod === undef) { + seg_mod = 0; + } + if (extrude_depth === undef) { + extrude_depth = 0; + } + if (do_zmove === undef) { + do_zmove = false; + } + + + + // temporary defaults + var divs = 3; +// var divsper = 0.02; + + if (divsper === undef) divsper = 0.02; +// var pwidth = 0.015; + + if (pwidth === undef) pwidth = 0.015; + + var extrude = extrude_depth !== 0; + + var segCount = 0; + var faceSegment = 0; + + var obj = new Mesh(this.name); + + var lx, ly, lz, lt; + + var i, iMax, pCount; + + for (var sCount = 0, sMax = this.strokes.length; sCount < sMax; sCount++) { + var strokeEnvX = new Envelope(); + var strokeEnvY = new Envelope(); + var strokeEnvZ = new Envelope(); + + var pMax = this.strokes[sCount].length; + + var d = 0; + var len_set = []; + var time_set = []; + var start_time = 0; + var strk = this.strokes[sCount]; + + for (pCount = 0; pCount < pMax; pCount++) { + var pt = strk[pCount]; + + var k1 = strokeEnvX.addKey(pt[3], pt[0]); + var k2 = strokeEnvY.addKey(pt[3], pt[1]); + var k3; + + if (do_zmove) { + k3 = strokeEnvZ.addKey(pt[3], pt[2]); + } + else { + k3 = strokeEnvZ.addKey(pt[3], 0); + } + + k1.tension = 0.5; + k2.tension = 0.5; + k3.tension = 0.5; + + if (pCount !== 0) { + var dx = pt[0] - lx; + var dy = pt[1] - ly; + var dz = pt[2] - lz; + var dt = pt[3] - lt; + var dlen = Math.sqrt(dx * dx + dy * dy + dz * dz); + + d += dlen; + + len_set[pCount-1] = dlen; + time_set[pCount-1] = dt; + } else { + start_time = pt[3]; + } + + lx = pt[0]; + ly = pt[1]; + lz = pt[2]; + lt = pt[3]; + } + + var dpos = start_time; + var ptofs = obj.points.length; + + for (pCount = 0; pCount < len_set.length; pCount++) { + var segLen = len_set[pCount]; + var segTime = time_set[pCount]; + var segNum = Math.ceil((segLen / divsper) * divs); + + for (var t = dpos, tMax = dpos + segTime, tInc = (segTime / segNum); t < (tMax - tInc); t += tInc) { + if (t === dpos) { + lx = strokeEnvX.evaluate(t); + ly = strokeEnvY.evaluate(t); + lz = strokeEnvZ.evaluate(t); + } + + var px, py, pz; + + px = strokeEnvX.evaluate(t + tInc); + py = strokeEnvY.evaluate(t + tInc); + pz = strokeEnvZ.evaluate(t + tInc); + + var pdx = (px - lx), + pdy = py - ly, + pdz = pz - lz; + var pd = Math.sqrt(pdx * pdx + pdy * pdy + pdz * pdz); + var a; + + a = vec3.multiply( + vec3.normalize( + vec3.cross(this.viewvector, vec3.normalize([pdx, pdy, pdz]))), pwidth / 2.0); + + obj.addPoint([lx - a[0], -(ly - a[1]), (lz - a[2]) + (extrude ? (extrude_depth / 2.0) : 0)]); + obj.addPoint([lx + a[0], -(ly + a[1]), (lz + a[2]) + (extrude ? (extrude_depth / 2.0) : 0)]); + + lx = px; + ly = py; + lz = pz; + } + + dpos += segTime; + } + + var ptlen = obj.points.length; + + if (extrude) { + for (i = ptofs, iMax = ptlen; i < iMax; i++) { + obj.addPoint([obj.points[i][0], obj.points[i][1], obj.points[i][2] - (extrude ? (extrude_depth / 2.0) : 0)]); + } + } + + for (i = 0, iMax = ptlen - ptofs; i <= iMax - 4; i += 2) { + if (segCount % seg_mod === 0) { + faceSegment++; + } + + obj.setSegment(faceSegment); + + var arFace = [ptofs + i, ptofs + i + 1, ptofs + i + 3, ptofs + i + 2]; + // var ftest = vec3.dot(this.viewvector, triangle.normal(obj.points[arFace[0]], obj.points[arFace[1]], obj.points[arFace[2]])); + + var faceNum = obj.addFace(arFace); + + // if (ftest < 0) { + // this.faces[faceNum].flip(); + // } + + if (extrude) { + var arFace2 = [arFace[3] + ptlen - ptofs, arFace[2] + ptlen - ptofs, arFace[1] + ptlen - ptofs, arFace[0] + ptlen - ptofs]; + faceNum = obj.addFace(arFace2); + + arFace2 = [ptofs + i, ptofs + i + 2, ptofs + i + 2 + ptlen - ptofs, ptofs + i + ptlen - ptofs]; + faceNum = obj.addFace(arFace2); + + arFace2 = [ptofs + i + 1 + ptlen - ptofs, ptofs + i + 3 + ptlen - ptofs, ptofs + i + 3, ptofs + i + 1]; + faceNum = obj.addFace(arFace2); + + if (i === 0) { + arFace2 = [ptofs + i + ptlen - ptofs, ptofs + i + 1 + ptlen - ptofs, ptofs + i + 1, ptofs + i]; + faceNum = obj.addFace(arFace2); + } + if (i === iMax - 4) { + arFace2 = [ptofs + i + 2, ptofs + i + 3, ptofs + i + 3 + ptlen - ptofs, ptofs + i + 2 + ptlen - ptofs]; + faceNum = obj.addFace(arFace2); + } + } + + segCount++; + } + } + + + obj.calcFaceNormals(); + + obj.triangulateQuads(); + obj.calcNormals(); + obj.compile(); + + return obj; +}; + + +/* Particle System */ + +function Particle(pos, start_time, life_time, velocity, accel) { + this.startpos = new Float32Array(pos); + this.pos = new Float32Array(pos); + this.velocity = new Float32Array((velocity !== undef) ? velocity : [0, 0, 0]); + this.accel = new Float32Array((accel !== undef) ? accel : [0, 0, 0]); + this.start_time = (start_time !== undef) ? start_time : 0; + this.life_time = (life_time !== undef) ? life_time : 0; + this.color = null; + this.nextParticle = null; +} + + +function ParticleSystem(maxPts, hasColor, pTex, vWidth, vHeight, alpha, alphaCut) { + var gl = GLCore.gl; + + if (!maxPts) { + return; + } + + this.particles = null; + this.last_particle = null; + this.pTex = (pTex !== undef) ? pTex : null; + this.vWidth = vWidth; + this.vHeight = vHeight; + this.alpha = (alpha !== undef) ? alpha : false; + this.alphaCut = (alphaCut !== undef) ? alphaCut : 0; + + this.pfunc = function(p, time) { + var tdelta = time - p.start_time; + + if (tdelta < 0) { + return 0; + } + if (tdelta > p.life_time && p.life_time) { + return -1; + } + + p.pos[0] = p.startpos[0] + (tdelta * p.velocity[0]) + (tdelta * tdelta * p.accel[0]); + p.pos[1] = p.startpos[1] + (tdelta * p.velocity[1]) + (tdelta * tdelta * p.accel[1]); + p.pos[2] = p.startpos[2] + (tdelta * p.velocity[2]) + (tdelta * tdelta * p.accel[2]); + + if (this.pgov !== null) { + this.pgov(p, time); + } + + return 1; + }; + + this.pgov = null; + + if (hasColor === undef) { + this.hasColor = false; + } else { + this.hasColor = hasColor; + } + + // gl.enable(gl.VERTEX_PROGRAM_POINT_SIZE); + var hasTex = (this.pTex !== null); + + this.vs = [ + "#ifdef GL_ES", + "precision highp float;", + "#endif", + "attribute vec3 aVertexPosition;", + this.hasColor ? "attribute vec3 aColor;" : "", + "uniform mat4 uMVMatrix;", + "uniform mat4 uPMatrix;", + "varying vec4 color;", + "varying vec2 screenPos;", + hasTex ? "varying float pSize;" : "", + "void main(void) {", + "vec4 position = uPMatrix * uMVMatrix * vec4(aVertexPosition,1.0);", + hasTex ? "screenPos=vec2(position.x/position.w,position.y/position.w);" : "", + "gl_Position = position;", + this.hasColor ? "color = vec4(aColor.r,aColor.g,aColor.b,1.0);" : "color = vec4(1.0,1.0,1.0,1.0);", + hasTex ? "pSize=200.0/position.z;" : "float pSize=200.0/position.z;", + "gl_PointSize = pSize;", + "}"].join("\n"); + + this.fs = [ + "#ifdef GL_ES", + "precision highp float;", + "#endif", + + hasTex ? "uniform sampler2D pMap;" : "", + + + "varying vec4 color;", + hasTex ? "varying vec2 screenPos;" : "", + hasTex ? "uniform vec3 screenDim;" : "", + hasTex ? "varying float pSize;" : "", + + "void main(void) {", + "vec4 c = color;", + hasTex ? "vec2 screen=vec2((gl_FragCoord.x/screenDim.x-0.5)*2.0,(gl_FragCoord.y/screenDim.y-0.5)*2.0);" : "", + hasTex ? "vec2 pointCoord=vec2( ((screen.x-screenPos.x)/(pSize/screenDim.x))/2.0+0.5,((screen.y-screenPos.y)/(pSize/screenDim.y))/2.0+0.5);" : "", + hasTex ? "vec4 tc = texture2D(pMap,pointCoord); gl_FragColor = vec4(c.rgb*tc.rgb,1.0);" : "gl_FragColor = c;", + "}"].join("\n"); + + this.maxPoints = maxPts; + this.numParticles = 0; + this.arPoints = new Float32Array(maxPts * 3); + this.glPoints = null; + + if (hasColor) { + this.arColor = new Float32Array(maxPts * 3); + this.glColor = null; + } + + this.shader_particle = new Shader(this.vs, this.fs); + this.shader_particle.use(); + this.shader_particle.addVertexArray("aVertexPosition"); + + if (this.hasColor) { + this.shader_particle.addVertexArray("aColor"); + } + + this.shader_particle.addMatrix("uMVMatrix"); + this.shader_particle.addMatrix("uPMatrix"); + + if (this.pTex !== null) { + this.shader_particle.addInt("pMap", 0); + this.shader_particle.addVector("screenDim"); + this.shader_particle.setVector("screenDim", [vWidth, vHeight, 0]); + } + + this.genBuffer(); +} + + +ParticleSystem.prototype.resizeView = function(vWidth, vHeight) { + this.vWidth = vWidth; + this.vHeight = vHeight; + + if (this.pTex !== null) { + this.shader_particle.addVector("screenDim"); + this.shader_particle.setVector("screenDim", [vWidth, vHeight, 0]); + } +}; + + +ParticleSystem.prototype.addParticle = function(p) { + if (this.last_particle === null) { + this.particles = p; + this.last_particle = p; + } else { + this.last_particle.nextParticle = p; + this.last_particle = p; + } +}; + +ParticleSystem.prototype.genBuffer = function() { + var gl = GLCore.gl; + + this.glPoints = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, this.glPoints); + gl.bufferData(gl.ARRAY_BUFFER, this.arPoints, gl.DYNAMIC_DRAW); + + if (this.hasColor) { + this.glColor = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, this.glColor); + gl.bufferData(gl.ARRAY_BUFFER, this.arColor, gl.DYNAMIC_DRAW); + } +}; + +ParticleSystem.prototype.updatePoints = function() { + var gl = GLCore.gl; + + // buffer update + gl.bindBuffer(gl.ARRAY_BUFFER, this.glPoints); + gl.bufferData(gl.ARRAY_BUFFER, this.arPoints, gl.DYNAMIC_DRAW); + // end buffer update +}; + +ParticleSystem.prototype.updateColors = function() { + var gl = GLCore.gl; + + if (!this.hasColor) { + return; + } + // buffer update + gl.bindBuffer(gl.ARRAY_BUFFER, this.glColor); + gl.bufferData(gl.ARRAY_BUFFER, this.arColor, gl.DYNAMIC_DRAW); + // end buffer update +}; + +ParticleSystem.prototype.draw = function(modelViewMat, projectionMat, time) { + var gl = GLCore.gl; + + this.shader_particle.use(); + + if (this.pTex !== null) { + this.pTex.use(gl.TEXTURE0); + } + + this.shader_particle.setMatrix("uMVMatrix", modelViewMat); + this.shader_particle.setMatrix("uPMatrix", projectionMat); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + + gl.bindBuffer(gl.ARRAY_BUFFER, this.glPoints); + gl.vertexAttribPointer(this.shader_particle.uniforms["aVertexPosition"], 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(this.shader_particle.uniforms["aVertexPosition"]); + + if (this.hasColor) { + gl.bindBuffer(gl.ARRAY_BUFFER, this.glColor); + gl.vertexAttribPointer(this.shader_particle.uniforms["aColor"], 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(this.shader_particle.uniforms["aColor"]); + } + + if (time === undef) { + time = 0; + } + + if (this.particles === null) { + gl.disable(gl.BLEND); + return; + } + + var p = this.particles; + var lp = null; + + + this.numParticles = 0; + + var c = 0; + + while (p !== null) { + var ofs = this.numParticles * 3; + var pf = this.pfunc(p, time); + + if (pf === 1) { + this.arPoints[ofs] = p.pos[0]; + this.arPoints[ofs + 1] = p.pos[1]; + this.arPoints[ofs + 2] = p.pos[2]; + + if (p.color !== null && this.arColor !== undef) { + this.arColor[ofs] = p.color[0]; + this.arColor[ofs + 1] = p.color[1]; + this.arColor[ofs + 2] = p.color[2]; + } + + this.numParticles++; + c++; + if (this.numParticles === this.maxPoints) { + break; + } + } else if (pf === -1) // particle death + { + if (lp !== null) { + lp.nextParticle = p.nextParticle; + } + } + else if (pf === 0) { + c++; + } + + lp = p; + p = p.nextParticle; + } + + if (!c) { + this.particles = null; + this.last_particle = null; + } + + this.updatePoints(); + if (this.hasColor) { + this.updateColors(); + } + + if (this.alpha) { + gl.enable(gl.BLEND); + gl.enable(gl.DEPTH_TEST); + gl.depthMask(0); + gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_COLOR); + } + + gl.drawArrays(gl.POINTS, 0, this.numParticles); + + if (this.alpha) { + // gl.enable(gl.DEPTH_TEST); + gl.disable(gl.BLEND); + gl.depthMask(1); + gl.blendFunc(gl.ONE, gl.ONE); + } + + if (this.hasColor) { + gl.disableVertexAttribArray(this.shader_particle.uniforms["aColor"]); + } +}; + +/* SkyBox */ + +function SkyBox(in_obj) { + var texture = in_obj.texture; + var mapping = in_obj.mapping; + + var that = this; + + this.mapping = null; + this.ready = false; + this.texture = null; + + this.onready = function() { + texture.onready = null; + var tw = 1/Images[that.texture.tex_id].width; + var th = 1/Images[that.texture.tex_id].height; + if (that.mapping === null) { + that.mapping = [[1/3, 0.5, 2/3-tw, 1],//top + [0, 0.5, 1/3, 1], //bottom + [0, 0, 1/3-tw, 0.5], //left + [2/3, 0, 1, 0.5], //right + [2/3+tw, 0.5, 1, 1], //front + [1/3, 0, 2/3, 0.5]]; //back + } //if + + var mat = new Material("skybox"); + var obj = new Mesh(); + obj.sky_mapping = that.mapping; + cubicvr_boxObject(obj, 1, mat); + obj.calcNormals(); + var mat_map = new UVMapper(); + mat_map.projection_mode = enums.uv.projection.SKY; + mat_map.scale = [1, 1, 1]; + mat_map.apply(obj, mat); + obj.triangulateQuads(); + obj.compile(); + mat.setTexture(texture); + that.scene_object = new SceneObject(obj); + + that.ready = true; + } //onready + + if (texture) { + if (typeof(texture) === "string") { + texture = new Texture(texture, null, null, null, this.onready); + } + else if (!texture.loaded){ + texture.onready = this.onready; + } //if + this.texture = texture; + + if (mapping) { + this.mapping = mapping; + this.onready(); + } //if + } //if +} //cubicvr_SkyBox::Constructor + + + + +function View(obj_init) { + + this.texture = obj_init.texture?obj_init.texture:null; + this.width = obj_init.width?obj_init.width:128; + this.height = obj_init.height?obj_init.height:128; + this.x = obj_init.x?obj_init.x:0; + this.y = obj_init.y?obj_init.y:0; + this.blend = obj_init.blend?obj_init.blend:false; + this.opacity = (typeof(obj_init.opacity)!=='undefined')?obj_init.opacity:1.0; + this.tint = obj_init.tint?obj_init.tint:[1.0,1.0,1.0]; + + this.type='view'; + + this.superView = null; + this.childViews = []; + this.panel = null; +} + +View.prototype.addSubview = function(view) { + this.childViews.push(view); +// this.superView.makePanel(view); + view.superView = this; +} + +View.prototype.makePanel = function(view) { + return this.superView.makePanel(view); +} + +function Layout(obj_init) { + + this.texture = obj_init.texture?obj_init.texture:null; + this.width = obj_init.width?obj_init.width:128; + this.height = obj_init.height?obj_init.height:128; + this.x = obj_init.x?obj_init.x:0; + this.y = obj_init.y?obj_init.y:0; + this.blend = obj_init.blend?obj_init.blend:false; + this.opacity = (typeof(obj_init.opacity)!=='undefined')?obj_init.opacity:1.0; + this.tint = obj_init.tint?obj_init.tint:[1.0,1.0,1.0]; + + this.type = 'root'; + + this.superView = null; + this.childViews = []; + this.setupShader(); + + this.panel = null; + this.makePanel(this); +} + +Layout.prototype.setupShader = function() { + + this.shader = new CubicVR.PostProcessShader({ + shader_vertex: ["attribute vec3 aVertex;", + "attribute vec2 aTex;", + "varying vec2 vTex;", + "uniform vec3 screen;", + "uniform vec3 position;", + "uniform vec3 size;", + "void main(void) {", + "vTex = aTex;", + "vec4 vPos = vec4(aVertex.xyz,1.0);", + "vPos.x *= size.x/screen.x;", + "vPos.y *= size.y/screen.y;", + "vPos.x += (size.x/screen.x);", + "vPos.y -= (size.y/screen.y);", + "vPos.x += (position.x/screen.x)*2.0 - 1.0;", + "vPos.y -= (position.y/screen.y)*2.0 - 1.0;", + "gl_Position = vPos;", + "}"].join("\n"), + shader_fragment: [ + "#ifdef GL_ES", + "precision highp float;", + "#endif", + "uniform sampler2D srcTex;", + "uniform vec3 tint;", + "varying vec2 vTex;", + "void main(void) {", + "vec4 color = texture2D(srcTex, vTex)*vec4(tint,1.0);", + "if (color.a == 0.0) discard;", + "gl_FragColor = color;", + "}"].join("\n"), + init: function(shader) + { + shader.setInt("srcTex",0); + shader.addVector("screen"); + shader.addVector("position"); + shader.addVector("tint"); + shader.addVector("size"); + } + }); +} + +Layout.prototype.addSubview = function(view) { + this.childViews.push(view); +// this.makePanel(view); + view.superView = this; +} + +Layout.prototype.makePanel = function(view) { + var gl = CubicVR.GLCore.gl; + var pQuad = {}; // intentional empty object + + pQuad.vbo_points = new Float32Array([-1, -1, 0, 1, -1, 0, 1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0]); + pQuad.vbo_uvs = new Float32Array([0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1]); + + pQuad.gl_points = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, pQuad.gl_points); + gl.bufferData(gl.ARRAY_BUFFER, pQuad.vbo_points, gl.STATIC_DRAW); + + pQuad.gl_uvs = gl.createBuffer(); + gl.bindBuffer(gl.ARRAY_BUFFER, pQuad.gl_uvs); + gl.bufferData(gl.ARRAY_BUFFER, pQuad.vbo_uvs, gl.STATIC_DRAW); + + view.panel = pQuad; +} + + +Layout.prototype.renderPanel = function(view,panel) { + var gl = CubicVR.GLCore.gl; + + if (!view.texture) { + return false; + } + + view.texture.use(gl.TEXTURE0); +}; + + +Layout.prototype.renderView = function(view) { + if (!view.texture) return; + + var gl = CubicVR.GLCore.gl; + + var offsetLeft = view.offsetLeft; + var offsetTop = view.offsetTop; + + if (!offsetLeft) offsetLeft = 0; + if (!offsetTop) offsetTop = 0; + + var shader = this.shader.shader; + + shader.use(); + shader.setVector("screen",[this.width,this.height,0]); + shader.setVector("position",[view.x+offsetLeft,view.y+offsetTop,0]); + shader.setVector("size",[view.width,view.height,0]); + shader.setVector("tint",view.tint); + + if (view.blend) { + gl.enable(gl.BLEND); + gl.blendFunc(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA); + } + + view.texture.use(gl.TEXTURE0); + +// this.renderPanel(view,this.panel); + gl.drawArrays(gl.TRIANGLES, 0, 6); + + if (view.blend) { + gl.disable(gl.BLEND); + gl.blendFunc(gl.ONE,gl.ZERO); + } +} + + + +Layout.prototype.render = function() { + var gl = CubicVR.GLCore.gl; + + gl.disable(gl.DEPTH_TEST); + + if (this.texture) this.renderView(this); + + var stack = []; + var framestack = []; + + this.offsetLeft = 0, this.offsetTop = 0; + stack.push(this); + + + shader = this.shader.shader; + shader.use(); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + + gl.bindBuffer(gl.ARRAY_BUFFER, this.panel.gl_points); + gl.vertexAttribPointer(shader.uniforms["aVertex"], 3, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(shader.uniforms["aVertex"]); + + gl.bindBuffer(gl.ARRAY_BUFFER, this.panel.gl_uvs); + gl.vertexAttribPointer(shader.uniforms["aTex"], 2, gl.FLOAT, false, 0, 0); + gl.enableVertexAttribArray(shader.uniforms["aTex"]); + + gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null); + + while (stack.length) { + var view = stack.pop(); + + this.renderView(view); + + if (view.childViews.length) { + for (var i = view.childViews.length-1, iMin = 0; i >= iMin; i--) { + view.childViews[i].offsetLeft = view.x+view.offsetLeft; + view.childViews[i].offsetTop = view.y+view.offsetTop; + stack.push(view.childViews[i]); + } + } + + } + + + gl.disableVertexAttribArray(shader.uniforms["aTex"]); + + gl.enable(gl.DEPTH_TEST); +} + + +// Full-screen quad related +var fsQuad = { + make:makeFSQuad, + destroy:destroyFSQuad, + render:renderFSQuad +}; + + + +// Extend CubicVR module by adding public methods and classes +var extend = { + init: GLCore.init, + enums: enums, + vec2: vec2, + vec3: vec3, + mat4: mat4, + util: util, + fsQuad: fsQuad, + IdentityMatrix: cubicvr_identity, + GLCore: GLCore, + Timer: Timer, + MainLoop: MainLoop, + MouseViewController: MouseViewController, + setMainLoop: setMainLoop, + Transform: Transform, + Light: Light, + Texture: Texture, + PJSTexture: PJSTexture, + CanvasTexture: CanvasTexture, + TextTexture: TextTexture, + UVMapper: UVMapper, + Scene: Scene, + SceneObject: SceneObject, + Face: Face, + Material: Material, + Materials: Materials, + Textures: Textures, + Textures_obj: Textures_obj, + Images: Images, + Shader: Shader, + Landscape: Landscape, + Camera: Camera, + GML: GML, + SkyBox: SkyBox, + Envelope: Envelope, + Motion: Motion, + RenderBuffer: RenderBuffer, + PostProcessFX: PostProcessFX, + PostProcessChain: PostProcessChain, + PostProcessShader: PostProcessShader, + NormalMapGen: NormalMapGen, + Particle: Particle, + ParticleSystem: ParticleSystem, + Octree: Octree, + OctreeWorker: OctreeWorkerProxy, + Quaternion: Quaternion, + AutoCamera: AutoCamera, + Mesh: Mesh, + MeshPool: MeshPool, + genPlaneObject: cubicvr_planeObject, + genBoxObject: cubicvr_boxObject, + genLatheObject: cubicvr_latheObject, + genTorusObject: cubicvr_torusObject, + genConeObject: cubicvr_coneObject, + genCylinderObject: cubicvr_cylinderObject, + genSphereObject: cubicvr_sphereObject, + primitives: primitives, + renderObject: cubicvr_renderObject, + globalAmbient: [0.1, 0.1, 0.1], + setGlobalAmbient: function(c) { + CubicVR.globalAmbient = c; + }, + loadMesh: cubicvr_loadMesh, + DeferredBin: DeferredBin, + DeferredLoadTexture: DeferredLoadTexture, + loadCollada: cubicvr_loadCollada, + loadColladaWorker: cubicvr_loadColladaWorker, + setGlobalDepthAlpha: GLCore.setDepthAlpha, + setDefaultFilter: GLCore.setDefaultFilter, + Worker: CubicVR_Worker, + Layout: Layout, + View: View +}; + +for (var ext in extend) { + if (extend.hasOwnProperty(ext)) { + this.CubicVR[ext] = extend[ext]; + } +} + +Materials.push(new Material("(null)")); +}()); + diff --git a/demos/webgl/CubicVR_Core.fs b/demos/webgl/CubicVR_Core.fs new file mode 100644 index 00000000..96366727 --- /dev/null +++ b/demos/webgl/CubicVR_Core.fs @@ -0,0 +1,281 @@ +#ifdef GL_ES + precision highp float; +#endif + + uniform vec3 mDiff; + uniform vec3 mColor; + uniform vec3 mAmb; + + varying vec3 vNormal; + + varying vec2 vTextureCoord; + +#if alphaDepth + uniform vec3 depthInfo; + float ConvertDepth3(float d) { return (depthInfo.x*depthInfo.y)/(depthInfo.y-d*(depthInfo.y-depthInfo.x)); } + // transform range in world-z to 0-1 for near-far + float DepthRange( float d ) { return ( d - depthInfo.x ) / ( depthInfo.y - depthInfo.x ); } +#endif + +#if hasColorMap + uniform sampler2D colorMap; +#endif + +#if hasBumpMap + varying vec3 eyeVec; + uniform sampler2D bumpMap; +#endif + + +#if hasEnvSphereMap + uniform sampler2D envSphereMap; + uniform float envAmount; +#if hasNormalMap + varying vec3 u; +#else + varying vec2 vEnvTextureCoord; +#endif +#endif + +#if hasReflectMap + uniform sampler2D reflectMap; +#endif + +#if hasNormalMap + uniform sampler2D normalMap; +#endif + + uniform float mAlpha; + +#if hasAmbientMap + uniform sampler2D ambientMap; +#endif + +#if hasSpecularMap + uniform sampler2D specularMap; +#endif + +#if hasAlphaMap + uniform sampler2D alphaMap; +#endif + +#if lightPoint||lightDirectional||lightSpot||lightArea + struct Light { + vec3 lDir; + vec3 lPos; + vec3 lSpec; + vec3 lDiff; + float lInt; + float lDist; + }; + uniform Light lights[loopCount]; + varying vec3 lightDir[loopCount]; +#endif + +uniform vec3 mSpec; +uniform float mShine; +uniform vec3 lAmb; + +#if lightPoint||lightSpot + varying vec3 lightPos[loopCount]; +#endif + + + +varying vec3 camPos; +varying vec4 vPosition; + +uniform mat4 uPMatrix; + +void main(void) +{ + vec3 n; + vec4 color = vec4(0.0,0.0,0.0,0.0); + +#if hasBumpMap + float height = texture2D(bumpMap, vTextureCoord.xy).r; + float v = (height) * 0.05 - 0.04; // * scale and - bias + vec3 eye = normalize(eyeVec); + vec2 texCoord = vTextureCoord.xy + (eye.xy * v); +#else +#if hasColorMap||hasBumpMap||hasNormalMap||hasAmbientMap||hasSpecularMap||hasAlphaMap + vec2 texCoord = vTextureCoord; +#endif +#endif + + +#if hasNormalMap + vec3 bumpNorm = vec3(texture2D(normalMap, texCoord)); + + n = (vec4(normalize(vNormal),1.0)).xyz; + bumpNorm = (bumpNorm-0.5)*2.0; + bumpNorm.y = -bumpNorm.y; + n = normalize((n+bumpNorm)/2.0); +#else + n = normalize(vNormal); +#endif + + +#if hasColorMap +#if !(lightPoint||lightDirectional||lightSpot||lightArea) + color = texture2D(colorMap, vec2(texCoord.s, texCoord.t)).rgba; + //vec4(lAmb,1.0)* +#else + color = texture2D(colorMap, vec2(texCoord.s, texCoord.t)).rgba; + color.rgb *= mColor; +#endif + if (color.a<=0.9) discard; +#else + color = vec4(mColor,1.0); +#endif + +#if hasAlphaMap + color.a = texture2D(alphaMap, texCoord).r; + if (color.a==0.0) discard; +#else +#if hasAlpha + color.a = mAlpha; +#endif +#endif + + +//float envAmount = 1.0; + +vec3 accum = lAmb; + + +#if lightPoint + float dist; + float NdotL; + + float NdotHV = 0.0; + float att = 0.0; + + vec3 halfVector; + vec3 specTotal = vec3(0.0,0.0,0.0); + + for (int i = 0; i < loopCount; i++) { + + halfVector = normalize(vec3(0.0,0.0,1.0)+lightDir[i]); + + dist = length(lightPos[i]-vPosition.xyz); + + NdotL = max(dot(normalize(lightDir[i]),n),0.0); + + if (NdotL > 0.0) { + // basic diffuse + att = clamp(((lights[i].lDist-dist)/lights[i].lDist), 0.0, 1.0)*lights[i].lInt; + + accum += att * NdotL * lights[i].lDiff * mDiff; + + NdotHV = max(dot(n, halfVector),0.0); + + + #if hasSpecularMap + vec3 spec2 = lights[i].lSpec * texture2D(specularMap, vec2(texCoord.s, texCoord.t)).rgb * pow(NdotHV,mShine); + #else + vec3 spec2 = lights[i].lSpec * mSpec * pow(NdotHV,mShine); + #endif + + specTotal += spec2; + } + + } + + color.rgb *= accum; + color.rgb += specTotal; +#endif + + + + +#if lightDirectional + float NdotL; + float NdotHV = 0.0; + vec3 specTotal = vec3(0.0,0.0,0.0); + vec3 spec2 = vec3(0.0,0.0,0.0); + + vec3 halfVector; + + for (int i = 0; i < loopCount; i++) { + + halfVector = normalize(vec3(0.0,0.0,1.0)-lightDir[i]); + + NdotL = max(dot(normalize(-lightDir[i]),n),0.0); + + if (NdotL > 0.0) { + accum += lights[i].lInt * mDiff * lights[i].lDiff * NdotL; + + NdotHV = max(dot(n, halfVector),0.0); + + #if hasSpecularMap + spec2 = lights[i].lSpec * texture2D(specularMap, vec2(texCoord.s, texCoord.t)).rgb * pow(NdotHV,mShine); + #else + spec2 = lights[i].lSpec * mSpec * pow(NdotHV,mShine); + #endif + + specTotal += spec2; + } + } + + color.rgb *= accum; + color.rgb += specTotal; +#endif + + +#if hasReflectMap + float environmentAmount = texture2D( reflectMap, texCoord).r; +#endif + +#if hasEnvSphereMap +#if hasNormalMap + vec3 r = reflect( u, n ); + float m = 2.0 * sqrt( r.x*r.x + r.y*r.y + (r.z+1.0)*(r.z+1.0) ); + + vec3 coord; + coord.s = r.x/m + 0.5; + coord.t = r.y/m + 0.5; + + #if hasReflectMap + color.rgb += mColor*accum*texture2D( envSphereMap, coord.st).rgb * environmentAmount; + #else + color.rgb += mColor*accum*texture2D( envSphereMap, coord.st).rgb * envAmount; + #endif + +#else + #if hasReflectMap + color.rgb += mColor*accum*texture2D( envSphereMap, vEnvTextureCoord).rgb * environmentAmount; + #else + color.rgb += mColor*accum*texture2D( envSphereMap, vEnvTextureCoord).rgb*envAmount; + #endif +#endif + +#endif + + + +#if hasAmbientMap +#if lightPoint||lightDirectional||lightSpot||lightArea + color.rgb += texture2D(ambientMap, texCoord).rgb*(vec3(1.0,1.0,1.0)+mColor*mAmb); +#else + color.rgb = color.rgb*texture2D(ambientMap, texCoord).rgb; +#endif +#else +#if !hasColorMap + color.rgb += mColor*mAmb; +#else + color.rgb += mAmb*texture2D(colorMap, texCoord).rgb; +#endif +#endif + + +#if alphaDepth +#if !hasAlpha + float linear_depth = DepthRange( ConvertDepth3( gl_FragCoord.z )); + + color.a = linear_depth; +#endif +#endif + + gl_FragColor = clamp(color,0.0,1.0); +}
\ No newline at end of file diff --git a/demos/webgl/CubicVR_Core.vs b/demos/webgl/CubicVR_Core.vs new file mode 100644 index 00000000..18023daa --- /dev/null +++ b/demos/webgl/CubicVR_Core.vs @@ -0,0 +1,127 @@ + attribute vec3 aVertexPosition; + attribute vec3 aNormal; + attribute vec2 aTextureCoord; + varying vec2 vTextureCoord; + +// #if hasColorMap||hasBumpMap||hasNormalMap||hasAmbientMap||hasSpecularMap||hasAlphaMap +// #endif + + uniform mat4 uMVMatrix; + uniform mat4 uPMatrix; + uniform mat4 uOMatrix; + uniform mat3 uNMatrix; + + vec3 mSpec; + float mShine; + + varying vec3 vNormal; + varying vec4 vPosition; + varying vec3 camPos; + + + +#if loopCount + struct Light { + vec3 lDir; + vec3 lPos; + vec3 lSpec; + vec3 lDiff; + float lInt; + float lDist; + }; + uniform Light lights[loopCount]; + varying vec3 lightDir[loopCount]; +#endif + + +#if lightPoint + varying vec3 lightPos[loopCount]; +#endif + + +#if hasEnvSphereMap +#if hasNormalMap + varying vec3 u; +#else + varying vec2 vEnvTextureCoord; +#endif +#endif + + + +#if hasBumpMap||hasNormalMap + varying vec3 eyeVec; +#endif + +void main(void) +{ + mat4 uMVOMatrix = uMVMatrix * uOMatrix; + mat4 uMVPMatrix = uPMatrix * uMVMatrix; + + vTextureCoord = aTextureCoord; + + vPosition = uMVOMatrix * vec4(aVertexPosition, 1.0); + + camPos.xyz = vec3(0.0,0.0,0.0); + + gl_Position = uMVPMatrix * uOMatrix * vec4(aVertexPosition, 1.0); + + vNormal = uNMatrix * normalize(uOMatrix*vec4(aNormal,0.0)).xyz; + + +#if hasBumpMap||hasNormalMap + vec3 tangent; + vec3 binormal; + + vec3 c1 = cross( aNormal, vec3(0.0, 0.0, 1.0) ); + vec3 c2 = cross( aNormal, vec3(0.0, 1.0, 0.0) ); + + if ( length(c1) > length(c2) ) { + tangent = c1; + } else { + tangent = c2; + } + + tangent = normalize(tangent); + + binormal = cross(aNormal, tangent); + binormal = normalize(binormal); + + mat3 TBNMatrix = mat3( (vec3 (uMVOMatrix * vec4 (tangent, 0.0))), + (vec3 (uMVOMatrix * vec4 (binormal, 0.0))), + (vec3 (uMVOMatrix * vec4 (aNormal, 0.0))) + ); + + eyeVec = vec3(uMVOMatrix * vec4(aVertexPosition,1.0)) * TBNMatrix; +#endif + + +#if lightDirectional + for (int i = 0; i < loopCount; i++) + { + lightDir[i] = uNMatrix * lights[i].lDir; + } +#endif + +#if lightPoint + for (int i = 0; i < loopCount; i++) + { + lightDir[i] = uNMatrix*normalize(lights[i].lPos-(uOMatrix * vec4(aVertexPosition, 1.0)).xyz); + lightPos[i] = (uMVMatrix*vec4(lights[i].lPos,1.0)).xyz; + } +#endif + +#if hasEnvSphereMap +#if hasNormalMap + u = normalize( vPosition.xyz ); + #else + vec3 ws = (uMVMatrix * vec4(aVertexPosition,1.0)).xyz; + vec3 u = normalize( vPosition.xyz ); + vec3 r = reflect(ws - camPos, vNormal ); + float m = 2.0 * sqrt( r.x*r.x + r.y*r.y + (r.z+1.0)*(r.z+1.0) ); + vEnvTextureCoord.s = r.x/m + 0.5; + vEnvTextureCoord.t = r.y/m + 0.5; +#endif +#endif + +}
\ No newline at end of file diff --git a/demos/webgl/bullet_1_1_q1.ccsimple.js b/demos/webgl/bullet_1_1_q1.ccsimple.js new file mode 100644 index 00000000..f65e1b6a --- /dev/null +++ b/demos/webgl/bullet_1_1_q1.ccsimple.js @@ -0,0 +1,4404 @@ +this.Module={}; +var args=arguments,Runtime={stackAlloc:function(a){var e=STACKTOP;STACKTOP+=a;return e},staticAlloc:function(a){var e=STATICTOP;STATICTOP+=a;return e},alignMemory:function(a,e){return Math.ceil(a/(e?e:1))*(e?e:1)},isNumberType:function(a){return a in Runtime.INT_TYPES||a in Runtime.FLOAT_TYPES},isPointerType:function(a){return pointingLevels(a)>0},isStructType:function(a){if(isPointerType(a))return!1;if(RegExp(/^\[\d+\ x\ (.*)\]/g).test(a))return!0;return!Runtime.isNumberType(a)&&a[0]=="%"},INT_TYPES:{i1:0, +i8:0,i16:0,i32:0,i64:0},FLOAT_TYPES:{"float":0,"double":0},getNativeFieldSize:function(){return 1},dedup:function(a,e){var d={};return e?a.filter(function(a){if(d[a[e]])return!1;return d[a[e]]=!0}):a.filter(function(a){if(d[a])return!1;return d[a]=!0})},set:function(){for(var a=typeof arguments[0]==="object"?arguments[0]:arguments,e={},d=0;d<a.length;d++)e[a[d]]=0;return e},calculateStructAlignment:function(a){a.flatSize=0;a.alignSize=0;var e=[],d=-1;a.flatIndexes=a.fields.map(function(b){var c,f; +Runtime.isNumberType(b)||Runtime.isPointerType(b)?f=c=Runtime.getNativeFieldSize(b,!0):Runtime.isStructType(b)?(c=Types.types[b].flatSize,f=Types.types[b].alignSize):(dprint("Unclear type in struct: "+b+", in "+a.name_),assert(0));f=a.packed?1:Math.min(f,1);a.alignSize=Math.max(a.alignSize,f);b=Runtime.alignMemory(a.flatSize,f);a.flatSize=b+c;d>=0&&e.push(b-d);return d=b});a.flatSize=Runtime.alignMemory(a.flatSize,a.alignSize);if(e.length==0)a.flatFactor=a.flatSize;else if(Runtime.dedup(e).length== +1)a.flatFactor=e[0];a.needsFlattening=a.flatFactor!=1;return a.flatIndexes},__dummy__:0},CorrectionsMonitor={MAX_ALLOWED:0,corrections:0,sigs:{},note:function(a){a=a+"|"+Error().stack;this.sigs[a]||(print("Correction: "+a),this.sigs[a]=0);this.sigs[a]++;this.corrections++;this.corrections>=this.MAX_ALLOWED&&abort("\n\nToo many corrections!")}};function __globalConstructor__(){}var __THREW__=!1,__ATEXIT__=[],ABORT=!1,undef=0; +function abort(a){print(a+":\n"+Error().stack);ABORT=!0;throw"Assertion: "+a;}function assert(a,e){a||abort("Assertion failed: "+e)}var ALLOC_NORMAL=0,ALLOC_STACK=1,ALLOC_STATIC=2;function Pointer_make(a,e,d){e=e?e:0;assert(e===0);if(a===HEAP)return e;for(var e=a.length,b=[_malloc,Runtime.stackAlloc,Runtime.staticAlloc][d?d:ALLOC_STATIC](Math.max(e,1)),d=0;d<e;d++){var c=a[d];typeof c==="function"&&(c=Runtime.getFunctionIndex(c));IHEAP[b+d]=c;FHEAP[b+d]=c}return b}Module.Pointer_make=Pointer_make; +function Pointer_stringify(a){for(var e="",d=0,b;;){b=String.fromCharCode(IHEAP[a+d]);if(b=="\0")break;e+=b;d+=1}return e}var PAGE_SIZE=4096;function alignMemoryPage(a){return Math.ceil(a/PAGE_SIZE)*PAGE_SIZE}var HEAP,IHEAP,FHEAP,STACK_ROOT,STACKTOP,STACK_MAX,STATICTOP,HAS_TYPED_ARRAYS=!1,TOTAL_MEMORY=52428800; +function __initializeRuntime__(){HAS_TYPED_ARRAYS=!1;try{HAS_TYPED_ARRAYS=0}catch(a){}if(HAS_TYPED_ARRAYS)HEAP=IHEAP=new Int32Array(TOTAL_MEMORY),FHEAP=new Float64Array(TOTAL_MEMORY);else{var e=TOTAL_MEMORY/32;IHEAP=FHEAP=HEAP=Array(e);for(var d=0;d<e;d++)IHEAP[d]=0}e=intArrayFromString("(null)");for(d=0;d<e.length;d++)IHEAP[d]=e[d];Module.HEAP=HEAP;Module.IHEAP=IHEAP;Module.FHEAP=FHEAP;STACK_ROOT=STACKTOP=alignMemoryPage(10);STACK_MAX=STACK_ROOT+1048576;STATICTOP=alignMemoryPage(STACK_MAX)} +function __shutdownRuntime__(){for(;__ATEXIT__.length>0;){var a=__ATEXIT__.pop(),e=a.func;typeof e==="number"&&(e=FUNCTION_TABLE[e]);e(a.arg)}}function Array_copy(a,e){return HAS_TYPED_ARRAYS?Array.prototype.slice.call(IHEAP.subarray(a,a+e)):IHEAP.slice(a,a+e)}function String_len(a){for(var e=0;IHEAP[a+e];)e++;return e}function String_copy(a,e){var d=String_len(a);e&&d++;var b=Array_copy(a,d);e&&(b[d-1]=0);return b}var PRINTBUFFER=""; +function __print__(a){if(a===null)print(PRINTBUFFER),PRINTBUFFER="";else for(PRINTBUFFER+=a;(a=PRINTBUFFER.indexOf("\n"))!=-1;)print(PRINTBUFFER.substr(0,a)),PRINTBUFFER=PRINTBUFFER.substr(a+1)}function jrint(a,e){e?a+=" : ":(e=a,a="");print(a+JSON.stringify(e))}function intArrayFromString(a){for(var e=[],d=0;d<a.length;)e.push(a.charCodeAt(d)),d+=1;e.push(0);return e}Module.intArrayFromString=intArrayFromString; +function intArrayToString(a){for(var e="",d=0;d<a.length;d++)e+=String.fromCharCode(a[d]);return e} +var unSign=function(a,e){if(a>=0)return a;return e<=32?2*Math.abs(1<<e-1)+a:Math.pow(2,e)+a},reSign=function(a,e){if(a<=0)return a;var d=e<=32?Math.abs(1<<e-1):Math.pow(2,e-1);a>=d&&(a=-2*d+a);return a},$0___SIZE=5,$1___SIZE=5,$2___SIZE=5,$3___SIZE=2,$4___SIZE=5,$5___SIZE=5,$6___SIZE=1,$7___SIZE=5,$8___SIZE=5,$9___SIZE=5,$10___SIZE=5,$11___SIZE=3,$12___SIZE=4,$13___SIZE=3,$14___SIZE=4,$15___SIZE=5,$16___SIZE=5,$17___SIZE=5,$18___SIZE=5,$19___SIZE=5,$20___SIZE=5,$21___SIZE=5,$22___SIZE=5,$23___SIZE= +5,$24___SIZE=5,$25___SIZE=5,$26___SIZE=2,$27___SIZE=5,$28___SIZE=5,$29___SIZE=5,$30___SIZE=5,$31___SIZE=5,$32___SIZE=5,$33___SIZE=5,$34___SIZE=5,$35___SIZE=5,$36___SIZE=1,$37___SIZE=5,$38___SIZE=5,$39___SIZE=5,$40___SIZE=5,$41___SIZE=5,$42___SIZE=2,$43___SIZE=6,$44___SIZE=3,$45___SIZE=8,$46___SIZE=2,$47___SIZE=63,$47___FLATTENER=[0,44,45,46,47],$48___SIZE=215,$48___FLATTENER=[0,212,213,214],$49___SIZE=20,$50___SIZE=5,$51___SIZE=5,$52___SIZE=20,$53___SIZE=18,$53___FLATTENER=[0,4,5,6],$54___SIZE=2, +$55___SIZE=34,$55___FLATTENER=[0,4,5,6,10,14,18,19,20,21,22,25,28,29,30,31,32,33],$56___SIZE=7,$56___FLATTENER=[0,4,5,6],$57___SIZE=5,$58___SIZE=5,$59___SIZE=5,$class_BT_BOX_BOX_TRANSFORM_CACHE___SIZE=28,$class_BT_BOX_BOX_TRANSFORM_CACHE___FLATTENER=[0,4,16],$class_CProfileIterator___SIZE=2,$class_CProfileNode___SIZE=8,$class_CProfileSample___SIZE=1,$class_CenterCallback___SIZE=14,$class_CenterCallback___FLATTENER=[0,4,5,9,13],$class_CleanPairCallback___SIZE=7,$class_CleanPairCallback___FLATTENER= +[0,4,5,6],$class_ConvexH___SIZE=15,$_class_ConvexH__HalfEdge____SIZE=3,$class_DebugDrawcallback___SIZE=29,$class_DebugDrawcallback___FLATTENER=[0,4,8,9,13],$class_GIM_AABB___SIZE=8,$class_GIM_BVH_DATA_ARRAY___SIZE=20,$class_GIM_BVH_TREE_NODE___SIZE=9,$class_GIM_ShapeRetriever___SIZE=284,$class_GIM_ShapeRetriever___FLATTENER=[0,1,105,265,267,275,283],$_class_GIM_ShapeRetriever__ChildShapeRetriever____SIZE=2,$_class_GIM_ShapeRetriever__TetraShapeRetriever____SIZE=8,$class_InertiaCallback___SIZE=20, +$class_InertiaCallback___FLATTENER=[0,4,16],$class_LocalSupportVertexCallback___SIZE=13,$class_LocalSupportVertexCallback___FLATTENER=[0,4,8,9],$class_RemovePairCallback___SIZE=5,$class_SupportVertexCallback___SIZE=29,$class_SupportVertexCallback___FLATTENER=[0,4,8,24,25],$class_bt32BitAxisSweep3___SIZE=124,$class_btActionInterface___SIZE=1,$class_btAlignedObjectArray___SIZE=5,$class_btAngularLimit___SIZE=8,$class_btAxisSweep3___SIZE=116,$class_btAxisSweep3Internal___SIZE=34,$class_btAxisSweep3Internal___FLATTENER= +[0,4,5,6,10,14,18,19,20,21,22,25,28,29,30,31,32,33],$_class_btAxisSweep3Internal_unsigned_int___Edge____SIZE=2,$_class_btAxisSweep3Internal_unsigned_int___Handle____SIZE=55,$_class_btAxisSweep3Internal_unsigned_int___Handle____FLATTENER=[0,48,51,54],$_class_btAxisSweep3Internal_unsigned_short___Edge____SIZE=2,$_class_btAxisSweep3Internal_unsigned_short___Handle____SIZE=55,$_class_btAxisSweep3Internal_unsigned_short___Handle____FLATTENER=[0,48,51,54],$class_btBU_Simplex1to4___SIZE=106,$class_btBU_Simplex1to4___FLATTENER= +[0,89,90],$class_btBox2dBox2dCollisionAlgorithm___SIZE=10,$class_btBox2dBox2dCollisionAlgorithm___FLATTENER=[0,8,9],$class_btBox2dShape___SIZE=92,$class_btBox2dShape___FLATTENER=[0,56,60,76],$class_btBoxShape___SIZE=56,$class_btBvhSubtreeInfo___SIZE=11,$class_btBvhSubtreeInfo___FLATTENER=[0,3,6,7,8],$class_btBvhTriangleMeshShape___SIZE=67,$class_btBvhTriangleMeshShape___FLATTENER=[0,52,53,54,55,56],$class_btCapsuleShape___SIZE=53,$class_btCharacterControllerInterface___SIZE=4,$class_btChunk___SIZE= +5,$class_btClock___SIZE=1,$class_btClosestNotMeConvexResultCallback___SIZE=84,$class_btClosestNotMeConvexResultCallback___FLATTENER=[0,80,81,82,83],$class_btCollisionAlgorithm___SIZE=2,$class_btCollisionDispatcher___SIZE=1353,$class_btCollisionDispatcher___FLATTENER=[0,4,5,10,53,54,55,56,1352],$class_btCollisionObject___SIZE=64,$class_btCollisionObject___FLATTENER=[0,1,17,33,37,41,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63],$class_btCollisionPairCallback___SIZE=6,$class_btCollisionPairCallback___FLATTENER= +[0,4,5],$class_btCollisionShape___SIZE=3,$class_btCollisionWorld___SIZE=24,$class_btCollisionWorld___FLATTENER=[0,1,6,7,20,21,22,23],$class_btCompoundCollisionAlgorithm___SIZE=17,$class_btCompoundCollisionAlgorithm___FLATTENER=[0,8,13,14,15,16],$class_btCompoundShape___SIZE=32,$class_btCompoundShape___FLATTENER=[0,12,17,21,25,26,27,28],$class_btConcaveShape___SIZE=13,$class_btConeShape___SIZE=58,$class_btConeShape___FLATTENER=[0,52,53,54,55],$class_btConeShapeX___SIZE=76,$class_btConeTwistConstraint___SIZE= +198,$class_btConeTwistConstraint___FLATTENER=[0,40,103,119,135,136,137,138,139,140,141,142,143,147,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,169,170,171,173,189,190,194,195,196,197],$class_btContactConstraint___SIZE=328,$class_btContinuousConvexCollision___SIZE=9,$class_btContinuousConvexCollision___FLATTENER=[0,4,5,6,7,8],$class_btContinuousDynamicsWorld___SIZE=268,$class_btConvex2dConvex2dAlgorithm___SIZE=15,$class_btConvex2dConvex2dAlgorithm___FLATTENER=[0,8,9,10,11,12,13,14], +$class_btConvex2dShape___SIZE=13,$class_btConvexConcaveCollisionAlgorithm___SIZE=29,$class_btConvexConcaveCollisionAlgorithm___FLATTENER=[0,8,9],$class_btConvexHullComputer___SIZE=15,$_class_btConvexHullComputer__Edge____SIZE=3,$class_btConvexHullInternal___SIZE=32,$class_btConvexHullInternal___FLATTENER=[0,4,8,12,16,20,25,26,27,28,29,30,31],$_class_btConvexHullInternal__Edge____SIZE=6,$_class_btConvexHullInternal__Face____SIZE=15,$_class_btConvexHullInternal__Face____FLATTENER=[0,1,2,3,7,11],$_class_btConvexHullInternal__Int128____SIZE= +2,$_class_btConvexHullInternal__IntermediateHull____SIZE=4,$_class_btConvexHullInternal__Point32____SIZE=4,$_class_btConvexHullInternal__Point64____SIZE=3,$_class_btConvexHullInternal__PointR128____SIZE=8,$_class_btConvexHullInternal__Pool____SIZE=4,$_class_btConvexHullInternal__PoolArray____SIZE=3,$_class_btConvexHullInternal__Rational128____SIZE=6,$_class_btConvexHullInternal__Rational128____FLATTENER=[0,2,4,5],$_class_btConvexHullInternal__Rational64____SIZE=3,$_class_btConvexHullInternal__Vertex____SIZE= +18,$_class_btConvexHullInternal__Vertex____FLATTENER=[0,1,2,3,4,5,13,17],$class_btConvexHullShape___SIZE=94,$class_btConvexInternalAabbCachingShape___SIZE=61,$class_btConvexInternalAabbCachingShape___FLATTENER=[0,52,56,60],$class_btConvexInternalShape___SIZE=22,$class_btConvexInternalShape___FLATTENER=[0,12,16,20,21],$class_btConvexPlaneCollisionAlgorithm___SIZE=13,$class_btConvexPlaneCollisionAlgorithm___FLATTENER=[0,8,9,10,11,12],$class_btConvexPointCloudShape___SIZE=91,$class_btConvexPointCloudShape___FLATTENER= +[0,89,90],$class_btConvexPolyhedron___SIZE=20,$class_btConvexPolyhedron___FLATTENER=[0,1,6,11,16],$class_btConvexShape___SIZE=12,$class_btConvexTriangleCallback___SIZE=20,$class_btConvexTriangleCallback___FLATTENER=[0,4,5,6,10,14,15,16,17,18,19],$class_btConvexTriangleMeshShape___SIZE=90,$class_btDefaultCollisionConfiguration___SIZE=25,$class_btDefaultCollisionConfiguration___FLATTENER=[0,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24],$class_btDefaultVehicleRaycaster___SIZE=5,$class_btDiscreteDynamicsWorld___SIZE= +198,$class_btDiscreteDynamicsWorld___FLATTENER=[0,172,173,174,179,184,188,189,190,191,192,197],$class_btDynamicsWorld___SIZE=160,$class_btDynamicsWorld___FLATTENER=[0,85,86,87,88],$class_btEmptyShape___SIZE=20,$class_btGImpactCollisionAlgorithm___SIZE=16,$class_btGImpactCollisionAlgorithm___FLATTENER=[0,8,9,10,11,12,13,14,15],$class_btGImpactCompoundShape___SIZE=159,$class_btGImpactCompoundShape___FLATTENER=[0,144,149,154],$_class_btGImpactCompoundShape__CompoundPrimitiveManager____SIZE=5,$class_btGImpactMeshShape___SIZE= +150,$class_btGImpactMeshShape___FLATTENER=[0,144,145],$class_btGImpactMeshShapePart___SIZE=164,$_class_btGImpactMeshShapePart__TrimeshPrimitiveManager____SIZE=20,$_class_btGImpactMeshShapePart__TrimeshPrimitiveManager____FLATTENER=[0,4,5,6,10,11,12,13,14,15,16,17,18,19],$class_btGImpactQuantizedBvh___SIZE=34,$class_btGImpactShapeInterface___SIZE=63,$class_btGImpactShapeInterface___FLATTENER=[0,16,24,25,29],$class_btGImpactTriangleCallback___SIZE=10,$class_btGImpactTriangleCallback___FLATTENER=[0, +4,5,6,7,8,9],$class_btGeneric6DofConstraint___SIZE=359,$class_btGeneric6DofConstraint___FLATTENER=[0,40,56,72,135,198,247,295,296,312,328,332,344,348,349,350,351,355,356,357,358],$class_btGeneric6DofSpringConstraint___SIZE=1325,$class_btGeneric6DofSpringConstraint___FLATTENER=[0,1301,1307,1313,1319],$class_btGhostObject___SIZE=261,$class_btGjkConvexCast___SIZE=7,$class_btGjkConvexCast___FLATTENER=[0,4,5,6],$class_btGjkPairDetector___SIZE=22,$class_btGjkPairDetector___FLATTENER=[0,4,8,9,10,11,12,13, +14,15,16,17,18,19,20,21],$class_btHashInt___SIZE=1,$class_btHashMap___SIZE=20,$class_btHashPtr___SIZE=2,$class_btHashedOverlappingPairCache___SIZE=22,$class_btHashedOverlappingPairCache___FLATTENER=[0,4,9,10,11,16,21],$class_btHeightfieldTerrainShape___SIZE=44,$class_btHeightfieldTerrainShape___FLATTENER=[0,16,20,24,28,29,30,31,32,33,34,35,36,37,38,39,40],$class_btHinge2Constraint___SIZE=1392,$class_btHinge2Constraint___FLATTENER=[0,1380,1384,1388],$class_btHingeConstraint___SIZE=222,$class_btHingeConstraint___FLATTENER= +[0,40,103,166,182,198,199,200,208,209,210,211,212,213,214,215,216,217,218,219,220,221],$class_btJacobianEntry___SIZE=21,$class_btKinematicCharacterController___SIZE=51,$class_btKinematicCharacterController___FLATTENER=[0,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,22,26,30,31,35,40,41,45,46,47,48,49,50],$class_btKinematicClosestNotMeConvexResultCallback___SIZE=86,$class_btKinematicClosestNotMeConvexResultCallback___FLATTENER=[0,80,81,85],$class_btManifoldPoint___SIZE=69,$class_btManifoldPoint___FLATTENER= +[0,4,8,12,16,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,41,45],$class_btManifoldResult___SIZE=43,$class_btManifoldResult___FLATTENER=[0,4,5,21,37,38,39,40,41,42],$class_btMatrix3x3___SIZE=12,$class_btMinkowskiSumShape___SIZE=86,$class_btMinkowskiSumShape___FLATTENER=[0,52,68,84,85],$class_btMultiSapBroadphase___SIZE=20,$class_btMultiSapBroadphase___FLATTENER=[0,4,9,10,11,12,13,14,15],$class_btMultiSphereShape___SIZE=95,$class_btMultiSphereShape___FLATTENER=[0,85,90],$class_btNullPairCache___SIZE= +9,$class_btOptimizedBvh___SIZE=172,$class_btPairCachingGhostObject___SIZE=277,$class_btPersistentManifold___SIZE=288,$class_btPersistentManifold___FLATTENER=[0,4,280,281,282,283,284,285,286,287],$class_btPlane___SIZE=5,$class_btPlaneShape___SIZE=84,$class_btPoint2PointConstraint___SIZE=118,$class_btPoint2PointConstraint___FLATTENER=[0,40,103,107,111,112,113,114,115],$class_btPolyhedralConvexAabbCachingShape___SIZE=65,$class_btPolyhedralConvexAabbCachingShape___FLATTENER=[0,56,60,64],$class_btPolyhedralConvexShape___SIZE= +53,$class_btPoolAllocator___SIZE=5,$class_btPrimitiveTriangle___SIZE=30,$class_btPrimitiveTriangle___FLATTENER=[0,12,28,29],$class_btQuadWord___SIZE=4,$class_btQuantizedBvh___SIZE=43,$class_btQuantizedBvh___FLATTENER=[0,1,5,9,13,14,15,16,21,26,31,36,37,42],$class_btQuantizedBvhTree___SIZE=33,$class_btQuantizedBvhTree___FLATTENER=[0,1,21,29],$class_btQuaternion___SIZE=16,$class_btRaycastVehicle___SIZE=41,$class_btRaycastVehicle___FLATTENER=[0,4,9,14,19,24,25,26,27,28,29,30,31,32,33,34,35,36],$_class_btRaycastVehicle__btVehicleTuning____SIZE= +6,$class_btRigidBody___SIZE=344,$class_btRigidBody___FLATTENER=[0,256,268,272,276,277,281,285,289,293,297,301,302,303,304,305,306,307,308,309,310,311,316,317,318,322,326,330,334,338,342,343],$class_btRotationalLimitMotor___SIZE=16,$class_btScaledBvhTriangleMeshShape___SIZE=21,$class_btScaledBvhTriangleMeshShape___FLATTENER=[0,16,20],$class_btScaledTriangleCallback___SIZE=9,$class_btScaledTriangleCallback___FLATTENER=[0,4,5],$class_btSequentialImpulseConstraintSolver___SIZE=35,$class_btSequentialImpulseConstraintSolver___FLATTENER= +[0,4,9,14,19,24,29,34],$class_btShapeHull___SIZE=12,$class_btShapeHull___FLATTENER=[0,5,10,11],$class_btSimpleBroadphase___SIZE=13,$class_btSimpleBroadphase___FLATTENER=[0,4,5,6,7,8,9,10,11,12],$class_btSimpleDynamicsWorld___SIZE=178,$class_btSimpleDynamicsWorld___FLATTENER=[0,172,173,174],$class_btSimulationIslandManager___SIZE=17,$class_btSimulationIslandManager___FLATTENER=[0,1,6,11,16],$class_btSliderConstraint___SIZE=312,$class_btSliderConstraint___FLATTENER=[0,40,41,42,58,74,75,76,77,78,79, +80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,169,172,235,236,252,268,272,276,280,284,288,292,296,300,301,302,303,304,305,306,307,308,309,310,311],$class_btSortedOverlappingPairCache___SIZE=13,$class_btSortedOverlappingPairCache___FLATTENER=[0,4,9,10,11,12],$class_btSphereBoxCollisionAlgorithm___SIZE=11,$class_btSphereBoxCollisionAlgorithm___FLATTENER=[0,8,9,10],$class_btSphereShape___SIZE=52,$class_btStackAlloc___SIZE=5,$class_btStaticPlaneShape___SIZE=33, +$class_btStaticPlaneShape___FLATTENER=[0,16,20,24,28,29],$class_btStridingMeshInterface___SIZE=5,$class_btTetrahedronShapeEx___SIZE=160,$class_btTransform___SIZE=16,$class_btTranslationalLimitMotor___SIZE=49,$class_btTranslationalLimitMotor___FLATTENER=[0,4,8,12,13,14,15,19,23,27,30,34,38,42,46],$class_btTriangleBuffer___SIZE=9,$class_btTriangleConvexcastCallback___SIZE=56,$class_btTriangleConvexcastCallback___FLATTENER=[0,4,5,21,37,53,54,55],$class_btTriangleIndexVertexArray___SIZE=36,$class_btTriangleIndexVertexArray___FLATTENER= +[0,20,25,27,28,32],$class_btTriangleIndexVertexMaterialArray___SIZE=89,$class_btTriangleMesh___SIZE=107,$class_btTriangleMesh___FLATTENER=[0,84,89,94,99,104,105,106],$class_btTriangleMeshShape___SIZE=25,$class_btTriangleMeshShape___FLATTENER=[0,16,20,24],$class_btTriangleRaycastCallback___SIZE=14,$class_btTriangleRaycastCallback___FLATTENER=[0,4,8,12,13],$class_btTriangleShape___SIZE=68,$class_btTriangleShapeEx___SIZE=104,$class_btTypedConstraint___SIZE=14,$class_btTypedConstraint___FLATTENER=[0, +1,5,6,7,8,9,10,11,12,13],$class_btUniformScalingShape___SIZE=14,$class_btUniformScalingShape___FLATTENER=[0,12,13],$class_btUnionFind___SIZE=5,$class_btUniversalConstraint___SIZE=1313,$class_btUniversalConstraint___FLATTENER=[0,1301,1305,1309],$class_btVoronoiSimplexSolver___SIZE=91,$class_btVoronoiSimplexSolver___FLATTENER=[0,1,21,41,61,65,69,73,77,78,79,90],$struct_AabbCalculationCallback___SIZE=12,$struct_BT_QUANTIZED_BVH_NODE___SIZE=7,$struct_BridgeTriangleConvexcastCallback___SIZE=215,$struct_BridgeTriangleConvexcastCallback___FLATTENER= +[0,212,213,214],$struct_BridgeTriangleRaycastCallback___SIZE=63,$struct_BridgeTriangleRaycastCallback___FLATTENER=[0,44,45,46,47],$struct_BroadphaseAabbTester___SIZE=5,$struct_BroadphaseRayTester___SIZE=5,$struct_ClipVertex___SIZE=5,$struct_FilteredCallback___SIZE=13,$struct_FilteredCallback___FLATTENER=[0,4,5,9],$struct_GIM_TRIANGLE_CONTACT___SIZE=82,$struct_GIM_TRIANGLE_CONTACT___FLATTENER=[0,1,2,18],$struct_InplaceSolverIslandCallback___SIZE=26,$struct_InplaceSolverIslandCallback___FLATTENER=[0, +4,5,6,7,8,9,10,11,16,21],$struct_LocalInfoAdder___SIZE=14,$struct_LocalInfoAdder___FLATTENER=[0,12,13],$struct_LocalInfoAdder2___SIZE=22,$struct_LocalInfoAdder2___FLATTENER=[0,20,21],$struct_LocalTriangleSphereCastCallback___SIZE=54,$struct_LocalTriangleSphereCastCallback___FLATTENER=[0,4,20,36,52,53],$struct_MyNodeOverlapCallback___SIZE=6,$struct_MyNodeOverlapCallback___FLATTENER=[0,4,5],$struct_NodeTriangleCallback___SIZE=5,$struct_QuantizedNodeTriangleCallback___SIZE=6,$struct_QuantizedNodeTriangleCallback___FLATTENER= +[0,4,5],$struct_RayTester___SIZE=10,$struct_RayTester___FLATTENER=[0,4,5,6,7,8,9],$struct_SphereTriangleDetector___SIZE=7,$struct_SphereTriangleDetector___FLATTENER=[0,4,5,6],$struct_btBlock___SIZE=2,$_struct_btBoxBoxCollisionAlgorithm__CreateFunc____SIZE=8,$struct_btBoxBoxDetector___SIZE=6,$struct_btBoxBoxDetector___FLATTENER=[0,4,5],$struct_btBridgedManifoldResult___SIZE=161,$struct_btBroadphasePair___SIZE=4,$struct_btBroadphaseProxy___SIZE=13,$struct_btBroadphaseProxy___FLATTENER=[0,1,2,3,4,5, +9],$struct_btBroadphaseRayCallback___SIZE=12,$struct_btBroadphaseRayCallback___FLATTENER=[0,4,8,11],$struct_btBvhSubtreeInfoData___SIZE=8,$struct_btBvhSubtreeInfoData___FLATTENER=[0,1,2,5],$struct_btCapsuleShapeData___SIZE=21,$struct_btCapsuleShapeData___FLATTENER=[0,16,17],$struct_btCharIndexTripletData___SIZE=4,$struct_btClockData___SIZE=2,$struct_btCollisionAlgorithmConstructionInfo___SIZE=2,$struct_btCollisionAlgorithmCreateFunc___SIZE=2,$struct_btCollisionObjectFloatData___SIZE=62,$struct_btCollisionObjectFloatData___FLATTENER= +[0,1,2,3,4,20,36,40,44,48,49,50,51,52,53,54,55,56,57,58,59,60,61],$struct_btCollisionShapeData___SIZE=6,$_struct_btCollisionWorld__ClosestConvexResultCallback____SIZE=29,$_struct_btCollisionWorld__ClosestConvexResultCallback____FLATTENER=[0,12,16,20,24,28],$_struct_btCollisionWorld__ClosestRayResultCallback____SIZE=36,$_struct_btCollisionWorld__ClosestRayResultCallback____FLATTENER=[0,20,24,28,32],$_struct_btCollisionWorld__ContactResultCallback____SIZE=3,$_struct_btCollisionWorld__ConvexResultCallback____SIZE= +4,$_struct_btCollisionWorld__LocalConvexResult____SIZE=11,$_struct_btCollisionWorld__LocalConvexResult____FLATTENER=[0,1,2,6,10],$_struct_btCollisionWorld__LocalRayResult____SIZE=7,$_struct_btCollisionWorld__LocalRayResult____FLATTENER=[0,1,2,6],$_struct_btCollisionWorld__RayResultCallback____SIZE=6,$struct_btCompoundLeafCallback___SIZE=11,$struct_btCompoundLeafCallback___FLATTENER=[0,4,5,6,7,8,9,10],$struct_btCompoundShapeChild___SIZE=20,$struct_btCompoundShapeChild___FLATTENER=[0,16,17,18,19],$struct_btCompoundShapeChildData___SIZE= +19,$struct_btCompoundShapeChildData___FLATTENER=[0,16,17,18],$struct_btCompoundShapeData___SIZE=9,$struct_btCompoundShapeData___FLATTENER=[0,6,7,8],$struct_btConeTwistConstraintData___SIZE=57,$struct_btConeTwistConstraintData___FLATTENER=[0,14,30,46,47,48,49,50,51,52,53],$struct_btConnectivityProcessor___SIZE=8,$struct_btConnectivityProcessor___FLATTENER=[0,4,5,6,7],$struct_btConstraintRow___SIZE=8,$struct_btConstraintRow___FLATTENER=[0,3,4,5,6,7],$struct_btConstraintSetting___SIZE=3,$struct_btContactSolverInfo___SIZE= +72,$struct_btContactSolverInfoData___SIZE=18,$_struct_btConvex2dConvex2dAlgorithm__CreateFunc____SIZE=9,$_struct_btConvex2dConvex2dAlgorithm__CreateFunc____FLATTENER=[0,5,6,7,8],$_struct_btConvexCast__CastResult____SIZE=44,$_struct_btConvexCast__CastResult____FLATTENER=[0,1,17,33,37,41,42,43],$struct_btConvexHullShapeData___SIZE=23,$struct_btConvexHullShapeData___FLATTENER=[0,16,17,18,19],$struct_btConvexInternalShapeData___SIZE=16,$struct_btConvexInternalShapeData___FLATTENER=[0,6,10,14,15],$_struct_btConvexPlaneCollisionAlgorithm__CreateFunc____SIZE= +7,$_struct_btConvexPlaneCollisionAlgorithm__CreateFunc____FLATTENER=[0,5,6],$struct_btDbvt___SIZE=10,$_struct_btDbvt__sStkCLN____SIZE=2,$struct_btDbvtBroadphase___SIZE=44,$struct_btDbvtBroadphase___FLATTENER=[0,4,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],$struct_btDbvtNode___SIZE=11,$struct_btDbvtNode___FLATTENER=[0,8,9],$struct_btDbvtNodeEnumerator___SIZE=9,$struct_btDbvtProxy___SIZE=52,$struct_btDbvtProxy___FLATTENER=[0,48,49,51],$struct_btDbvtTreeCollider___SIZE=6,$struct_btDbvtTreeCollider___FLATTENER= +[0,4,5],$struct_btDefaultCollisionConstructionInfo___SIZE=8,$struct_btDefaultMotionState___SIZE=53,$struct_btDefaultMotionState___FLATTENER=[0,4,20,36,52],$_struct_btDiscreteCollisionDetectorInterface__ClosestPointInput____SIZE=34,$_struct_btDiscreteCollisionDetectorInterface__ClosestPointInput____FLATTENER=[0,16,32,33],$struct_btDispatcherInfo___SIZE=13,$struct_btFace___SIZE=14,$struct_btGImpactMeshShapeData___SIZE=22,$struct_btGImpactMeshShapeData___FLATTENER=[0,6,16,20,21],$struct_btGeneric6DofConstraintData___SIZE= +64,$struct_btGeneric6DofConstraintData___FLATTENER=[0,14,30,46,50,54,58,62,63],$struct_btGeneric6DofSpringConstraintData___SIZE=88,$struct_btGeneric6DofSpringConstraintData___FLATTENER=[0,64,70,76,82],$_struct_btGjkEpaSolver2__sResults____SIZE=14,$_struct_btGjkEpaSolver2__sResults____FLATTENER=[0,1,9,13],$struct_btHingeConstraintFloatData___SIZE=56,$struct_btHingeConstraintFloatData___FLATTENER=[0,14,30,46,47,48,49,50,51,52,53,54,55],$struct_btIndexedMesh___SIZE=8,$struct_btIntermediateResult___SIZE= +14,$struct_btIntermediateResult___FLATTENER=[0,4,8,12,13],$struct_btMaterialProperties___SIZE=8,$struct_btMeshPartData___SIZE=8,$_struct_btMultiSapBroadphase__btBridgeProxy____SIZE=2,$_struct_btMultiSapBroadphase__btMultiSapProxy____SIZE=62,$_struct_btMultiSapBroadphase__btMultiSapProxy____FLATTENER=[0,48,53,57,61],$struct_btMultiSphereShapeData___SIZE=22,$struct_btMultiSphereShapeData___FLATTENER=[0,16,17,18],$struct_btOptimizedBvhNode___SIZE=16,$struct_btOptimizedBvhNode___FLATTENER=[0,4,8,9,10, +11],$struct_btOptimizedBvhNodeDoubleData___SIZE=15,$struct_btOptimizedBvhNodeDoubleData___FLATTENER=[0,4,8,9,10,11],$struct_btOptimizedBvhNodeFloatData___SIZE=15,$struct_btOptimizedBvhNodeFloatData___FLATTENER=[0,4,8,9,10,11],$struct_btPerturbedContactResult___SIZE=211,$struct_btPerturbedContactResult___FLATTENER=[0,160,161,177,193,209,210],$struct_btPoint2PointConstraintFloatData___SIZE=22,$struct_btPoint2PointConstraintFloatData___FLATTENER=[0,14,18],$struct_btQuantizedBvhDoubleData___SIZE=21,$struct_btQuantizedBvhDoubleData___FLATTENER= +[0,4,8,12,13,14,15,16,17,18,19,20],$struct_btQuantizedBvhFloatData___SIZE=21,$struct_btQuantizedBvhFloatData___FLATTENER=[0,4,8,12,13,14,15,16,17,18,19,20],$_struct_btRigidBody__btRigidBodyConstructionInfo____SIZE=34,$_struct_btRigidBody__btRigidBodyConstructionInfo____FLATTENER=[0,1,2,18,19,23,24,25,26,27,28,29,30,31,32,33],$struct_btRigidBodyFloatData___SIZE=120,$struct_btRigidBodyFloatData___FLATTENER=[0,62,74,78,82,86,90,94,98,102,106,110,111,112,113,114,115,116,117,118,119],$struct_btScaledTriangleMeshShapeData___SIZE= +28,$struct_btShortIntIndexData___SIZE=3,$struct_btShortIntIndexTripletData___SIZE=5,$struct_btSimpleBroadphaseProxy___SIZE=49,$struct_btSingleContactCallback___SIZE=7,$struct_btSingleContactCallback___FLATTENER=[0,4,5,6],$struct_btSingleRayCallback___SIZE=82,$struct_btSingleRayCallback___FLATTENER=[0,36,40,44,60,76,80,81],$struct_btSingleSweepCallback___SIZE=76,$struct_btSingleSweepCallback___FLATTENER=[0,36,52,68,72,73,74,75],$struct_btSliderConstraintData___SIZE=52,$struct_btSliderConstraintData___FLATTENER= +[0,14,30,46,47,48,49,50,51],$struct_btSolverConstraint___SIZE=34,$struct_btSolverConstraint___FLATTENER=[0,4,8,12,16,20,21,22,23,24,25,26,27,28,29,30,31,32,33],$struct_btStaticPlaneShapeData___SIZE=19,$struct_btStaticPlaneShapeData___FLATTENER=[0,6,10,14,15],$struct_btStridingMeshInterfaceData___SIZE=10,$struct_btStridingMeshInterfaceData___FLATTENER=[0,1,5,6],$struct_btSubSimplexClosestResult___SIZE=11,$struct_btSubSimplexClosestResult___FLATTENER=[0,4,6,10],$struct_btTriangle___SIZE=14,$struct_btTriangle___FLATTENER= +[0,4,8,12,13],$struct_btTriangleInfo___SIZE=4,$struct_btTriangleInfoMap___SIZE=87,$struct_btTriangleInfoMap___FLATTENER=[0,1,81,82,83,84,85,86],$struct_btTriangleInfoMapData___SIZE=17,$struct_btTriangleMeshShapeData___SIZE=24,$struct_btTriangleMeshShapeData___FLATTENER=[0,6,16,17,18,19,20],$_struct_btTypedConstraint__btConstraintInfo2____SIZE=14,$struct_btTypedConstraintData___SIZE=14,$struct_btUsageBitfield___SIZE=2,$struct_btVector3DoubleData___SIZE=4,$_struct_btVehicleRaycaster__btVehicleRaycasterResult____SIZE= +9,$struct_btWheelContactPoint___SIZE=12,$struct_btWheelContactPoint___FLATTENER=[0,1,2,6,10,11],$struct_btWheelInfo___SIZE=71,$struct_btWheelInfo___FLATTENER=[0,23,39,43,47,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70],$_struct_btWheelInfo__RaycastInfo____SIZE=23,$_struct_btWheelInfo__RaycastInfo____FLATTENER=[0,4,8,9,13,17,21,22],$struct_dContactGeom___SIZE=0,$struct_dContactGeom___FLATTENER=[],$_struct_gjkepa2_impl__EPA____SIZE=2836,$_struct_gjkepa2_impl__EPA____FLATTENER=[0,1,10, +14,15,527,2831,2832,2834],$_struct_gjkepa2_impl__EPA__sFace____SIZE=18,$_struct_gjkepa2_impl__EPA__sFace____FLATTENER=[0,4,5,6,9,12,14,17],$_struct_gjkepa2_impl__EPA__sHorizon____SIZE=3,$_struct_gjkepa2_impl__EPA__sList____SIZE=2,$_struct_gjkepa2_impl__GJK____SIZE=95,$_struct_gjkepa2_impl__GJK____FLATTENER=[0,32,36,37,55,87,91,92,93,94],$_struct_gjkepa2_impl__GJK__sSimplex____SIZE=9,$_struct_gjkepa2_impl__MinkowskiDiff____SIZE=32,$_struct_gjkepa2_impl__MinkowskiDiff____FLATTENER=[0,2,14,30],_zz_collisionConfiguration, +_zz_dispatcher,_zz_overlappingPairCache,_zz_solver,_zz_dynamicsWorld,__str,__ZTVN10__cxxabiv121__vmi_class_type_infoE,__ZTVN10__cxxabiv117__class_type_infoE,__ZTV17btTypedConstraint,__ZTS17btTypedConstraint,__ZTS13btTypedObject,__ZTI13btTypedObject,__ZTI17btTypedConstraint,__ZZN11btTransform11getIdentityEvE17identityTransform,__ZGVZN11btTransform11getIdentityEvE17identityTransform,__ZZN11btMatrix3x311getIdentityEvE14identityMatrix,__ZGVZN11btMatrix3x311getIdentityEvE14identityMatrix,__ZTV20btDefaultMotionState, +__ZTVN10__cxxabiv120__si_class_type_infoE,__ZTS20btDefaultMotionState,__ZTS13btMotionState,__ZTI13btMotionState,__ZTI20btDefaultMotionState,__ZTV13btMotionState,__ZTV25btTriangleRaycastCallback,__ZTV28btTriangleConvexcastCallback,__ZTS25btTriangleRaycastCallback,__ZTI25btTriangleRaycastCallback,__ZTS28btTriangleConvexcastCallback,__ZTI28btTriangleConvexcastCallback,__ZTV15btTriangleShape,__ZTS15btTriangleShape,__ZTI15btTriangleShape,__str4,__str15,__ZTV30btConvexPenetrationDepthSolver,__ZTS30btConvexPenetrationDepthSolver, +__ZTI30btConvexPenetrationDepthSolver,__ZTVN12btConvexCast10CastResultE,__ZTSN12btConvexCast10CastResultE,__ZTIN12btConvexCast10CastResultE,__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections,__ZGVZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections,__ZTV33btMinkowskiPenetrationDepthSolver,__ZTS33btMinkowskiPenetrationDepthSolver,__ZTI33btMinkowskiPenetrationDepthSolver,__ZTV36btDiscreteCollisionDetectorInterface,__ZTS36btDiscreteCollisionDetectorInterface, +__ZTI36btDiscreteCollisionDetectorInterface,__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult,__ZTSZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult,__ZTSN36btDiscreteCollisionDetectorInterface6ResultE,__ZTIN36btDiscreteCollisionDetectorInterface6ResultE, +__ZTIZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult,__ZTVN36btDiscreteCollisionDetectorInterface6ResultE,__ZTV22btSubsimplexConvexCast,__ZTS22btSubsimplexConvexCast,__ZTI22btSubsimplexConvexCast,__ZTV30btGjkEpaPenetrationDepthSolver,__ZTS30btGjkEpaPenetrationDepthSolver,__ZTI30btGjkEpaPenetrationDepthSolver,__ZTV15btGjkConvexCast,__ZTS15btGjkConvexCast,__ZTI15btGjkConvexCast, +__ZTV16btPointCollector,__ZTS16btPointCollector,__ZTI16btPointCollector,_gContactBreakingThreshold,_gContactDestroyedCallback,_gContactProcessedCallback,__ZTV12btConvexCast,__ZTS12btConvexCast,__ZTI12btConvexCast,__ZL19gActualSATPairTests,__str5,__str16,___PRETTY_FUNCTION____Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf,__str26,__ZTV27btContinuousConvexCollision,__ZTS27btContinuousConvexCollision,__ZTI27btContinuousConvexCollision,_gNumDeepPenetrationChecks,_gNumGjkChecks, +__ZTV17btGjkPairDetector,__ZTS17btGjkPairDetector,__ZTI17btGjkPairDetector,__ZZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonEE4i1m3,__ZZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonEE4i2m3,__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRjE4imd3,__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRjE4imd3,__ZTV30btActivatingCollisionAlgorithm,__ZTS30btActivatingCollisionAlgorithm,__ZTS20btCollisionAlgorithm,__ZTI20btCollisionAlgorithm, +__ZTI30btActivatingCollisionAlgorithm,__ZTV20btCollisionAlgorithm,__ZTV17btCollisionObject,__str21,__ZTS17btCollisionObject,__ZTI17btCollisionObject,__ZTV16btEmptyAlgorithm,__ZTS16btEmptyAlgorithm,__ZTI16btEmptyAlgorithm,__ZTV13btGhostObject,__ZTV24btPairCachingGhostObject,__ZTS13btGhostObject,__ZTI13btGhostObject,__ZTS24btPairCachingGhostObject,__ZTI24btPairCachingGhostObject,__ZTV32btSphereSphereCollisionAlgorithm,__ZTS32btSphereSphereCollisionAlgorithm,__ZTI32btSphereSphereCollisionAlgorithm,__ZTV29btSphereBoxCollisionAlgorithm, +__ZTS29btSphereBoxCollisionAlgorithm,__ZTI29btSphereBoxCollisionAlgorithm,_gNumManifold,__ZTV21btCollisionDispatcher,__ZTS21btCollisionDispatcher,__ZTI21btCollisionDispatcher,__ZTV23btCollisionPairCallback,__ZTS23btCollisionPairCallback,__ZTS17btOverlapCallback,__ZTI17btOverlapCallback,__ZTI23btCollisionPairCallback,__ZTV17btOverlapCallback,__ZTV31btDefaultCollisionConfiguration,__ZTS31btDefaultCollisionConfiguration,__ZTS24btCollisionConfiguration,__ZTI24btCollisionConfiguration,__ZTI31btDefaultCollisionConfiguration, +__ZTV24btCollisionConfiguration,__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE,__ZTSN31btConvexPlaneCollisionAlgorithm10CreateFuncE,__ZTS30btCollisionAlgorithmCreateFunc,__ZTI30btCollisionAlgorithmCreateFunc,__ZTIN31btConvexPlaneCollisionAlgorithm10CreateFuncE,__ZTV30btCollisionAlgorithmCreateFunc,__ZTVN26btBoxBoxCollisionAlgorithm10CreateFuncE,__ZTSN26btBoxBoxCollisionAlgorithm10CreateFuncE,__ZTIN26btBoxBoxCollisionAlgorithm10CreateFuncE,__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE, +__ZTSN34btSphereTriangleCollisionAlgorithm10CreateFuncE,__ZTIN34btSphereTriangleCollisionAlgorithm10CreateFuncE,__ZTVN32btSphereSphereCollisionAlgorithm10CreateFuncE,__ZTSN32btSphereSphereCollisionAlgorithm10CreateFuncE,__ZTIN32btSphereSphereCollisionAlgorithm10CreateFuncE,__ZTVN16btEmptyAlgorithm10CreateFuncE,__ZTSN16btEmptyAlgorithm10CreateFuncE,__ZTIN16btEmptyAlgorithm10CreateFuncE,__ZTVN28btCompoundCollisionAlgorithm17SwappedCreateFuncE,__ZTSN28btCompoundCollisionAlgorithm17SwappedCreateFuncE, +__ZTIN28btCompoundCollisionAlgorithm17SwappedCreateFuncE,__ZTVN28btCompoundCollisionAlgorithm10CreateFuncE,__ZTSN28btCompoundCollisionAlgorithm10CreateFuncE,__ZTIN28btCompoundCollisionAlgorithm10CreateFuncE,__ZTVN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE,__ZTSN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE,__ZTIN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE,__ZTVN33btConvexConcaveCollisionAlgorithm10CreateFuncE,__ZTSN33btConvexConcaveCollisionAlgorithm10CreateFuncE, +__ZTIN33btConvexConcaveCollisionAlgorithm10CreateFuncE,__ZTV25btSimulationIslandManager,__str22,__str123,__ZTS25btSimulationIslandManager,__ZTI25btSimulationIslandManager,__ZTV16btBoxBoxDetector,__ZTS16btBoxBoxDetector,__ZTI16btBoxBoxDetector,__ZTV31btConvexPlaneCollisionAlgorithm,__ZTS31btConvexPlaneCollisionAlgorithm,__ZTI31btConvexPlaneCollisionAlgorithm,__ZTV33btConvexConcaveCollisionAlgorithm,__ZTV24btConvexTriangleCallback,__ZTS33btConvexConcaveCollisionAlgorithm,__ZTI33btConvexConcaveCollisionAlgorithm, +__ZTS24btConvexTriangleCallback,__ZTI24btConvexTriangleCallback,__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback,__ZTSZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback,__ZTIZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback, +__ZTV26btBoxBoxCollisionAlgorithm,__ZTS26btBoxBoxCollisionAlgorithm,__ZTI26btBoxBoxCollisionAlgorithm,__ZTV30btBox2dBox2dCollisionAlgorithm,_b2_maxManifoldPoints,__ZTS30btBox2dBox2dCollisionAlgorithm,__ZTI30btBox2dBox2dCollisionAlgorithm,__ZTV22SphereTriangleDetector,__ZTS22SphereTriangleDetector,__ZTI22SphereTriangleDetector,_gContactAddedCallback,__ZTV16btManifoldResult,__ZTS16btManifoldResult,__ZTI16btManifoldResult,__ZTV16btCollisionWorld,__ZZN16btCollisionWorld16updateSingleAabbEP17btCollisionObjectE8reportMe_b, +__str34,__str135,__str236,__str337,__str438,__str539,__str6,__str7,__str8,__str9,__ZTS16btCollisionWorld,__ZTI16btCollisionWorld,__ZTV17DebugDrawcallback,__ZTS17DebugDrawcallback,__ZTI17DebugDrawcallback,__ZTS24btBroadphaseAabbCallback,__ZTI24btBroadphaseAabbCallback,__ZTV24btBroadphaseAabbCallback,__ZTV21btSingleSweepCallback,__ZTS21btSingleSweepCallback,__ZTS23btBroadphaseRayCallback,__ZTI23btBroadphaseRayCallback,__ZTI21btSingleSweepCallback,__ZTV23btBroadphaseRayCallback,__ZTV19btSingleRayCallback, +__ZTS19btSingleRayCallback,__ZTI19btSingleRayCallback,__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1,__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1,__ZTSN16btCollisionWorld20ConvexResultCallbackE,__ZTIN16btCollisionWorld20ConvexResultCallbackE,__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1, +__ZTVN16btCollisionWorld20ConvexResultCallbackE,__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0,__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0,__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0, +__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback,__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback,__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback, +__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1,__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1,__ZTSN6btDbvt8ICollideE,__ZTIN6btDbvt8ICollideE,__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1,__ZTVN6btDbvt8ICollideE,__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2, +__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2,__ZTSN16btCollisionWorld17RayResultCallbackE,__ZTIN16btCollisionWorld17RayResultCallbackE,__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2,__ZTVN16btCollisionWorld17RayResultCallbackE,__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0, +__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0,__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0,__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback,__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback, +__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback,__ZTV34btSphereTriangleCollisionAlgorithm,__ZTS34btSphereTriangleCollisionAlgorithm,__ZTI34btSphereTriangleCollisionAlgorithm,__ZTVN23btConvexConvexAlgorithm10CreateFuncE,__ZTV23btConvexConvexAlgorithm,_disableCcd,__ZTS23btConvexConvexAlgorithm,__ZTI23btConvexConvexAlgorithm,__ZTSN23btConvexConvexAlgorithm10CreateFuncE,__ZTIN23btConvexConvexAlgorithm10CreateFuncE, +__ZTV24btPerturbedContactResult,__ZTS24btPerturbedContactResult,__ZTI24btPerturbedContactResult,__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult,__ZTSZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult,__ZTIZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult,__ZTVN27btConvex2dConvex2dAlgorithm10CreateFuncE, +__ZTV27btConvex2dConvex2dAlgorithm,__ZTS27btConvex2dConvex2dAlgorithm,__ZTI27btConvex2dConvex2dAlgorithm,__ZTSN27btConvex2dConvex2dAlgorithm10CreateFuncE,__ZTIN27btConvex2dConvex2dAlgorithm10CreateFuncE,__ZTV28btCompoundCollisionAlgorithm,__ZTS28btCompoundCollisionAlgorithm,__ZTI28btCompoundCollisionAlgorithm,__ZTV22btCompoundLeafCallback,__ZTS22btCompoundLeafCallback,__ZTI22btCompoundLeafCallback,__ZTV16btBU_Simplex1to4,__ZTS16btBU_Simplex1to4,__ZTI16btBU_Simplex1to4,__str150,__ZTV19btMinkowskiSumShape, +__ZTS19btMinkowskiSumShape,__ZTI19btMinkowskiSumShape,__str152,__ZTV15btCompoundShape,__str53,__str154,__ZTS15btCompoundShape,__ZTI15btCompoundShape,__str255,__ZTV11btConeShape,__ZTV12btConeShapeZ,__ZTV12btConeShapeX,__ZTS11btConeShape,__ZTI11btConeShape,__ZTS12btConeShapeX,__ZTI12btConeShapeX,__ZTS12btConeShapeZ,__ZTI12btConeShapeZ,__str157,__ZTV18btConvexPolyhedron,__ZTS18btConvexPolyhedron,__ZTI18btConvexPolyhedron,__ZTV18btMultiSphereShape,__str59,__str160,__ZTS18btMultiSphereShape,__ZTI18btMultiSphereShape, +__str261,__ZTV21btUniformScalingShape,__ZTS21btUniformScalingShape,__ZTI21btUniformScalingShape,__str63,__ZTV13btSphereShape,__ZTS13btSphereShape,__ZTI13btSphereShape,__str166,__ZTV26btTriangleIndexVertexArray,__ZTS26btTriangleIndexVertexArray,__ZTI26btTriangleIndexVertexArray,__ZTV22btBvhTriangleMeshShape,__str67,__ZTS22btBvhTriangleMeshShape,__ZTI22btBvhTriangleMeshShape,__str168,__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback,__ZTSZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback, +__ZTS21btNodeOverlapCallback,__ZTI21btNodeOverlapCallback,__ZTIZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback,__ZTV21btNodeOverlapCallback,__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback,__ZTSZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback,__ZTIZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback, +__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback,__ZTSZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback,__ZTIZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback,__ZTV19btTriangleMeshShape,__ZTS19btTriangleMeshShape,__ZTI19btTriangleMeshShape,__str75,__ZTV21SupportVertexCallback,__ZTS21SupportVertexCallback,__ZTI21SupportVertexCallback, +__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback,__ZTSZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback,__ZTIZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback,__ZTV16btTriangleBuffer,__ZTS16btTriangleBuffer,__ZTI16btTriangleBuffer,__ZTV18btStaticPlaneShape,__ZTS18btStaticPlaneShape,__ZTI18btStaticPlaneShape,__str84,__str185,__ZTV23btPolyhedralConvexShape, +__ZTV34btPolyhedralConvexAabbCachingShape,__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions,__ZGVZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions,__ZTS23btPolyhedralConvexShape,__ZTI23btPolyhedralConvexShape,__ZTS34btPolyhedralConvexAabbCachingShape,__ZTI34btPolyhedralConvexAabbCachingShape,__ZTV12btEmptyShape,__ZTS12btEmptyShape,__ZTI12btEmptyShape,__str100,__str101,__ZTV16btCollisionShape,__ZTS16btCollisionShape,__ZTI16btCollisionShape,__ZTV13btConvexShape, +__ZTS13btConvexShape,__ZTI13btConvexShape,__ZTV15btConvex2dShape,__ZTS15btConvex2dShape,__ZTI15btConvex2dShape,__str116,__ZTV21btConvexInternalShape,__ZTV32btConvexInternalAabbCachingShape,__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions,__ZGVZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions,__ZTS21btConvexInternalShape,__ZTI21btConvexInternalShape,__ZTS32btConvexInternalAabbCachingShape,__ZTI32btConvexInternalAabbCachingShape,__ZTV17btConvexHullShape,__str131, +__str1132,__ZTS17btConvexHullShape,__ZTI17btConvexHullShape,__str2133,__ZTV18btTriangleCallback,__ZTV31btInternalTriangleIndexCallback,__ZTS18btTriangleCallback,__ZTI18btTriangleCallback,__ZTS31btInternalTriangleIndexCallback,__ZTI31btInternalTriangleIndexCallback,__ZTV14btCapsuleShape,__ZTV15btCapsuleShapeX,__ZTV15btCapsuleShapeZ,__ZTS14btCapsuleShape,__ZTI14btCapsuleShape,__ZTS15btCapsuleShapeZ,__ZTI15btCapsuleShapeZ,__ZTS15btCapsuleShapeX,__ZTI15btCapsuleShapeX,__str141,__str1142,__str2143,__str4145, +__ZTV25btConvexTriangleMeshShape,__ZTS25btConvexTriangleMeshShape,__ZTI25btConvexTriangleMeshShape,__str1147,__ZTV26LocalSupportVertexCallback,__ZTS26LocalSupportVertexCallback,__ZTI26LocalSupportVertexCallback,__ZTV14btConcaveShape,__ZTS14btConcaveShape,__ZTI14btConcaveShape,__ZTV23btConvexPointCloudShape,__ZTS23btConvexPointCloudShape,__ZTI23btConvexPointCloudShape,__str1152,__ZTV10btBoxShape,__ZTS10btBoxShape,__ZTI10btBoxShape,__str1154,__ZTV12btBox2dShape,__ZTS12btBox2dShape,__ZTI12btBox2dShape, +__str1156,__ZTV14btOptimizedBvh,__ZTS14btOptimizedBvh,__ZTI14btOptimizedBvh,__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0,__ZTSZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0,__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0,__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback,__ZTSZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback, +__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback,__ZTV25btHeightfieldTerrainShape,__ZTS25btHeightfieldTerrainShape,__ZTI25btHeightfieldTerrainShape,__str161,__ZTV15btCylinderShape,__ZTV16btCylinderShapeX,__ZTV16btCylinderShapeZ,__ZTS15btCylinderShape,__ZTI15btCylinderShape,__ZTS16btCylinderShapeX,__ZTI16btCylinderShapeX,__ZTS16btCylinderShapeZ,__ZTI16btCylinderShapeZ,__str165,__str1166,__str2167,__str4169,__ZTV28btScaledBvhTriangleMeshShape, +__ZTS28btScaledBvhTriangleMeshShape,__ZTI28btScaledBvhTriangleMeshShape,__str170,__str1171,__ZTV24btScaledTriangleCallback,__ZTS24btScaledTriangleCallback,__ZTI24btScaledTriangleCallback,__ZTV23btStridingMeshInterface,__str176,__str1177,__str2178,__str3179,__str4180,__str5181,__str6182,__ZTS23btStridingMeshInterface,__ZTI23btStridingMeshInterface,__ZTV34btTriangleIndexVertexMaterialArray,__ZTS34btTriangleIndexVertexMaterialArray,__ZTI34btTriangleIndexVertexMaterialArray,__ZTV14btTriangleMesh,__ZTS14btTriangleMesh, +__ZTI14btTriangleMesh,__ZTV12btAxisSweep3,__ZTV17bt32BitAxisSweep3,__ZTS17bt32BitAxisSweep3,__ZTS20btAxisSweep3InternalIjE,__ZTS21btBroadphaseInterface,__ZTI21btBroadphaseInterface,__ZTI20btAxisSweep3InternalIjE,__ZTI17bt32BitAxisSweep3,__ZTS12btAxisSweep3,__ZTS20btAxisSweep3InternalItE,__ZTI20btAxisSweep3InternalItE,__ZTI12btAxisSweep3,__ZTV20btAxisSweep3InternalItE,__ZTV21btBroadphaseInterface,__ZTV20btAxisSweep3InternalIjE,__ZTV15btNullPairCache,__ZTS15btNullPairCache,__ZTS22btOverlappingPairCache, +__ZTS25btOverlappingPairCallback,__ZTI25btOverlappingPairCallback,__ZTI22btOverlappingPairCache,__ZTI15btNullPairCache,__ZTV22btOverlappingPairCache,__ZTV25btOverlappingPairCallback,_gOverlappingPairs,_gRemovePairs,_gAddedPairs,_gFindPairs,__ZTV28btHashedOverlappingPairCache,__ZTV28btSortedOverlappingPairCache,__ZTS28btHashedOverlappingPairCache,__ZTI28btHashedOverlappingPairCache,__ZTS28btSortedOverlappingPairCache,__ZTI28btSortedOverlappingPairCache,__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback, +__ZTSZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback,__ZTIZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback,__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback,__ZTSZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback,__ZTIZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback, +__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback,__ZTSZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback,__ZTIZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback,__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback, +__ZTSZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback,__ZTIZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback,__ZTV16btDbvtBroadphase,__ZTS16btDbvtBroadphase,__ZTI16btDbvtBroadphase,__ZTV20BroadphaseAabbTester,__ZTS20BroadphaseAabbTester,__ZTI20BroadphaseAabbTester,__ZTV19BroadphaseRayTester,__ZTS19BroadphaseRayTester,__ZTI19BroadphaseRayTester,__ZTV18btDbvtTreeCollider,__ZTS18btDbvtTreeCollider, +__ZTI18btDbvtTreeCollider,__ZTV20btMultiSapBroadphase,_stopUpdating,__ZTS20btMultiSapBroadphase,__ZTI20btMultiSapBroadphase,__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback,__ZTSZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback,__ZTIZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback,__ZTVZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback, +__ZTSZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback,__ZTS23btOverlapFilterCallback,__ZTI23btOverlapFilterCallback,__ZTIZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback,__ZTV23btOverlapFilterCallback,__ZTV12btDispatcher,__ZTS12btDispatcher,__ZTI12btDispatcher,__ZTV14btQuantizedBvh,_maxIterations,__str193,__str1194,__str2195,__str3196,__ZTS14btQuantizedBvh,__ZTI14btQuantizedBvh,__ZTV18btSimpleBroadphase,__ZTS18btSimpleBroadphase, +__ZTI18btSimpleBroadphase,__ZTV27btGImpactCollisionAlgorithm,___dso_handle,__ZTS27btGImpactCollisionAlgorithm,__ZTI27btGImpactCollisionAlgorithm,__ZTV25btGImpactTriangleCallback,__ZTS25btGImpactTriangleCallback,__ZTI25btGImpactTriangleCallback,__ZTV17btTriangleShapeEx,__ZTS17btTriangleShapeEx,__ZTI17btTriangleShapeEx,__ZTV20btTetrahedronShapeEx,__ZTS20btTetrahedronShapeEx,__ZTI20btTetrahedronShapeEx,__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE,__ZTSN18GIM_ShapeRetriever19ChildShapeRetrieverE, +__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE,__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE,__ZTSN18GIM_ShapeRetriever22TriangleShapeRetrieverE,__ZTIN18GIM_ShapeRetriever22TriangleShapeRetrieverE,__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE,__ZTSN18GIM_ShapeRetriever19TetraShapeRetrieverE,__ZTIN18GIM_ShapeRetriever19TetraShapeRetrieverE,__str225,__ZTV22btGImpactCompoundShape,__ZTS22btGImpactCompoundShape,__ZTS23btGImpactShapeInterface,__ZTI23btGImpactShapeInterface,__ZTI22btGImpactCompoundShape, +__ZTV22btGImpactMeshShapePart,__ZTS22btGImpactMeshShapePart,__ZTI22btGImpactMeshShapePart,__ZTV18btGImpactMeshShape,__ZTS18btGImpactMeshShape,__ZTI18btGImpactMeshShape,__str1226,__ZTV23btGImpactShapeInterface,__str2227,__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE,__ZTSN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE,__ZTS22btPrimitiveManagerBase,__ZTI22btPrimitiveManagerBase,__ZTIN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE,__ZTV22btPrimitiveManagerBase,__str3228,__ZTVN22btGImpactCompoundShape24CompoundPrimitiveManagerE, +__ZTSN22btGImpactCompoundShape24CompoundPrimitiveManagerE,__ZTIN22btGImpactCompoundShape24CompoundPrimitiveManagerE,__ZTV25btContinuousDynamicsWorld,__str13,__ZTS25btContinuousDynamicsWorld,__ZTI25btContinuousDynamicsWorld,_gDeactivationTime,_gDisableDeactivation,__ZTV11btRigidBody,__ZL8uniqueId,__str114,__ZTS11btRigidBody,__ZTI11btRigidBody,__ZTV21btSimpleDynamicsWorld,__ZTS21btSimpleDynamicsWorld,__ZTS15btDynamicsWorld,__ZTI15btDynamicsWorld,__ZTI21btSimpleDynamicsWorld,__ZTV15btDynamicsWorld,__ZTV23btDiscreteDynamicsWorld, +__str519,__str1620,__str27,__str38,__str4921,__str510,__str622,__str723,_gNumClampedCcdMotions,__str824,__str925,__str1026,__str1127,__str1228,__ZTS23btDiscreteDynamicsWorld,__ZTI23btDiscreteDynamicsWorld,__ZTV34btClosestNotMeConvexResultCallback,__ZTS34btClosestNotMeConvexResultCallback,__ZTSN16btCollisionWorld27ClosestConvexResultCallbackE,__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE,__ZTI34btClosestNotMeConvexResultCallback,__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE,__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback, +__ZTSZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback,__ZTSN25btSimulationIslandManager14IslandCallbackE,__ZTIN25btSimulationIslandManager14IslandCallbackE,__ZTIZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback,__ZTVN25btSimulationIslandManager14IslandCallbackE,__ZTV23btGeneric6DofConstraint,__ZTS23btGeneric6DofConstraint,__ZTI23btGeneric6DofConstraint,__str50,__ZTV29btGeneric6DofSpringConstraint,__ZTS29btGeneric6DofSpringConstraint, +__ZTI29btGeneric6DofSpringConstraint,__str52,__ZTV23btPoint2PointConstraint,__ZTS23btPoint2PointConstraint,__ZTI23btPoint2PointConstraint,__str5329,__str54,__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed,__ZGVZN17btTypedConstraint12getFixedBodyEvE7s_fixed,__ZTV19btContactConstraint,__ZTS19btContactConstraint,__ZTI19btContactConstraint,__ZTV18btSliderConstraint,__ZTS18btSliderConstraint,__ZTI18btSliderConstraint,__str6330,__ZTV21btConeTwistConstraint,__ZL6vTwist,__ZTS21btConeTwistConstraint,__ZTI21btConeTwistConstraint, +__str64,__ZTV17btHingeConstraint,__ZTS17btHingeConstraint,__ZTI17btHingeConstraint,__str66,__ZTV18btHinge2Constraint,__ZTS18btHinge2Constraint,__ZTI18btHinge2Constraint,__ZTV21btUniversalConstraint,__ZTS21btUniversalConstraint,__ZTI21btUniversalConstraint,_gNumSplitImpulseRecoveries,__ZTV35btSequentialImpulseConstraintSolver,__str71,__str172,__str273,__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed,__ZGVZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed,__ZTS35btSequentialImpulseConstraintSolver, +__ZTS18btConstraintSolver,__ZTI18btConstraintSolver,__ZTI35btSequentialImpulseConstraintSolver,__ZTV18btConstraintSolver,__ZZN17btActionInterface12getFixedBodyEvE7s_fixed,__ZGVZN17btActionInterface12getFixedBodyEvE7s_fixed,__ZTV16btRaycastVehicle,_sideFrictionStiffness2,__ZTS16btRaycastVehicle,__ZTS17btActionInterface,__ZTI17btActionInterface,__ZTI16btRaycastVehicle,__ZTV25btDefaultVehicleRaycaster,__ZTS25btDefaultVehicleRaycaster,__ZTS18btVehicleRaycaster,__ZTI18btVehicleRaycaster,__ZTI25btDefaultVehicleRaycaster, +__ZTV18btVehicleRaycaster,__ZTVN16btCollisionWorld24ClosestRayResultCallbackE,__ZTSN16btCollisionWorld24ClosestRayResultCallbackE,__ZTIN16btCollisionWorld24ClosestRayResultCallbackE,__ZTV17btActionInterface,__ZTV30btKinematicCharacterController,__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection,__ZGVZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection,__ZTS30btKinematicCharacterController,__ZTS30btCharacterControllerInterface,__ZTI30btCharacterControllerInterface, +__ZTI30btKinematicCharacterController,__ZTV43btKinematicClosestNotMeConvexResultCallback,__ZTS43btKinematicClosestNotMeConvexResultCallback,__ZTI43btKinematicClosestNotMeConvexResultCallback,__ZTV30btCharacterControllerInterface,__ZL13gProfileClock,__ZN15CProfileManager4RootE,__str31,__ZN15CProfileManager11CurrentNodeE,__ZN15CProfileManager12FrameCounterE,__ZN15CProfileManager9ResetTimeE,_gNumAlignedAllocs,_gNumAlignedFree,_gTotalBytesAlignedAllocs,_sBulletDNAstr,_sBulletDNAlen,_sBulletDNAstr64,_sBulletDNAlen64, +_planetestepsilon,__globalConstructor__=function(){__GLOBAL__I_a44()},__Znwj=function(a){var e=STATICTOP;STATICTOP+=a;return e},_undefined=void 0,_llvm_eh_exception=function(){return"code-generated exception: "+Error().stack},___gxx_personality_v0=function(){},_llvm_eh_selector=function(){return 0},__ZdlPv=function(){},_llvm_memcpy_p0i8_p0i8_i32=function(a,e,d){for(var b=0;b<d;b++)IHEAP[a+b]=IHEAP[e+b],FHEAP[a+b]=FHEAP[e+b]},_printf=function(){__print__(Pointer_stringify(__formatString.apply(null, +arguments)))},__formatString=function(){function a(a){return String.fromCharCode(a)in Runtime.set("f","e","g")}function e(b){d?(b=a(b)?FHEAP[c]:IHEAP[c],c+=1):(b=f[c],c++);return b}var d=!1,b=arguments[0],c=1;if(b<0)d=!0,b=-b,c=arguments[1];else var f=arguments;for(var g=[],h,i,j;;){h=IHEAP[b];if(h===0)break;i=IHEAP[b+1];if(h=="%".charCodeAt(0)){h=-1;if(i==".".charCodeAt(0)){b++;for(h=0;;){i=IHEAP[b+1];if(!(i>="0".charCodeAt(0)&&i<="9".charCodeAt(0)))break;h*=10;h+=i-"0".charCodeAt(0);b++}i=IHEAP[b+ +1]}i=="l".charCodeAt(0)&&(b++,i=IHEAP[b+1]);a(i)&&(i="f".charCodeAt(0));if(["d","i","u","p","f"].indexOf(String.fromCharCode(i))!=-1){var k;j=e(i);k=String(+j);k=i=="u".charCodeAt(0)?String(unSign(j,32)):i=="p".charCodeAt(0)?"0x"+j.toString(16):String(+j);if(h>=0)if(a(i)){k=(Math.round(j*Math.pow(10,h))/Math.pow(10,h)).toString();j=k.indexOf(".");if(j==-1&&i=="f".charCodeAt(0))j=k.length,k+=".";k+="00000000000";k=k.substr(0,j+1+h)}else for(;k.length<h;)k="0"+k;k.split("").forEach(function(a){g.push(a.charCodeAt(0))})}else i== +"s".charCodeAt(0)?g=g.concat(String_copy(e(i))):i=="c".charCodeAt(0)?g=g.concat(e(i)):g.push(i);b+=2}else g.push(h),b+=1}return Pointer_make(g.concat(0),0,ALLOC_STACK)},_STDIO={streams:{},filenames:{},counter:1,SEEK_SET:0,SEEK_CUR:1,SEEK_END:2,init:function(){try{_stdin=Pointer_make([0],null,ALLOC_STATIC),IHEAP[_stdin]=this.prepare("<<stdin>>")}catch(a){}try{_stdout=Pointer_make([0],null,ALLOC_STATIC),IHEAP[_stdout]=this.prepare("<<stdout>>",null,!0)}catch(e){}try{_stderr=Pointer_make([0],null,ALLOC_STATIC), +IHEAP[_stderr]=this.prepare("<<stderr>>",null,!0)}catch(d){}},prepare:function(a,e,d){var b=this.counter++;this.streams[b]={filename:a,data:e?e:[],position:0,eof:0,error:0,print:d};return this.filenames[a]=b},open:function(a){a=_STDIO.filenames[a];if(!a)return-1;var e=_STDIO.streams[a];e.position=e.error=e.eof=0;return a},read:function(a,e,d){a=_STDIO.streams[a];if(!a)return-1;for(var b=0;b<d;b++){if(a.position>=a.data.length)return a.eof=1,0;IHEAP[e]=a.data[a.position];a.position++;e++}return d}, +write:function(a,e,d){a=_STDIO.streams[a];if(!a)return-1;if(a.print)__print__(intArrayToString(Array_copy(e,d)));else for(var b=0;b<d;b++)a.data[a.position]=IHEAP[e],a.position++,e++;return d}},___cxa_pure_virtual=function(){ABORT=!0;throw"Pure virtual function called!";},_sqrtf=Math.sqrt,___cxa_guard_acquire=function(){return 1},___cxa_guard_release=function(){return 1},_fabsf=Math.abs,___assert_fail=function(a){ABORT=!0;throw"Assertion failed: "+Pointer_stringify(a);},_cosf=Math.cos,_sinf=Math.sin, +_acosf=Math.acos,_llvm_memset_p0i8_i32=function(a,e,d){for(var b=0;b<d;b++)IHEAP[a+b]=e,FHEAP[a+b]=e},_atan2f=Math.atan2,_llvm_umul_with_overflow_i32=function(a,e){return{f0:a*e,f1:0}},___cxa_atexit=function(a,e){__ATEXIT__.push({func:a,arg:e})},_malloc=function(a){var e=STATICTOP;STATICTOP+=a;return e},_free=function(){},_llvm_pow_f32=Math.pow,_asinf=Math.asin,_fabs=Math.abs,_sqrt=Math.sqrt,_gettimeofday=function(a){var e=Runtime.calculateStructAlignment({fields:["i32","i32"]}),d=Date.now();IHEAP[a+ +e[0]]=Math.floor(d/1E3);IHEAP[a+e[1]]=Math.floor((d-1E3*Math.floor(d/1E3))*1E3);return 0},_llvm_memmove_p0i8_p0i8_i32=function(a,e,d){if(d!==0){var b=_malloc(d);_memcpy(b,e,d);_memcpy(a,b,d);_free(b)}},_memcpy=function(a,e,d){for(var b=0;b<d;b++)IHEAP[a+b]=IHEAP[e+b],FHEAP[a+b]=FHEAP[e+b]},_llvm_memcpy_p0i8_p0i8_i64=function(a,e,d){for(var b=0;b<d;b++)IHEAP[a+b]=IHEAP[e+b],FHEAP[a+b]=FHEAP[e+b]},_llvm_memmove_p0i8_p0i8_i64=function(a,e,d){if(d!==0){var b=_malloc(d);_memcpy(b,e,d);_memcpy(a,b,d);_free(b)}}, +_memset=function(a,e,d){for(var b=0;b<d;b++)IHEAP[a+b]=e,FHEAP[a+b]=e};function __ZNK17btTypedConstraint28calculateSerializeBufferSizeEv(){return 44} +function __Z10zz_preparev(){var a=STACKTOP;STACKTOP+=184;var e,d=null,b,c,f,g,h,i,j=a+1,k=a+2,l=a+3,m=a+4,n=a+5,o=a+6,q=a+7,p=a+8,r=a+9,s=a+10,u=a+11,v,y=a+12,x=a+13,z=a+14,B=a+15,C=a+16,A=a+17,w=a+18,D=a+19,E=a+20,F=a+21,G=a+22,J=a+23,H=a+24,M=a+25,K=a+26;b=a+27;var N,R=a+35,O=a+39,Q=a+40,I=a+41,L=a+42,P=a+46,S=a+47,T=a+48,U=a+49,W=a+65,Z=a+69,ca=a+70,Y=a+71,ea=a+72,ha=a+76,ba=a+77,V=a+78,aa=a+79,X=a+113,ka=a+117,da=a+118,fa=a+119,ga=a+120,ja=a+136,la=a+140,qa=a+141,pa=a+142,wa=a+143,ua=a+147,na= +a+148,ya=a+149,xa=a+150,ia,ma=__Znwj(88);IHEAP[b]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;IHEAP[b+3]=4096;IHEAP[b+4]=4096;IHEAP[b+5]=0;IHEAP[b+6]=0;IHEAP[b+7]=1;try{__THREW__=!1,__ZN31btDefaultCollisionConfigurationC2ERK34btDefaultCollisionConstructionInfo(ma,b)}catch(ta){if(ABORT)throw ta;__THREW__=!0;print("Exception: "+ta+" : "+ta.stack+", currently at: "+Error().stack)}e=__THREW__?18:17;a:do if(e==17){IHEAP[_zz_collisionConfiguration]=ma;d=b=__Znwj(5388);e=IHEAP[_zz_collisionConfiguration];try{__THREW__= +!1,__ZN21btCollisionDispatcherC2EP24btCollisionConfiguration(d,e)}catch(ra){if(ABORT)throw ra;__THREW__=!0;print("Exception: "+ra+" : "+ra.stack+", currently at: "+Error().stack)}e=__THREW__?20:19;if(e==19){IHEAP[_zz_dispatcher]=d;d=b=__Znwj(156);try{__THREW__=!1,__ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache(d,0)}catch(oa){if(ABORT)throw oa;__THREW__=!0;print("Exception: "+oa+" : "+oa.stack+", currently at: "+Error().stack)}e=__THREW__?22:21;if(e==21){IHEAP[_zz_overlappingPairCache]=d;d=b=__Znwj(128); +try{__THREW__=!1,__ZN35btSequentialImpulseConstraintSolverC2Ev(d)}catch(Da){if(ABORT)throw Da;__THREW__=!0;print("Exception: "+Da+" : "+Da.stack+", currently at: "+Error().stack)}e=__THREW__?24:23;if(e==23){IHEAP[_zz_solver]=d;d=b=__Znwj(268);e=IHEAP[_zz_dispatcher];g=IHEAP[_zz_overlappingPairCache];h=IHEAP[_zz_solver];i=IHEAP[_zz_collisionConfiguration];try{__THREW__=!1,__ZN23btDiscreteDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(d,e,g,h, +i)}catch(Ba){if(ABORT)throw Ba;__THREW__=!0;print("Exception: "+Ba+" : "+Ba.stack+", currently at: "+Error().stack)}e=__THREW__?26:25;if(e==25){IHEAP[_zz_dynamicsWorld]=d;b=IHEAP[_zz_dynamicsWorld];d=IHEAP[IHEAP[b]+17];FHEAP[O]=0;FHEAP[Q]=-10;FHEAP[I]=0;e=R;g=O;h=Q;i=I;FHEAP[e]=FHEAP[g];FHEAP[e+1]=FHEAP[h];FHEAP[e+2]=FHEAP[i];FHEAP[e+3]=0;FUNCTION_TABLE[d](b,R);b=__Znwj(84);FHEAP[P]=0;FHEAP[S]=1;FHEAP[T]=0;d=L;e=P;g=S;h=T;FHEAP[d]=FHEAP[e];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[h];FHEAP[d+3]=0;d=b; +e=L;h=g=d;IHEAP[h]=__ZTV16btCollisionShape+2;IHEAP[h+1]=35;IHEAP[h+2]=0;IHEAP[g]=__ZTV14btConcaveShape+2;FHEAP[g+12]=0;IHEAP[d]=__ZTV18btStaticPlaneShape+2;__ZNK9btVector310normalizedEv(d+24,e);FHEAP[d+28]=0;e=d+29;FHEAP[H]=0;FHEAP[M]=0;FHEAP[K]=0;g=H;h=M;i=K;FHEAP[e]=FHEAP[g];FHEAP[e+1]=FHEAP[h];FHEAP[e+2]=FHEAP[i];FHEAP[e+3]=0;IHEAP[d+1]=28;e=d=U;FHEAP[y]=1;FHEAP[x]=0;FHEAP[z]=0;FHEAP[B]=0;FHEAP[C]=1;FHEAP[A]=0;FHEAP[w]=0;FHEAP[D]=0;FHEAP[E]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(e, +y,x,z,B,C,A,w,D,E);d+=12;FHEAP[F]=0;FHEAP[G]=0;FHEAP[J]=0;h=d;d=F;e=G;g=J;FHEAP[h]=FHEAP[d];FHEAP[h+1]=FHEAP[e];FHEAP[h+2]=FHEAP[g];FHEAP[h+3]=0;FHEAP[Z]=0;FHEAP[ca]=-6;FHEAP[Y]=0;d=W;e=Z;g=ca;h=Y;FHEAP[d]=FHEAP[e];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[h];FHEAP[d+3]=0;d=U;e=W;_llvm_memcpy_p0i8_p0i8_i32(d+12,e,4,4,0);FHEAP[ha]=0;FHEAP[ba]=0;FHEAP[V]=0;d=ea;e=ha;g=ba;h=V;FHEAP[d]=FHEAP[e];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[h];FHEAP[d+3]=0;e=1;b:for(;;)if(e==0)d=b,FUNCTION_TABLE[IHEAP[IHEAP[d]+8]](d, +0,ea),e=1;else if(e==1){var Oa=__Znwj(200),Fa=Oa;try{__THREW__=!1,__ZN11btTransform11getIdentityEv()}catch(Ha){if(ABORT)throw Ha;__THREW__=!0;print("Exception: "+Ha+" : "+Ha.stack+", currently at: "+Error().stack)}e=__THREW__?32:31;break b}if(e==31){d=Fa;e=U;g=__ZZN11btTransform11getIdentityEvE17identityTransform;__ZN20btDefaultMotionStateC2ERK11btTransformS2_(d,e,g);d=Fa;e=b;b=aa;g=ea;__ZN11btRigidBody27btRigidBodyConstructionInfoC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(b,0,d,e,g);d=b= +__Z22btAlignedAllocInternalji(608,16);try{__THREW__=!1,__ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE(d,aa)}catch(La){if(ABORT)throw La;__THREW__=!0;print("Exception: "+La+" : "+La.stack+", currently at: "+Error().stack)}e=__THREW__?27:3;if(e==3){b=d;d=IHEAP[_zz_dynamicsWorld];FUNCTION_TABLE[IHEAP[IHEAP[d]+20]](d,b);b=0;d=3;b:for(;;){if(!((d==14?ia:0)<5)){e=6;break b}var Ea=__Z22btAlignedAllocInternalji(56,16),d=Ea;FHEAP[ka]=1;FHEAP[da]=1;FHEAP[fa]=1;e=X;g=ka;h=da;i=fa;FHEAP[e]=FHEAP[g]; +FHEAP[e+1]=FHEAP[h];FHEAP[e+2]=FHEAP[i];FHEAP[e+3]=0;g=d;e=X;try{__THREW__=!1,__ZN10btBoxShapeC2ERK9btVector3(g,e)}catch(Ca){if(ABORT)throw Ca;__THREW__=!0;print("Exception: "+Ca+" : "+Ca.stack+", currently at: "+Error().stack)}if(__THREW__){e=29;break b}g=e=ga;FHEAP[a]=1;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=1;FHEAP[n]=0;FHEAP[o]=0;FHEAP[q]=0;FHEAP[p]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(g,a,j,k,l,m,n,o,q,p);e+=12;FHEAP[r]=0;FHEAP[s]=0;FHEAP[u]=0;i=e;e=r;g=s;h=u;FHEAP[i]= +FHEAP[e];FHEAP[i+1]=FHEAP[g];FHEAP[i+2]=FHEAP[h];FHEAP[i+3]=0;FHEAP[la]=0;FHEAP[qa]=0;FHEAP[pa]=0;e=ja;g=la;h=qa;i=pa;FHEAP[e]=FHEAP[g];FHEAP[e+1]=FHEAP[h];FHEAP[e+2]=FHEAP[i];FHEAP[e+3]=0;for(e=7;;)if(e==7)e=d,FUNCTION_TABLE[IHEAP[IHEAP[e]+8]](e,1,ja),e=8;else if(e==8){FHEAP[ua]=(Math.random()-0.5)*2/10;FHEAP[na]=4+b*2.1;FHEAP[ya]=0;c=wa;f=ua;e=na;g=ya;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[e];FHEAP[c+2]=FHEAP[g];FHEAP[c+3]=0;c=ga;f=wa;_llvm_memcpy_p0i8_p0i8_i32(c+12,f,4,4,0);f=c=__Znwj(200);try{__THREW__=!1,__ZN11btTransform11getIdentityEv()}catch(Aa){if(ABORT)throw Aa; +__THREW__=!0;print("Exception: "+Aa+" : "+Aa.stack+", currently at: "+Error().stack)}if(__THREW__){e=34;break b}else break}v=f;e=ga;g=__ZZN11btTransform11getIdentityEvE17identityTransform;__ZN20btDefaultMotionStateC2ERK11btTransformS2_(v,e,g);e=v=f;g=d;v=xa;d=e;e=g;g=ja;__ZN11btRigidBody27btRigidBodyConstructionInfoC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(v,1,d,e,g);d=v=__Z22btAlignedAllocInternalji(608,16);try{__THREW__=!1,__ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE(d,xa)}catch(za){if(ABORT)throw za; +__THREW__=!0;print("Exception: "+za+" : "+za.stack+", currently at: "+Error().stack)}if(__THREW__){e=30;break b}ia=d;d=IHEAP[_zz_dynamicsWorld];FUNCTION_TABLE[IHEAP[IHEAP[d]+20]](d,ia);b=ia=b+1;d=14;e=4}if(e==6){STACKTOP=a;return}else if(e==29){N=b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);b=Ea;if(b==0)break a;IHEAP[_gNumAlignedFree]+=1;if(b==0)break a;b=IHEAP[b+-1];_free(b)}else if(e==34)N=b=_llvm_eh_exception(),_llvm_eh_selector(b,___gxx_personality_v0,0),__ZdlPv(c);else if(e== +30){N=b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);b=v;if(b==0)break a;IHEAP[_gNumAlignedFree]+=1;if(b==0)break a;b=IHEAP[b+-1];_free(b)}}else if(e==27){N=d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);if(b==0)break a;IHEAP[_gNumAlignedFree]+=1;if(b==0)break a;b=IHEAP[b+-1];_free(b)}}else e==32&&(N=b=_llvm_eh_exception(),_llvm_eh_selector(b,___gxx_personality_v0,0),__ZdlPv(Oa))}else e==26&&(N=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0, +0),__ZdlPv(b))}else e==24&&(N=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),__ZdlPv(b))}else e==22&&(N=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),__ZdlPv(b))}else e==20&&(N=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),__ZdlPv(b))}else e==18&&(N=b=_llvm_eh_exception(),_llvm_eh_selector(b,___gxx_personality_v0,0),__ZdlPv(ma));while(0);__Unwind_Resume_or_Rethrow(N);throw"Reached an unreachable! Original .ll line: 2324";} +function __ZN11btTransform11getIdentityEv(){var a=STACKTOP;STACKTOP+=7;var e,d,b,c,f=a+4,g=a+5,h=a+6;for(e=IHEAP[__ZGVZN11btTransform11getIdentityEvE17identityTransform]==0?0:1;;)if(e==0){if(___cxa_guard_acquire(__ZGVZN11btTransform11getIdentityEvE17identityTransform)!=0){try{__THREW__=!1,__ZN11btMatrix3x311getIdentityEv()}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=0;e=a;c=f;d=g;b=h; +FHEAP[e]=FHEAP[c];FHEAP[e+1]=FHEAP[d];FHEAP[e+2]=FHEAP[b];FHEAP[e+3]=0;e=__ZZN11btTransform11getIdentityEvE17identityTransform;d=__ZZN11btMatrix3x311getIdentityEvE14identityMatrix;b=c=a;c=e;e=b;b=d;d=c;_llvm_memcpy_p0i8_p0i8_i32(d,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,e,4,4,0);___cxa_guard_release(__ZGVZN11btTransform11getIdentityEvE17identityTransform)}e=1}else if(e==1)return STACKTOP=a,__ZZN11btTransform11getIdentityEvE17identityTransform; +a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);___cxa_guard_abort(__ZGVZN11btTransform11getIdentityEvE17identityTransform);__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 2489";}function __Z11zz_simulatef(a){var e=IHEAP[_zz_dynamicsWorld];FUNCTION_TABLE[IHEAP[IHEAP[e]+12]](e,a,1,0.01666666753590107)} +function __Z7zz_readiR9btVector3R12btQuaternion(a,e,d){var b=STACKTOP;STACKTOP+=32;var c,f,g=b+16,a=IHEAP[IHEAP[IHEAP[_zz_dynamicsWorld]+1+3]+a],h=(IHEAP[a+58]&2)!=0;a:do if(h){f=c=a;if(c==0)break a;c=f;if(IHEAP[c+310]==0)break a;f=IHEAP[f+310];FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,b);c=e;f=b;_llvm_memcpy_p0i8_p0i8_i32(c,f+12,4,4,0);c=d;f=b;__ZNK11btMatrix3x311getRotationER12btQuaternion(f,g);_llvm_memcpy_p0i8_p0i8_i32(c,g,16,4,0)}while(0);STACKTOP=b} +function _main(){var a=STACKTOP;STACKTOP+=20;var e=a+4;__Z10zz_preparev();var d=IHEAP[_zz_dynamicsWorld];FUNCTION_TABLE[IHEAP[IHEAP[d]+12]](d,0.01666666753590107,1,0.01666666753590107);__Z7zz_readiR9btVector3R12btQuaternion(1,a,e);_printf(__str,FHEAP[a],FHEAP[a+1],FHEAP[a+2],FHEAP[e],FHEAP[e+1],FHEAP[e+2],FHEAP[e+3]);STACKTOP=a;return 0}Module._main=_main;function __ZN17btTypedConstraintD1Ev(a){IHEAP[a]=__ZTV17btTypedConstraint+2} +function __ZN17btTypedConstraintD0Ev(a){IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZN17btTypedConstraint13buildJacobianEv(){}function __ZN17btTypedConstraint21setupSolverConstraintER20btAlignedObjectArrayI18btSolverConstraintEiif(){}function __ZN17btTypedConstraint23solveConstraintObsoleteER11btRigidBodyS1_f(){} +function __ZN20btAlignedObjectArrayIiE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZNK11btMatrix3x311getRotationER12btQuaternion(a,e){var d=STACKTOP;STACKTOP+=4;var b=null,c,f,g,b=FHEAP[a]+FHEAP[a+4+1]+FHEAP[a+8+2];if(b>0)f=_sqrtf(b+1),FHEAP[d+3]=f*0.5,f=0.5/f,g=FHEAP[a+8+1],FHEAP[d]=(g-FHEAP[a+4+2])*f,g=FHEAP[a+2],FHEAP[d+1]=(g-FHEAP[a+8])*f,FHEAP[d+2]=(FHEAP[a+4]-FHEAP[a+1])*f;else{b=FHEAP[a];b<FHEAP[a+4+1]?(f=FHEAP[a+4+1],f=f<FHEAP[a+8+2]?2:1,b=1):(g=FHEAP[a],g=g<FHEAP[a+8+2]?2:0,b=3);f=b==1?f:g;b=(f+1)%3;g=(f+2)%3;c=FHEAP[a+f*4+f];c-=FHEAP[a+b*4+b];c=c-FHEAP[a+g* +4+g]+1;c=_sqrtf(c);FHEAP[d+f]=c*0.5;c=0.5/c;var h=FHEAP[a+g*4+b];FHEAP[d+3]=(h-FHEAP[a+b*4+g])*c;h=FHEAP[a+b*4+f];FHEAP[d+b]=(h+FHEAP[a+f*4+b])*c;b=FHEAP[a+g*4+f];FHEAP[d+g]=(b+FHEAP[a+f*4+g])*c}FHEAP[e]=FHEAP[d];FHEAP[e+1]=FHEAP[d+1];FHEAP[e+2]=FHEAP[d+2];FHEAP[e+3]=FHEAP[d+3];STACKTOP=d} +function __ZN10btBoxShapeC2ERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=24;var b,c,f=d+1,g=d+2,h=d+3,i=d+4,j=d+5;b=d+6;var k=d+7,l=d+8,m=d+9,n=d+13,o=d+14,q=d+15,p=d+16,r=d+20;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var s=a+12;FHEAP[b]=1;FHEAP[k]=1;FHEAP[l]=1;FHEAP[s]=FHEAP[b];FHEAP[s+1]=FHEAP[k];FHEAP[s+2]=FHEAP[l];FHEAP[s+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV23btPolyhedralConvexShape+2;IHEAP[a+ +52]=0;IHEAP[a]=__ZTV10btBoxShape+2;IHEAP[a+1]=0;b=IHEAP[IHEAP[a]+11];var u;try{__THREW__=!1,u=FUNCTION_TABLE[b](a)}catch(v){if(ABORT)throw v;__THREW__=!0;print("Exception: "+v+" : "+v.stack+", currently at: "+Error().stack);u=null}for(b=__THREW__?3:2;;)if(b==2){FHEAP[n]=u;b=a;var k=IHEAP[IHEAP[b]+11],y;try{__THREW__=!1,y=FUNCTION_TABLE[k](b)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack);y=null}if(__THREW__)b=3;else{FHEAP[o]=y;b=a;var k= +IHEAP[IHEAP[b]+11],z;try{__THREW__=!1,z=FUNCTION_TABLE[k](b)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+B+" : "+B.stack+", currently at: "+Error().stack);z=null}if(__THREW__)b=3;else{b=5;break}}}else if(b==3){c=u=_llvm_eh_exception();_llvm_eh_selector(u,___gxx_personality_v0,0);u=a;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(u)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack)}b=__THREW__?1:0;break}if(b==5)FHEAP[q]= +z,FHEAP[m]=FHEAP[n],FHEAP[m+1]=FHEAP[o],FHEAP[m+2]=FHEAP[q],FHEAP[m+3]=0,c=a+12,FHEAP[d]=FHEAP[e]*FHEAP[c],FHEAP[f]=FHEAP[e+1]*FHEAP[c+1],FHEAP[g]=FHEAP[e+2]*FHEAP[c+2],FHEAP[p]=FHEAP[d],FHEAP[p+1]=FHEAP[f],FHEAP[p+2]=FHEAP[g],FHEAP[p+3]=0,FHEAP[h]=FHEAP[p]-FHEAP[m],FHEAP[i]=FHEAP[p+1]-FHEAP[m+1],FHEAP[j]=FHEAP[p+2]-FHEAP[m+2],FHEAP[r]=FHEAP[h],FHEAP[r+1]=FHEAP[i],FHEAP[r+2]=FHEAP[j],FHEAP[r+3]=0,_llvm_memcpy_p0i8_p0i8_i32(a+16,r,4,4,0),STACKTOP=d;else if(b==0)throw __Unwind_Resume_or_Rethrow(c), +"Reached an unreachable! Original .ll line: 3589";else if(b==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 3595";} +function __ZN11btRigidBody27btRigidBodyConstructionInfoC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(a,e,d,b,c){var f=STACKTOP;STACKTOP+=12;var g=f+1,h=f+2,i=f+3,j=f+4,k=f+5,l=f+6,m=f+7,n=f+8,o=f+9,q=f+10,p=f+11;FHEAP[a]=e;IHEAP[a+1]=d;IHEAP[a+18]=b;_llvm_memcpy_p0i8_p0i8_i32(a+19,c,4,4,0);FHEAP[a+23]=0;FHEAP[a+24]=0;FHEAP[a+25]=0.5;FHEAP[a+26]=0;FHEAP[a+27]=0.800000011920929;FHEAP[a+28]=1;IHEAP[a+29]=0;FHEAP[a+30]=0.004999999888241291;FHEAP[a+31]=0.009999999776482582;FHEAP[a+32]=0.009999999776482582; +FHEAP[a+33]=0.009999999776482582;a+=2;FHEAP[f]=1;FHEAP[g]=0;FHEAP[h]=0;FHEAP[i]=0;FHEAP[j]=1;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,f,g,h,i,j,k,l,m,n);g=a+12;FHEAP[o]=0;FHEAP[q]=0;FHEAP[p]=0;FHEAP[g]=FHEAP[o];FHEAP[g+1]=FHEAP[q];FHEAP[g+2]=FHEAP[p];FHEAP[g+3]=0;STACKTOP=f} +function __ZN11btMatrix3x311getIdentityEv(){var a=STACKTOP;STACKTOP+=9;var e,d,b,c,f,g,h,i,j,k,l=a+1,m=a+2,n=a+3,o=a+4,q=a+5,p=a+6,r=a+7,s=a+8;for(e=IHEAP[__ZGVZN11btMatrix3x311getIdentityEvE14identityMatrix]==0?0:1;;)if(e==0)___cxa_guard_acquire(__ZGVZN11btMatrix3x311getIdentityEvE14identityMatrix)!=0&&(FHEAP[a]=1,FHEAP[l]=0,FHEAP[m]=0,FHEAP[n]=0,FHEAP[o]=1,FHEAP[q]=0,FHEAP[p]=0,FHEAP[r]=0,FHEAP[s]=1,e=__ZZN11btMatrix3x311getIdentityEvE14identityMatrix,d=a,b=l,c=m,f=n,g=o,h=q,i=p,j=r,k=s,__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(e, +d,b,c,f,g,h,i,j,k),___cxa_guard_release(__ZGVZN11btMatrix3x311getIdentityEvE14identityMatrix)),e=1;else if(e==1)return STACKTOP=a,__ZZN11btMatrix3x311getIdentityEvE14identityMatrix;return null}function __ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,e,d,b,c,f,g,h,i,j){__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,e,d,b,c,f,g,h,i,j)} +function __ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,e,d,b,c,f,g,h,i,j){FHEAP[a]=FHEAP[e];FHEAP[a+1]=FHEAP[d];FHEAP[a+2]=FHEAP[b];FHEAP[a+3]=0;e=a+4;FHEAP[e]=FHEAP[c];FHEAP[e+1]=FHEAP[f];FHEAP[e+2]=FHEAP[g];FHEAP[e+3]=0;a+=8;FHEAP[a]=FHEAP[h];FHEAP[a+1]=FHEAP[i];FHEAP[a+2]=FHEAP[j];FHEAP[a+3]=0} +function __ZN20btDefaultMotionStateC2ERK11btTransformS2_(a,e,d){var b;IHEAP[a]=__ZTV13btMotionState+2;IHEAP[a]=__ZTV20btDefaultMotionState+2;b=a+4;_llvm_memcpy_p0i8_p0i8_i32(b,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,e+12,4,4,0);b=a+20;_llvm_memcpy_p0i8_p0i8_i32(b,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,d+12,4,4,0);d=a+36;_llvm_memcpy_p0i8_p0i8_i32(d, +e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,e+12,4,4,0);IHEAP[a+52]=0}function __ZN20btDefaultMotionStateD1Ev(a){IHEAP[a]=__ZTV20btDefaultMotionState+2;IHEAP[a]=__ZTV13btMotionState+2}function __ZN20btDefaultMotionStateD0Ev(a){IHEAP[a]=__ZTV20btDefaultMotionState+2;IHEAP[a]=__ZTV13btMotionState+2;__ZdlPv(a)} +function __ZNK20btDefaultMotionState17getWorldTransformER11btTransform(a,e){var d=STACKTOP;STACKTOP+=48;var b,c=d+12,f=d+16,g=d+32;__ZNK11btTransform7inverseEv(g,a+20);b=a+4;__ZmlRK11btMatrix3x3S1_(d,g,b);__ZNK11btTransformclERK9btVector3(c,g,b+12);_llvm_memcpy_p0i8_p0i8_i32(f,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,f+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+ +8,f+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,f+12,4,4,0);STACKTOP=d} +function __ZN20btDefaultMotionState17setWorldTransformERK11btTransform(a,e){var d=STACKTOP;STACKTOP+=32;var b,c=d+12,f=d+16,g=a+4;b=a+20;__ZmlRK11btMatrix3x3S1_(d,e,b);__ZNK11btTransformclERK9btVector3(c,e,b+12);_llvm_memcpy_p0i8_p0i8_i32(f,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,f+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,f+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+ +12,f+12,4,4,0);STACKTOP=d} +function __ZmlRK11btMatrix3x3S1_(a,e,d){var b=STACKTOP;STACKTOP+=9;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=e+0;FHEAP[b]=FHEAP[d]*FHEAP[m]+FHEAP[d+4]*FHEAP[m+1]+FHEAP[d+8]*FHEAP[m+2];m=e+0;FHEAP[c]=FHEAP[d+1]*FHEAP[m]+FHEAP[d+4+1]*FHEAP[m+1]+FHEAP[d+8+1]*FHEAP[m+2];m=e+0;FHEAP[f]=FHEAP[d+2]*FHEAP[m]+FHEAP[d+4+2]*FHEAP[m+1]+FHEAP[d+8+2]*FHEAP[m+2];m=e+4;FHEAP[g]=FHEAP[d]*FHEAP[m]+FHEAP[d+4]*FHEAP[m+1]+FHEAP[d+8]*FHEAP[m+2];m=e+4;FHEAP[h]=FHEAP[d+1]*FHEAP[m]+FHEAP[d+4+1]*FHEAP[m+1]+FHEAP[d+ +8+1]*FHEAP[m+2];m=e+4;FHEAP[i]=FHEAP[d+2]*FHEAP[m]+FHEAP[d+4+2]*FHEAP[m+1]+FHEAP[d+8+2]*FHEAP[m+2];m=e+8;FHEAP[j]=FHEAP[d]*FHEAP[m]+FHEAP[d+4]*FHEAP[m+1]+FHEAP[d+8]*FHEAP[m+2];m=e+8;FHEAP[k]=FHEAP[d+1]*FHEAP[m]+FHEAP[d+4+1]*FHEAP[m+1]+FHEAP[d+8+1]*FHEAP[m+2];e+=8;FHEAP[l]=FHEAP[d+2]*FHEAP[e]+FHEAP[d+4+2]*FHEAP[e+1]+FHEAP[d+8+2]*FHEAP[e+2];__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,b,c,f,g,h,i,j,k,l);STACKTOP=b} +function __ZNK11btTransformclERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=3;var c,f=b+1,g=b+2;c=e+0;FHEAP[b]=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2]+FHEAP[e+12];c=e+4;FHEAP[f]=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2]+FHEAP[e+12+1];c=e+8;FHEAP[g]=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2]+FHEAP[e+12+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[f];FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK11btTransform7inverseEv(a,e){var d=STACKTOP;STACKTOP+=23;var b,c=d+1,f=d+2,g=d+3,h=d+15,i=d+19;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(g,e,e+4,e+8,e+1,e+4+1,e+8+1,e+2,e+4+2,e+8+2);b=e+12;FHEAP[d]=0-FHEAP[b];FHEAP[c]=0-FHEAP[b+1];FHEAP[f]=0-FHEAP[b+2];FHEAP[i]=FHEAP[d];FHEAP[i+1]=FHEAP[c];FHEAP[i+2]=FHEAP[f];FHEAP[i+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(h,g,i);_llvm_memcpy_p0i8_p0i8_i32(a,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,g+8,4, +4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,h,4,4,0);STACKTOP=d}function __ZmlRK11btMatrix3x3RK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=3;var c,f=b+1,g=b+2;c=e+0;FHEAP[b]=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2];c=e+4;FHEAP[f]=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2];e+=8;FHEAP[g]=FHEAP[e]*FHEAP[d]+FHEAP[e+1]*FHEAP[d+1]+FHEAP[e+2]*FHEAP[d+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[f];FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=0;STACKTOP=b} +function __ZN13btMotionStateD1Ev(a){IHEAP[a]=__ZTV13btMotionState+2}function __ZN13btMotionStateD0Ev(a){IHEAP[a]=__ZTV13btMotionState+2;__ZdlPv(a)}function __ZN25btTriangleRaycastCallbackC2ERK9btVector3S2_j(a,e,d,b){IHEAP[a]=__ZTV18btTriangleCallback+2;IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;_llvm_memcpy_p0i8_p0i8_i32(a+4,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,d,4,4,0);IHEAP[a+12]=b;FHEAP[a+13]=1} +function __ZN25btTriangleRaycastCallback15processTriangleEP9btVector3ii(a,e,d,b){var c=STACKTOP;STACKTOP+=112;var f,g=c+1,h=c+2,i,j,k,l,m=c+3,n=c+4,o=c+5,q=c+6,p=c+7,r=c+8,s=c+9,u=c+10,v=c+11,y=c+12,x=c+13,z=c+14,B=c+15,C=c+16,A=c+17,w=c+18,D=c+19,E=c+20;f=c+21;i=c+22;j=c+23;var F=c+24,G=c+25,J=c+26,H=c+27,M=c+28;k=c+29;l=c+30;var K=c+31,N,R,O=c+32,Q=c+36,I=c+40,L=c+44,P=c+48,S=c+52,T,U=c+56,W=c+60,Z=c+64,ca=c+68,Y=c+72,ea=c+76,ha=c+80,ba=c+84,V=c+88,aa=c+92,X=c+96,ka=c+100,da=c+104,fa=c+108;N=e+ +4;R=e+8;FHEAP[k]=FHEAP[N]-FHEAP[e];FHEAP[l]=FHEAP[N+1]-FHEAP[e+1];FHEAP[K]=FHEAP[N+2]-FHEAP[e+2];FHEAP[Q]=FHEAP[k];FHEAP[Q+1]=FHEAP[l];FHEAP[Q+2]=FHEAP[K];FHEAP[Q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(O,Q,4,4,0);FHEAP[f]=FHEAP[R]-FHEAP[e];FHEAP[i]=FHEAP[R+1]-FHEAP[e+1];FHEAP[j]=FHEAP[R+2]-FHEAP[e+2];FHEAP[L]=FHEAP[f];FHEAP[L+1]=FHEAP[i];FHEAP[L+2]=FHEAP[j];FHEAP[L+3]=0;_llvm_memcpy_p0i8_p0i8_i32(I,L,4,4,0);FHEAP[c]=FHEAP[O+1]*FHEAP[I+2]-FHEAP[O+2]*FHEAP[I+1];FHEAP[g]=FHEAP[O+2]*FHEAP[I]-FHEAP[O]*FHEAP[I+ +2];FHEAP[h]=FHEAP[O]*FHEAP[I+1]-FHEAP[O+1]*FHEAP[I];FHEAP[S]=FHEAP[c];FHEAP[S+1]=FHEAP[g];FHEAP[S+2]=FHEAP[h];FHEAP[S+3]=0;_llvm_memcpy_p0i8_p0i8_i32(P,S,4,4,0);f=FHEAP[e]*FHEAP[P]+FHEAP[e+1]*FHEAP[P+1]+FHEAP[e+2]*FHEAP[P+2];g=a+4;g=FHEAP[P]*FHEAP[g]+FHEAP[P+1]*FHEAP[g+1]+FHEAP[P+2]*FHEAP[g+2];g-=f;h=a+8;h=FHEAP[P]*FHEAP[h]+FHEAP[P+1]*FHEAP[h+1]+FHEAP[P+2]*FHEAP[h+2];h-=f;f=g*h>=0?0:1;a:for(;;)if(f==0){STACKTOP=c;break}else if(f==1){f=(IHEAP[a+12]&1)!=0?2:3;b:for(;;)if(f==2)if(g>0){f=0;continue a}else f= +3;else if(f==3)if(T=g-h,T=g/T,T<FHEAP[a+13])break b;else{f=0;continue a}f=i=f=P;f=FHEAP[f]*FHEAP[i]+FHEAP[f+1]*FHEAP[i+1]+FHEAP[f+2]*FHEAP[i+2];f*=-9.999999747378752E-5;i=a+4;k=a+8;l=T;K=j=U;j=1-l;FHEAP[K]=j*FHEAP[i]+l*FHEAP[k];FHEAP[K+1]=j*FHEAP[i+1]+l*FHEAP[k+1];FHEAP[K+2]=j*FHEAP[i+2]+l*FHEAP[k+2];i=e;j=U;FHEAP[m]=FHEAP[i]-FHEAP[j];FHEAP[n]=FHEAP[i+1]-FHEAP[j+1];FHEAP[o]=FHEAP[i+2]-FHEAP[j+2];i=Z;j=m;k=n;l=o;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(W, +Z,4,4,0);i=N;j=U;FHEAP[q]=FHEAP[i]-FHEAP[j];FHEAP[p]=FHEAP[i+1]-FHEAP[j+1];FHEAP[r]=FHEAP[i+2]-FHEAP[j+2];i=Y;j=q;k=p;l=r;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ca,Y,4,4,0);j=W;i=ca;FHEAP[s]=FHEAP[j+1]*FHEAP[i+2]-FHEAP[j+2]*FHEAP[i+1];FHEAP[u]=FHEAP[j+2]*FHEAP[i]-FHEAP[j]*FHEAP[i+2];FHEAP[v]=FHEAP[j]*FHEAP[i+1]-FHEAP[j+1]*FHEAP[i];i=ha;j=s;k=u;l=v;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ea, +ha,4,4,0);j=ea;i=P;if(!(FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2]>=f)){f=0;continue a}i=R;j=U;FHEAP[y]=FHEAP[i]-FHEAP[j];FHEAP[x]=FHEAP[i+1]-FHEAP[j+1];FHEAP[z]=FHEAP[i+2]-FHEAP[j+2];i=V;j=y;k=x;l=z;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ba,V,4,4,0);j=ca;i=ba;FHEAP[B]=FHEAP[j+1]*FHEAP[i+2]-FHEAP[j+2]*FHEAP[i+1];FHEAP[C]=FHEAP[j+2]*FHEAP[i]-FHEAP[j]*FHEAP[i+2];FHEAP[A]=FHEAP[j]*FHEAP[i+1]-FHEAP[j+1]*FHEAP[i];i=X;j=B;k=C; +l=A;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(aa,X,4,4,0);j=aa;i=P;if(!(FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2]>=f)){f=0;continue a}j=ba;i=W;FHEAP[w]=FHEAP[j+1]*FHEAP[i+2]-FHEAP[j+2]*FHEAP[i+1];FHEAP[D]=FHEAP[j+2]*FHEAP[i]-FHEAP[j]*FHEAP[i+2];FHEAP[E]=FHEAP[j]*FHEAP[i+1]-FHEAP[j+1]*FHEAP[i];i=da;j=w;k=D;l=E;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ka,da,4,4,0);j=ka; +i=P;if(!(FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2]>=f)){f=0;continue a}i=j=i=f=P;i=FHEAP[i]*FHEAP[j]+FHEAP[i+1]*FHEAP[j+1]+FHEAP[i+2]*FHEAP[j+2];i=_sqrtf(i);FHEAP[G]=i;i=f;f=G;FHEAP[F]=1/FHEAP[f];f=F;FHEAP[i]*=FHEAP[f];FHEAP[i+1]*=FHEAP[f];FHEAP[i+2]*=FHEAP[f];for(f=(IHEAP[a+12]&2)!=0?8:9;;)if(f==8){f=IHEAP[IHEAP[a]+3];i=P;FHEAP[J]=0-FHEAP[i];FHEAP[H]=0-FHEAP[i+1];FHEAP[M]=0-FHEAP[i+2];i=fa;j=J;k=H;l=M;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;f=FUNCTION_TABLE[f](a, +fa,T,d,b);FHEAP[a+13]=f;f=0;continue a}else if(f==9)if(g<=0)f=8;else break;f=FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a,P,T,d,b);FHEAP[a+13]=f;f=0}} +function __ZN28btTriangleConvexcastCallbackC2EPK13btConvexShapeRK11btTransformS5_S5_f(a,e,d,b,c,f){IHEAP[a]=__ZTV18btTriangleCallback+2;IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a+4]=e;e=a+5;_llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);d=a+21;_llvm_memcpy_p0i8_p0i8_i32(d,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+ +12,b+12,4,4,0);b=a+37;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);FHEAP[a+53]=1;FHEAP[a+54]=f;FHEAP[a+55]=0} +function __ZN28btTriangleConvexcastCallback15processTriangleEP9btVector3ii(a,e,d,b){var c=STACKTOP;STACKTOP+=218;var f,g,h=c+1,i,j,k,l,m,n;n=c+2;f=c+70;k=c+161;j=c+165;i=c+174;__ZN15btTriangleShapeC2ERK9btVector3S2_S2_(n,e,e+4,e+8);e=IHEAP[IHEAP[n]+10];l=FHEAP[a+54];try{__THREW__=!1,FUNCTION_TABLE[e](n,l)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;a:do if(e==6){g=f;FHEAP[g+77]=9.999999747378752E-5;g+=79;g+=4;IHEAP[g]&= +-2;IHEAP[g]&=-3;IHEAP[g]&=-5;IHEAP[g]&=-9;g=e=g=k;IHEAP[g]=__ZTV30btConvexPenetrationDepthSolver+2;IHEAP[e]=__ZTV30btGjkEpaPenetrationDepthSolver+2;g=IHEAP[a+4];l=n;m=k;var q=e=j,e=q;IHEAP[e]=__ZTV12btConvexCast+2;IHEAP[q]=__ZTV27btContinuousConvexCollision+2;IHEAP[q+4]=f;IHEAP[q+5]=m;IHEAP[q+6]=g;IHEAP[q+7]=l;IHEAP[q+8]=0;f=i;IHEAP[f]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[f+41]=999999984306749440;IHEAP[f+42]=0;FHEAP[f+43]=0;FHEAP[i+41]=1;FHEAP[i+43]=FHEAP[a+55];f=a+5;g=a+21;e=a+37;l=a+37;var p; +try{__THREW__=!1,p=__ZN27btContinuousConvexCollision16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(j,f,g,e,l,i)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+r+" : "+r.stack+", currently at: "+Error().stack);p=null}for(e=__THREW__?11:10;;)if(e==10){if(!p)break;f=g=f=i+33;if(!(FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]>9.999999747378752E-5))break;if(!(FHEAP[i+41]<FHEAP[a+53]))break;g=e=g=f=i+33;g=FHEAP[g]*FHEAP[e]+FHEAP[g+1]*FHEAP[e+1]+FHEAP[g+ +2]*FHEAP[e+2];g=_sqrtf(g);FHEAP[h]=g;g=f;f=h;FHEAP[c]=1/FHEAP[f];f=c;FHEAP[g]*=FHEAP[f];FHEAP[g+1]*=FHEAP[f];FHEAP[g+2]*=FHEAP[f];f=IHEAP[IHEAP[a]+3];g=i+33;e=i+37;l=FHEAP[i+41];m=d;q=b;try{__THREW__=!1,FUNCTION_TABLE[f](a,g,e,l,m,q)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+", currently at: "+Error().stack)}if(__THREW__)e=11;else break}else if(e==11){g=c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);c=i;IHEAP[c]=__ZTVN12btConvexCast10CastResultE+ +2;c=j;IHEAP[c]=__ZTV27btContinuousConvexCollision+2;IHEAP[c]=__ZTV12btConvexCast+2;c=k;IHEAP[c]=__ZTV30btGjkEpaPenetrationDepthSolver+2;IHEAP[c]=__ZTV30btConvexPenetrationDepthSolver+2;break a}IHEAP[i]=__ZTVN12btConvexCast10CastResultE+2;IHEAP[j]=__ZTV27btContinuousConvexCollision+2;IHEAP[j]=__ZTV12btConvexCast+2;IHEAP[k]=__ZTV30btGjkEpaPenetrationDepthSolver+2;IHEAP[k]=__ZTV30btConvexPenetrationDepthSolver+2;IHEAP[n]=__ZTV15btTriangleShape+2;__ZN23btPolyhedralConvexShapeD2Ev(n);STACKTOP=c;return}else e== +7&&(g=l=_llvm_eh_exception(),_llvm_eh_selector(l,___gxx_personality_v0,0));while(0);IHEAP[n]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(n)}catch(u){if(ABORT)throw u;__THREW__=!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack)}e=__THREW__?9:8;if(e==8)throw __Unwind_Resume_or_Rethrow(g),"Reached an unreachable! Original .ll line: 8047";else if(e==9)throw n=_llvm_eh_exception(),_llvm_eh_selector(n,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 8053"; +}function __ZN12btConvexCast10CastResultD1Ev(a){IHEAP[a]=__ZTVN12btConvexCast10CastResultE+2}function __ZN27btContinuousConvexCollisionD1Ev(a){IHEAP[a]=__ZTV27btContinuousConvexCollision+2;IHEAP[a]=__ZTV12btConvexCast+2}function __ZN30btGjkEpaPenetrationDepthSolverD1Ev(a){IHEAP[a]=__ZTV30btGjkEpaPenetrationDepthSolver+2;IHEAP[a]=__ZTV30btConvexPenetrationDepthSolver+2}function __ZN15btTriangleShapeD1Ev(a){IHEAP[a]=__ZTV15btTriangleShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN25btTriangleRaycastCallbackD1Ev(a){IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2}function __ZN25btTriangleRaycastCallbackD0Ev(a){IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)}function __ZN28btTriangleConvexcastCallbackD1Ev(a){IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZN28btTriangleConvexcastCallbackD0Ev(a){IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN15btTriangleShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+= +1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 8353";}}function __ZNK15btTriangleShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){FUNCTION_TABLE[IHEAP[IHEAP[a]+18]](a,e,d,b)}function __ZNK21btConvexInternalShape15getLocalScalingEv(a){return a+12} +function __ZNK15btTriangleShape21calculateLocalInertiaEfR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=3;var e=a+1,b=a+2;FHEAP[a]=0;FHEAP[e]=0;FHEAP[b]=0;FHEAP[d]=FHEAP[a];FHEAP[d+1]=FHEAP[e];FHEAP[d+2]=FHEAP[b];FHEAP[d+3]=0;STACKTOP=a}function __ZNK15btTriangleShape7getNameEv(){return __str15}function __ZN21btConvexInternalShape9setMarginEf(a,e){FHEAP[a+20]=e}function __ZNK21btConvexInternalShape9getMarginEv(a){return FHEAP[a+20]} +function __ZNK21btConvexInternalShape28calculateSerializeBufferSizeEv(){return 52}function __ZNK21btConvexInternalShape9serializeEPvP12btSerializer(a,e,d){var b;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);var c=e+10,d=a+16;b=0;a:for(;;){FHEAP[c+b]=FHEAP[d+b];var f=b+1;b=f;if(!(f<4))break a}c=e+6;d=a+12;for(b=0;;)if(FHEAP[c+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+14]=FHEAP[a+20];return __str4} +function __ZNK15btTriangleShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=7;var c=null,f,c=b+4,g=b+5,h=b+6;f=e+56;FHEAP[c]=FHEAP[d]*FHEAP[f]+FHEAP[d+1]*FHEAP[f+1]+FHEAP[d+2]*FHEAP[f+2];f=e+56+4;FHEAP[g]=FHEAP[d]*FHEAP[f]+FHEAP[d+1]*FHEAP[f+1]+FHEAP[d+2]*FHEAP[f+2];f=e+56+8;FHEAP[h]=FHEAP[d]*FHEAP[f]+FHEAP[d+1]*FHEAP[f+1]+FHEAP[d+2]*FHEAP[f+2];FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[g];FHEAP[b+2]=FHEAP[h];FHEAP[b+3]=0;if(FHEAP[b]<FHEAP[b+1])var i=FHEAP[b+1]<FHEAP[b+ +2]?2:1,c=0;else var j=FHEAP[b]<FHEAP[b+2]?2:0,c=2;_llvm_memcpy_p0i8_p0i8_i32(a,e+56+(c==0?i:j)*4,4,4,0);STACKTOP=b} +function __ZNK15btTriangleShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=7;var f,g=null,h,i,j,k=c+4,l=c+5,m=c+6;j=0;f=j<b?0:1;a:for(;;)if(f==0)for(var n=a+56,o=a+56+4,q=a+56+8,p=a+56;;){h=f=e+4*j;g=n;FHEAP[k]=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+2]*FHEAP[g+2];h=f;g=o;FHEAP[l]=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+2]*FHEAP[g+2];g=f;f=q;FHEAP[m]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];f=c;g=k;h= +l;i=m;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=d+4*j;h=g=c;if(FHEAP[g]<FHEAP[g+1])var r=FHEAP[h+1]<FHEAP[g+2]?2:1,g=3;else var s=FHEAP[h]<FHEAP[g+2]?2:0,g=5;_llvm_memcpy_p0i8_p0i8_i32(f,p+(g==3?r:s)*4,4,4,0);j+=1;if(j<b)f=2;else{f=1;continue a}}else if(f==1){STACKTOP=c;break}}function __ZNK15btTriangleShape36getNumPreferredPenetrationDirectionsEv(){return 2} +function __ZNK15btTriangleShape32getPreferredPenetrationDirectionEiR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=1;__ZNK15btTriangleShape10calcNormalER9btVector3(a,d);for(a=e!=0?0:1;;)if(a==0)a=d,FHEAP[b]=-1,e=a,a=b,FHEAP[e]*=FHEAP[a],FHEAP[e+1]*=FHEAP[a],FHEAP[e+2]*=FHEAP[a],a=1;else if(a==1){STACKTOP=b;break}}function __ZNK15btTriangleShape14getNumVerticesEv(){return 3}function __ZNK15btTriangleShape11getNumEdgesEv(){return 3} +function __ZNK15btTriangleShape7getEdgeEiR9btVector3S1_(a,e,d,b){FUNCTION_TABLE[IHEAP[IHEAP[a]+25]](a,e,d);FUNCTION_TABLE[IHEAP[IHEAP[a]+25]](a,(e+1)%3,b)}function __ZNK15btTriangleShape9getVertexEiR9btVector3(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(d,a+56+e*4,4,4,0)}function __ZNK15btTriangleShape12getNumPlanesEv(){return 1}function __ZNK15btTriangleShape8getPlaneER9btVector3S1_i(a,e,d,b){FUNCTION_TABLE[IHEAP[IHEAP[a]+29]](a,b,e,d)} +function __ZNK15btTriangleShape8isInsideERK9btVector3f(a,e,d){var b=STACKTOP;STACKTOP+=28;var c,f=null,g,h,i,j=b+1,k=b+2,l=b+3,m=b+4,n=b+5,o=b+6,q=b+7,p,r=b+8,s,u=b+12,v=b+16,y=b+20,x=b+24;__ZNK15btTriangleShape10calcNormalER9btVector3(a,r);s=FHEAP[e]*FHEAP[r]+FHEAP[e+1]*FHEAP[r+1]+FHEAP[e+2]*FHEAP[r+2];g=a+56;s-=FHEAP[g]*FHEAP[r]+FHEAP[g+1]*FHEAP[r+1]+FHEAP[g+2]*FHEAP[r+2];c=s>=0-d?0:1;a:for(;;)if(c==0)if(s<=d){c=2;break a}else c=1;else if(c==1){p=0;c=8;break a}for(;;)if(c==2){s=0;g=a;for(f=2;;){if(!((f== +7?z:0)<3)){c=5;break}FUNCTION_TABLE[IHEAP[IHEAP[g]+24]](a,s,u,v);c=v;f=u;FHEAP[b]=FHEAP[c]-FHEAP[f];FHEAP[j]=FHEAP[c+1]-FHEAP[f+1];FHEAP[k]=FHEAP[c+2]-FHEAP[f+2];c=y;f=b;h=j;i=k;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]=0;f=y;c=r;FHEAP[l]=FHEAP[f+1]*FHEAP[c+2]-FHEAP[f+2]*FHEAP[c+1];FHEAP[m]=FHEAP[f+2]*FHEAP[c]-FHEAP[f]*FHEAP[c+2];FHEAP[n]=FHEAP[f]*FHEAP[c+1]-FHEAP[f+1]*FHEAP[c];c=x;f=l;h=m;i=n;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]=0;f=h=f= +c=x;f=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];f=_sqrtf(f);FHEAP[q]=f;f=c;c=q;FHEAP[o]=1/FHEAP[c];c=o;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+2]*=FHEAP[c];f=e;c=x;c=FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2];h=u;f=x;f=FHEAP[h]*FHEAP[f]+FHEAP[h+1]*FHEAP[f+1]+FHEAP[h+2]*FHEAP[f+2];c-=f;if(c<0-d){c=6;break}var z=s+1;s=z;f=7;c=3}c==5?(p=1,c=8):c==6&&(p=0,c=8)}else if(c==8)return a=p,STACKTOP=b,a;return null} +function __ZNK15btTriangleShape16getPlaneEquationEiR9btVector3S1_(a,e,d,b){__ZNK15btTriangleShape10calcNormalER9btVector3(a,d);_llvm_memcpy_p0i8_p0i8_i32(b,a+56,4,4,0)} +function __ZNK15btTriangleShape10calcNormalER9btVector3(a,e){var d=STACKTOP;STACKTOP+=23;var b=d+1,c=d+2,f,g=d+3,h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+10,o=d+11,q=d+15,p=d+19,r=a+56;f=a+56+4;FHEAP[l]=FHEAP[f]-FHEAP[r];FHEAP[m]=FHEAP[f+1]-FHEAP[r+1];FHEAP[n]=FHEAP[f+2]-FHEAP[r+2];FHEAP[o]=FHEAP[l];FHEAP[o+1]=FHEAP[m];FHEAP[o+2]=FHEAP[n];FHEAP[o+3]=0;l=a+56;f=a+56+8;FHEAP[g]=FHEAP[f]-FHEAP[l];FHEAP[h]=FHEAP[f+1]-FHEAP[l+1];FHEAP[i]=FHEAP[f+2]-FHEAP[l+2];FHEAP[q]=FHEAP[g];FHEAP[q+1]=FHEAP[h];FHEAP[q+ +2]=FHEAP[i];FHEAP[q+3]=0;FHEAP[d]=FHEAP[o+1]*FHEAP[q+2]-FHEAP[o+2]*FHEAP[q+1];FHEAP[b]=FHEAP[o+2]*FHEAP[q]-FHEAP[o]*FHEAP[q+2];FHEAP[c]=FHEAP[o]*FHEAP[q+1]-FHEAP[o+1]*FHEAP[q];FHEAP[p]=FHEAP[d];FHEAP[p+1]=FHEAP[b];FHEAP[p+2]=FHEAP[c];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,p,4,4,0);b=_sqrtf(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]);FHEAP[k]=b;FHEAP[j]=1/FHEAP[k];FHEAP[e]*=FHEAP[j];FHEAP[e+1]*=FHEAP[j];FHEAP[e+2]*=FHEAP[j];STACKTOP=d} +function __ZN30btConvexPenetrationDepthSolverD1Ev(a){IHEAP[a]=__ZTV30btConvexPenetrationDepthSolver+2}function __ZN30btConvexPenetrationDepthSolverD0Ev(a){IHEAP[a]=__ZTV30btConvexPenetrationDepthSolver+2;__ZdlPv(a)}function __ZN12btConvexCast10CastResult9DebugDrawEf(){}function __ZN12btConvexCast10CastResult15drawCoordSystemERK11btTransform(){}function __ZN12btConvexCast10CastResult13reportFailureEii(){} +function __ZN12btConvexCast10CastResultD0Ev(a){IHEAP[a]=__ZTVN12btConvexCast10CastResultE+2;__ZdlPv(a)} +function __ZN15btTriangleShapeC2ERK9btVector3S2_S2_(a,e,d,b){var c=STACKTOP;STACKTOP+=3;var f=c+1,g=c+2;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var h=a+12;FHEAP[c]=1;FHEAP[f]=1;FHEAP[g]=1;FHEAP[h]=FHEAP[c];FHEAP[h+1]=FHEAP[f];FHEAP[h+2]=FHEAP[g];FHEAP[h+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV23btPolyhedralConvexShape+2;IHEAP[a+52]=0;IHEAP[a]=__ZTV15btTriangleShape+2;IHEAP[a+1]=1;_llvm_memcpy_p0i8_p0i8_i32(a+ +56,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+56+4,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+56+8,b,4,4,0);STACKTOP=c} +function __ZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h,i,j){var va;var sa;var k=STACKTOP;STACKTOP+=1259;var l,m=null,n,o,q,p,r,s=k+1,u=k+2,v,y,x,z,B=k+3,C=k+4,A=k+5,w,D,E=k+6,F=k+7,G=k+8,J,H,M,K,N;M=k+9;H=k+10;J=k+11;var R,O,Q,I,L,P;L=k+12;I=k+13;Q=k+14;var S,T,U,W,Z;p=k+15;r=k+16;D=k+17;var ca=k+18,Y=k+19,ea=k+20,ha=k+21,ba=k+22,V=k+23,aa=k+24,X=k+25,ka=k+26,da,fa, +ga=k+27,ja=k+28,la=k+29,qa=k+30,pa=k+31,wa=k+32,ua,na,ya,xa=k+33;z=k+37;x=k+38;y=k+39;R=k+40;S=k+44;var ia=k+48,ma=k+52,ta=k+56,ra=k+60,oa=k+64,Da=k+68,Ba=k+72,Oa=k+76,Fa=k+324,Ha=k+572,La=k+820,Ea=k+1068,Ca=k+1072,Aa=k+1076;v=k+1080;var za,Ja=k+1084,Ra=k+1088;o=k+1092;n=k+1096;q=k+1100;var Ua,Xa=k+1104,Wa=k+1108,Sa=k+1112,Ga=k+1116,Ia=k+1120,Pa=k+1124,Ta=k+1128,Va=k+1132,fb=k+1136;O=k+1140;K=k+1144;T=k+1145;P=k+1149;var a=k+1150,ib=k+1172,Na=k+1173,Za=k+1177,gb=k+1211,lb=k+1215;ua=k+1231;var $a= +k+1245,eb=k+1249,bb=k+1250,sb=k+1251,Ka=k+1255;l=IHEAP[d+1];l==17|l==18?(m=-1,l=0):(m=-1,l=1);a:for(;;)if(l==0){l=b;l=m=IHEAP[l+1];if(m==17){m=0;l=1;continue a}U=l==18;m=2;l=1}else if(l==1){N=m==0?1:m==2?U:0;ya=999999984306749440;FHEAP[z]=0;FHEAP[x]=0;FHEAP[y]=0;da=xa;fa=z;l=x;FHEAP[da]=FHEAP[fa];FHEAP[da+1]=FHEAP[l];FHEAP[da+2]=FHEAP[y];FHEAP[da+3]=0;da=42;fa=0;l=fa<da?3:4;break a}a:for(;;)if(l==3){y=Ea;x=Aa;for(z=v;;)if(l=fa,__ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv(), +_llvm_memcpy_p0i8_p0i8_i32(y,__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+4*l,4,4,0),l=Ha+fa*4,U=Ea,FHEAP[p]=0-FHEAP[U],FHEAP[r]=0-FHEAP[U+1],FHEAP[D]=0-FHEAP[U+2],U=Ca,m=p,W=r,Z=D,FHEAP[U]=FHEAP[m],FHEAP[U+1]=FHEAP[W],FHEAP[U+2]=FHEAP[Z],FHEAP[U+3]=0,U=c,__ZmlRK9btVector3RK11btMatrix3x3(Aa,Ca,U),_llvm_memcpy_p0i8_p0i8_i32(l,x,4,4,0),U=La+fa*4,l=f,__ZmlRK9btVector3RK11btMatrix3x3(v,Ea,l),_llvm_memcpy_p0i8_p0i8_i32(U,z,4,4,0),fa+=1,fa<da)l=5;else{l= +4;continue a}}else if(l==4){za=d;sa=p=FUNCTION_TABLE[IHEAP[IHEAP[za]+19]](za),za=sa;l=p!=0?6:7;break a}a:for(;;)if(l==6){p=0;if(!(p<za)){l=7;continue a}r=Ja;D=Ra;Ea=Ja;Ca=n;for(Aa=q;;)if(v=d,FUNCTION_TABLE[IHEAP[IHEAP[v]+20]](v,p,Ja),v=c,__ZmlRK11btMatrix3x3RK9btVector3(Ra,v,Ja),_llvm_memcpy_p0i8_p0i8_i32(r,D,4,4,0),v=da,__ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv(),_llvm_memcpy_p0i8_p0i8_i32(__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +4*v,Ea,4,4,0),v=Ha+da*4,l=Ja,FHEAP[B]=0-FHEAP[l],FHEAP[C]=0-FHEAP[l+1],FHEAP[A]=0-FHEAP[l+2],l=o,y=B,x=C,z=A,FHEAP[l]=FHEAP[y],FHEAP[l+1]=FHEAP[x],FHEAP[l+2]=FHEAP[z],FHEAP[l+3]=0,l=c,__ZmlRK9btVector3RK11btMatrix3x3(n,o,l),_llvm_memcpy_p0i8_p0i8_i32(v,Ca,4,4,0),l=La+da*4,v=f,__ZmlRK9btVector3RK11btMatrix3x3(q,Ja,v),_llvm_memcpy_p0i8_p0i8_i32(l,Aa,4,4,0),da+=1,p+=1,p<za)l=9;else{l=7;continue a}}else if(l==7){Ua=b;va=B=FUNCTION_TABLE[IHEAP[IHEAP[Ua]+19]](Ua),Ua=va;l=B!=0?10:11;break a}a:for(;;)if(l== +10){B=0;if(!(B<Ua)){l=11;continue a}C=Xa;A=Wa;za=Xa;Ja=Ga;for(Ra=Ia;;)if(o=b,FUNCTION_TABLE[IHEAP[IHEAP[o]+20]](o,B,Xa),o=f,__ZmlRK11btMatrix3x3RK9btVector3(Wa,o,Xa),_llvm_memcpy_p0i8_p0i8_i32(C,A,4,4,0),o=da,__ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv(),_llvm_memcpy_p0i8_p0i8_i32(__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+4*o,za,4,4,0),o=Ha+da*4,n=Xa,FHEAP[k]=0-FHEAP[n],FHEAP[s]=0-FHEAP[n+1],FHEAP[u]=0-FHEAP[n+2],n=Sa,q=k, +p=s,r=u,FHEAP[n]=FHEAP[q],FHEAP[n+1]=FHEAP[p],FHEAP[n+2]=FHEAP[r],FHEAP[n+3]=0,n=c,__ZmlRK9btVector3RK11btMatrix3x3(Ga,Sa,n),_llvm_memcpy_p0i8_p0i8_i32(o,Ja,4,4,0),n=La+da*4,o=f,__ZmlRK9btVector3RK11btMatrix3x3(Ia,Xa,o),_llvm_memcpy_p0i8_p0i8_i32(n,Ra,4,4,0),da+=1,B+=1,B<Ua)l=13;else{l=11;continue a}}else if(l==11){fa=d;FUNCTION_TABLE[IHEAP[IHEAP[fa]+17]](fa,Ha,Oa,da);fa=b;FUNCTION_TABLE[IHEAP[IHEAP[fa]+17]](fa,La,Fa,da);fa=0;l=fa<da?14:15;break a}a:for(;;)if(l==14){s=Pa;u=ia;Ua=ma;Xa=ta;Wa=ra;Sa= +oa;Ga=Ta;Ia=Da;B=Va;C=Ba;A=fb;za=xa;Ja=Pa;Ra=R;o=oa;n=S;q=Da;b:for(;;){p=fa;__ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv();_llvm_memcpy_p0i8_p0i8_i32(s,__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+4*p,4,4,0);l=N&1?17:18;c:for(;;)if(l==17)p=Pa,FHEAP[p+2]=0,l=18;else if(l==18){p=r=p=Pa;l=FHEAP[p]*FHEAP[r]+FHEAP[p+1]*FHEAP[r+1]+FHEAP[p+2]*FHEAP[r+2]>0.01?19:20;break c}c:for(;;)if(l==19){_llvm_memcpy_p0i8_p0i8_i32(u,Ha+fa*4,4,4,0); +_llvm_memcpy_p0i8_p0i8_i32(Ua,La+fa*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Xa,Oa+fa*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Wa,Fa+fa*4,4,4,0);__ZNK11btTransformclERK9btVector3(Ta,c,ta);_llvm_memcpy_p0i8_p0i8_i32(Sa,Ga,4,4,0);__ZNK11btTransformclERK9btVector3(Va,f,ra);_llvm_memcpy_p0i8_p0i8_i32(Ia,B,4,4,0);for(l=N&1?21:22;;)if(l==21)p=oa,FHEAP[p+2]=0,p=Da,FHEAP[p+2]=0,l=22;else if(l==22)if(w=Da,p=oa,FHEAP[E]=FHEAP[w]-FHEAP[p],FHEAP[F]=FHEAP[w+1]-FHEAP[p+1],FHEAP[G]=FHEAP[w+2]-FHEAP[p+2],w=fb,p=E,r=F,D=G, +FHEAP[w]=FHEAP[p],FHEAP[w+1]=FHEAP[r],FHEAP[w+2]=FHEAP[D],FHEAP[w+3]=0,_llvm_memcpy_p0i8_p0i8_i32(C,A,4,4,0),p=Pa,w=Ba,w=FHEAP[p]*FHEAP[w]+FHEAP[p+1]*FHEAP[w+1]+FHEAP[p+2]*FHEAP[w+2],w<ya)break;else{l=20;continue c}ya=w;_llvm_memcpy_p0i8_p0i8_i32(za,Ja,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Ra,o,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n,q,4,4,0);l=20}else if(l==20)if(fa+=1,fa<da){l=16;continue b}else{l=15;continue a}}}else if(l==15){N=__ZNK13btConvexShape19getMarginNonVirtualEv(d);FHEAP[K]=N;N=xa;FHEAP[M]=FHEAP[N]* +FHEAP[K];FHEAP[H]=FHEAP[N+1]*FHEAP[K];FHEAP[J]=FHEAP[N+2]*FHEAP[K];K=O;N=H;H=M;M=N;N=J;J=K;K=N;FHEAP[J]=FHEAP[H];FHEAP[J+1]=FHEAP[M];FHEAP[J+2]=FHEAP[K];FHEAP[J+3]=0;FHEAP[R]+=FHEAP[O];FHEAP[R+1]+=FHEAP[O+1];FHEAP[R+2]+=FHEAP[O+2];O=__ZNK13btConvexShape19getMarginNonVirtualEv(b);FHEAP[P]=O;O=xa;FHEAP[L]=FHEAP[O]*FHEAP[P];FHEAP[I]=FHEAP[O+1]*FHEAP[P];FHEAP[Q]=FHEAP[O+2]*FHEAP[P];P=T;O=I;I=L;L=O;O=Q;Q=P;P=O;FHEAP[Q]=FHEAP[I];FHEAP[Q+1]=FHEAP[L];FHEAP[Q+2]=FHEAP[P];FHEAP[Q+3]=0;FHEAP[S]-=FHEAP[T];FHEAP[S+ +1]-=FHEAP[T+1];FHEAP[S+2]-=FHEAP[T+2];l=ya<0?24:25;break a}a:do if(l==24)na=0;else if(l==25){T=__ZNK13btConvexShape19getMarginNonVirtualEv(d);S=__ZNK13btConvexShape19getMarginNonVirtualEv(b);ya+=0.5+(T+S);__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(a,d,b,e,0);FHEAP[ib]=ya;T=xa;S=ib;FHEAP[ca]=FHEAP[T]*FHEAP[S];FHEAP[Y]=FHEAP[T+1]*FHEAP[S];FHEAP[ea]=FHEAP[T+2]*FHEAP[S];T=Na;S=ca;Q=Y;I=ea;FHEAP[T]=FHEAP[S];FHEAP[T+1]=FHEAP[Q];FHEAP[T+2]=FHEAP[I]; +FHEAP[T+3]=0;T=Za;FHEAP[T+32]=999999984306749440;IHEAP[T+33]=0;T=c;T+=12;S=Na;FHEAP[ha]=FHEAP[T]+FHEAP[S];FHEAP[ba]=FHEAP[T+1]+FHEAP[S+1];FHEAP[V]=FHEAP[T+2]+FHEAP[S+2];T=gb;S=ha;Q=ba;I=V;FHEAP[T]=FHEAP[S];FHEAP[T+1]=FHEAP[Q];FHEAP[T+2]=FHEAP[I];FHEAP[T+3]=0;S=c;T=lb;Q=S;S=T;I=T=Q;Q=S;_llvm_memcpy_p0i8_p0i8_i32(Q,I,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q+4,I+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q+8,I+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(S+12,T+12,4,4,0);T=lb;S=gb;_llvm_memcpy_p0i8_p0i8_i32(T+12,S,4,4,0); +S=Za;I=T=lb;Q=S;_llvm_memcpy_p0i8_p0i8_i32(Q,I,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q+4,I+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q+8,I+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(S+12,T+12,4,4,0);T=f;S=Za+16;I=T;Q=S;_llvm_memcpy_p0i8_p0i8_i32(Q,I,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q+4,I+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q+8,I+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(S+12,T+12,4,4,0);FHEAP[Za+32]=999999984306749440;T=S=T=ua;IHEAP[T]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[S]=__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+ +2;IHEAP[S+13]=0;T=xa;FHEAP[aa]=0-FHEAP[T];FHEAP[X]=0-FHEAP[T+1];FHEAP[ka]=0-FHEAP[T+2];T=$a;S=aa;Q=X;I=ka;FHEAP[T]=FHEAP[S];FHEAP[T+1]=FHEAP[Q];FHEAP[T+2]=FHEAP[I];FHEAP[T+3]=0;T=a;S=$a;_llvm_memcpy_p0i8_p0i8_i32(T+4,S,4,4,0);S=ua;Q=j;I=a;T=Za;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(I,T,S,Q)}catch(Ya){if(ABORT)throw Ya;__THREW__=!0;print("Exception: "+Ya+" : "+Ya.stack+", currently at: "+ +Error().stack)}l=__THREW__?31:30;if(l==30){FHEAP[eb]=ya-FHEAP[ua+12];FHEAP[bb]=1;S=xa;T=bb;FHEAP[S]*=FHEAP[T];FHEAP[S+1]*=FHEAP[T];FHEAP[S+2]*=FHEAP[T];for(l=IHEAP[ua+13]&1?27:28;;)if(l==27)T=h,S=ua+8,Q=xa,I=eb,FHEAP[ga]=FHEAP[Q]*FHEAP[I],FHEAP[ja]=FHEAP[Q+1]*FHEAP[I],FHEAP[la]=FHEAP[Q+2]*FHEAP[I],Q=sb,I=ga,L=ja,P=la,FHEAP[Q]=FHEAP[I],FHEAP[Q+1]=FHEAP[L],FHEAP[Q+2]=FHEAP[P],FHEAP[Q+3]=0,Q=sb,FHEAP[qa]=FHEAP[S]-FHEAP[Q],FHEAP[pa]=FHEAP[S+1]-FHEAP[Q+1],FHEAP[wa]=FHEAP[S+2]-FHEAP[Q+2],S=Ka,Q=qa,I=pa, +L=wa,FHEAP[S]=FHEAP[Q],FHEAP[S+1]=FHEAP[I],FHEAP[S+2]=FHEAP[L],FHEAP[S+3]=0,_llvm_memcpy_p0i8_p0i8_i32(T,Ka,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i,ua+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g,xa,4,4,0),l=28;else if(l==28){na=IHEAP[ua+13]&1;IHEAP[ua]=__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+2;IHEAP[ua]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2; +IHEAP[a]=__ZTV17btGjkPairDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;break a}}else if(l==31)throw na=k=_llvm_eh_exception(),_llvm_eh_selector(k,___gxx_personality_v0,0),k=ua,IHEAP[k]=__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+2,IHEAP[k]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2,IHEAP[a]=__ZTV17btGjkPairDetector+2,IHEAP[a]= +__ZTV36btDiscreteCollisionDetectorInterface+2,__Unwind_Resume_or_Rethrow(na),"Reached an unreachable! Original .ll line: 12248";}while(0);STACKTOP=k;return na} +function __ZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEv(){var a=STACKTOP;STACKTOP+=126;var e,d,b,c,f=a+1,g=a+2,h=a+3,i=a+4,j=a+5,k=a+6,l=a+7,m=a+8,n=a+9,o=a+10,q=a+11,p=a+12,r=a+13,s=a+14,u=a+15,v=a+16,y=a+17,x=a+18,z=a+19,B=a+20,C=a+21,A=a+22,w=a+23,D=a+24,E=a+25,F=a+26,G=a+27,J=a+28,H=a+29,M=a+30,K=a+31,N=a+32,R=a+33,O=a+34,Q=a+35,I=a+36,L=a+37,P=a+38,S=a+39,T=a+40,U=a+41,W=a+42,Z=a+43,ca=a+44,Y=a+45,ea=a+46,ha=a+47,ba=a+48,V=a+49,aa=a+50,X=a+51,ka=a+52,da=a+53,fa=a+54,ga=a+ +55,ja=a+56,la=a+57,qa=a+58,pa=a+59,wa=a+60,ua=a+61,na=a+62,ya=a+63,xa=a+64,ia=a+65,ma=a+66,ta=a+67,ra=a+68,oa=a+69,Da=a+70,Ba=a+71,Oa=a+72,Fa=a+73,Ha=a+74,La=a+75,Ea=a+76,Ca=a+77,Aa=a+78,za=a+79,Ja=a+80,Ra=a+81,Ua=a+82,Xa=a+83,Wa=a+84,Sa=a+85,Ga=a+86,Ia=a+87,Pa=a+88,Ta=a+89,Va=a+90,fb=a+91,ib=a+92,Na=a+93,Za=a+94,gb=a+95,lb=a+96,$a=a+97,eb=a+98,bb=a+99,sb=a+100,Ka=a+101,Ya=a+102,jb=a+103,kb=a+104,tb=a+105,Bb=a+106,Qa=a+107,wb=a+108,mb=a+109,yb=a+110,ub=a+111,Ma=a+112,sa=a+113,va=a+114,pb=a+115,ab= +a+116,db=a+117,vb=a+118,Fb=a+119,zb=a+120,Kb=a+121,nb=a+122,Cb=a+123,Eb=a+124,Ib=a+125;for(e=IHEAP[__ZGVZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections]==0?0:1;;)if(e==0)___cxa_guard_acquire(__ZGVZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections)!=0&&(FHEAP[a]=0,FHEAP[f]=0,FHEAP[g]=-1,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections,d=a,b=f,c=g,FHEAP[e]=FHEAP[d],FHEAP[e+ +1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[h]=0.7236080169677734,FHEAP[i]=-0.5257250070571899,FHEAP[j]=-0.44721901416778564,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+4,d=h,b=i,c=j,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[k]=-0.2763879895210266,FHEAP[l]=-0.8506489992141724,FHEAP[m]=-0.44721901416778564,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+8,d= +k,b=l,c=m,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[n]=-0.8944259881973267,FHEAP[o]=0,FHEAP[q]=-0.4472160041332245,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+12,d=n,b=o,c=q,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[p]=-0.2763879895210266,FHEAP[r]=0.8506489992141724,FHEAP[s]=-0.44721999764442444,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +16,d=p,b=r,c=s,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[u]=0.7236080169677734,FHEAP[v]=0.5257250070571899,FHEAP[y]=-0.44721901416778564,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+20,d=u,b=v,c=y,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[x]=0.2763879895210266,FHEAP[z]=-0.8506489992141724,FHEAP[B]=0.44721999764442444,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +24,d=x,b=z,c=B,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[C]=-0.7236080169677734,FHEAP[A]=-0.5257250070571899,FHEAP[w]=0.44721901416778564,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+28,d=C,b=A,c=w,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[D]=-0.7236080169677734,FHEAP[E]=0.5257250070571899,FHEAP[F]=0.44721901416778564,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +32,d=D,b=E,c=F,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[G]=0.2763879895210266,FHEAP[J]=0.8506489992141724,FHEAP[H]=0.44721901416778564,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+36,d=G,b=J,c=H,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[M]=0.8944259881973267,FHEAP[K]=0,FHEAP[N]=0.4472160041332245,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +40,d=M,b=K,c=N,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[R]=0,FHEAP[O]=0,FHEAP[Q]=1,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+44,d=R,b=O,c=Q,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[I]=0.4253230094909668,FHEAP[L]=-0.3090110123157501,FHEAP[P]=-0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+48,d=I,b=L,c=P,FHEAP[e]= +FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[S]=-0.16245600581169128,FHEAP[T]=-0.49999499320983887,FHEAP[U]=-0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+52,d=S,b=T,c=U,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[W]=0.2628690004348755,FHEAP[Z]=-0.8090119957923889,FHEAP[ca]=-0.525738000869751,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +56,d=W,b=Z,c=ca,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Y]=0.4253230094909668,FHEAP[ea]=0.3090110123157501,FHEAP[ha]=-0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+60,d=Y,b=ea,c=ha,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[ba]=0.8506479859352112,FHEAP[V]=0,FHEAP[aa]=-0.5257359743118286,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +64,d=ba,b=V,c=aa,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[X]=-0.5257300138473511,FHEAP[ka]=0,FHEAP[da]=-0.8506519794464111,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+68,d=X,b=ka,c=da,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[fa]=-0.6881899833679199,FHEAP[ga]=-0.49999698996543884,FHEAP[ja]=-0.5257359743118286,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +72,d=fa,b=ga,c=ja,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[la]=-0.16245600581169128,FHEAP[qa]=0.49999499320983887,FHEAP[pa]=-0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+76,d=la,b=qa,c=pa,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[wa]=-0.6881899833679199,FHEAP[ua]=0.49999698996543884,FHEAP[na]=-0.5257359743118286,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +80,d=wa,b=ua,c=na,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[ya]=0.2628690004348755,FHEAP[xa]=0.8090119957923889,FHEAP[ia]=-0.525738000869751,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+84,d=ya,b=xa,c=ia,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[ma]=0.9510579705238342,FHEAP[ta]=0.3090130090713501,FHEAP[ra]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +88,d=ma,b=ta,c=ra,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[oa]=0.9510579705238342,FHEAP[Da]=-0.3090130090713501,FHEAP[Ba]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+92,d=oa,b=Da,c=Ba,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Oa]=0.5877860188484192,FHEAP[Fa]=-0.80901700258255,FHEAP[Ha]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +96,d=Oa,b=Fa,c=Ha,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[La]=0,FHEAP[Ea]=-1,FHEAP[Ca]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+100,d=La,b=Ea,c=Ca,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Aa]=-0.5877860188484192,FHEAP[za]=-0.80901700258255,FHEAP[Ja]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+104,d=Aa,b=za,c=Ja,FHEAP[e]= +FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Ra]=-0.9510579705238342,FHEAP[Ua]=-0.3090130090713501,FHEAP[Xa]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+108,d=Ra,b=Ua,c=Xa,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Wa]=-0.9510579705238342,FHEAP[Sa]=0.3090130090713501,FHEAP[Ga]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+112,d=Wa,b=Sa, +c=Ga,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Ia]=-0.5877860188484192,FHEAP[Pa]=0.80901700258255,FHEAP[Ta]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+116,d=Ia,b=Pa,c=Ta,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Va]=0,FHEAP[fb]=1,FHEAP[ib]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+120,d=Va,b=fb,c=ib,FHEAP[e]=FHEAP[d],FHEAP[e+ +1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Na]=0.5877860188484192,FHEAP[Za]=0.80901700258255,FHEAP[gb]=0,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+124,d=Na,b=Za,c=gb,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[lb]=0.6881899833679199,FHEAP[$a]=-0.49999698996543884,FHEAP[eb]=0.5257359743118286,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+128,d=lb,b=$a,c=eb, +FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[bb]=-0.2628690004348755,FHEAP[sb]=-0.8090119957923889,FHEAP[Ka]=0.525738000869751,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+132,d=bb,b=sb,c=Ka,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Ya]=-0.8506479859352112,FHEAP[jb]=0,FHEAP[kb]=0.5257359743118286,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +136,d=Ya,b=jb,c=kb,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[tb]=-0.2628690004348755,FHEAP[Bb]=0.8090119957923889,FHEAP[Qa]=0.525738000869751,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+140,d=tb,b=Bb,c=Qa,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[wb]=0.6881899833679199,FHEAP[mb]=0.49999698996543884,FHEAP[yb]=0.5257359743118286,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +144,d=wb,b=mb,c=yb,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[ub]=0.5257300138473511,FHEAP[Ma]=0,FHEAP[sa]=0.8506519794464111,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+148,d=ub,b=Ma,c=sa,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[va]=0.16245600581169128,FHEAP[pb]=-0.49999499320983887,FHEAP[ab]=0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +152,d=va,b=pb,c=ab,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[db]=-0.4253230094909668,FHEAP[vb]=-0.3090110123157501,FHEAP[Fb]=0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+156,d=db,b=vb,c=Fb,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[zb]=-0.4253230094909668,FHEAP[Kb]=0.3090110123157501,FHEAP[nb]=0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+ +160,d=zb,b=Kb,c=nb,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[Cb]=0.16245600581169128,FHEAP[Eb]=0.49999499320983887,FHEAP[Ib]=0.8506540060043335,e=__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections+164,d=Cb,b=Eb,c=Ib,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,___cxa_guard_release(__ZGVZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections)),e=1;else if(e==1)return STACKTOP= +a,__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections;return null} +function __ZmlRK9btVector3RK11btMatrix3x3(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;FHEAP[b]=FHEAP[d]*FHEAP[e]+FHEAP[d+4]*FHEAP[e+1]+FHEAP[d+8]*FHEAP[e+2];FHEAP[c]=FHEAP[d+1]*FHEAP[e]+FHEAP[d+4+1]*FHEAP[e+1]+FHEAP[d+8+1]*FHEAP[e+2];FHEAP[f]=FHEAP[d+2]*FHEAP[e]+FHEAP[d+4+2]*FHEAP[e+1]+FHEAP[d+8+2]*FHEAP[e+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZN17btGjkPairDetectorD1Ev(a){IHEAP[a]=__ZTV17btGjkPairDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2}function __ZN33btMinkowskiPenetrationDepthSolverD1Ev(a){IHEAP[a]=__ZTV33btMinkowskiPenetrationDepthSolver+2;IHEAP[a]=__ZTV30btConvexPenetrationDepthSolver+2}function __ZN33btMinkowskiPenetrationDepthSolverD0Ev(a){IHEAP[a]=__ZTV33btMinkowskiPenetrationDepthSolver+2;IHEAP[a]=__ZTV30btConvexPenetrationDepthSolver+2;__ZdlPv(a)} +function __ZN36btDiscreteCollisionDetectorInterfaceD1Ev(a){IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2}function __ZN36btDiscreteCollisionDetectorInterfaceD0Ev(a){IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;__ZdlPv(a)} +function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD2Ev(a){IHEAP[a]=__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2} +function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD0Ev(a){IHEAP[a]=__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZdlPv(a)} +function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersAEii(){}function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersBEii(){} +function __ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult15addContactPointERKS8_SG_f(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(a+4,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,d,4,4,0);FHEAP[a+12]=b;IHEAP[a+13]=1}function __ZN36btDiscreteCollisionDetectorInterface6ResultD1Ev(a){IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2} +function __ZN36btDiscreteCollisionDetectorInterface6ResultD0Ev(a){IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZdlPv(a)}function __ZN22btSubsimplexConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(a,e,d,b){IHEAP[a]=__ZTV12btConvexCast+2;IHEAP[a]=__ZTV22btSubsimplexConvexCast+2;IHEAP[a+4]=b;IHEAP[a+5]=e;IHEAP[a+6]=d} +function __ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=183;var h,i,j,k,l,m,n=g+1,o=g+2,q=g+3,p=g+4,r=g+5,s=g+6,u=g+7,v=g+8,y=g+9,x=g+10,z=g+11;k=g+12;l=g+13;m=g+14;var B=g+15,C=g+16,A=g+17,w,D=g+18,E=g+19,F=g+20,G,J=g+21,H=g+22,M=g+23,K=g+24,N=g+25,R=g+26,O=g+27,Q,I=g+28,L,P=g+29,S=g+33,T=g+37,U=g+41,W=g+45,Z=g+61,ca=g+77,Y=g+81,ea=g+85,ha=g+89,ba=g+93,V=g+97,aa=g+101;G=g+105;j=g+109;i=g+113;var X=g+117,ka= +g+121,da=g+122,fa=g+123,ga=g+124,ja=g+128,la=g+132,qa=g+136,pa=g+140,wa=g+144,ua=g+148,na=g+152,ya=g+156,xa=g+160,ia=g+164;Q=g+168;var ma=g+172,ta=g+173,ra=g+174,oa=g+175,Da=g+179;__ZN22btVoronoiSimplexSolver5resetEv(IHEAP[a+4]);var Ba=e+12;w=d+12;FHEAP[J]=FHEAP[w]-FHEAP[Ba];FHEAP[H]=FHEAP[w+1]-FHEAP[Ba+1];FHEAP[M]=FHEAP[w+2]-FHEAP[Ba+2];FHEAP[T]=FHEAP[J];FHEAP[T+1]=FHEAP[H];FHEAP[T+2]=FHEAP[M];FHEAP[T+3]=0;_llvm_memcpy_p0i8_p0i8_i32(P,T,4,4,0);J=b+12;w=c+12;FHEAP[D]=FHEAP[w]-FHEAP[J];FHEAP[E]=FHEAP[w+ +1]-FHEAP[J+1];FHEAP[F]=FHEAP[w+2]-FHEAP[J+2];FHEAP[U]=FHEAP[D];FHEAP[U+1]=FHEAP[E];FHEAP[U+2]=FHEAP[F];FHEAP[U+3]=0;_llvm_memcpy_p0i8_p0i8_i32(S,U,4,4,0);D=0;_llvm_memcpy_p0i8_p0i8_i32(W,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(W+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(W+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(W+12,e+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Z,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Z+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Z+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Z+12,b+12,4,4,0);FHEAP[B]=FHEAP[P]- +FHEAP[S];FHEAP[C]=FHEAP[P+1]-FHEAP[S+1];FHEAP[A]=FHEAP[P+2]-FHEAP[S+2];FHEAP[ca]=FHEAP[B];FHEAP[ca+1]=FHEAP[C];FHEAP[ca+2]=FHEAP[A];FHEAP[ca+3]=0;B=IHEAP[a+5];C=IHEAP[IHEAP[B]+15];FHEAP[k]=0-FHEAP[ca];FHEAP[l]=0-FHEAP[ca+1];FHEAP[m]=0-FHEAP[ca+2];FHEAP[V]=FHEAP[k];FHEAP[V+1]=FHEAP[l];FHEAP[V+2]=FHEAP[m];FHEAP[V+3]=0;__ZmlRK9btVector3RK11btMatrix3x3(ba,V,e);FUNCTION_TABLE[C](ha,B,ba);__ZNK11btTransformclERK9btVector3(ea,e,ha);k=IHEAP[a+6];l=IHEAP[IHEAP[k]+15];__ZmlRK9btVector3RK11btMatrix3x3(j,ca, +b);FUNCTION_TABLE[l](G,k,j);__ZNK11btTransformclERK9btVector3(aa,b,G);FHEAP[y]=FHEAP[ea]-FHEAP[aa];FHEAP[x]=FHEAP[ea+1]-FHEAP[aa+1];FHEAP[z]=FHEAP[ea+2]-FHEAP[aa+2];FHEAP[i]=FHEAP[y];FHEAP[i+1]=FHEAP[x];FHEAP[i+2]=FHEAP[z];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Y,i,4,4,0);y=32;FHEAP[ka]=0;FHEAP[da]=0;FHEAP[fa]=0;FHEAP[X]=FHEAP[ka];FHEAP[X+1]=FHEAP[da];FHEAP[X+2]=FHEAP[fa];FHEAP[X+3]=0;G=FHEAP[Y]*FHEAP[Y]+FHEAP[Y+1]*FHEAP[Y+1]+FHEAP[Y+2]*FHEAP[Y+2];ka=a+5;da=a+6;fa=a+4;x=a+4;z=a+4;a:for(;;){if(!(G> +9.999999747378752E-5)){h=2;break a}j=y;y=j+-1;if(j==0){h=2;break a}j=IHEAP[ka];h=IHEAP[IHEAP[j]+15];i=Y;FHEAP[g]=0-FHEAP[i];FHEAP[n]=0-FHEAP[i+1];FHEAP[o]=0-FHEAP[i+2];i=qa;k=g;l=n;m=o;FHEAP[i]=FHEAP[k];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;i=W;__ZmlRK9btVector3RK11btMatrix3x3(la,qa,i);FUNCTION_TABLE[h](ja,j,la);__ZNK11btTransformclERK9btVector3(pa,W,ja);_llvm_memcpy_p0i8_p0i8_i32(ea,pa,4,4,0);h=IHEAP[da];i=IHEAP[IHEAP[h]+15];j=Z;__ZmlRK9btVector3RK11btMatrix3x3(ua,Y,j);FUNCTION_TABLE[i](wa, +h,ua);__ZNK11btTransformclERK9btVector3(na,Z,wa);_llvm_memcpy_p0i8_p0i8_i32(aa,na,4,4,0);j=ea;h=aa;FHEAP[q]=FHEAP[j]-FHEAP[h];FHEAP[p]=FHEAP[j+1]-FHEAP[h+1];FHEAP[r]=FHEAP[j+2]-FHEAP[h+2];j=ya;h=q;i=p;k=r;FHEAP[j]=FHEAP[h];FHEAP[j+1]=FHEAP[i];FHEAP[j+2]=FHEAP[k];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ga,ya,4,4,0);h=Y;j=ga;j=FHEAP[h]*FHEAP[j]+FHEAP[h+1]*FHEAP[j+1]+FHEAP[h+2]*FHEAP[j+2];if(D>1){h=4;break a}h=j>0?7:8;b:for(;;)if(h==7){i=Y;h=ca;h=FHEAP[i]*FHEAP[h]+FHEAP[i+1]*FHEAP[h+1]+FHEAP[i+2]*FHEAP[h+ +2];if(h>=-1.4210854715202004E-14){h=9;break a}D-=j/h;h=W;h+=12;i=e;k=i+12;i=d;m=i+12;l=D;i=h;h=k;k=m;m=i;i=1-l;FHEAP[m]=i*FHEAP[h]+l*FHEAP[k];FHEAP[m+1]=i*FHEAP[h+1]+l*FHEAP[k+1];FHEAP[m+2]=i*FHEAP[h+2]+l*FHEAP[k+2];h=Z;h+=12;i=b;k=i+12;i=c;m=i+12;l=D;i=h;h=k;k=m;m=i;i=1-l;FHEAP[m]=i*FHEAP[h]+l*FHEAP[k];FHEAP[m+1]=i*FHEAP[h+1]+l*FHEAP[k+1];FHEAP[m+2]=i*FHEAP[h+2]+l*FHEAP[k+2];h=ea;i=aa;FHEAP[s]=FHEAP[h]-FHEAP[i];FHEAP[u]=FHEAP[h+1]-FHEAP[i+1];FHEAP[v]=FHEAP[h+2]-FHEAP[i+2];h=xa;i=s;k=u;l=v;FHEAP[h]= +FHEAP[i];FHEAP[h+1]=FHEAP[k];FHEAP[h+2]=FHEAP[l];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ga,xa,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(X,Y,4,4,0);h=8}else if(h==8){h=__ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(IHEAP[fa],ga)?11:12;break b}for(;;)if(h==11){h=IHEAP[x];j=Y;i=h;h=__ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(i);_llvm_memcpy_p0i8_p0i8_i32(j,i+69,4,4,0);h=h&1?13:14;break}else h==12&&(k=IHEAP[z],j=ga,h=ea,i=aa,_llvm_memcpy_p0i8_p0i8_i32(k+73,j,4,4,0),IHEAP[k+90]=1,_llvm_memcpy_p0i8_p0i8_i32(k+ +1+IHEAP[k]*4,j,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+21+IHEAP[k]*4,h,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+41+IHEAP[k]*4,i,4,4,0),IHEAP[k]+=1,h=11);h==13?(G=j=G=Y,G=FHEAP[G]*FHEAP[j]+FHEAP[G+1]*FHEAP[j+1]+FHEAP[G+2]*FHEAP[j+2],h=0):h==14&&(h=G=0)}h==2?(FHEAP[f+41]=D,e=f+33,FHEAP[X]*FHEAP[X]+FHEAP[X+1]*FHEAP[X+1]+FHEAP[X+2]*FHEAP[X+2]>=1.4210854715202004E-14?(Q=FHEAP[X]*FHEAP[X]+FHEAP[X+1]*FHEAP[X+1]+FHEAP[X+2]*FHEAP[X+2],Q=_sqrtf(Q),FHEAP[I]=Q,FHEAP[O]=1/FHEAP[I],FHEAP[K]=FHEAP[X]*FHEAP[O],FHEAP[N]=FHEAP[X+ +1]*FHEAP[O],FHEAP[R]=FHEAP[X+2]*FHEAP[O],FHEAP[ia]=FHEAP[K],FHEAP[ia+1]=FHEAP[N],FHEAP[ia+2]=FHEAP[R],FHEAP[ia+3]=0,_llvm_memcpy_p0i8_p0i8_i32(e,ia,4,4,0)):(FHEAP[ma]=0,FHEAP[ta]=0,FHEAP[ra]=0,FHEAP[Q]=FHEAP[ma],FHEAP[Q+1]=FHEAP[ta],FHEAP[Q+2]=FHEAP[ra],FHEAP[Q+3]=0,_llvm_memcpy_p0i8_p0i8_i32(e,Q,4,4,0)),K=f+33,FHEAP[K]*FHEAP[ca]+FHEAP[K+1]*FHEAP[ca+1]+FHEAP[K+2]*FHEAP[ca+2]>=0-FHEAP[f+43]?L=0:(a=IHEAP[a+4],__ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(a),_llvm_memcpy_p0i8_p0i8_i32(oa, +a+61,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Da,a+65,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+37,Da,4,4,0),L=1)):h==4?L=0:h==9&&(L=0);STACKTOP=g;return L} +function __ZNK9btVector310normalizedEv(a,e){var d=STACKTOP;STACKTOP+=5;var b=d+1,c=d+2,f=d+3,g=d+4,h=_sqrtf(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]);FHEAP[g]=h;FHEAP[f]=1/FHEAP[g];FHEAP[d]=FHEAP[e]*FHEAP[f];FHEAP[b]=FHEAP[e+1]*FHEAP[f];FHEAP[c]=FHEAP[e+2]*FHEAP[f];FHEAP[a]=FHEAP[d];FHEAP[a+1]=FHEAP[b];FHEAP[a+2]=FHEAP[c];FHEAP[a+3]=0;STACKTOP=d}function __ZN22btSubsimplexConvexCastD1Ev(a){IHEAP[a]=__ZTV22btSubsimplexConvexCast+2;IHEAP[a]=__ZTV12btConvexCast+2} +function __ZN22btSubsimplexConvexCastD0Ev(a){IHEAP[a]=__ZTV22btSubsimplexConvexCast+2;IHEAP[a]=__ZTV12btConvexCast+2;__ZdlPv(a)} +function __ZN30btGjkEpaPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h,i){a=STACKTOP;STACKTOP+=21;var j=a+1,k=a+2,l=a+3,m=a+7,n=f+12,e=c+12;FHEAP[a]=FHEAP[e]-FHEAP[n];FHEAP[j]=FHEAP[e+1]-FHEAP[n+1];FHEAP[k]=FHEAP[e+2]-FHEAP[n+2];FHEAP[l]=FHEAP[a];FHEAP[l+1]=FHEAP[j];FHEAP[l+2]=FHEAP[k];FHEAP[l+3]=0;__ZN15btGjkEpaSolver211PenetrationEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsEb(d, +c,b,f,l,m,1)?(_llvm_memcpy_p0i8_p0i8_i32(h,m+1,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i,m+1+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g,m+9,4,4,0),d=1):(__ZN15btGjkEpaSolver28DistanceEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsE(d,c,b,f,l,m)&&(_llvm_memcpy_p0i8_p0i8_i32(h,m+1,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i,m+1+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g,m+9,4,4,0)),d=0);STACKTOP=a;return d} +function __ZN30btGjkEpaPenetrationDepthSolverD0Ev(a){IHEAP[a]=__ZTV30btGjkEpaPenetrationDepthSolver+2;IHEAP[a]=__ZTV30btConvexPenetrationDepthSolver+2;__ZdlPv(a)}function __ZN15btGjkConvexCastC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolver(a,e,d,b){IHEAP[a]=__ZTV12btConvexCast+2;IHEAP[a]=__ZTV15btGjkConvexCast+2;IHEAP[a+4]=b;IHEAP[a+5]=e;IHEAP[a+6]=d} +function __ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=145;var h,i=g+1,j=g+2,k=g+3,l=g+4,m=g+5,n=g+6;h=g+7;var o=g+8,q=g+9,p=g+10,r=g+11,s=g+12,u=g+13,v=g+14,y,x,z=g+15,B=g+16,C=g+17,A=g+18,w=g+19,D=g+20,E,F,G,J,H,M=g+21,K=g+25,N=g+29,R=g+33,O=g+37,Q=g+41,I=g+42,L=g+43,P=g+44,S=g+48,T=g+49,U=g+50,W=g+51;G=g+55;E=g+59;H=g+75;J=g+89;var Z=g+111;__ZN22btVoronoiSimplexSolver5resetEv(IHEAP[a+4]);var ca=e+12;x=d+12;FHEAP[A]= +FHEAP[x]-FHEAP[ca];FHEAP[w]=FHEAP[x+1]-FHEAP[ca+1];FHEAP[D]=FHEAP[x+2]-FHEAP[ca+2];FHEAP[N]=FHEAP[A];FHEAP[N+1]=FHEAP[w];FHEAP[N+2]=FHEAP[D];FHEAP[N+3]=0;_llvm_memcpy_p0i8_p0i8_i32(M,N,4,4,0);A=b+12;x=c+12;FHEAP[z]=FHEAP[x]-FHEAP[A];FHEAP[B]=FHEAP[x+1]-FHEAP[A+1];FHEAP[C]=FHEAP[x+2]-FHEAP[A+2];FHEAP[R]=FHEAP[z];FHEAP[R+1]=FHEAP[B];FHEAP[R+2]=FHEAP[C];FHEAP[R+3]=0;_llvm_memcpy_p0i8_p0i8_i32(K,R,4,4,0);z=0;FHEAP[Q]=1;FHEAP[I]=0;FHEAP[L]=0;FHEAP[O]=FHEAP[Q];FHEAP[O+1]=FHEAP[I];FHEAP[O+2]=FHEAP[L];FHEAP[O+ +3]=0;FHEAP[S]=0;FHEAP[T]=0;FHEAP[U]=0;FHEAP[P]=FHEAP[S];FHEAP[P+1]=FHEAP[T];FHEAP[P+2]=FHEAP[U];FHEAP[P+3]=0;FHEAP[s]=FHEAP[M]-FHEAP[K];FHEAP[u]=FHEAP[M+1]-FHEAP[K+1];FHEAP[v]=FHEAP[M+2]-FHEAP[K+2];FHEAP[G]=FHEAP[s];FHEAP[G+1]=FHEAP[u];FHEAP[G+2]=FHEAP[v];FHEAP[G+3]=0;s=z;u=0;FHEAP[g]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;FHEAP[m]=0;FHEAP[n]=0;FHEAP[h]=0;FHEAP[o]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(E,g,i,j,k,l,m,n,h,o);i=E+12;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[i]= +FHEAP[q];FHEAP[i+1]=FHEAP[p];FHEAP[i+2]=FHEAP[r];FHEAP[i+3]=0;IHEAP[H]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[H]=__ZTV16btPointCollector+2;FHEAP[H+12]=999999984306749440;IHEAP[H+13]=0;q=IHEAP[a+5];p=IHEAP[a+6];a=IHEAP[a+4];try{__THREW__=!1,__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(J,q,p,a,0)}catch(Y){if(ABORT)throw Y;__THREW__=!0;print("Exception: "+Y+" : "+Y.stack+", currently at: "+Error().stack)}h=__THREW__?21: +20;a:do if(h==20){y=Z;FHEAP[y+32]=999999984306749440;IHEAP[y+33]=0;y=e;a=Z;p=y;q=a;_llvm_memcpy_p0i8_p0i8_i32(q,p,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(q+4,p+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(q+8,p+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,y+12,4,4,0);y=b;a=Z+16;p=y;q=a;_llvm_memcpy_p0i8_p0i8_i32(q,p,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(q+4,p+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(q+8,p+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,y+12,4,4,0);a=H;q=J;y=Z;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(q, +y,a,0)}catch(ea){if(ABORT)throw ea;__THREW__=!0;print("Exception: "+ea+" : "+ea.stack+", currently at: "+Error().stack)}h=__THREW__?23:22;b:for(;;)if(h==22){y=IHEAP[H+13]&1;_llvm_memcpy_p0i8_p0i8_i32(W,H+8,4,4,0);if(!(y&1)){h=1;break b}n=FHEAP[H+12];_llvm_memcpy_p0i8_p0i8_i32(P,H+4,4,4,0);y=Z;a=Z+16;q=H;p=H+13;r=H+12;i=W;j=H+8;k=P;l=H+4;for(m=H+12;;){if(!(n>0.0010000000474974513)){h=4;break b}u+=1;if(u>32){h=5;break b}o=G;h=P;h=FHEAP[o]*FHEAP[h]+FHEAP[o+1]*FHEAP[h+1]+FHEAP[o+2]*FHEAP[h+2];n/=h;z-= +n;if(z>1){h=10;break b}if(z<0){h=12;break b}if(z<=s){h=14;break b}s=z;n=f;h=IHEAP[IHEAP[n]];o=z;try{__THREW__=!1,FUNCTION_TABLE[h](n,o)}catch(ha){if(ABORT)throw ha;__THREW__=!0;print("Exception: "+ha+" : "+ha.stack+", currently at: "+Error().stack)}if(__THREW__){h=23;continue b}n=y;n+=12;h=e;o=h+12;h=d;v=h+12;E=z;h=n;n=o;o=v;v=h;h=1-E;FHEAP[v]=h*FHEAP[n]+E*FHEAP[o];FHEAP[v+1]=h*FHEAP[n+1]+E*FHEAP[o+1];FHEAP[v+2]=h*FHEAP[n+2]+E*FHEAP[o+2];n=a;n+=12;h=b;o=h+12;h=c;v=h+12;E=z;h=n;n=o;o=v;v=h;h=1-E;FHEAP[v]= +h*FHEAP[n]+E*FHEAP[o];FHEAP[v+1]=h*FHEAP[n+1]+E*FHEAP[o+1];FHEAP[v+2]=h*FHEAP[n+2]+E*FHEAP[o+2];h=J;o=Z;n=q;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(h,o,n,0)}catch(ba){if(ABORT)throw ba;__THREW__=!0;print("Exception: "+ba+" : "+ba.stack+", currently at: "+Error().stack)}if(__THREW__){h=23;continue b}if(!(IHEAP[p]&1)){h=17;break b}if(FHEAP[r]<0){h=18;break b}_llvm_memcpy_p0i8_p0i8_i32(i, +j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k,l,4,4,0);n=FHEAP[m];h=2}}else if(h==23){y=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=J;IHEAP[g]=__ZTV17btGjkPairDetector+2;IHEAP[g]=__ZTV36btDiscreteCollisionDetectorInterface+2;break a}h==1?F=0:h==4?(F=P,FHEAP[F]*FHEAP[G]+FHEAP[F+1]*FHEAP[G+1]+FHEAP[F+2]*FHEAP[G+2]>=0-FHEAP[f+43]?F=0:(FHEAP[f+41]=z,_llvm_memcpy_p0i8_p0i8_i32(f+33,P,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+37,W,4,4,0),F=1)):h==5?F=0:h==10?F=0:h==12?F=0:h==14?F=0:h==17?F= +0:h==18&&(FHEAP[f+41]=s,_llvm_memcpy_p0i8_p0i8_i32(P,H+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+33,P,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+37,H+8,4,4,0),F=1);IHEAP[J]=__ZTV17btGjkPairDetector+2;IHEAP[J]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[H]=__ZTV16btPointCollector+2;IHEAP[H]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;H=F;STACKTOP=g;return H}else h==21&&(y=a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0));while(0);IHEAP[H]=__ZTV16btPointCollector+2;IHEAP[H]= +__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__Unwind_Resume_or_Rethrow(y);throw"Reached an unreachable! Original .ll line: 18004";}function __ZN16btPointCollectorD1Ev(a){IHEAP[a]=__ZTV16btPointCollector+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2}function __ZN15btGjkConvexCastD1Ev(a){IHEAP[a]=__ZTV15btGjkConvexCast+2;IHEAP[a]=__ZTV12btConvexCast+2}function __ZN15btGjkConvexCastD0Ev(a){IHEAP[a]=__ZTV15btGjkConvexCast+2;IHEAP[a]=__ZTV12btConvexCast+2;__ZdlPv(a)} +function __ZN16btPointCollectorD0Ev(a){IHEAP[a]=__ZTV16btPointCollector+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZdlPv(a)}function __ZN16btPointCollector20setShapeIdentifiersAEii(){}function __ZN16btPointCollector20setShapeIdentifiersBEii(){} +function __ZN16btPointCollector15addContactPointERK9btVector3S2_f(a,e,d,b){var c;for(c=b<FHEAP[a+12]?0:1;;)if(c==0)IHEAP[a+13]=1,_llvm_memcpy_p0i8_p0i8_i32(a+4,e,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(a+8,d,4,4,0),FHEAP[a+12]=b,c=1;else if(c==1)break} +function __ZN20btPersistentManifoldC2Ev(a){var e,d;IHEAP[a]=1025;var b=a+4;for(d=0;;)if(e=b+69*d,IHEAP[e+27]=0,FHEAP[e+28]=0,IHEAP[e+29]=0,FHEAP[e+30]=0,FHEAP[e+31]=0,FHEAP[e+32]=0,FHEAP[e+33]=0,FHEAP[e+34]=0,FHEAP[e+35]=0,IHEAP[e+36]=0,d=e=d+1,!(e<4))break;IHEAP[a+280]=0;IHEAP[a+281]=0;IHEAP[a+282]=0;IHEAP[a+287]=0} +function __ZN20btPersistentManifold14clearUserCacheER15btManifoldPoint(a,e){var d;for(d=IHEAP[e+27]!=0?0:1;;)if(d==0)IHEAP[e+27]!=0&IHEAP[_gContactDestroyedCallback]!=0&&(FUNCTION_TABLE[IHEAP[_gContactDestroyedCallback]](IHEAP[e+27]),IHEAP[e+27]=0),d=1;else if(d==1)break} +function __ZN20btPersistentManifold16sortCachedPointsERK15btManifoldPoint(a,e){var d=STACKTOP;STACKTOP+=104;var b,c,f,g,h,i=d+1,j=d+2,k=d+3,l=d+4,m=d+5,n=d+6,o=d+7,q=d+8,p,r,s;s=d+9;r=d+10;p=d+11;var u,v,y;y=d+12;v=d+13;u=d+14;var x,z,B,C,A;B=d+15;z=d+16;x=d+17;var w,D=d+18,E=d+19,F=d+20,G=d+21,J=d+22,H=d+23,M=d+24,K=d+25,N=d+26,R,O,Q;Q=d+27;O=d+28;R=d+29;var I,L,P;P=d+30;L=d+31;I=d+32;var S,T,U,W,Z;U=d+33;T=d+34;S=d+35;var ca,Y,ea=d+36,ha=d+37,ba=d+38,V=d+39,aa=d+40,X=d+44,ka=d+48;A=d+52;C=d+56; +w=d+60;var da=d+64,fa=d+68,ga=d+72;Z=d+76;W=d+80;ca=d+84;var ja=d+88;Y=-1;c=FHEAP[e+20];f=0;g=a+4;h=a+4;a:for(;;){b=g+f*69;for(b=FHEAP[b+20]<c?1:2;;)if(b==1)Y=f,c=h+f*69,c=FHEAP[c+20],b=2;else if(b==2)if(f=b=f+1,b<4)continue a;else break a}FHEAP[ea]=0;FHEAP[ha]=0;FHEAP[ba]=0;FHEAP[V]=0;b=Y!=0?4:5;a:for(;;)if(b==4)if(g=a+4+69,f=e,FHEAP[d]=FHEAP[f]-FHEAP[g],FHEAP[i]=FHEAP[f+1]-FHEAP[g+1],FHEAP[j]=FHEAP[f+2]-FHEAP[g+2],f=aa,g=d,h=i,c=j,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[c],FHEAP[f+ +3]=0,g=a+4+138,f=a+4+207,FHEAP[k]=FHEAP[f]-FHEAP[g],FHEAP[l]=FHEAP[f+1]-FHEAP[g+1],FHEAP[m]=FHEAP[f+2]-FHEAP[g+2],f=X,g=k,h=l,c=m,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[c],FHEAP[f+3]=0,g=aa,f=X,FHEAP[n]=FHEAP[g+1]*FHEAP[f+2]-FHEAP[g+2]*FHEAP[f+1],FHEAP[o]=FHEAP[g+2]*FHEAP[f]-FHEAP[g]*FHEAP[f+2],FHEAP[q]=FHEAP[g]*FHEAP[f+1]-FHEAP[g+1]*FHEAP[f],f=ka,g=n,h=o,c=q,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[c],FHEAP[f+3]=0,f=g=f=ka,FHEAP[ea]=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+ +1]+FHEAP[f+2]*FHEAP[g+2],Y!=1)b=5;else{b=6;break a}else if(b==5){j=a+4;i=e;FHEAP[s]=FHEAP[i]-FHEAP[j];FHEAP[r]=FHEAP[i+1]-FHEAP[j+1];FHEAP[p]=FHEAP[i+2]-FHEAP[j+2];i=A;j=r;r=s;s=j;j=p;p=i;i=j;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[i];FHEAP[p+3]=0;r=a+4+138;p=a+4+207;FHEAP[y]=FHEAP[p]-FHEAP[r];FHEAP[v]=FHEAP[p+1]-FHEAP[r+1];FHEAP[u]=FHEAP[p+2]-FHEAP[r+2];p=C;r=v;v=y;y=r;r=u;u=p;p=r;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[y];FHEAP[u+2]=FHEAP[p];FHEAP[u+3]=0;FHEAP[B]=FHEAP[A+1]*FHEAP[C+2]- +FHEAP[A+2]*FHEAP[C+1];FHEAP[z]=FHEAP[A+2]*FHEAP[C]-FHEAP[A]*FHEAP[C+2];FHEAP[x]=FHEAP[A]*FHEAP[C+1]-FHEAP[A+1]*FHEAP[C];C=w;A=z;z=B;B=A;A=x;x=C;C=A;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[C];FHEAP[x+3]=0;w=x=w;FHEAP[ha]=FHEAP[w]*FHEAP[x]+FHEAP[w+1]*FHEAP[x+1]+FHEAP[w+2]*FHEAP[x+2];b=Y!=2?6:7;break a}for(;;)if(b==6)if(x=a+4,w=e,FHEAP[D]=FHEAP[w]-FHEAP[x],FHEAP[E]=FHEAP[w+1]-FHEAP[x+1],FHEAP[F]=FHEAP[w+2]-FHEAP[x+2],w=da,x=D,z=E,B=F,FHEAP[w]=FHEAP[x],FHEAP[w+1]=FHEAP[z],FHEAP[w+2]=FHEAP[B], +FHEAP[w+3]=0,x=a+4+69,w=a+4+207,FHEAP[G]=FHEAP[w]-FHEAP[x],FHEAP[J]=FHEAP[w+1]-FHEAP[x+1],FHEAP[H]=FHEAP[w+2]-FHEAP[x+2],w=fa,x=G,z=J,B=H,FHEAP[w]=FHEAP[x],FHEAP[w+1]=FHEAP[z],FHEAP[w+2]=FHEAP[B],FHEAP[w+3]=0,x=da,w=fa,FHEAP[M]=FHEAP[x+1]*FHEAP[w+2]-FHEAP[x+2]*FHEAP[w+1],FHEAP[K]=FHEAP[x+2]*FHEAP[w]-FHEAP[x]*FHEAP[w+2],FHEAP[N]=FHEAP[x]*FHEAP[w+1]-FHEAP[x+1]*FHEAP[w],w=ga,x=M,z=K,B=N,FHEAP[w]=FHEAP[x],FHEAP[w+1]=FHEAP[z],FHEAP[w+2]=FHEAP[B],FHEAP[w+3]=0,w=x=w=ga,FHEAP[ba]=FHEAP[w]*FHEAP[x]+FHEAP[w+ +1]*FHEAP[x+1]+FHEAP[w+2]*FHEAP[x+2],Y!=3)b=7;else break;else if(b==7){E=a+4;D=e;FHEAP[Q]=FHEAP[D]-FHEAP[E];FHEAP[O]=FHEAP[D+1]-FHEAP[E+1];FHEAP[R]=FHEAP[D+2]-FHEAP[E+2];D=Z;E=O;O=Q;Q=E;E=R;R=D;D=E;FHEAP[R]=FHEAP[O];FHEAP[R+1]=FHEAP[Q];FHEAP[R+2]=FHEAP[D];FHEAP[R+3]=0;O=a+4+69;R=a+4+138;FHEAP[P]=FHEAP[R]-FHEAP[O];FHEAP[L]=FHEAP[R+1]-FHEAP[O+1];FHEAP[I]=FHEAP[R+2]-FHEAP[O+2];R=W;O=L;L=P;P=O;O=I;I=R;R=O;FHEAP[I]=FHEAP[L];FHEAP[I+1]=FHEAP[P];FHEAP[I+2]=FHEAP[R];FHEAP[I+3]=0;FHEAP[U]=FHEAP[Z+1]*FHEAP[W+ +2]-FHEAP[Z+2]*FHEAP[W+1];FHEAP[T]=FHEAP[Z+2]*FHEAP[W]-FHEAP[Z]*FHEAP[W+2];FHEAP[S]=FHEAP[Z]*FHEAP[W+1]-FHEAP[Z+1]*FHEAP[W];W=ca;Z=T;T=U;U=Z;Z=S;S=W;W=Z;FHEAP[S]=FHEAP[T];FHEAP[S+1]=FHEAP[U];FHEAP[S+2]=FHEAP[W];FHEAP[S+3]=0;ca=S=ca;FHEAP[V]=FHEAP[ca]*FHEAP[S]+FHEAP[ca+1]*FHEAP[S+1]+FHEAP[ca+2]*FHEAP[S+2];break}FHEAP[ja]=FHEAP[ea];FHEAP[ja+1]=FHEAP[ha];FHEAP[ja+2]=FHEAP[ba];FHEAP[ja+3]=0;FHEAP[ja+3]=FHEAP[V];ea=__ZNK9btVector412closestAxis4Ev(ja);STACKTOP=d;return ea} +function __ZNK9btVector412closestAxis4Ev(a){var e=STACKTOP;STACKTOP+=20;var d,b,c;d=e+1;b=e+2;c=e+3;var f=e+4,g=_fabsf(FHEAP[a]);FHEAP[e]=g;g=_fabsf(FHEAP[a+1]);FHEAP[d]=g;g=_fabsf(FHEAP[a+2]);FHEAP[b]=g;a=_fabsf(FHEAP[a+3]);FHEAP[c]=a;FHEAP[f]=FHEAP[e];FHEAP[f+1]=FHEAP[d];FHEAP[f+2]=FHEAP[b];FHEAP[f+3]=0;FHEAP[f+3]=FHEAP[c];b=-1;c=-999999984306749440;d=FHEAP[f]>c?0:1;a:for(;;)if(d==0)b=0,c=FHEAP[f],d=1;else if(d==1){d=FHEAP[f+1]>c?2:3;break a}a:for(;;)if(d==2)b=1,c=FHEAP[f+1],d=3;else if(d==3){d= +FHEAP[f+2]>c?4:5;break a}a:for(;;)if(d==4)b=2,c=FHEAP[f+2],d=5;else if(d==5){d=FHEAP[f+3]>c?6:7;break a}for(;;)if(d==6)b=3,d=7;else if(d==7)return f=b,STACKTOP=e,f;return null} +function __ZNK20btPersistentManifold13getCacheEntryERK15btManifoldPoint(a,e){var d=STACKTOP;STACKTOP+=7;var b,c,f,g,h=d+1,i=d+2,j,k,l,m,n=d+3;j=FHEAP[a+283]*FHEAP[a+283];k=IHEAP[a+282];l=-1;m=0;b=m<k?0:1;a:for(;;)if(b==0){var o=a+4;b:for(;;){b=o+m*69;c=e;FHEAP[d]=FHEAP[b]-FHEAP[c];FHEAP[h]=FHEAP[b+1]-FHEAP[c+1];FHEAP[i]=FHEAP[b+2]-FHEAP[c+2];b=n;c=d;f=h;g=i;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=c=n;c=FHEAP[c]*FHEAP[b]+FHEAP[c+1]*FHEAP[b+1]+FHEAP[c+2]*FHEAP[b+2]; +for(b=c<j?3:4;;)if(b==3)j=c,l=m,b=4;else if(b==4)if(m+=1,m<k){b=2;continue b}else{b=1;continue a}}}else if(b==1)return h=l,STACKTOP=d,h;return null}function __ZNK20btPersistentManifold27getContactBreakingThresholdEv(a){return FHEAP[a+283]} +function __ZN20btPersistentManifold16addManifoldPointERK15btManifoldPoint(a,e){var d,b,c;c=IHEAP[a+282];var f=c==4;a:do if(f){c=__ZN20btPersistentManifold16sortCachedPointsERK15btManifoldPoint(a,e);d=a+4+c*69;b=IHEAP[d+27];if(b==0)break a;if(!(IHEAP[d+27]!=0&IHEAP[_gContactDestroyedCallback]!=0))break a;FUNCTION_TABLE[IHEAP[_gContactDestroyedCallback]](IHEAP[d+27]);IHEAP[d+27]=0}else IHEAP[a+282]+=1;while(0);for(d=c<0?4:5;;)if(d==4)c=0,d=5;else if(d==5)return _llvm_memcpy_p0i8_p0i8_i32(a+4+c*69,e, +69,4,0),c;return null} +function __ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(a,e,d){var b=STACKTOP;STACKTOP+=44;var c,f,g,h,i,j,k,l=b+1,m=b+2,n=b+3,o=b+4,q=b+5,p=b+6,r=b+7,s=b+8,u,v,y=b+9,x=b+10,z=b+11,B=b+12,C=b+16,A=b+20,w=b+24,D=b+28,E=b+32,F=b+36,G=b+40;f=c=IHEAP[a+282]-1;c=c>=0?0:1;a:for(;;)if(c==0){g=a+4;h=B;for(i=C;;)if(c=g+f*69,j=c+12,__ZNK11btTransformclERK9btVector3(B,e,c),_llvm_memcpy_p0i8_p0i8_i32(j,h,4,4,0),j=c+8,__ZNK11btTransformclERK9btVector3(C,d,c+4),_llvm_memcpy_p0i8_p0i8_i32(j,i, +4,4,0),k=c+8,j=c+12,FHEAP[y]=FHEAP[j]-FHEAP[k],FHEAP[x]=FHEAP[j+1]-FHEAP[k+1],FHEAP[z]=FHEAP[j+2]-FHEAP[k+2],j=A,k=y,u=x,v=z,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[u],FHEAP[j+2]=FHEAP[v],FHEAP[j+3]=0,k=c+16,j=A,FHEAP[c+20]=FHEAP[j]*FHEAP[k]+FHEAP[j+1]*FHEAP[k+1]+FHEAP[j+2]*FHEAP[k+2],IHEAP[c+36]+=1,f=c=f+-1,c>=0)c=2;else{c=1;continue a}}else if(c==1){f=a;f=c=IHEAP[f+282]-1;c=c>=0?3:4;break a}a:for(;;)if(c==3){e=a+4;d=D;y=F;x=w;z=G;B=a+280;C=a+281;for(;;){c=A=e+f*69;h=g=a;i=IHEAP[c+36]>1;g=FHEAP[c+20]; +c:do{i?(c=h,c=g<=FHEAP[c+283]?6:7):(c=h,c=g<=FHEAP[c+284]?6:7);break c}while(0);c:do if(c==6)if(g=A+12,i=A+20,h=A+16,FHEAP[b]=FHEAP[h]*FHEAP[i],FHEAP[l]=FHEAP[h+1]*FHEAP[i],FHEAP[m]=FHEAP[h+2]*FHEAP[i],h=E,i=b,j=l,k=m,FHEAP[h]=FHEAP[i],FHEAP[h+1]=FHEAP[j],FHEAP[h+2]=FHEAP[k],FHEAP[h+3]=0,h=E,FHEAP[n]=FHEAP[g]-FHEAP[h],FHEAP[o]=FHEAP[g+1]-FHEAP[h+1],FHEAP[q]=FHEAP[g+2]-FHEAP[h+2],g=F,h=n,i=o,j=q,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(d,y,4, +4,0),g=A+8,h=D,FHEAP[p]=FHEAP[g]-FHEAP[h],FHEAP[r]=FHEAP[g+1]-FHEAP[h+1],FHEAP[s]=FHEAP[g+2]-FHEAP[h+2],g=G,h=p,i=r,j=s,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(x,z,4,4,0),g=h=w,g=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+2]*FHEAP[g+2],h=a,i=FHEAP[h+283],h=a,g>i*FHEAP[h+283])__ZN20btPersistentManifold18removeContactPointEi(a,f);else{if(IHEAP[_gContactProcessedCallback]==0)break c;FUNCTION_TABLE[IHEAP[_gContactProcessedCallback]](A,IHEAP[B], +IHEAP[C])}else c==7&&__ZN20btPersistentManifold18removeContactPointEi(a,f);while(0);f=c=f+-1;if(c>=0)c=5;else{c=4;continue a}}}else if(c==4){STACKTOP=b;break}} +function __ZN20btPersistentManifold18removeContactPointEi(a,e){var d,b,c;b=a+4+e*69;d=IHEAP[b+27]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[b+27]!=0&IHEAP[_gContactDestroyedCallback]!=0)){d=1;continue a}FUNCTION_TABLE[IHEAP[_gContactDestroyedCallback]](IHEAP[b+27]);IHEAP[b+27]=0;d=1}else if(d==1){d=a;c=IHEAP[d+282]-1;d=e!=c?3:4;break a}for(;;)if(d==3)_llvm_memcpy_p0i8_p0i8_i32(a+4+e*69,a+4+c*69,69,4,0),IHEAP[a+4+c*69+27]=0,FHEAP[a+4+c*69+45+7]=0,FHEAP[a+4+c*69+45+8+7]=0,FHEAP[a+4+c*69+45+16+7]=0,FHEAP[a+ +4+c*69+28]=0,IHEAP[a+4+c*69+29]=0,FHEAP[a+4+c*69+30]=0,FHEAP[a+4+c*69+31]=0,IHEAP[a+4+c*69+36]=0,d=4;else if(d==4){IHEAP[a+282]+=-1;break}}function __ZN12btConvexCastD0Ev(a){IHEAP[a]=__ZTV12btConvexCast+2;__ZdlPv(a)}function __ZN12btConvexCastD2Ev(a){IHEAP[a]=__ZTV12btConvexCast+2} +function __ZN27btPolyhedralContactClipping8clipFaceERK20btAlignedObjectArrayI9btVector3ERS2_RKS1_f(a,e,d,b){var c=STACKTOP;STACKTOP+=24;var f,g=null,h,i,j,k=c+1,l=c+2,m,n,o=c+3,q=c+4,p=c+5,r,s,u,v,y,x=c+6,z=c+10,B=c+14,C=c+18,A=c+19,w=c+23;y=IHEAP[a+1];f=y<2?0:1;a:for(;;)if(f==0){STACKTOP=c;break}else if(f==1){r=s=a;r=IHEAP[r+1]-1;_llvm_memcpy_p0i8_p0i8_i32(x,IHEAP[s+3]+4*r,4,4,0);s=a;_llvm_memcpy_p0i8_p0i8_i32(z,IHEAP[s+3]+0,4,4,0);r=d;s=x;r=FHEAP[r]*FHEAP[s]+FHEAP[r+1]*FHEAP[s+1]+FHEAP[r+2]*FHEAP[s+ +2]+b;s=0;if(!(s<y)){f=0;continue a}var D=z,E=x,F=z;for(;;){m=s;n=a;_llvm_memcpy_p0i8_p0i8_i32(D,IHEAP[n+3]+4*m,4,4,0);m=d;n=z;var G=FHEAP[m]*FHEAP[n]+FHEAP[m+1]*FHEAP[n+1]+FHEAP[m+2]*FHEAP[n+2]+b;n=G;m=r<0;G=G<0;c:do if(m)if(f=e,G){i=z;f=j=f;g=f=IHEAP[f+1];f=j;f=g==IHEAP[f+2]?4:5;d:for(;;)if(f==4){f=j;h=IHEAP[f+1];h!=0?(g=4,f=6):(g=4,f=7);for(;;)if(f==6){var J=h*2,g=6;f=7}else if(f==7){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(j,g==6?J:1);f=5;continue d}}else if(f==5){var H=IHEAP[j+3]+4*IHEAP[j+ +1];f=H==0?8:9;break d}for(;;)if(f==8){IHEAP[j+1]+=1;break c}else f==9&&(_llvm_memcpy_p0i8_p0i8_i32(H,i,4,4,0),f=8)}else{FHEAP[C]=r*1/(r-n);j=x;g=z;i=C;FHEAP[c]=FHEAP[j]+(FHEAP[g]-FHEAP[j])*FHEAP[i];FHEAP[k]=FHEAP[j+1]+(FHEAP[g+1]-FHEAP[j+1])*FHEAP[i];FHEAP[l]=FHEAP[j+2]+(FHEAP[g+2]-FHEAP[j+2])*FHEAP[i];g=B;i=c;j=k;h=l;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[h];FHEAP[g+3]=0;i=B;f=j=f;g=f=IHEAP[f+1];f=j;f=g==IHEAP[f+2]?11:12;d:for(;;)if(f==11){f=j;h=IHEAP[f+1];h!=0?(g=11,f=13):(g=11, +f=14);for(;;)if(f==13){var M=h*2,g=13;f=14}else if(f==14){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(j,g==13?M:1);f=12;continue d}}else if(f==12){var K=IHEAP[j+3]+4*IHEAP[j+1];f=K==0?15:16;break d}for(;;)if(f==15){IHEAP[j+1]+=1;break c}else f==16&&(_llvm_memcpy_p0i8_p0i8_i32(K,i,4,4,0),f=15)}else{if(!G)break c;f=e;FHEAP[w]=r*1/(r-n);j=x;g=z;i=w;FHEAP[o]=FHEAP[j]+(FHEAP[g]-FHEAP[j])*FHEAP[i];FHEAP[q]=FHEAP[j+1]+(FHEAP[g+1]-FHEAP[j+1])*FHEAP[i];FHEAP[p]=FHEAP[j+2]+(FHEAP[g+2]-FHEAP[j+2])*FHEAP[i]; +g=A;i=o;j=q;h=p;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[h];FHEAP[g+3]=0;i=A;f=j=f;g=f=IHEAP[f+1];f=j;f=g==IHEAP[f+2]?18:19;d:for(;;)if(f==18){f=j;h=IHEAP[f+1];h!=0?(g=18,f=20):(g=18,f=21);for(;;)if(f==20){var N=h*2,g=20;f=21}else if(f==21){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(j,g==20?N:1);f=19;continue d}}else if(f==19){var R=IHEAP[j+3]+4*IHEAP[j+1];f=R==0?22:23;break d}d:for(;;)if(f==22){IHEAP[j+1]+=1;u=e;v=z;f=u;g=f=IHEAP[f+1];f=u;f=g==IHEAP[f+2]?24:25;break d}else f== +23&&(_llvm_memcpy_p0i8_p0i8_i32(R,i,4,4,0),f=22);d:for(;;)if(f==24){f=u;i=IHEAP[f+1];i!=0?(g=24,f=26):(g=24,f=27);for(;;)if(f==26){var O=i*2,g=26;f=27}else if(f==27){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(u,g==26?O:1);f=25;continue d}}else if(f==25){var Q=IHEAP[u+3]+4*IHEAP[u+1];f=Q==0?28:29;break d}for(;;)if(f==28){IHEAP[u+1]+=1;break c}else f==29&&(_llvm_memcpy_p0i8_p0i8_i32(Q,v,4,4,0),f=28)}while(0);_llvm_memcpy_p0i8_p0i8_i32(E,F,4,4,0);r=n;s+=1;if(s<y)f=3;else{f=0;continue a}}}} +function __ZN27btPolyhedralContactClipping18findSeparatingAxisERK18btConvexPolyhedronS2_RK11btTransformS5_R9btVector3(a,e,d,b,c){var f=STACKTOP;STACKTOP+=58;var g,h,i,j,k,l,m,n,o=f+1,q=f+2,p=f+3,r=f+4,s,u,v=f+5,y=f+6,x=f+7,z=f+8,B=f+9,C=f+10,A,w;u=f+11;h=f+15;i=f+19;var D=f+20,E=f+24,F=f+28,G=f+29,J=f+33,H=f+37,M=f+41,K=f+45,N=f+49,R=f+50,O=f+54;IHEAP[__ZL19gActualSATPairTests]+=1;w=3.4028234663852886E38;l=IHEAP[a+6+1];s=0;a:for(;;){if(!(s<l)){g=2;break a}g=s;j=a+6;g=IHEAP[j+3]+14*g+10;k=s;j=a+6; +k=IHEAP[j+3]+14*k+10+1;m=s;j=a+6;m=IHEAP[j+3]+14*m+10+2;j=u;FHEAP[j]=FHEAP[g];FHEAP[j+1]=FHEAP[k];FHEAP[j+2]=FHEAP[m];FHEAP[j+3]=0;j=d;__ZmlRK11btMatrix3x3RK9btVector3(h,j,u);if(!__Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(a,e,d,b,h,i)){g=4;break a}for(g=FHEAP[i]<w?6:7;;)if(g==6)w=FHEAP[i],_llvm_memcpy_p0i8_p0i8_i32(c,h,4,4,0),g=7;else if(g==7){s+=1;g=0;continue a}}a:do if(g==2){l=e+6;l=IHEAP[l+1];s=0;u=E;b:for(;;){if(!(s<l)){g=10;break b}i=s;h=e+6;i=IHEAP[h+3]+14*i+ +10;j=s;h=e+6;j=IHEAP[h+3]+14*j+10+1;g=s;h=e+6;g=IHEAP[h+3]+14*g+10+2;h=D;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[j];FHEAP[h+2]=FHEAP[g];FHEAP[h+3]=0;h=b;__ZmlRK11btMatrix3x3RK9btVector3(E,h,D);if(!__Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(a,e,d,b,E,F)){g=12;break b}for(g=FHEAP[F]<w?13:14;;)if(g==13)w=FHEAP[F],_llvm_memcpy_p0i8_p0i8_i32(c,u,4,4,0),g=14;else if(g==14){s+=1;g=8;continue b}}if(g==10){l=0;s=G;u=H;i=h=K;b:for(;;){g=l;j=a+11;if(!(g<IHEAP[j+1])){g=17;break b}g= +l;j=a+11;_llvm_memcpy_p0i8_p0i8_i32(s,IHEAP[j+3]+4*g,4,4,0);j=d;__ZmlRK11btMatrix3x3RK9btVector3(J,j,G);j=0;c:for(;;){k=j;g=e+11;if(!(k<IHEAP[g+1]))break c;k=j;g=e+11;_llvm_memcpy_p0i8_p0i8_i32(u,IHEAP[g+3]+4*k,4,4,0);g=b;__ZmlRK11btMatrix3x3RK9btVector3(M,g,H);k=J;g=M;FHEAP[f]=FHEAP[k+1]*FHEAP[g+2]-FHEAP[k+2]*FHEAP[g+1];FHEAP[o]=FHEAP[k+2]*FHEAP[g]-FHEAP[k]*FHEAP[g+2];FHEAP[q]=FHEAP[k]*FHEAP[g+1]-FHEAP[k+1]*FHEAP[g];g=K;k=f;m=o;n=q;FHEAP[g]=FHEAP[k];FHEAP[g+1]=FHEAP[m];FHEAP[g+2]=FHEAP[n];FHEAP[g+ +3]=0;g=k=K;g=_fabsf(FHEAP[g])>1.0E-6?21:22;d:for(;;)if(g==21)if(k=m=k=g=K,k=FHEAP[k]*FHEAP[m]+FHEAP[k+1]*FHEAP[m+1]+FHEAP[k+2]*FHEAP[m+2],k=_sqrtf(k),FHEAP[r]=k,k=g,g=r,FHEAP[p]=1/FHEAP[g],g=p,FHEAP[k]*=FHEAP[g],FHEAP[k+1]*=FHEAP[g],FHEAP[k+2]*=FHEAP[g],_llvm_memcpy_p0i8_p0i8_i32(h,k,4,4,0),__Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(a,e,d,b,K,N)){g=26;break d}else{g=27;break b}else if(g==22){g=k;if(_fabsf(FHEAP[g+1])>1.0E-6){g=21;continue d}g=k;if(_fabsf(FHEAP[g+2])> +1.0E-6)g=21;else{g=24;break d}}d:do if(g==26){if(!(FHEAP[N]<w))break d;w=FHEAP[N];_llvm_memcpy_p0i8_p0i8_i32(c,i,4,4,0)}while(0);j+=1}l+=1;g=15}if(g==17){l=b;l+=12;s=d;s+=12;FHEAP[v]=FHEAP[l]-FHEAP[s];FHEAP[y]=FHEAP[l+1]-FHEAP[s+1];FHEAP[x]=FHEAP[l+2]-FHEAP[s+2];l=R;s=v;u=y;h=x;FHEAP[l]=FHEAP[s];FHEAP[l+1]=FHEAP[u];FHEAP[l+2]=FHEAP[h];FHEAP[l+3]=0;s=c;l=R;for(g=FHEAP[l]*FHEAP[s]+FHEAP[l+1]*FHEAP[s+1]+FHEAP[l+2]*FHEAP[s+2]>0?30:31;;)if(g==30)s=l=c,FHEAP[z]=0-FHEAP[s],FHEAP[B]=0-FHEAP[s+1],FHEAP[C]= +0-FHEAP[s+2],s=O,u=z,h=B,i=C,FHEAP[s]=FHEAP[u],FHEAP[s+1]=FHEAP[h],FHEAP[s+2]=FHEAP[i],FHEAP[s+3]=0,_llvm_memcpy_p0i8_p0i8_i32(l,O,4,4,0),g=31;else if(g==31){A=1;break a}}else g==27&&(A=0)}else g==12&&(A=0)}else g==4&&(A=0);while(0);STACKTOP=f;return A} +function __Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=4;var h,i=g+1,j=g+2,k=g+3;__ZNK18btConvexPolyhedron7projectERK11btTransformRK9btVector3RfS6_(a,d,c,g,i);__ZNK18btConvexPolyhedron7projectERK11btTransformRK9btVector3RfS6_(e,b,c,j,k);a=FHEAP[i]<FHEAP[j]?0:1;a:for(;;)if(a==0){h=0;a=3;break a}else if(a==1)if(FHEAP[k]<FHEAP[g])a=0;else{a=2;break a}for(;;)if(a==2){h=FHEAP[i]-FHEAP[j];if(!(h>=0)){a=5;break}a=FHEAP[k]-FHEAP[g];if(!(a>= +0)){a=7;break}e=h;d=a;FHEAP[f]=h<a?e:d;h=1;a=3}else if(a==3)return f=h,STACKTOP=g,f;if(a==5)throw ___assert_fail(__str5,__str16,89,___PRETTY_FUNCTION____Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf),"Reached an unreachable! Original .ll line: 22779";else if(a==7)throw ___assert_fail(__str26,__str16,91,___PRETTY_FUNCTION____Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf),"Reached an unreachable! Original .ll line: 22793";return null} +function __ZN27btPolyhedralContactClipping19clipFaceAgainstHullERK9btVector3RK18btConvexPolyhedronRK11btTransformR20btAlignedObjectArrayIS0_EffRN36btDiscreteCollisionDetectorInterface6ResultE(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=39;var i,j=null,k,l,m,n,o,q,p,r,s,u=h+5,v=h+6,y=h+7,x=h+11,z=h+15,B=h+19,C=h+23;s=h+27;var A=h+31,w=h+35;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;IHEAP[u]=b;IHEAP[v]=h;__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(IHEAP[v],IHEAP[IHEAP[u]+1]);b=-1;j=3.4028234663852886E38; +m=0;i=m<IHEAP[e+6+1]?0:1;a:for(;;)if(i==0){k=m;i=e+6;k=IHEAP[i+3]+14*k+10;n=m;i=e+6;n=IHEAP[i+3]+14*n+10+1;o=m;i=e+6;o=IHEAP[i+3]+14*o+10+2;i=y;FHEAP[i]=FHEAP[k];FHEAP[i+1]=FHEAP[n];FHEAP[i+2]=FHEAP[o];FHEAP[i+3]=0;i=d;__ZmlRK11btMatrix3x3RK9btVector3(x,i,y);k=a;i=x;k=FHEAP[i]*FHEAP[k]+FHEAP[i+1]*FHEAP[k+1]+FHEAP[i+2]*FHEAP[k+2];for(i=k<j?2:3;;)if(i==2)j=k,b=m,i=3;else if(i==3){m+=1;k=m;i=e+6;i=k<IHEAP[i+1]?0:1;continue a}}else if(i==1){i=b<0?4:5;break a}if(i!=4&&i==5){y=IHEAP[e+6+3]+14*b;x=IHEAP[y+ +1];b=0;b<x?(j=5,i=7):(j=5,i=8);a:for(;;)if(i==7)m=b,l=(j==7?l:y)+5,j=m,m=l=IHEAP[IHEAP[l+3]+j],j=e+6,m=IHEAP[j+3]+14*m+10,i=l,j=e+6,i=IHEAP[j+3]+14*i+10+1,k=l,j=e+6,k=IHEAP[j+3]+14*k+10+2,j=z,FHEAP[j]=FHEAP[m],FHEAP[j+1]=FHEAP[i],FHEAP[j+2]=FHEAP[k],FHEAP[j+3]=0,j=l,l=e+6,j=FHEAP[IHEAP[l+3]+14*j+10+3],l=d,__ZmlRK11btMatrix3x3RK9btVector3(B,l,z),l=j,j=d,m=j+12,j=B,l-=FHEAP[j]*FHEAP[m]+FHEAP[j+1]*FHEAP[m+1]+FHEAP[j+2]*FHEAP[m+2],__ZN27btPolyhedralContactClipping8clipFaceERK20btAlignedObjectArrayI9btVector3ERS2_RKS1_f(IHEAP[u], +IHEAP[v],B,l),l=u,j=v,m=IHEAP[l],IHEAP[l]=IHEAP[j],IHEAP[j]=m,__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(IHEAP[v],0,C),b+=1,l=y,b<x?i=j=7:(j=7,i=8);else if(i==8){p=(j==5?y:l)+10;r=y+10+1;e=y+10+2;q=s;FHEAP[q]=FHEAP[p];FHEAP[q+1]=FHEAP[r];FHEAP[q+2]=FHEAP[e];FHEAP[q+3]=0;p=FHEAP[y+10+3];q=d;__ZmlRK11btMatrix3x3RK9btVector3(A,q,s);s=p;q=d+12;d=A;q=s-(FHEAP[d]*FHEAP[q]+FHEAP[d+1]*FHEAP[q+1]+FHEAP[d+2]*FHEAP[q+2]);p=0;r=w;i=9;break a}a:for(;;){s=p;d=IHEAP[u];if(!(s<IHEAP[d+1])){i=11;break a}s= +p;d=IHEAP[u];s=IHEAP[d+3]+4*s;d=A;d=FHEAP[d]*FHEAP[s]+FHEAP[d+1]*FHEAP[s+1]+FHEAP[d+2]*FHEAP[s+2]+q;for(i=d<=f?12:13;;)if(i==12)if(d>=c){e=p;s=IHEAP[u];_llvm_memcpy_p0i8_p0i8_i32(r,IHEAP[s+3]+4*e,4,4,0);s=g;e=IHEAP[IHEAP[s]+4];v=a;z=d;try{__THREW__=!1,FUNCTION_TABLE[e](s,v,w,z)}catch(D){if(ABORT)throw D;__THREW__=!0;print("Exception: "+D+" : "+D.stack+", currently at: "+Error().stack)}if(__THREW__){i=15;break a}else i=13}else i=13;else if(i==13){p+=1;i=9;continue a}}if(i!=11&&i==15)throw a=_llvm_eh_exception(), +_llvm_eh_selector(a,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayI9btVector3E5clearEv(h),__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 23588";}__ZN20btAlignedObjectArrayI9btVector3E5clearEv(h);STACKTOP=h} +function __ZN20btAlignedObjectArrayI9btVector3E7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*16,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+4*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+4*f,4,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+4*f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(_llvm_memcpy_p0i8_p0i8_i32(i,d,4,4,0),b=6)}}while(0);IHEAP[a+1]=e} +function __ZN27btPolyhedralContactClipping19clipHullAgainstHullERK9btVector3RK18btConvexPolyhedronS5_RK11btTransformS8_ffRN36btDiscreteCollisionDetectorInterface6ResultE(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=17;var j,k=null,l,m,n,o,q,p,r=i+4,s=i+8,u=i+13;p=-1;l=-3.4028234663852886E38;m=0;j=m<IHEAP[d+6+1]?0:1;a:for(;;)if(j==0){n=m;o=d+6;n=IHEAP[o+3]+14*n+10;j=m;o=d+6;j=IHEAP[o+3]+14*j+10+1;k=m;o=d+6;k=IHEAP[o+3]+14*k+10+2;o=i;FHEAP[o]=FHEAP[n];FHEAP[o+1]=FHEAP[j];FHEAP[o+2]=FHEAP[k];FHEAP[o+3]= +0;o=c;__ZmlRK11btMatrix3x3RK9btVector3(r,o,i);n=a;o=r;o=FHEAP[o]*FHEAP[n]+FHEAP[o+1]*FHEAP[n+1]+FHEAP[o+2]*FHEAP[n+2];for(j=o>l?2:3;;)if(j==2)l=o,p=m,j=3;else if(j==3){m+=1;n=m;o=d+6;j=n<IHEAP[o+1]?0:1;continue a}}else if(j==1){j=p<0?4:5;break a}a:for(;;)if(j==4){STACKTOP=i;return}else if(j==5){l=s;IHEAP[l+4]=1;IHEAP[l+3]=0;IHEAP[l+1]=0;IHEAP[l+2]=0;m=p;l=d+6;m=l=IHEAP[l+3]+14*m;m=IHEAP[m+1];r=0;j=r<m?6:7;b:for(;;)if(j==6){o=d+1;j=r;n=l;n=IHEAP[IHEAP[n+3]+j];n=o=IHEAP[o+3]+4*n;o=c;__ZNK11btTransformclERK9btVector3(u, +o,n);n=s;o=u;j=n;k=j=IHEAP[j+1];j=n;j=k==IHEAP[j+2]?8:9;c:for(;;)if(j==8){j=n;q=IHEAP[j+1];q!=0?(k=8,j=10):(k=8,j=11);for(;;)if(j==10){var v=q*2,k=10;j=11}else if(j==11){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(n,k==10?v:1);j=9;continue c}}else if(j==9){var y=IHEAP[n+3]+4*IHEAP[n+1];j=y==0?12:13;break c}for(;;)if(j==12){IHEAP[n+1]+=1;r+=1;j=r<m?6:7;continue b}else j==13&&(_llvm_memcpy_p0i8_p0i8_i32(y,o,4,4,0),j=12)}else if(j==7){l=a;m=e;r=b;o=f;n=g;j=h;try{__THREW__=!1,__ZN27btPolyhedralContactClipping19clipFaceAgainstHullERK9btVector3RK18btConvexPolyhedronRK11btTransformR20btAlignedObjectArrayIS0_EffRN36btDiscreteCollisionDetectorInterface6ResultE(l, +m,r,s,o,n,j)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack)}if(__THREW__)break a;else break b}l=s;__ZN20btAlignedObjectArrayI9btVector3E5clearEv(l);j=4}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(s);__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 24428";} +function __ZN20btAlignedObjectArrayI9btVector3E5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN27btContinuousConvexCollisionC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(a,e,d,b,c){IHEAP[a]=__ZTV12btConvexCast+2;IHEAP[a]=__ZTV27btContinuousConvexCollision+2;IHEAP[a+4]=b;IHEAP[a+5]=c;IHEAP[a+6]=e;IHEAP[a+7]=d;IHEAP[a+8]=0} +function __ZN27btContinuousConvexCollisionC2EPK13btConvexShapePK18btStaticPlaneShape(a,e,d){IHEAP[a]=__ZTV12btConvexCast+2;IHEAP[a]=__ZTV27btContinuousConvexCollision+2;IHEAP[a+4]=0;IHEAP[a+5]=0;IHEAP[a+6]=e;IHEAP[a+7]=0;IHEAP[a+8]=d} +function __ZN27btContinuousConvexCollision20computeClosestPointsERK11btTransformS2_R16btPointCollector(a,e,d,b){var c=STACKTOP;STACKTOP+=242;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+9,o=c+21,q=c+25,p=c+37,r=c+41,s=c+63,u=c+97,v=c+113,y=c+129,x=c+145,z=c+161,B=c+177,C=c+193,A=c+209,w=c+213,D=c+217,E=c+221,F=c+225,G=c+226,J=c+230,H=c+234,M=c+238;if(IHEAP[a+7]!=0){__ZN22btVoronoiSimplexSolver5resetEv(IHEAP[a+4]);f=IHEAP[a+6];g=IHEAP[a+7];h=IHEAP[a+6];h=IHEAP[h+1];i=IHEAP[a+7];i=IHEAP[i+ +1];j=IHEAP[a+6];j=FUNCTION_TABLE[IHEAP[IHEAP[j]+11]](j);k=IHEAP[a+7];k=FUNCTION_TABLE[IHEAP[IHEAP[k]+11]](k);__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_iiffP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(r,f,g,h,i,j,k,IHEAP[a+4],IHEAP[a+5]);FHEAP[s+32]=999999984306749440;IHEAP[s+33]=0;_llvm_memcpy_p0i8_p0i8_i32(s,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+12,e+12,4,4,0);e=s+16;_llvm_memcpy_p0i8_p0i8_i32(e, +d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(r,s,b,0)}catch(K){if(ABORT)throw K;__THREW__=!0;print("Exception: "+K+" : "+K.stack+", currently at: "+Error().stack)}d=__THREW__?2:1;if(d==1)IHEAP[r]=__ZTV17btGjkPairDetector+2,IHEAP[r]=__ZTV36btDiscreteCollisionDetectorInterface+ +2;else if(d==2)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),IHEAP[r]=__ZTV17btGjkPairDetector+2,IHEAP[r]=__ZTV36btDiscreteCollisionDetectorInterface+2,__Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 25549";}else r=IHEAP[a+6],s=IHEAP[a+8],a=s+24,s+=28,_llvm_memcpy_p0i8_p0i8_i32(u,e,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+4,e+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+8,e+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+12,e+12,4,4,0),__ZNK11btTransform7inverseEv(x, +d),__ZmlRK11btMatrix3x3S1_(q,x,u),__ZNK11btTransformclERK9btVector3(p,x,u+12),_llvm_memcpy_p0i8_p0i8_i32(y,q,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(y+4,q+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(y+8,q+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(y+12,p,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(v,y,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(v+4,y+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(v+8,y+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(v+12,y+12,4,4,0),__ZNK11btTransform7inverseEv(C,u),__ZmlRK11btMatrix3x3S1_(n,C,d),__ZNK11btTransformclERK9btVector3(o, +C,d+12),_llvm_memcpy_p0i8_p0i8_i32(B,n,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(B+4,n+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(B+8,n+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(B+12,o,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(z,B,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(z+4,B+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(z+8,B+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(z+12,B+12,4,4,0),e=IHEAP[IHEAP[r]+15],FHEAP[k]=0-FHEAP[a],FHEAP[l]=0-FHEAP[a+1],FHEAP[m]=0-FHEAP[a+2],FHEAP[D]=FHEAP[k],FHEAP[D+1]=FHEAP[l],FHEAP[D+2]=FHEAP[m],FHEAP[D+3]=0,__ZmlRK11btMatrix3x3RK9btVector3(w, +z,D),FUNCTION_TABLE[e](A,r,w),__ZNK11btTransformclERK9btVector3(E,v,A),FHEAP[F]=FHEAP[a]*FHEAP[E]+FHEAP[a+1]*FHEAP[E+1]+FHEAP[a+2]*FHEAP[E+2]-FHEAP[s],FHEAP[h]=FHEAP[a]*FHEAP[F],FHEAP[i]=FHEAP[a+1]*FHEAP[F],FHEAP[j]=FHEAP[a+2]*FHEAP[F],FHEAP[J]=FHEAP[h],FHEAP[J+1]=FHEAP[i],FHEAP[J+2]=FHEAP[j],FHEAP[J+3]=0,FHEAP[c]=FHEAP[E]-FHEAP[J],FHEAP[f]=FHEAP[E+1]-FHEAP[J+1],FHEAP[g]=FHEAP[E+2]-FHEAP[J+2],FHEAP[G]=FHEAP[c],FHEAP[G+1]=FHEAP[f],FHEAP[G+2]=FHEAP[g],FHEAP[G+3]=0,__ZNK11btTransformclERK9btVector3(H, +d,G),__ZmlRK11btMatrix3x3RK9btVector3(M,d,a),FUNCTION_TABLE[IHEAP[IHEAP[b]+4]](b,M,H,FHEAP[F]);STACKTOP=c} +function __ZN27btContinuousConvexCollision16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=154;var h,i=null,j,k,l,m,n,o,q,p,r,s,u,v,y;s=g+1;r=g+2;var x;o=g+3;q=g+4;p=g+5;var z,B,C=g+6,A=g+10,w=g+14,D=g+18,E,F=g+22;u=g+26;var G=g+30,J=g+34,H=g+35,M=g+36,K=g+37,N=g+41,R=g+42,O=g+43,Q=g+44,I=g+48,L=g+62,P=g+66,S=g+67,T=g+68,U=g+69,W=g+85,Z=g+101,ca=g+117,Y=g+133,ea=g+137,ha=g+138,ba=g+139,V=g+140;__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(e, +d,1,C,A);__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(b,c,1,w,D);d=IHEAP[a+6];d=FUNCTION_TABLE[IHEAP[IHEAP[d]+4]](d);IHEAP[a+7]!=0?(i=-1,h=0):(i=-1,h=1);a:for(;;)if(h==0)x=IHEAP[a+7],x=FUNCTION_TABLE[IHEAP[IHEAP[x]+4]](x),i=0,h=1;else if(h==1){E=i==0?x:0;x=i=x=A;x=FHEAP[x]*FHEAP[i]+FHEAP[x+1]*FHEAP[i+1]+FHEAP[x+2]*FHEAP[i+2];d*=_sqrtf(x);x=i=x=D;x=FHEAP[x]*FHEAP[i]+FHEAP[x+1]*FHEAP[i+1]+FHEAP[x+2]*FHEAP[i+2];x=_sqrtf(x);E=d+x*E;d=w;x=C;FHEAP[o]=FHEAP[d]-FHEAP[x];FHEAP[q]= +FHEAP[d+1]-FHEAP[x+1];FHEAP[p]=FHEAP[d+2]-FHEAP[x+2];d=F;x=q;q=o;o=x;x=p;p=d;d=x;FHEAP[p]=FHEAP[q];FHEAP[p+1]=FHEAP[o];FHEAP[p+2]=FHEAP[d];FHEAP[p+3]=0;p=w;q=C;FHEAP[g]=FHEAP[p]-FHEAP[q];FHEAP[s]=FHEAP[p+1]-FHEAP[q+1];FHEAP[r]=FHEAP[p+2]-FHEAP[q+2];p=u;q=g;o=s;s=q;q=o;o=r;r=p;p=q;q=o;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[p];FHEAP[r+2]=FHEAP[q];FHEAP[r+3]=0;u=r=u;u=FHEAP[u]*FHEAP[r]+FHEAP[u+1]*FHEAP[r+1]+FHEAP[u+2]*FHEAP[r+2];u=_sqrtf(u);h=u+E==0?2:3;break a}a:do if(h==2)B=0;else if(h==3){u=0;FHEAP[J]= +1;FHEAP[H]=0;FHEAP[M]=0;r=G;s=J;p=H;q=M;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[p];FHEAP[r+2]=FHEAP[q];FHEAP[r+3]=0;FHEAP[N]=0;FHEAP[R]=0;FHEAP[O]=0;q=K;r=N;s=R;p=O;FHEAP[q]=FHEAP[r];FHEAP[q+1]=FHEAP[s];FHEAP[q+2]=FHEAP[p];FHEAP[q+3]=0;r=u;s=0;p=q=p=I;IHEAP[p]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[q]=__ZTV16btPointCollector+2;FHEAP[q+12]=999999984306749440;IHEAP[q+13]=0;p=e;q=b;try{__THREW__=!1,__ZN27btContinuousConvexCollision20computeClosestPointsERK11btTransformS2_R16btPointCollector(a, +p,q,I)}catch(aa){if(ABORT)throw aa;__THREW__=!0;print("Exception: "+aa+" : "+aa.stack+", currently at: "+Error().stack)}h=__THREW__?29:28;b:for(;;)if(h==28){p=IHEAP[I+13]&1;_llvm_memcpy_p0i8_p0i8_i32(Q,I+8,4,4,0);if(!(p&1)){h=6;break b}p=FHEAP[I+12]+FHEAP[f+43];_llvm_memcpy_p0i8_p0i8_i32(K,I+4,4,4,0);o=F;q=K;j=FHEAP[o]*FHEAP[q]+FHEAP[o+1]*FHEAP[q+1]+FHEAP[o+2]*FHEAP[q+2];if(j+E<=1.1920928955078125E-7){h=7;break b}q=V+13;o=V+12;d=Q;x=V+8;i=K;c=V+4;for(;;){if(!(p>0.0010000000474974513)){h=13;break b}h= +IHEAP[f+42]!=0?14:15;d:for(;;)if(h==14){h=IHEAP[f+42];v=IHEAP[IHEAP[h]+5];FHEAP[P]=1;FHEAP[S]=1;FHEAP[T]=1;k=L;l=P;m=S;n=T;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0;try{__THREW__=!1,FUNCTION_TABLE[v](h,Q,0.20000000298023224,L)}catch(X){if(ABORT)throw X;__THREW__=!0;print("Exception: "+X+" : "+X.stack+", currently at: "+Error().stack)}if(__THREW__){h=29;continue b}else h=15}else if(h==15)if(h=F,j=K,j=FHEAP[h]*FHEAP[j]+FHEAP[h+1]*FHEAP[j+1]+FHEAP[h+2]*FHEAP[j+2],j+E<=1.1920928955078125E-7){h= +16;break b}else break d;h=p/(j+E);u+=h;if(u>1){h=18;break b}if(u<0){h=20;break b}if(u<=r){h=22;break b}r=u;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(e,C,A,u,U);__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(b,w,D,u,W);__ZNK11btTransform12inverseTimesERKS_(ca,W,U);v=Z;l=h=ca;k=v;_llvm_memcpy_p0i8_p0i8_i32(k,l,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,l+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,l+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(v+12,h+ +12,4,4,0);for(h=IHEAP[f+42]!=0?24:25;;)if(h==24){h=IHEAP[f+42];v=IHEAP[IHEAP[h]+5];k=U;k+=12;FHEAP[ea]=1;FHEAP[ha]=0;FHEAP[ba]=0;l=Y;m=ea;n=ha;y=ba;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[y];FHEAP[l+3]=0;try{__THREW__=!1,FUNCTION_TABLE[v](h,k,0.20000000298023224,Y)}catch(ka){if(ABORT)throw ka;__THREW__=!0;print("Exception: "+ka+" : "+ka.stack+", currently at: "+Error().stack)}if(__THREW__){h=29;continue b}else h=25}else if(h==25){h=f;v=IHEAP[IHEAP[h]];k=u;try{__THREW__=!1,FUNCTION_TABLE[v](h, +k)}catch(da){if(ABORT)throw da;__THREW__=!0;print("Exception: "+da+" : "+da.stack+", currently at: "+Error().stack)}if(__THREW__){h=29;continue b}else break}h=v=h=V;IHEAP[h]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[v]=__ZTV16btPointCollector+2;FHEAP[v+12]=999999984306749440;IHEAP[v+13]=0;try{__THREW__=!1,__ZN27btContinuousConvexCollision20computeClosestPointsERK11btTransformS2_R16btPointCollector(a,U,W,V)}catch(fa){if(ABORT)throw fa;__THREW__=!0;print("Exception: "+fa+" : "+fa.stack+ +", currently at: "+Error().stack)}if(__THREW__){h=32;break b}if(IHEAP[q]&1)if(p=FHEAP[o]+FHEAP[f+43],_llvm_memcpy_p0i8_p0i8_i32(d,x,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i,c,4,4,0),s+=1,s>64){h=f;v=IHEAP[IHEAP[h]+2];k=s;try{__THREW__=!1,FUNCTION_TABLE[v](h,-2,k)}catch(ga){if(ABORT)throw ga;__THREW__=!0;print("Exception: "+ga+" : "+ga.stack+", currently at: "+Error().stack)}if(__THREW__){h=32;break b}B=0;h=1}else h=0;else{h=f;v=IHEAP[IHEAP[h]+2];k=s;try{__THREW__=!1,FUNCTION_TABLE[v](h,-1,k)}catch(ja){if(ABORT)throw ja; +__THREW__=!0;print("Exception: "+ja+" : "+ja.stack+", currently at: "+Error().stack)}if(__THREW__){h=32;break b}B=0;h=1}v=V;IHEAP[v]=__ZTV16btPointCollector+2;IHEAP[v]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;if(h==0)h=9;else{h=10;break b}}}else if(h==29){z=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);h=11;break b}for(;;)if(h==6)B=0,h=10;else if(h==7)B=0,h=10;else if(h==13)FHEAP[f+41]=u,_llvm_memcpy_p0i8_p0i8_i32(f+33,K,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+37,Q, +4,4,0),B=1,h=10;else if(h==16)B=0,h=10;else if(h==18)B=0,h=10;else if(h==20)B=0,h=10;else if(h==22)B=0,h=10;else if(h==32)z=r=_llvm_eh_exception(),_llvm_eh_selector(r,___gxx_personality_v0,0),r=V,IHEAP[r]=__ZTV16btPointCollector+2,IHEAP[r]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2,h=11;else if(h==10){z=I;IHEAP[z]=__ZTV16btPointCollector+2;IHEAP[z]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;break a}else if(h==11)throw g=I,IHEAP[g]=__ZTV16btPointCollector+2,IHEAP[g]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+ +2,__Unwind_Resume_or_Rethrow(z),"Reached an unreachable! Original .ll line: 26644";}while(0);STACKTOP=g;return B} +function __ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=36;var g=f+1,h=f+2,i=f+3,j=f+4,k=f+5,l=f+6,m=f+7,n=f+8,o=f+9,q=f+10,p=f+11,r=f+12,s=f+13,u=f+14,v=f+15,y=f+19,x=f+23,z=f+27,B=f+28,C=f+32;FHEAP[u]=d;var A=a+12,d=e+12;FHEAP[f]=FHEAP[d]-FHEAP[A];FHEAP[g]=FHEAP[d+1]-FHEAP[A+1];FHEAP[h]=FHEAP[d+2]-FHEAP[A+2];FHEAP[v]=FHEAP[f];FHEAP[v+1]=FHEAP[g];FHEAP[v+2]=FHEAP[h];FHEAP[v+3]=0;FHEAP[l]=1/FHEAP[u];FHEAP[i]=FHEAP[v]*FHEAP[l];FHEAP[j]= +FHEAP[v+1]*FHEAP[l];FHEAP[k]=FHEAP[v+2]*FHEAP[l];FHEAP[y]=FHEAP[i];FHEAP[y+1]=FHEAP[j];FHEAP[y+2]=FHEAP[k];FHEAP[y+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,y,4,4,0);__ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(a,e,x,z);FHEAP[m]=FHEAP[x]*FHEAP[z];FHEAP[n]=FHEAP[x+1]*FHEAP[z];FHEAP[o]=FHEAP[x+2]*FHEAP[z];FHEAP[B]=FHEAP[m];FHEAP[B+1]=FHEAP[n];FHEAP[B+2]=FHEAP[o];FHEAP[B+3]=0;FHEAP[s]=1/FHEAP[u];FHEAP[q]=FHEAP[B]*FHEAP[s];FHEAP[p]=FHEAP[B+1]*FHEAP[s];FHEAP[r]=FHEAP[B+2]*FHEAP[s]; +FHEAP[C]=FHEAP[q];FHEAP[C+1]=FHEAP[p];FHEAP[C+2]=FHEAP[r];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c,C,4,4,0);STACKTOP=f} +function __ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=84;var g=null,h,i=f+1,j=f+2,k;k=f+3;var l=f+4,m=f+5,g=f+6,n=f+7,o=f+8,q=f+9,p=f+10,r=f+11,s=f+12,u=f+13,v=f+17,y=f+21,x=f+25,z=f+26,B=f+30,C=f+31,A=f+35,w=f+51,D=f+52,E=f+68;FHEAP[s]=b;b=a+12;FHEAP[q]=FHEAP[e]*FHEAP[s];FHEAP[p]=FHEAP[e+1]*FHEAP[s];FHEAP[r]=FHEAP[e+2]*FHEAP[s];FHEAP[v]=FHEAP[q];FHEAP[v+1]=FHEAP[p];FHEAP[v+2]=FHEAP[r];FHEAP[v+3]=0;FHEAP[g]=FHEAP[b]+FHEAP[v];FHEAP[n]= +FHEAP[b+1]+FHEAP[v+1];FHEAP[o]=FHEAP[b+2]+FHEAP[v+2];FHEAP[u]=FHEAP[g];FHEAP[u+1]=FHEAP[n];FHEAP[u+2]=FHEAP[o];FHEAP[u+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c+12,u,4,4,0);n=e=_sqrtf(FHEAP[d]*FHEAP[d]+FHEAP[d+1]*FHEAP[d+1]+FHEAP[d+2]*FHEAP[d+2]);n*FHEAP[s]>0.7853981852531433?(g=-1,b=0):(g=-1,b=1);for(;;)if(b==0)var F=0.7853981852531433/FHEAP[s],e=F,g=0,b=1;else if(b==1){h=d;b=(g==0?F:n)<0.0010000000474974513?2:3;break}b==2?(FHEAP[x]=0.5*FHEAP[s]-FHEAP[s]*FHEAP[s]*FHEAP[s]*0.02083333395421505*e*e,i=h,FHEAP[k]= +FHEAP[i]*FHEAP[x],FHEAP[l]=FHEAP[i+1]*FHEAP[x],FHEAP[m]=FHEAP[i+2]*FHEAP[x],FHEAP[z]=FHEAP[k],FHEAP[z+1]=FHEAP[l],FHEAP[z+2]=FHEAP[m],FHEAP[z+3]=0,_llvm_memcpy_p0i8_p0i8_i32(y,z,4,4,0)):b==3&&(k=0.5*e*FHEAP[s],k=_sinf(k),FHEAP[B]=k/e,FHEAP[f]=FHEAP[h]*FHEAP[B],FHEAP[i]=FHEAP[h+1]*FHEAP[B],FHEAP[j]=FHEAP[h+2]*FHEAP[B],FHEAP[C]=FHEAP[f],FHEAP[C+1]=FHEAP[i],FHEAP[C+2]=FHEAP[j],FHEAP[C+3]=0,_llvm_memcpy_p0i8_p0i8_i32(y,C,4,4,0));i=y+1;j=y+2;s=_cosf(e*FHEAP[s]*0.5);FHEAP[w]=s;FHEAP[A]=FHEAP[y];FHEAP[A+ +1]=FHEAP[i];FHEAP[A+2]=FHEAP[j];FHEAP[A+3]=FHEAP[w];__ZNK11btMatrix3x311getRotationER12btQuaternion(a,D);__ZmlRK12btQuaternionS1_(E,A,D);__ZN12btQuaternion9normalizeEv(E);__ZN11btMatrix3x311setRotationERK12btQuaternion(c,E);STACKTOP=f} +function __ZNK11btTransform12inverseTimesERKS_(a,e,d){var b=STACKTOP;STACKTOP+=23;var c,f=b+1,g=b+2,h=b+3,i=b+7,j=b+19,k=e+12;c=d+12;FHEAP[b]=FHEAP[c]-FHEAP[k];FHEAP[f]=FHEAP[c+1]-FHEAP[k+1];FHEAP[g]=FHEAP[c+2]-FHEAP[k+2];FHEAP[h]=FHEAP[b];FHEAP[h+1]=FHEAP[f];FHEAP[h+2]=FHEAP[g];FHEAP[h+3]=0;__ZNK11btMatrix3x314transposeTimesERKS_(i,e,d);__ZmlRK9btVector3RK11btMatrix3x3(j,h,e);_llvm_memcpy_p0i8_p0i8_i32(a,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,i+8,4,4,0); +_llvm_memcpy_p0i8_p0i8_i32(a+12,j,4,4,0);STACKTOP=b}function __ZN27btContinuousConvexCollisionD0Ev(a){IHEAP[a]=__ZTV27btContinuousConvexCollision+2;IHEAP[a]=__ZTV12btConvexCast+2;__ZdlPv(a)} +function __ZNK11btMatrix3x314transposeTimesERKS_(a,e,d){var b=STACKTOP;STACKTOP+=9;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8;FHEAP[b]=FHEAP[e]*FHEAP[d+0]+FHEAP[e+4]*FHEAP[d+4]+FHEAP[e+8]*FHEAP[d+8];FHEAP[c]=FHEAP[e]*FHEAP[d+0+1]+FHEAP[e+4]*FHEAP[d+4+1]+FHEAP[e+8]*FHEAP[d+8+1];FHEAP[f]=FHEAP[e]*FHEAP[d+0+2]+FHEAP[e+4]*FHEAP[d+4+2]+FHEAP[e+8]*FHEAP[d+8+2];FHEAP[g]=FHEAP[e+1]*FHEAP[d+0]+FHEAP[e+4+1]*FHEAP[d+4]+FHEAP[e+8+1]*FHEAP[d+8];FHEAP[h]=FHEAP[e+1]*FHEAP[d+0+1]+FHEAP[e+4+1]*FHEAP[d+4+ +1]+FHEAP[e+8+1]*FHEAP[d+8+1];FHEAP[i]=FHEAP[e+1]*FHEAP[d+0+2]+FHEAP[e+4+1]*FHEAP[d+4+2]+FHEAP[e+8+1]*FHEAP[d+8+2];FHEAP[j]=FHEAP[e+2]*FHEAP[d+0]+FHEAP[e+4+2]*FHEAP[d+4]+FHEAP[e+8+2]*FHEAP[d+8];FHEAP[k]=FHEAP[e+2]*FHEAP[d+0+1]+FHEAP[e+4+2]*FHEAP[d+4+1]+FHEAP[e+8+2]*FHEAP[d+8+1];FHEAP[l]=FHEAP[e+2]*FHEAP[d+0+2]+FHEAP[e+4+2]*FHEAP[d+4+2]+FHEAP[e+8+2]*FHEAP[d+8+2];__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,b,c,f,g,h,i,j,k,l);STACKTOP=b} +function __ZmlRK12btQuaternionS1_(a,e,d){var b=STACKTOP;STACKTOP+=4;var c=b+1,f=b+2,g=b+3;FHEAP[b]=FHEAP[e+3]*FHEAP[d]+FHEAP[e]*FHEAP[d+3]+FHEAP[e+1]*FHEAP[d+2]-FHEAP[e+2]*FHEAP[d+1];FHEAP[c]=FHEAP[e+3]*FHEAP[d+1]+FHEAP[e+1]*FHEAP[d+3]+FHEAP[e+2]*FHEAP[d]-FHEAP[e]*FHEAP[d+2];FHEAP[f]=FHEAP[e+3]*FHEAP[d+2]+FHEAP[e+2]*FHEAP[d+3]+FHEAP[e]*FHEAP[d+1]-FHEAP[e+1]*FHEAP[d];FHEAP[g]=FHEAP[e+3]*FHEAP[d+3]-FHEAP[e]*FHEAP[d]-FHEAP[e+1]*FHEAP[d+1]-FHEAP[e+2]*FHEAP[d+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+ +2]=FHEAP[f];FHEAP[a+3]=FHEAP[g];STACKTOP=b}function __ZN12btQuaternion9normalizeEv(a){var e=STACKTOP;STACKTOP+=2;var d=e+1,b=_sqrtf(FHEAP[a]*FHEAP[a]+FHEAP[a+1]*FHEAP[a+1]+FHEAP[a+2]*FHEAP[a+2]+FHEAP[a+3]*FHEAP[a+3]);FHEAP[d]=b;FHEAP[e]=1/FHEAP[d];FHEAP[a]*=FHEAP[e];FHEAP[a+1]*=FHEAP[e];FHEAP[a+2]*=FHEAP[e];FHEAP[a+3]*=FHEAP[e];STACKTOP=e;return a} +function __ZN11btMatrix3x311setRotationERK12btQuaternion(a,e){var d=STACKTOP;STACKTOP+=9;var b,c,f,g,h,i,j,k,l,m=d+1,n=d+2,o=d+3,q=d+4,p=d+5,r=d+6,s=d+7,u=d+8;b=2/(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]+FHEAP[e+3]*FHEAP[e+3]);c=FHEAP[e]*b;f=FHEAP[e+1]*b;g=FHEAP[e+2]*b;b=FHEAP[e+3]*c;h=FHEAP[e+3]*f;i=FHEAP[e+3]*g;c*=FHEAP[e];j=FHEAP[e]*f;k=FHEAP[e]*g;f*=FHEAP[e+1];l=FHEAP[e+1]*g;g*=FHEAP[e+2];FHEAP[d]=1-(f+g);FHEAP[m]=j-i;FHEAP[n]=k+h;FHEAP[o]=j+i;FHEAP[q]=1-(c+g);FHEAP[p]=l- +b;FHEAP[r]=k-h;FHEAP[s]=l+b;FHEAP[u]=1-(c+f);__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,d,m,n,o,q,p,r,s,u);STACKTOP=d} +function __ZN15btTransformUtil22calculateDiffAxisAngleERK11btTransformS2_R9btVector3Rf(a,e,d,b){var c=STACKTOP;STACKTOP+=53;var f=c+1,g=c+13,h=c+25,i=c+41,j=c+45,k=c+49,l=c+50,m=c+51,n=c+52;__ZNK11btMatrix3x37inverseEv(g,a);__ZmlRK11btMatrix3x3S1_(f,e,g);__ZNK11btMatrix3x311getRotationER12btQuaternion(f,h);__ZN12btQuaternion9normalizeEv(h);e=a=FHEAP[h+3];f=e<-1;a:do if(f)a=-1;else{if(!(e>1))break a;a=1}while(0);a=2*_acosf(a);FHEAP[b]=a;FHEAP[i]=FHEAP[h];FHEAP[i+1]=FHEAP[h+1];FHEAP[i+2]=FHEAP[h+2]; +FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,i,4,4,0);FHEAP[d+3]=0;b=FHEAP[d]*FHEAP[d]+FHEAP[d+1]*FHEAP[d+1]+FHEAP[d+2]*FHEAP[d+2];b<1.4210854715202004E-14?(FHEAP[k]=1,FHEAP[l]=0,FHEAP[m]=0,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[l],FHEAP[j+2]=FHEAP[m],FHEAP[j+3]=0,_llvm_memcpy_p0i8_p0i8_i32(d,j,4,4,0)):(j=_sqrtf(b),FHEAP[n]=j,FHEAP[c]=1/FHEAP[n],FHEAP[d]*=FHEAP[c],FHEAP[d+1]*=FHEAP[c],FHEAP[d+2]*=FHEAP[c]);STACKTOP=c} +function __ZNK11btMatrix3x37inverseEv(a,e){var d=STACKTOP;STACKTOP+=16;var b;b=d+4;var c=d+5,f=d+6,g=d+7,h=d+8,i=d+9,j=d+10,k=d+11,l=d+12,m=d+13,n=d+14,o=d+15;FHEAP[b]=FHEAP[e+4+1]*FHEAP[e+8+2]-FHEAP[e+4+2]*FHEAP[e+8+1];FHEAP[c]=FHEAP[e+4+2]*FHEAP[e+8+0]-FHEAP[e+4+0]*FHEAP[e+8+2];FHEAP[f]=FHEAP[e+4+0]*FHEAP[e+8+1]-FHEAP[e+4+1]*FHEAP[e+8+0];FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;b=e+0;b=1/(FHEAP[b]*FHEAP[d]+FHEAP[b+1]*FHEAP[d+1]+FHEAP[b+2]*FHEAP[d+2]);FHEAP[g]=FHEAP[d]* +b;FHEAP[h]=(FHEAP[e+0+2]*FHEAP[e+8+1]-FHEAP[e+0+1]*FHEAP[e+8+2])*b;FHEAP[i]=(FHEAP[e+0+1]*FHEAP[e+4+2]-FHEAP[e+0+2]*FHEAP[e+4+1])*b;FHEAP[j]=FHEAP[d+1]*b;FHEAP[k]=(FHEAP[e+0+0]*FHEAP[e+8+2]-FHEAP[e+0+2]*FHEAP[e+8+0])*b;FHEAP[l]=(FHEAP[e+0+2]*FHEAP[e+4+0]-FHEAP[e+0+0]*FHEAP[e+4+2])*b;FHEAP[m]=FHEAP[d+2]*b;FHEAP[n]=(FHEAP[e+0+1]*FHEAP[e+8+0]-FHEAP[e+0+0]*FHEAP[e+8+1])*b;FHEAP[o]=(FHEAP[e+0+0]*FHEAP[e+4+1]-FHEAP[e+0+1]*FHEAP[e+4+0])*b;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,g,h,i,j, +k,l,m,n,o);STACKTOP=d} +function __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(a,e,d,b,c){var f=STACKTOP;STACKTOP+=3;var g=f+1,h=f+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[a]=__ZTV17btGjkPairDetector+2;var i=a+4;FHEAP[f]=0;FHEAP[g]=1;FHEAP[h]=0;FHEAP[i]=FHEAP[f];FHEAP[i+1]=FHEAP[g];FHEAP[i+2]=FHEAP[h];FHEAP[i+3]=0;IHEAP[a+8]=c;IHEAP[a+9]=b;IHEAP[a+10]=e;IHEAP[a+11]=d;IHEAP[a+12]=IHEAP[e+1];IHEAP[a+13]=IHEAP[d+1];var b=a+14,c=IHEAP[IHEAP[e]+ +11],j;try{__THREW__=!1,j=FUNCTION_TABLE[c](e)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack);j=null}for(e=__THREW__?1:0;;)if(e==0){FHEAP[b]=j;var l=a+15,e=d,c=IHEAP[IHEAP[e]+11],m;try{__THREW__=!1,m=FUNCTION_TABLE[c](e)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack);m=null}if(__THREW__)e=1;else break}else if(e==1)throw d=f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0, +0),IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 30658";FHEAP[l]=m;IHEAP[a+16]=0;IHEAP[a+18]=-1;IHEAP[a+21]=1;STACKTOP=f} +function __ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_iiffP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(a,e,d,b,c,f,g,h,i){var j=STACKTOP;STACKTOP+=3;var k=j+1,l=j+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[a]=__ZTV17btGjkPairDetector+2;var m=a+4;FHEAP[j]=0;FHEAP[k]=1;FHEAP[l]=0;FHEAP[m]=FHEAP[j];FHEAP[m+1]=FHEAP[k];FHEAP[m+2]=FHEAP[l];FHEAP[m+3]=0;IHEAP[a+8]=i;IHEAP[a+9]=h;IHEAP[a+10]=e;IHEAP[a+11]=d;IHEAP[a+12]=b;IHEAP[a+13]=c;FHEAP[a+14]=f;FHEAP[a+15]=g;IHEAP[a+ +16]=0;IHEAP[a+18]=-1;IHEAP[a+21]=1;STACKTOP=j}function __ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(a,e,d,b){__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(a,e,d,b)} +function __ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(a,e,d,b){var Ma;var va;var sa;var c=STACKTOP;STACKTOP+=183;var f,g=null,h,i,j,k,l,m=c+1,n=c+2,o,q=c+3,p=c+4,r=c+5,s,u,v,y,x=c+6,z=c+7,B=c+8,C=c+9,A=c+10,w=c+11,D=c+12,E=c+13,F=c+14,G=c+15,J=c+16,H=c+17,M,K=c+18,N=c+19,R=c+20,O=c+21,Q=c+22,I=c+23,L=c+24,g=c+25;f=c+26;var P=c+27,S,T=c+28,U=c+29,W=c+30,Z=c+31,ca=c+32,Y=c+33,ea=c+34,ha=c+35,ba=c+36,V=c+ +37,aa=c+38,X=c+39,ka=c+40,da=c+41,fa=c+42;S=c+46;var ga=c+47,ja=c+48,la=c+49,qa=c+53,pa=c+57,wa=c+73,ua=c+89,na=c+93,ya=c+97,xa,ia=c+98,ma=c+99,ta;l=c+100;k=c+101;h=c+102;var ra,oa=c+103,Da=c+107,Ba=c+111,Oa=c+115,Fa=c+119,Ha=c+123,La=c+127,Ea=c+131,Ca,Aa=c+135,za=c+139,Ja=c+140,Ra=c+144,Ua=c+145,Xa=c+149,Wa,Sa=c+150,Ga=c+154,Ia=c+158,Pa=c+162,Ta=c+163,Va=c+167,fb=c+171,ib=c+175,Na=c+179;s=FHEAP[a+17]=0;FHEAP[S]=0;FHEAP[ga]=0;FHEAP[ja]=0;FHEAP[fa]=FHEAP[S];FHEAP[fa+1]=FHEAP[ga];FHEAP[fa+2]=FHEAP[ja]; +FHEAP[fa+3]=0;_llvm_memcpy_p0i8_p0i8_i32(pa,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(pa+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(pa+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(pa+12,e+12,4,4,0);S=e+16;_llvm_memcpy_p0i8_p0i8_i32(wa,S,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(wa+4,S+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(wa+8,S+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(wa+12,S+12,4,4,0);ga=wa+12;S=pa+12;FHEAP[T]=FHEAP[S]+FHEAP[ga];FHEAP[U]=FHEAP[S+1]+FHEAP[ga+1];FHEAP[W]=FHEAP[S+2]+FHEAP[ga+2];FHEAP[na]=FHEAP[T];FHEAP[na+1]= +FHEAP[U];FHEAP[na+2]=FHEAP[W];FHEAP[na+3]=0;FHEAP[ya]=0.5;FHEAP[g]=FHEAP[na]*FHEAP[ya];FHEAP[f]=FHEAP[na+1]*FHEAP[ya];FHEAP[P]=FHEAP[na+2]*FHEAP[ya];FHEAP[ua]=FHEAP[g];FHEAP[ua+1]=FHEAP[f];FHEAP[ua+2]=FHEAP[P];FHEAP[ua+3]=0;g=pa+12;FHEAP[g]-=FHEAP[ua];FHEAP[g+1]-=FHEAP[ua+1];FHEAP[g+2]-=FHEAP[ua+2];g=wa+12;FHEAP[g]-=FHEAP[ua];FHEAP[g+1]-=FHEAP[ua+1];FHEAP[g+2]-=FHEAP[ua+2];g=IHEAP[IHEAP[a+10]+1];g==17|g==18?(g=-1,f=0):(g=-1,f=1);a:for(;;)if(f==0){g=IHEAP[a+11];g=f=IHEAP[g+1];if(f==17){g=0;f=1;continue a}j= +g==18;g=2;f=1}else if(f==1){xa=g==0?1:g==2?j:0;FHEAP[ia]=FHEAP[a+14];FHEAP[ma]=FHEAP[a+15];IHEAP[_gNumGjkChecks]+=1;f=IHEAP[a+16]&1?3:4;break a}a:for(;;)if(f==3)FHEAP[ia]=0,FHEAP[ma]=0,f=4;else if(f==4){IHEAP[a+19]=0;ta=1E3;v=a+4;FHEAP[l]=0;FHEAP[k]=1;FHEAP[h]=0;u=l;y=k;o=h;FHEAP[v]=FHEAP[u];FHEAP[v+1]=FHEAP[y];FHEAP[v+2]=FHEAP[o];ra=u=FHEAP[v+3]=0;y=1;IHEAP[a+20]=0;IHEAP[a+18]=-1;o=999999984306749440;i=0;v=FHEAP[ia]+FHEAP[ma];__ZN22btVoronoiSimplexSolver5resetEv(IHEAP[a+9]);var Za=a+4,gb=a+4,lb= +a+10,$a=a+11,eb=a+4,bb=a+9,sb=a+9,Ka=a+9,Ya=a+4,jb=Aa,kb=a+19,tb=a+9;f=5;break a}a:for(;;){h=Za;FHEAP[q]=0-FHEAP[h];FHEAP[p]=0-FHEAP[h+1];FHEAP[r]=0-FHEAP[h+2];h=Da;k=q;l=p;j=r;FHEAP[h]=FHEAP[k];FHEAP[h+1]=FHEAP[l];FHEAP[h+2]=FHEAP[j];FHEAP[h+3]=0;h=e;__ZmlRK9btVector3RK11btMatrix3x3(oa,Da,h);h=e+16;__ZmlRK9btVector3RK11btMatrix3x3(Ba,gb,h);__ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(Oa,IHEAP[lb],oa);__ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(Fa, +IHEAP[$a],Ba);__ZNK11btTransformclERK9btVector3(Ha,pa,Oa);__ZNK11btTransformclERK9btVector3(La,wa,Fa);f=xa&1?6:7;b:for(;;)if(f==6)h=Ha,FHEAP[h+2]=0,h=La,FHEAP[h+2]=0,f=7;else if(f==7){i=Ha;h=La;FHEAP[c]=FHEAP[i]-FHEAP[h];FHEAP[m]=FHEAP[i+1]-FHEAP[h+1];FHEAP[n]=FHEAP[i+2]-FHEAP[h+2];i=Ea;h=c;k=m;l=n;FHEAP[i]=FHEAP[h];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;h=eb;i=Ea;sa=h=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2],i=sa;f=h>0?8:9;break b}for(;;)if(f==8)if(i*i>o*FHEAP[e+ +32]){f=10;break a}else f=9;else if(f==9)if(__ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(IHEAP[bb],Ea)){f=12;break a}else break;Ca=o-i;h=o*9.999999974752427E-7;if(Ca<=h){f=14;break a}j=IHEAP[sb];h=Ea;k=Ha;l=La;_llvm_memcpy_p0i8_p0i8_i32(j+73,h,4,4,0);IHEAP[j+90]=1;_llvm_memcpy_p0i8_p0i8_i32(j+1+IHEAP[j]*4,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+21+IHEAP[j]*4,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+41+IHEAP[j]*4,l,4,4,0);IHEAP[j]+=1;k=IHEAP[Ka];h=Aa;l=k;k=__ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(l); +_llvm_memcpy_p0i8_p0i8_i32(h,l+69,4,4,0);if(!(k&1)){f=18;break a}h=k=h=Aa;if(FHEAP[h]*FHEAP[k]+FHEAP[h+1]*FHEAP[k+1]+FHEAP[h+2]*FHEAP[k+2]<9.999999974752427E-7){f=19;break a}h=o;o=k=o=Aa;o=FHEAP[o]*FHEAP[k]+FHEAP[o+1]*FHEAP[k+1]+FHEAP[o+2]*FHEAP[k+2];if(h-o<=1.1920928955078125E-7*h){f=21;break a}_llvm_memcpy_p0i8_p0i8_i32(Ya,jb,4,4,0);h=IHEAP[kb];IHEAP[kb]=h+1;if(h>ta){f=11;break a}h=IHEAP[tb];h=IHEAP[h]==4^1;if(h&1)f=5;else{f=24;break a}}a:for(;;)if(f==10)IHEAP[a+20]=10,ra=1,f=11;else if(f==12)ra= +IHEAP[a+20]=1,f=11;else if(f==14)IHEAP[a+20]=Ca<=0?2:11,ra=1,f=11;else if(f==18)IHEAP[a+20]=3,ra=1,f=11;else if(f==19)_llvm_memcpy_p0i8_p0i8_i32(a+4,Aa,4,4,0),IHEAP[a+20]=6,ra=1,f=11;else if(f==21)ra=1,IHEAP[a+20]=12,f=11;else if(f==11){f=ra&1?25:26;break a}else f==24&&(IHEAP[a+20]=13,f=11);a:for(;;)if(f==25){n=IHEAP[a+9];g=la;m=qa;__ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(n);_llvm_memcpy_p0i8_p0i8_i32(g,n+61,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m,n+65,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(fa, +a+4,4,4,0);g=m=g=a+4;n=m=FHEAP[g]*FHEAP[m]+FHEAP[g+1]*FHEAP[m+1]+FHEAP[g+2]*FHEAP[m+2];n<1.0E-4?(g=25,f=27):(g=25,f=28);for(;;)if(f==27){IHEAP[a+20]=5;var Bb=m,g=27;f=28}else if(f==28){f=(g==27?Bb:n)>1.4210854715202004E-14?29:30;break}f==29?(s=m,s=1/_sqrtf(s),FHEAP[za]=s,u=fa,s=za,FHEAP[u]*=FHEAP[s],FHEAP[u+1]*=FHEAP[s],FHEAP[u+2]*=FHEAP[s],s=o,s=_sqrtf(s),u=a+4,FHEAP[Ra]=FHEAP[ia]/s,m=Ra,FHEAP[x]=FHEAP[u]*FHEAP[m],FHEAP[z]=FHEAP[u+1]*FHEAP[m],FHEAP[B]=FHEAP[u+2]*FHEAP[m],u=Ja,m=x,n=z,q=B,FHEAP[u]= +FHEAP[m],FHEAP[u+1]=FHEAP[n],FHEAP[u+2]=FHEAP[q],FHEAP[u+3]=0,m=la,u=Ja,FHEAP[m]-=FHEAP[u],FHEAP[m+1]-=FHEAP[u+1],FHEAP[m+2]-=FHEAP[u+2],u=a+4,FHEAP[Xa]=FHEAP[ma]/s,s=u,u=Xa,FHEAP[C]=FHEAP[s]*FHEAP[u],FHEAP[A]=FHEAP[s+1]*FHEAP[u],FHEAP[w]=FHEAP[s+2]*FHEAP[u],s=Ua,u=C,m=A,n=w,FHEAP[s]=FHEAP[u],FHEAP[s+1]=FHEAP[m],FHEAP[s+2]=FHEAP[n],FHEAP[s+3]=0,u=qa,s=Ua,FHEAP[u]+=FHEAP[s],FHEAP[u+1]+=FHEAP[s+1],FHEAP[u+2]+=FHEAP[s+2],s=1/FHEAP[za]-v,u=1,IHEAP[a+18]=1,f=26):f==30&&(IHEAP[a+18]=2,f=26)}else if(f== +26){IHEAP[a+21]!=0?(g=26,f=31):(g=26,f=32);break a}a:for(;;)if(f==31){if(IHEAP[a+8]==0){g=31;f=32;continue a}if(IHEAP[a+20]==0){g=33;f=32;continue a}var Qa=s+v<0.01,g=34;f=32}else if(f==32){Wa=g==33?0:g==31?0:g==26?0:Qa;f=y&1?35:36;break a}a:for(;;)if(f==35){f=u&1?37:38;b:for(;;)if(f==37)if(Wa&1)f=38;else{f=36;continue a}else if(f==38)if(IHEAP[a+8]!=0)break b;else{f=36;continue a}IHEAP[_gNumDeepPenetrationChecks]+=1;x=a+4;FHEAP[D]=0;FHEAP[E]=0;FHEAP[F]=0;C=x;x=D;z=E;B=F;FHEAP[C]=FHEAP[x];FHEAP[C+ +1]=FHEAP[z];FHEAP[C+2]=FHEAP[B];FHEAP[C+3]=0;x=IHEAP[a+8];x=FUNCTION_TABLE[IHEAP[IHEAP[x]+2]](x,IHEAP[a+9],IHEAP[a+10],IHEAP[a+11],pa,wa,a+4,Sa,Ga,b,IHEAP[e+33]);if(x&1){x=Ga;z=Sa;FHEAP[G]=FHEAP[x]-FHEAP[z];FHEAP[J]=FHEAP[x+1]-FHEAP[z+1];FHEAP[H]=FHEAP[x+2]-FHEAP[z+2];x=Ia;z=G;B=J;C=H;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[C];FHEAP[x+3]=0;x=z=x=Ia;va=z=FHEAP[x]*FHEAP[z]+FHEAP[x+1]*FHEAP[z+1]+FHEAP[x+2]*FHEAP[z+2],x=va;x<=1.4210854715202004E-14?(g=40,f=41):(g=40,f=42);b:for(;;)if(f== +41)_llvm_memcpy_p0i8_p0i8_i32(Ia,a+4,4,4,0),M=z=M=a+4,Ma=M=FHEAP[M]*FHEAP[z]+FHEAP[M+1]*FHEAP[z+1]+FHEAP[M+2]*FHEAP[z+2],z=Ma,g=41,f=42;else if(f==42){f=(g==41?M:x)>1.4210854715202004E-14?43:44;break b}if(f==43){x=z;x=_sqrtf(x);FHEAP[Pa]=x;z=Ia;x=Pa;FHEAP[K]=1/FHEAP[x];x=K;FHEAP[z]*=FHEAP[x];FHEAP[z+1]*=FHEAP[x];FHEAP[z+2]*=FHEAP[x];x=Sa;z=Ga;FHEAP[N]=FHEAP[x]-FHEAP[z];FHEAP[R]=FHEAP[x+1]-FHEAP[z+1];FHEAP[O]=FHEAP[x+2]-FHEAP[z+2];x=Ta;z=N;B=R;C=O;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[C]; +FHEAP[x+3]=0;x=z=x=Ta;x=FHEAP[x]*FHEAP[z]+FHEAP[x+1]*FHEAP[z+1]+FHEAP[x+2]*FHEAP[z+2];x=0-_sqrtf(x);for(f=u&1?45:46;;)if(f==45)if(x<s)f=46;else break;else if(f==46){s=x;_llvm_memcpy_p0i8_p0i8_i32(la,Sa,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(qa,Ga,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(fa,Ia,4,4,0);u=1;IHEAP[a+18]=3;f=36;continue a}IHEAP[a+18]=8;f=36}else f==44&&(IHEAP[a+18]=9,f=36)}else{x=z=x=a+4;if(!(FHEAP[x]*FHEAP[z]+FHEAP[x+1]*FHEAP[z+1]+FHEAP[x+2]*FHEAP[z+2]>0)){f=36;continue a}x=Sa;z=Ga;FHEAP[Q]=FHEAP[x]- +FHEAP[z];FHEAP[I]=FHEAP[x+1]-FHEAP[z+1];FHEAP[L]=FHEAP[x+2]-FHEAP[z+2];x=Va;z=Q;B=I;C=L;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[C];FHEAP[x+3]=0;x=z=x=Va;x=FHEAP[x]*FHEAP[z]+FHEAP[x+1]*FHEAP[z+1]+FHEAP[x+2]*FHEAP[z+2];x=_sqrtf(x)-v;for(f=u&1?49:50;;)if(f==49)if(x<s)f=50;else break;else if(f==50){s=x;_llvm_memcpy_p0i8_p0i8_i32(la,Sa,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(qa,Ga,4,4,0);u=a+4;x=ia;FHEAP[Z]=FHEAP[u]*FHEAP[x];FHEAP[ca]=FHEAP[u+1]*FHEAP[x];FHEAP[Y]=FHEAP[u+2]*FHEAP[x];u=fb;x=Z; +z=ca;B=Y;FHEAP[u]=FHEAP[x];FHEAP[u+1]=FHEAP[z];FHEAP[u+2]=FHEAP[B];FHEAP[u+3]=0;x=la;u=fb;FHEAP[x]-=FHEAP[u];FHEAP[x+1]-=FHEAP[u+1];FHEAP[x+2]-=FHEAP[u+2];u=a+4;x=ma;FHEAP[ea]=FHEAP[u]*FHEAP[x];FHEAP[ha]=FHEAP[u+1]*FHEAP[x];FHEAP[ba]=FHEAP[u+2]*FHEAP[x];u=ib;x=ea;z=ha;B=ba;FHEAP[u]=FHEAP[x];FHEAP[u+1]=FHEAP[z];FHEAP[u+2]=FHEAP[B];FHEAP[u+3]=0;x=qa;u=ib;FHEAP[x]+=FHEAP[u];FHEAP[x+1]+=FHEAP[u+1];FHEAP[x+2]+=FHEAP[u+2];_llvm_memcpy_p0i8_p0i8_i32(fa,a+4,4,4,0);x=z=x=u=fa;x=FHEAP[x]*FHEAP[z]+FHEAP[x+1]* +FHEAP[z+1]+FHEAP[x+2]*FHEAP[z+2];x=_sqrtf(x);FHEAP[aa]=x;x=u;u=aa;FHEAP[V]=1/FHEAP[u];u=V;FHEAP[x]*=FHEAP[u];FHEAP[x+1]*=FHEAP[u];FHEAP[x+2]*=FHEAP[u];u=1;IHEAP[a+18]=6;f=36;continue a}IHEAP[a+18]=5;f=36}}else if(f==36){f=u&1?52:53;break a}a:for(;;)if(f==52)for(f=s<0?54:55;;)if(f==54){_llvm_memcpy_p0i8_p0i8_i32(a+4,fa,4,4,0);FHEAP[a+17]=s;b=d;D=IHEAP[IHEAP[b]+4];E=qa;F=ua;FHEAP[X]=FHEAP[E]+FHEAP[F];FHEAP[ka]=FHEAP[E+1]+FHEAP[F+1];FHEAP[da]=FHEAP[E+2]+FHEAP[F+2];E=Na;F=X;G=ka;J=da;FHEAP[E]=FHEAP[F]; +FHEAP[E+1]=FHEAP[G];FHEAP[E+2]=FHEAP[J];FHEAP[E+3]=0;FUNCTION_TABLE[D](b,fa,Na,s);f=53;continue a}else{if(f==55)if(s*s<FHEAP[e+32])f=54;else{f=53;continue a}}else if(f==53){STACKTOP=c;break}}function __ZN17btGjkPairDetectorD0Ev(a){IHEAP[a]=__ZTV17btGjkPairDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;__ZdlPv(a)} +function __ZN15btGjkEpaSolver28DistanceEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsE(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=188;var h,i=null,j,k,l,m=g+1,n=g+2,o=g+3,q=g+4,p=g+5,r=g+6,s=g+7,u=g+8,v,y,x,z=g+9,B=g+10,C=g+11,A,w;w=g+12;var D,E=g+13,F=g+45,G=g+140,J=g+144,H=g+145,M=g+146,K=g+147,N=g+151,R=g+152,O=g+153,Q=g+154,I=g+155,L=g+159,P=g+163,S=g+167,T=g+171,U=g+175,W=g+179,Z=g+183;A=g+187;__ZN12gjkepa2_impl10InitializeEPK13btConvexShapeRK11btTransformS2_S5_RN15btGjkEpaSolver28sResultsERNS_13MinkowskiDiffEb(a, +e,d,b,f,E,0);__ZN12gjkepa2_impl3GJKC2Ev(F);a=__ZN12gjkepa2_impl3GJK8EvaluateERKNS_13MinkowskiDiffERK9btVector3(F,E,c);d=a==0;a:do if(d){FHEAP[J]=0;FHEAP[H]=0;FHEAP[M]=0;b=G;c=J;y=H;x=M;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[y];FHEAP[b+2]=FHEAP[x];FHEAP[b+3]=0;FHEAP[N]=0;FHEAP[R]=0;FHEAP[O]=0;b=K;c=N;y=R;x=O;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[y];FHEAP[b+2]=FHEAP[x];b=FHEAP[b+3]=0;c=F+93;h=b<IHEAP[IHEAP[c]+8]?0:1;b:for(;;)if(h==0){y=F+93;x=F+93;for(var ca=F+93;;)if(FHEAP[Q]=FHEAP[IHEAP[y]+4+b],__ZNK12gjkepa2_impl13MinkowskiDiff7SupportERK9btVector3j(L, +E,IHEAP[IHEAP[x]+b],0),h=L,j=Q,FHEAP[r]=FHEAP[h]*FHEAP[j],FHEAP[s]=FHEAP[h+1]*FHEAP[j],FHEAP[u]=FHEAP[h+2]*FHEAP[j],h=I,j=r,k=s,l=u,FHEAP[h]=FHEAP[j],FHEAP[h+1]=FHEAP[k],FHEAP[h+2]=FHEAP[l],FHEAP[h+3]=0,j=G,h=I,FHEAP[j]+=FHEAP[h],FHEAP[j+1]+=FHEAP[h+1],FHEAP[j+2]+=FHEAP[h+2],h=IHEAP[IHEAP[ca]+b],FHEAP[g]=0-FHEAP[h],FHEAP[m]=0-FHEAP[h+1],FHEAP[n]=0-FHEAP[h+2],h=T,j=g,k=m,l=n,FHEAP[h]=FHEAP[j],FHEAP[h+1]=FHEAP[k],FHEAP[h+2]=FHEAP[l],FHEAP[h+3]=0,__ZNK12gjkepa2_impl13MinkowskiDiff7SupportERK9btVector3j(S, +E,T,1),h=S,j=Q,FHEAP[o]=FHEAP[h]*FHEAP[j],FHEAP[q]=FHEAP[h+1]*FHEAP[j],FHEAP[p]=FHEAP[h+2]*FHEAP[j],h=P,j=o,k=q,l=p,FHEAP[h]=FHEAP[j],FHEAP[h+1]=FHEAP[k],FHEAP[h+2]=FHEAP[l],FHEAP[h+3]=0,j=K,h=P,FHEAP[j]+=FHEAP[h],FHEAP[j+1]+=FHEAP[h+1],FHEAP[j+2]+=FHEAP[h+2],b+=1,b<IHEAP[IHEAP[c]+8])h=2;else{h=1;continue b}}else if(h==1){b=f+1;i=e;v=G;__ZNK11btTransformclERK9btVector3(U,i,v);_llvm_memcpy_p0i8_p0i8_i32(b,U,4,4,0);b=f+1+4;i=e;v=K;__ZNK11btTransformclERK9btVector3(W,i,v);_llvm_memcpy_p0i8_p0i8_i32(b, +W,4,4,0);i=f+9;v=G;b=K;FHEAP[z]=FHEAP[v]-FHEAP[b];FHEAP[B]=FHEAP[v+1]-FHEAP[b+1];FHEAP[C]=FHEAP[v+2]-FHEAP[b+2];v=Z;b=z;c=B;y=C;FHEAP[v]=FHEAP[b];FHEAP[v+1]=FHEAP[c];FHEAP[v+2]=FHEAP[y];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(i,Z,4,4,0);i=v=i=f+9;i=FHEAP[i]*FHEAP[v]+FHEAP[i+1]*FHEAP[v+1]+FHEAP[i+2]*FHEAP[v+2];i=_sqrtf(i);FHEAP[f+13]=i;v=f+9;FHEAP[f+13]>9.999999747378752E-5?(i=1,h=3):(i=1,h=4);break b}for(;;)if(h==3){var Y=FHEAP[f+13],i=3;h=4}else if(h==4){FHEAP[A]=i==3?Y:1;e=v;FHEAP[w]=1/FHEAP[A]; +A=e;FHEAP[A]*=FHEAP[w];FHEAP[A+1]*=FHEAP[w];FHEAP[A+2]*=FHEAP[w];D=1;break a}}else IHEAP[f]=a==1?1:2,D=0;while(0);STACKTOP=g;return D} +function __ZN12gjkepa2_impl10InitializeEPK13btConvexShapeRK11btTransformS2_S5_RN15btGjkEpaSolver28sResultsERNS_13MinkowskiDiffEb(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=35;var i=h+4,j=h+5,k=h+6,l=h+7,m=h+19,n=c+1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[j];FHEAP[h+2]=FHEAP[k];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c+1+4,h,4,4,0);_llvm_memmove_p0i8_p0i8_i32(n,h,4,4,0);IHEAP[c]=0;IHEAP[f]=a;IHEAP[f+1]=d;a=f+2;__ZNK11btMatrix3x314transposeTimesERKS_(l,b,e);_llvm_memcpy_p0i8_p0i8_i32(a, +l,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+4,l+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,l+8,4,4,0);l=f+14;__ZNK11btTransform12inverseTimesERKS_(m,e,b);_llvm_memcpy_p0i8_p0i8_i32(l,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,m+12,4,4,0);e=f+30;IHEAP[e]=g&1?2:4;IHEAP[e+1]=0;STACKTOP=h} +function __ZN12gjkepa2_impl3GJK8EvaluateERKNS_13MinkowskiDiffERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=61;var c,f=null,g,h,i,j,k,l;g=b+1;h=b+2;var m,n,o,q=b+3,p=b+4,r=b+5,s,u=b+6,v=b+7,y=b+8,x,z=b+9,B=b+10,C=b+11,A,w,D,E=b+12,F=b+13,G;w=b+29;x=b+33;var J=b+34,H=b+35,M,K,N,R=b+36,O=b+40,Q=b+44,I=b+45,L=b+49,P=b+50,S=b+54,T=b+55,U=b+56,W=b+57;D=0;G=FHEAP[E]=0;IHEAP[a+87]=a+55;IHEAP[a+87+1]=a+55+8;IHEAP[a+87+2]=a+55+16;IHEAP[a+87+3]=a+55+24;IHEAP[a+91]=4;IHEAP[a+92]=0;IHEAP[a+94]=0;_llvm_memcpy_p0i8_p0i8_i32(a, +e,2,1,0);var Z=e+2;A=a+2;_llvm_memcpy_p0i8_p0i8_i32(A,Z,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+4,Z+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+8,Z+8,4,4,0);A=e+14;e=a+14;_llvm_memcpy_p0i8_p0i8_i32(e,A,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,A+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,A+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,A+12,4,4,0);e=a+30;IHEAP[e]=$;IHEAP[e+1]=t;FHEAP[a+36]=0;IHEAP[a+37+8]=0;_llvm_memcpy_p0i8_p0i8_i32(a+32,d,4,4,0);d=a+32;d=FHEAP[d]*FHEAP[d]+FHEAP[d+1]*FHEAP[d+1]+FHEAP[d+2]*FHEAP[d+2];e= +a+37;d>0?(x=a+32,FHEAP[z]=0-FHEAP[x],FHEAP[B]=0-FHEAP[x+1],FHEAP[C]=0-FHEAP[x+2],FHEAP[w]=FHEAP[z],FHEAP[w+1]=FHEAP[B],FHEAP[w+2]=FHEAP[C]):(FHEAP[x]=1,FHEAP[J]=0,FHEAP[H]=0,FHEAP[w]=FHEAP[x],FHEAP[w+1]=FHEAP[J],FHEAP[w+2]=FHEAP[H]);FHEAP[w+3]=0;FHEAP[e+4+IHEAP[e+8]]=0;z=a+91;B=IHEAP[z]+-1;IHEAP[z]=B;IHEAP[e+IHEAP[e+8]]=IHEAP[a+87+B];z=e+8;B=IHEAP[z];IHEAP[z]=B+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(a,w,IHEAP[e+B]);FHEAP[a+37+4]=1;_llvm_memcpy_p0i8_p0i8_i32(a+32,IHEAP[a+37]+ +4,4,4,0);z=d;w=F+4;B=F+8;C=a+32;_llvm_memcpy_p0i8_p0i8_i32(F+12,C,4,4,0);_llvm_memmove_p0i8_p0i8_i32(B,C,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(w,B,4,4,0);_llvm_memmove_p0i8_p0i8_i32(F,B,4,4,0);B=a+92;C=a+92;x=a+37;J=a+37;H=a+32;d=a+32;e=a+32;A=a+32;var Z=a+92,ca=a+94,Y=a+94;w=a+94;var ea=a+32,ha=a+91,ba=a+87;a:for(;;){M=1-IHEAP[B];K=x+IHEAP[C]*9;N=J+M*9;j=f=j=H;j=FHEAP[j]*FHEAP[f]+FHEAP[j+1]*FHEAP[f+1]+FHEAP[j+2]*FHEAP[f+2];j=f=_sqrtf(j);if(f<9.999999747378752E-5){c=2;break a}f=K;i=d;FHEAP[u]=0-FHEAP[i]; +FHEAP[v]=0-FHEAP[i+1];FHEAP[y]=0-FHEAP[i+2];i=R;l=u;s=v;m=y;FHEAP[i]=FHEAP[l];FHEAP[i+1]=FHEAP[s];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;i=a;l=R;FHEAP[f+4+IHEAP[f+8]]=0;s=i+91;m=IHEAP[s]+-1;IHEAP[s]=m;IHEAP[f+IHEAP[f+8]]=IHEAP[i+87+m];s=f+8;m=IHEAP[s];IHEAP[s]=m+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(i,l,IHEAP[f+m]);i=IHEAP[K+(IHEAP[K+8]-1)]+4;s=l=0;f=3;b:for(;;){if(!((f==9?V:0)<4)){c=7;break b}m=F+s*4;c=i;FHEAP[q]=FHEAP[c]-FHEAP[m];FHEAP[p]=FHEAP[c+1]-FHEAP[m+1];FHEAP[r]=FHEAP[c+ +2]-FHEAP[m+2];c=O;m=q;n=p;o=r;FHEAP[c]=FHEAP[m];FHEAP[c+1]=FHEAP[n];FHEAP[c+2]=FHEAP[o];FHEAP[c+3]=0;c=m=c=O;if(FHEAP[c]*FHEAP[m]+FHEAP[c+1]*FHEAP[m+1]+FHEAP[c+2]*FHEAP[m+2]<9.999999747378752E-5){c=8;break b}var V=s+1;s=V;f=9;c=5}b:for(;;)if(c==7)if(l&1){c=10;break a}else break b;else c==8&&(l=1,c=7);G=c=G+1&3;_llvm_memcpy_p0i8_p0i8_i32(F+c*4,i,4,4,0);c=e;FHEAP[Q]=(FHEAP[c]*FHEAP[i]+FHEAP[c+1]*FHEAP[i+1]+FHEAP[c+2]*FHEAP[i+2])/j;c=Q;i=E;l=c;s=i;FHEAP[E]=FHEAP[FHEAP[c]>FHEAP[i]?l:s];if(j-FHEAP[E]- +9.999999747378752E-5*j<=0){c=12;break a}IHEAP[L]=0;c=IHEAP[K+8];c=c==2?14:c==3?16:c==4?17:18;if(c==18)var aa=z,f=18;else if(c==14)var X=__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_PfRj(IHEAP[K]+4,IHEAP[K+1]+4,I,L),z=X,f=14;else if(c==16)var ka=__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRj(IHEAP[K]+4,IHEAP[K+1]+4,IHEAP[K+2]+4,I,L),z=ka,f=16;else if(c==17)var da=__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRj(IHEAP[K]+4,IHEAP[K+1]+4,IHEAP[K+2]+4,IHEAP[K+3]+4, +I,L),z=da,f=17;if(!((f==18?aa:f==17?da:f==16?ka:X)>=0)){c=20;break a}IHEAP[N+8]=0;FHEAP[S]=0;FHEAP[T]=0;FHEAP[U]=0;c=P;j=S;f=T;i=U;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[f];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(A,P,4,4,0);IHEAP[Z]=M;M=0;j=IHEAP[K+8];i=IHEAP[L];M<j?(f=19,c=21):(f=19,c=22);b:for(;;)if(c==21)c=IHEAP[K+M],(1<<M&(f==24?k:i))!=0?(IHEAP[N+IHEAP[N+8]]=c,k=FHEAP[I+M],c=N+8,f=IHEAP[c],IHEAP[c]=f+1,FHEAP[N+4+f]=k,c=I+M,k=IHEAP[K+M]+4,FHEAP[b]=FHEAP[k]*FHEAP[c],FHEAP[g]=FHEAP[k+ +1]*FHEAP[c],FHEAP[h]=FHEAP[k+2]*FHEAP[c],k=W,c=b,f=g,l=h,FHEAP[k]=FHEAP[c],FHEAP[k+1]=FHEAP[f],FHEAP[k+2]=FHEAP[l],FHEAP[k+3]=0,c=ea,k=W,FHEAP[c]+=FHEAP[k],FHEAP[c+1]+=FHEAP[k+1],FHEAP[c+2]+=FHEAP[k+2]):(k=IHEAP[ha],IHEAP[ha]=k+1,IHEAP[ba+k]=c),M+=1,k=IHEAP[L],M<j?(f=24,c=21):(f=24,c=22);else if(c==22){c=(f==19?i:k)==15?25:26;break b}for(;;)if(c==25)IHEAP[ca]=1,c=26;else if(c==26)if(D=K=D+1,K<128)break;else{c=28;break a}K=IHEAP[Y];IHEAP[w]=K;if(K==0)c=1;else{c=4;break a}}a:for(;;)if(c==2)IHEAP[a+ +94]=1,c=4;else if(c==10)h=a+37+IHEAP[a+92]*9,g=a,q=h+8,p=IHEAP[q]+-1,IHEAP[q]=p,h=IHEAP[h+p],q=g+91,p=IHEAP[q],IHEAP[q]=p+1,IHEAP[g+87+p]=h,c=4;else if(c==12)h=a+37+IHEAP[a+92]*9,g=a,q=h+8,p=IHEAP[q]+-1,IHEAP[q]=p,h=IHEAP[h+p],q=g+91,p=IHEAP[q],IHEAP[q]=p+1,IHEAP[g+87+p]=h,c=4;else if(c==20)h=a+37+IHEAP[a+92]*9,g=a,q=h+8,p=IHEAP[q]+-1,IHEAP[q]=p,h=IHEAP[h+p],q=g+91,p=IHEAP[q],IHEAP[q]=p+1,IHEAP[g+87+p]=h,c=4;else if(c==28)IHEAP[w]=2,c=4;else if(c==4){IHEAP[a+93]=a+37+IHEAP[a+92]*9;w=IHEAP[a+94];c= +w==0?30:w==1?31:29;break a}for(;;)if(c==29)return a=IHEAP[a+94],STACKTOP=b,a;else c==30?(w=g=w=a+32,w=FHEAP[w]*FHEAP[g]+FHEAP[w+1]*FHEAP[g+1]+FHEAP[w+2]*FHEAP[g+2],w=_sqrtf(w),FHEAP[a+36]=w,c=29):c==31&&(FHEAP[a+36]=0,c=29);return null} +function __ZNK12gjkepa2_impl13MinkowskiDiff7SupportERK9btVector3j(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f=null,g=c+4;if(b!=0){var h=e+14,i=e+30,f={f0:IHEAP[i],f1:IHEAP[i+1]},i=IHEAP[e+1]+f.f1,f=f.f0;if((f&1)!=0)var j=IHEAP[IHEAP[i]+(f-1)],f=0;else var k=f,f=2;j=f==0?j:k;__ZmlRK11btMatrix3x3RK9btVector3(g,e+2,d);FUNCTION_TABLE[j](c,i,g);__ZNK11btTransformclERK9btVector3(a,h,c)}else g=e+30,g={f0:IHEAP[g],f1:IHEAP[g+1]},e=IHEAP[e]+g.f1,g=g.f0,(g&1)!=0?(h=IHEAP[IHEAP[e]+(g-1)],f=4):(i=g,f=6),FUNCTION_TABLE[f== +4?h:i](a,e,d);STACKTOP=c} +function __ZN15btGjkEpaSolver211PenetrationEPK13btConvexShapeRK11btTransformS2_S5_RK9btVector3RNS_8sResultsEb(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=3024;var i,j,k,l,m,n=h+1,o=h+2;i=h+3;j=h+4;k=h+5;var q,p=h+6,r=h+7,s=h+8,u=h+9,v=h+10,y=h+11,x=h+12,z=h+13,B=h+14,C=h+15,A=h+16,w=h+17,D=h+18;l=h+50;var E=h+145,F=h+149;m=h+2985;var G=h+2989,J=h+2993,H=h+2994,M=h+2995,K=h+2996,N=h+3E3,R=h+3004,O=h+3008,Q=h+3012,I=h+3016,L=h+3020;__ZN12gjkepa2_impl10InitializeEPK13btConvexShapeRK11btTransformS2_S5_RN15btGjkEpaSolver28sResultsERNS_13MinkowskiDiffEb(a,e, +d,b,f,D,g&1);__ZN12gjkepa2_impl3GJKC2Ev(l);FHEAP[x]=0-FHEAP[c];FHEAP[z]=0-FHEAP[c+1];FHEAP[B]=0-FHEAP[c+2];FHEAP[E]=FHEAP[x];FHEAP[E+1]=FHEAP[z];FHEAP[E+2]=FHEAP[B];FHEAP[E+3]=0;a=__ZN12gjkepa2_impl3GJK8EvaluateERKNS_13MinkowskiDiffERK9btVector3(l,D,E);a=a==1?7:a==2?8:6;a:for(;;)if(a==6){q=0;a=5;break a}else if(a==7){a=F;__ZN12gjkepa2_impl3EPAC2Ev(a);a=c;FHEAP[i]=0-FHEAP[a];FHEAP[j]=0-FHEAP[a+1];FHEAP[k]=0-FHEAP[a+2];a=m;d=i;b=j;g=k;FHEAP[a]=FHEAP[d];FHEAP[a+1]=FHEAP[b];FHEAP[a+2]=FHEAP[g];FHEAP[a+ +3]=0;a=__ZN12gjkepa2_impl3EPA8EvaluateERNS_3GJKERK9btVector3(F,l,m);if(a!=9){a=0;break a}IHEAP[f]=3;a=6}else a==8&&(IHEAP[f]=2,a=6);a:for(;;)if(a==0){FHEAP[J]=0;FHEAP[H]=0;FHEAP[M]=0;c=G;i=J;j=H;k=M;FHEAP[c]=FHEAP[i];FHEAP[c+1]=FHEAP[j];FHEAP[c+2]=FHEAP[k];c=FHEAP[c+3]=0;i=F+1+8;a=c<IHEAP[i]?2:3;b:for(;;)if(a==2){j=F+1;for(k=F+1+4;;)if(__ZNK12gjkepa2_impl13MinkowskiDiff7SupportERK9btVector3j(N,D,IHEAP[j+c],0),m=k+c,l=N,FHEAP[h]=FHEAP[l]*FHEAP[m],FHEAP[n]=FHEAP[l+1]*FHEAP[m],FHEAP[o]=FHEAP[l+2]*FHEAP[m], +l=K,m=h,a=n,d=o,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[a],FHEAP[l+2]=FHEAP[d],FHEAP[l+3]=0,m=G,l=K,FHEAP[m]+=FHEAP[l],FHEAP[m+1]+=FHEAP[l+1],FHEAP[m+2]+=FHEAP[l+2],c+=1,c<IHEAP[i])a=4;else{a=3;continue b}}else if(a==3){IHEAP[f]=1;i=f+1;q=e;c=G;__ZNK11btTransformclERK9btVector3(R,q,c);_llvm_memcpy_p0i8_p0i8_i32(i,R,4,4,0);q=f+1+4;c=e;j=F+14;i=F+10;FHEAP[p]=FHEAP[i]*FHEAP[j];FHEAP[r]=FHEAP[i+1]*FHEAP[j];FHEAP[s]=FHEAP[i+2]*FHEAP[j];i=Q;j=p;k=r;l=s;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l]; +FHEAP[i+3]=0;i=G;j=Q;FHEAP[u]=FHEAP[i]-FHEAP[j];FHEAP[v]=FHEAP[i+1]-FHEAP[j+1];FHEAP[y]=FHEAP[i+2]-FHEAP[j+2];i=O;j=u;k=v;l=y;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;i=O;__ZNK11btTransformclERK9btVector3(I,c,i);_llvm_memcpy_p0i8_p0i8_i32(q,I,4,4,0);q=f+9;c=F+10;FHEAP[C]=0-FHEAP[c];FHEAP[A]=0-FHEAP[c+1];FHEAP[w]=0-FHEAP[c+2];c=L;i=C;j=A;k=w;FHEAP[c]=FHEAP[i];FHEAP[c+1]=FHEAP[j];FHEAP[c+2]=FHEAP[k];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(q,L,4,4,0);FHEAP[f+13]=0-FHEAP[F+ +14];q=1;a=5;continue a}}else if(a==5)return e=q,STACKTOP=h,e;return null} +function __ZN12gjkepa2_impl3EPA8EvaluateERNS_3GJKERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=139;var c,f=null,g,h,i,j,k,l,m,n,o,q,p,r,s=b+1,u=b+2,v,y,x;x=b+3;y=b+4;v=b+5;var z,B,C;C=b+6;B=b+7;z=b+8;var A,w,D,E,F;D=b+9;w=b+10;A=b+11;var G,J=b+12,H=b+13,M=b+14,K,N,R,O;O=b+15;R=b+16;N=b+17;var Q,I,L;L=b+18;I=b+19;Q=b+20;var P,S,T,U,W;T=b+21;S=b+22;P=b+23;var Z=b+24,ca=b+25,Y=b+26,ea,ha,ba,V;V=b+27;ba=b+28;ha=b+29;var aa,X,ka,da,fa;ka=b+30;X=b+31;aa=b+32;var ga,ja,la,qa,pa;la=b+33;ja=b+34;ga=b+35;var wa= +b+36,ua=b+37,f=b+38,na,ya,xa,ia;g=b+39;xa=b+40;ya=b+41;var ma,ta,ra=b+42,oa=b+43;r=b+44;var Da=b+45,Ba,Oa,Fa,Ha;l=b+46;h=b+50;var La=b+54,Ea=b+58;fa=b+62;var Ca=b+80;da=b+83;F=b+87;E=b+91;K=b+95;W=b+99;U=b+103;ea=b+107;pa=b+111;qa=b+115;na=b+119;ta=b+123;var Aa=b+127;q=b+128;p=b+132;var za=b+136,Ja=b+137,Ra=b+138;Fa=IHEAP[e+93];c=IHEAP[Fa+8]>1?0:1;a:for(;;)if(c==0){if(!__ZN12gjkepa2_impl3GJK13EncloseOriginEv(e)){c=1;continue a}i=a+2832;c=IHEAP[i]!=0?3:4;b:for(;;)if(c==3){j=a+2832;G=a+2832;var Ua= +a+2834;c:for(;;){c=Ha=IHEAP[j];Ba=G;Oa=c;c=IHEAP[Oa+12+1]!=0?6:7;d:for(;;)if(c==6)IHEAP[IHEAP[Oa+12+1]+12]=IHEAP[Oa+12],c=7;else if(c==7){c=IHEAP[Oa+12]!=0?8:9;break d}d:for(;;)if(c==8)IHEAP[IHEAP[Oa+12]+12+1]=IHEAP[Oa+12+1],c=9;else if(c==9){c=Oa==IHEAP[Ba]?10:11;break d}d:for(;;)if(c==10)IHEAP[Ba]=IHEAP[Oa+12+1],c=11;else if(c==11){IHEAP[Ba+1]+=-1;k=Ha;ia=Ua;IHEAP[k+12]=0;IHEAP[k+12+1]=IHEAP[ia];c=IHEAP[ia]!=0?12:13;break d}for(;;)if(c==12)IHEAP[IHEAP[ia]+12]=k,c=13;else if(c==13)if(IHEAP[ia]=k, +IHEAP[ia+1]+=1,IHEAP[i]!=0){c=5;continue c}else{c=4;continue b}}}else if(c==4){IHEAP[a]=0;IHEAP[a+2831]=0;i=IHEAP[Fa+3]+4;c=IHEAP[Fa]+4;FHEAP[wa]=FHEAP[c]-FHEAP[i];FHEAP[ua]=FHEAP[c+1]-FHEAP[i+1];FHEAP[f]=FHEAP[c+2]-FHEAP[i+2];c=l;i=wa;j=ua;G=f;FHEAP[c]=FHEAP[i];FHEAP[c+1]=FHEAP[j];FHEAP[c+2]=FHEAP[G];FHEAP[c+3]=0;i=IHEAP[Fa+3]+4;c=IHEAP[Fa+1]+4;FHEAP[Z]=FHEAP[c]-FHEAP[i];FHEAP[ca]=FHEAP[c+1]-FHEAP[i+1];FHEAP[Y]=FHEAP[c+2]-FHEAP[i+2];c=h;i=Z;j=ca;G=Y;FHEAP[c]=FHEAP[i];FHEAP[c+1]=FHEAP[j];FHEAP[c+ +2]=FHEAP[G];FHEAP[c+3]=0;i=IHEAP[Fa+3]+4;c=IHEAP[Fa+2]+4;FHEAP[J]=FHEAP[c]-FHEAP[i];FHEAP[H]=FHEAP[c+1]-FHEAP[i+1];FHEAP[M]=FHEAP[c+2]-FHEAP[i+2];c=La;i=J;j=H;G=M;FHEAP[c]=FHEAP[i];FHEAP[c+1]=FHEAP[j];FHEAP[c+2]=FHEAP[G];FHEAP[c+3]=0;c=__ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(l,h,La)<0?14:15;break b}for(;;)if(c==14)i=Fa+1,c=Fa,j=IHEAP[c],IHEAP[c]=IHEAP[i],IHEAP[i]=j,i=Fa+4+1,c=Fa+4,j=FHEAP[c],FHEAP[c]=FHEAP[i],FHEAP[i]=j,c=15;else if(c==15)if(c=Ea,i=__ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(a, +IHEAP[Fa],IHEAP[Fa+1],IHEAP[Fa+2],1),IHEAP[c]=i,c=Ea+1,i=__ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(a,IHEAP[Fa+1],IHEAP[Fa],IHEAP[Fa+3],1),IHEAP[c]=i,c=Ea+2,i=__ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(a,IHEAP[Fa+2],IHEAP[Fa+1],IHEAP[Fa+3],1),IHEAP[c]=i,c=Ea+3,i=__ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(a,IHEAP[Fa],IHEAP[Fa+2],IHEAP[Fa+3],1),IHEAP[c]=i,IHEAP[a+2832+1]==4){c=16;break a}else{c=1;continue a}}else if(c==1){IHEAP[a]=8;ma=a+10;FHEAP[g]=0-FHEAP[d];FHEAP[xa]=0- +FHEAP[d+1];FHEAP[ya]=0-FHEAP[d+2];d=ta;ia=xa;xa=g;g=ia;ia=ya;ya=d;d=ia;FHEAP[ya]=FHEAP[xa];FHEAP[ya+1]=FHEAP[g];FHEAP[ya+2]=FHEAP[d];FHEAP[ya+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ma,ta,4,4,0);ma=ta=ma=a+10;ma=FHEAP[ma]*FHEAP[ta]+FHEAP[ma+1]*FHEAP[ta+1]+FHEAP[ma+2]*FHEAP[ta+2];ta=_sqrtf(ma);FHEAP[Aa]=ta;ma=a+10;c=ta>0?42:43;break a}a:do if(c==16){ta=__ZN12gjkepa2_impl3EPA8findbestEv(a);_llvm_memcpy_p0i8_p0i8_i32(fa,ta,18,4,0);xa=ya=0;d=IHEAP[Ea+1];g=IHEAP[Ea];IHEAP[g+14+0]=0;IHEAP[g+9+0]=d;IHEAP[d+14+0]= +0;IHEAP[d+9+0]=g;d=IHEAP[Ea+2];g=IHEAP[Ea];IHEAP[g+14+1]=0;IHEAP[g+9+1]=d;IHEAP[d+14+0]=1;IHEAP[d+9+0]=g;d=IHEAP[Ea+3];g=IHEAP[Ea];IHEAP[g+14+2]=0;IHEAP[g+9+2]=d;IHEAP[d+14+0]=2;IHEAP[d+9+0]=g;d=IHEAP[Ea+3];g=IHEAP[Ea+1];IHEAP[g+14+1]=2;IHEAP[g+9+1]=d;IHEAP[d+14+2]=1;IHEAP[d+9+2]=g;d=IHEAP[Ea+2];g=IHEAP[Ea+1];IHEAP[g+14+2]=1;IHEAP[g+9+2]=d;IHEAP[d+14+1]=2;IHEAP[d+9+1]=g;d=IHEAP[Ea+3];g=IHEAP[Ea+2];IHEAP[g+14+2]=1;IHEAP[g+9+2]=d;IHEAP[d+14+1]=2;IHEAP[d+9+1]=g;IHEAP[a]=0;g=xa;d=a+2831;ia=a+2831;J=a+ +15;H=Ca+2;M=Ca;Z=Ca+1;ca=a+2832;Y=a+2834;wa=fa+5;ua=fa;f=16;b:for(;;){if(!((f==40?Wa:g)<255)){c=19;break b}if(!(IHEAP[d]<64)){c=21;break b}f=Ca;IHEAP[f]=0;IHEAP[f+1]=0;IHEAP[f+2]=0;f=IHEAP[ia];IHEAP[ia]=f+1;k=J+f*8;l=1;ya=f=ya+1;IHEAP[ta+17]=f&255;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(e,ta,k);h=k+4;f=ta;f=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2]-FHEAP[ta+4];if(!(f>9.999999747378752E-5)){c=23;break b}h=0;f=22;c:for(;;){if(!((f==27?Xa:0)<3))break c;if(!(l&1))break c; +Xa=__ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(a,ya,k,IHEAP[ta+9+h],IHEAP[ta+14+h],Ca);l=(l&1&Xa)!=0;var Xa=h+1;h=Xa;f=27}if(!(l&1)){c=29;break b}if(!(IHEAP[H]>=3)){c=29;break b}l=IHEAP[Z];k=IHEAP[M];IHEAP[k+14+1]=2;IHEAP[k+9+1]=l;IHEAP[l+14+2]=1;IHEAP[l+9+2]=k;l=ta;k=ca;c=IHEAP[l+12+1]!=0?31:32;c:for(;;)if(c==31)IHEAP[IHEAP[l+12+1]+12]=IHEAP[l+12],c=32;else if(c==32){c=IHEAP[l+12]!=0?33:34;break c}c:for(;;)if(c==33)IHEAP[IHEAP[l+12]+12+1]=IHEAP[l+12+1],c=34;else if(c== +34){c=l==IHEAP[k]?35:36;break c}c:for(;;)if(c==35)IHEAP[k]=IHEAP[l+12+1],c=36;else if(c==36){IHEAP[k+1]+=-1;n=ta;m=Y;IHEAP[n+12]=0;IHEAP[n+12+1]=IHEAP[m];c=IHEAP[m]!=0?37:38;break c}c:for(;;)if(c==37)IHEAP[IHEAP[m]+12]=n,c=38;else if(c==38){IHEAP[m]=n;IHEAP[m+1]+=1;ta=__ZN12gjkepa2_impl3EPA8findbestEv(a);c=FHEAP[ta+5]>=FHEAP[wa]?39:40;break c}for(;;)if(c==39)_llvm_memcpy_p0i8_p0i8_i32(ua,ta,18,4,0),c=40;else if(c==40){var Wa=xa+1;xa=Wa;f=40;c=17;continue b}}for(;;)if(c==19){q=fa+4;o=fa;FHEAP[b]=FHEAP[o]* +FHEAP[q];FHEAP[s]=FHEAP[o+1]*FHEAP[q];FHEAP[u]=FHEAP[o+2]*FHEAP[q];o=da;q=b;p=s;r=u;FHEAP[o]=FHEAP[q];FHEAP[o+1]=FHEAP[p];FHEAP[o+2]=FHEAP[r];FHEAP[o+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+10,fa,4,4,0);FHEAP[a+14]=FHEAP[fa+4];IHEAP[a+1+8]=3;IHEAP[a+1]=IHEAP[fa+6];IHEAP[a+1+1]=IHEAP[fa+6+1];IHEAP[a+1+2]=IHEAP[fa+6+2];o=IHEAP[fa+6+1]+4;q=da;FHEAP[x]=FHEAP[o]-FHEAP[q];FHEAP[y]=FHEAP[o+1]-FHEAP[q+1];FHEAP[v]=FHEAP[o+2]-FHEAP[q+2];o=F;q=v;v=x;x=q;FHEAP[o]=FHEAP[v];FHEAP[o+1]=FHEAP[y];FHEAP[o+2]=FHEAP[x];FHEAP[o+ +3]=0;o=IHEAP[fa+6+2]+4;v=da;FHEAP[C]=FHEAP[o]-FHEAP[v];FHEAP[B]=FHEAP[o+1]-FHEAP[v+1];FHEAP[z]=FHEAP[o+2]-FHEAP[v+2];o=E;v=B;B=C;C=v;v=z;z=o;o=v;FHEAP[z]=FHEAP[B];FHEAP[z+1]=FHEAP[C];FHEAP[z+2]=FHEAP[o];FHEAP[z+3]=0;z=E;E=F;F=z;FHEAP[D]=FHEAP[E+1]*FHEAP[F+2]-FHEAP[E+2]*FHEAP[F+1];FHEAP[w]=FHEAP[E+2]*FHEAP[F]-FHEAP[E]*FHEAP[F+2];FHEAP[A]=FHEAP[E]*FHEAP[F+1]-FHEAP[E+1]*FHEAP[F];E=K;F=w;w=D;D=F;F=A;A=E;E=F;FHEAP[A]=FHEAP[w];FHEAP[A+1]=FHEAP[D];FHEAP[A+2]=FHEAP[E];FHEAP[A+3]=0;K=A=K;K=FHEAP[K]*FHEAP[A]+ +FHEAP[K+1]*FHEAP[A+1]+FHEAP[K+2]*FHEAP[A+2];K=_sqrtf(K);FHEAP[a+1+4]=K;K=IHEAP[fa+6+2]+4;A=da;FHEAP[O]=FHEAP[K]-FHEAP[A];FHEAP[R]=FHEAP[K+1]-FHEAP[A+1];FHEAP[N]=FHEAP[K+2]-FHEAP[A+2];K=W;A=R;R=O;O=A;A=N;N=K;K=A;FHEAP[N]=FHEAP[R];FHEAP[N+1]=FHEAP[O];FHEAP[N+2]=FHEAP[K];FHEAP[N+3]=0;N=IHEAP[fa+6]+4;R=da;FHEAP[L]=FHEAP[N]-FHEAP[R];FHEAP[I]=FHEAP[N+1]-FHEAP[R+1];FHEAP[Q]=FHEAP[N+2]-FHEAP[R+2];N=U;R=I;I=L;L=R;R=Q;Q=N;N=R;FHEAP[Q]=FHEAP[I];FHEAP[Q+1]=FHEAP[L];FHEAP[Q+2]=FHEAP[N];FHEAP[Q+3]=0;Q=U;U=W;W= +Q;FHEAP[T]=FHEAP[U+1]*FHEAP[W+2]-FHEAP[U+2]*FHEAP[W+1];FHEAP[S]=FHEAP[U+2]*FHEAP[W]-FHEAP[U]*FHEAP[W+2];FHEAP[P]=FHEAP[U]*FHEAP[W+1]-FHEAP[U+1]*FHEAP[W];U=ea;W=S;S=T;T=W;W=P;P=U;U=W;FHEAP[P]=FHEAP[S];FHEAP[P+1]=FHEAP[T];FHEAP[P+2]=FHEAP[U];FHEAP[P+3]=0;ea=P=ea;ea=FHEAP[ea]*FHEAP[P]+FHEAP[ea+1]*FHEAP[P+1]+FHEAP[ea+2]*FHEAP[P+2];ea=_sqrtf(ea);FHEAP[a+1+4+1]=ea;ea=IHEAP[fa+6]+4;P=da;FHEAP[V]=FHEAP[ea]-FHEAP[P];FHEAP[ba]=FHEAP[ea+1]-FHEAP[P+1];FHEAP[ha]=FHEAP[ea+2]-FHEAP[P+2];ea=pa;P=ba;ba=V;V=P;P=ha; +ha=ea;ea=P;FHEAP[ha]=FHEAP[ba];FHEAP[ha+1]=FHEAP[V];FHEAP[ha+2]=FHEAP[ea];FHEAP[ha+3]=0;fa=IHEAP[fa+6+1]+4;FHEAP[ka]=FHEAP[fa]-FHEAP[da];FHEAP[X]=FHEAP[fa+1]-FHEAP[da+1];FHEAP[aa]=FHEAP[fa+2]-FHEAP[da+2];da=qa;fa=X;X=ka;ka=fa;fa=aa;aa=da;da=fa;FHEAP[aa]=FHEAP[X];FHEAP[aa+1]=FHEAP[ka];FHEAP[aa+2]=FHEAP[da];FHEAP[aa+3]=0;aa=qa;qa=pa;pa=aa;FHEAP[la]=FHEAP[qa+1]*FHEAP[pa+2]-FHEAP[qa+2]*FHEAP[pa+1];FHEAP[ja]=FHEAP[qa+2]*FHEAP[pa]-FHEAP[qa]*FHEAP[pa+2];FHEAP[ga]=FHEAP[qa]*FHEAP[pa+1]-FHEAP[qa+1]*FHEAP[pa]; +qa=na;pa=ja;ja=la;la=pa;pa=ga;ga=qa;qa=pa;FHEAP[ga]=FHEAP[ja];FHEAP[ga+1]=FHEAP[la];FHEAP[ga+2]=FHEAP[qa];FHEAP[ga+3]=0;na=ga=na;na=FHEAP[na]*FHEAP[ga]+FHEAP[na+1]*FHEAP[ga+1]+FHEAP[na+2]*FHEAP[ga+2];na=_sqrtf(na);FHEAP[a+1+4+2]=na;na=FHEAP[a+1+4]+FHEAP[a+1+4+1]+FHEAP[a+1+4+2];FHEAP[a+1+4]/=na;FHEAP[a+1+4+1]/=na;FHEAP[a+1+4+2]/=na;o=IHEAP[a];c=41;break a}else c==21?(IHEAP[a]=6,c=19):c==23?(IHEAP[a]=7,c=19):c==29&&(IHEAP[a]=4,c=19)}else if(c==42){na=a+10;ga=Aa;FHEAP[Da]=1/FHEAP[ga];ga=Da;FHEAP[ra]= +FHEAP[na]*FHEAP[ga];FHEAP[oa]=FHEAP[na+1]*FHEAP[ga];FHEAP[r]=FHEAP[na+2]*FHEAP[ga];na=q;ga=ra;ja=oa;la=r;FHEAP[na]=FHEAP[ga];FHEAP[na+1]=FHEAP[ja];FHEAP[na+2]=FHEAP[la];FHEAP[na+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ma,q,4,4,0);c=44;break a}else if(c==43){FHEAP[za]=1;FHEAP[Ja]=0;FHEAP[Ra]=0;na=p;ga=za;ja=Ja;la=Ra;FHEAP[na]=FHEAP[ga];FHEAP[na+1]=FHEAP[ja];FHEAP[na+2]=FHEAP[la];FHEAP[na+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ma,p,4,4,0);c=44;break a}while(0);for(;;)if(c==41)return a=o,STACKTOP=b,a;else c==44&&(FHEAP[a+ +14]=0,IHEAP[a+1+8]=1,IHEAP[a+1]=IHEAP[Fa],FHEAP[a+1+4]=1,o=IHEAP[a],c=41);return null} +function __ZN13btSphereShapeC1Ef(a,e){var d=STACKTOP;STACKTOP+=3;var b=d+1,c=d+2;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var f=a+12;FHEAP[d]=1;FHEAP[b]=1;FHEAP[c]=1;FHEAP[f]=FHEAP[d];FHEAP[f+1]=FHEAP[b];FHEAP[f+2]=FHEAP[c];FHEAP[f+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV13btSphereShape+2;IHEAP[a+1]=8;FHEAP[a+16]=e;FHEAP[a+20]=e;STACKTOP=d} +function __ZN13btSphereShapeD1Ev(a){IHEAP[a]=__ZTV13btSphereShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN12gjkepa2_impl3GJK13EncloseOriginEv(a){var e=STACKTOP;STACKTOP+=91;var d,b=null,c,f,g,h,i,j=e+1,k=e+2,l,m,n=e+3,o=e+4,q=e+5,p=e+6,r=e+7,s=e+8,u=e+9,v=e+10,y=e+11,x=e+12,z=e+13,B=e+14,C=e+15,A=e+16,w=e+17,D=e+18,E=e+19,F=e+20,G=e+21,J=e+22,H=e+23,M,K=e+24,N=e+25,R=e+26,O=e+27,Q=e+28,I=e+29,L,P=e+30,S=e+31,T=e+32,U,W=e+33,Z=e+37,ca=e+38,Y=e+39,ea=e+40,ha=e+44,ba=e+48,V=e+52,aa=e+53,X=e+54,ka=e+55,da=e+59,fa=e+63,ga=e+67,ja=e+71,la=e+75,qa=e+79,pa=e+83,wa=e+87,b=IHEAP[IHEAP[a+93]+8];d=b== +1?0:b==2?9:b==3?24:b==4?25:3;a:for(;;)if(d==3){U=0;d=6;break a}else if(d==0){g=0;h=a+93;i=a+93;M=a+93;for(var ua=a+93,b=0;;){if(!((b==8?L:0)<3)){d=3;continue a}FHEAP[Z]=0;FHEAP[ca]=0;FHEAP[Y]=0;L=W;b=Z;d=ca;c=Y;FHEAP[L]=FHEAP[b];FHEAP[L+1]=FHEAP[d];FHEAP[L+2]=FHEAP[c];FHEAP[L+3]=0;b=g;L=W;FHEAP[L+b]=1;L=IHEAP[h];b=a;d=W;FHEAP[L+4+IHEAP[L+8]]=0;c=b+91;f=IHEAP[c]+-1;IHEAP[c]=f;IHEAP[L+IHEAP[L+8]]=IHEAP[b+87+f];c=L+8;f=IHEAP[c];IHEAP[c]=f+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(b, +d,IHEAP[L+f]);if(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(a)){d=4;break a}b=IHEAP[i];L=a;d=b+8;c=IHEAP[d]+-1;IHEAP[d]=c;b=IHEAP[b+c];d=L+91;c=IHEAP[d];IHEAP[d]=c+1;IHEAP[L+87+c]=b;L=IHEAP[M];b=W;FHEAP[P]=0-FHEAP[b];FHEAP[S]=0-FHEAP[b+1];FHEAP[T]=0-FHEAP[b+2];b=ea;d=P;c=S;f=T;FHEAP[b]=FHEAP[d];FHEAP[b+1]=FHEAP[c];FHEAP[b+2]=FHEAP[f];FHEAP[b+3]=0;b=a;d=ea;FHEAP[L+4+IHEAP[L+8]]=0;c=b+91;f=IHEAP[c]+-1;IHEAP[c]=f;IHEAP[L+IHEAP[L+8]]=IHEAP[b+87+f];c=L+8;f=IHEAP[c];IHEAP[c]=f+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(b, +d,IHEAP[L+f]);if(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(a)){d=7;break a}b=IHEAP[ua];L=a;d=b+8;c=IHEAP[d]+-1;IHEAP[d]=c;b=IHEAP[b+c];d=L+91;c=IHEAP[d];IHEAP[d]=c+1;IHEAP[L+87+c]=b;g=L=g+1;b=8;d=1}}else if(d==9){g=IHEAP[IHEAP[a+93]]+4;b=IHEAP[IHEAP[a+93]+1]+4;FHEAP[O]=FHEAP[b]-FHEAP[g];FHEAP[Q]=FHEAP[b+1]-FHEAP[g+1];FHEAP[I]=FHEAP[b+2]-FHEAP[g+2];b=ha;g=O;h=Q;i=I;FHEAP[b]=FHEAP[g];FHEAP[b+1]=FHEAP[h];FHEAP[b+2]=FHEAP[i];g=FHEAP[b+3]=0;h=a+93;i=a+93;M=a+93;ua=a+93;b=9;b:for(;;){if(!((b==13?na:0)<3)){d= +3;continue a}FHEAP[V]=0;FHEAP[aa]=0;FHEAP[X]=0;d=ba;c=V;f=aa;l=X;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[l];FHEAP[d+3]=0;c=g;d=ba;FHEAP[d+c]=1;d=ha;c=ba;FHEAP[D]=FHEAP[d+1]*FHEAP[c+2]-FHEAP[d+2]*FHEAP[c+1];FHEAP[E]=FHEAP[d+2]*FHEAP[c]-FHEAP[d]*FHEAP[c+2];FHEAP[F]=FHEAP[d]*FHEAP[c+1]-FHEAP[d+1]*FHEAP[c];d=ka;c=D;f=E;l=F;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[l];FHEAP[d+3]=0;d=c=d=ka;for(d=FHEAP[d]*FHEAP[c]+FHEAP[d+1]*FHEAP[c+1]+FHEAP[d+2]*FHEAP[c+2]>0?12:13;;)if(d==12){d= +IHEAP[h];c=a;f=ka;FHEAP[d+4+IHEAP[d+8]]=0;l=c+91;m=IHEAP[l]+-1;IHEAP[l]=m;IHEAP[d+IHEAP[d+8]]=IHEAP[c+87+m];l=d+8;m=IHEAP[l];IHEAP[l]=m+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(c,f,IHEAP[d+m]);if(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(a)){d=14;break a}c=IHEAP[i];d=a;f=c+8;l=IHEAP[f]+-1;IHEAP[f]=l;c=IHEAP[c+l];f=d+91;l=IHEAP[f];IHEAP[f]=l+1;IHEAP[d+87+l]=c;d=IHEAP[M];c=ka;FHEAP[n]=0-FHEAP[c];FHEAP[o]=0-FHEAP[c+1];FHEAP[q]=0-FHEAP[c+2];c=da;f=n;l=o;m=q;FHEAP[c]=FHEAP[f];FHEAP[c+ +1]=FHEAP[l];FHEAP[c+2]=FHEAP[m];FHEAP[c+3]=0;c=a;f=da;FHEAP[d+4+IHEAP[d+8]]=0;l=c+91;m=IHEAP[l]+-1;IHEAP[l]=m;IHEAP[d+IHEAP[d+8]]=IHEAP[c+87+m];l=d+8;m=IHEAP[l];IHEAP[l]=m+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(c,f,IHEAP[d+m]);if(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(a)){d=16;break a}c=IHEAP[ua];d=a;f=c+8;l=IHEAP[f]+-1;IHEAP[f]=l;c=IHEAP[c+l];f=d+91;l=IHEAP[f];IHEAP[f]=l+1;IHEAP[d+87+l]=c;d=13}else if(d==13){var na=g+1;g=na;b=13;d=10;continue b}}}else if(d==24){g=IHEAP[IHEAP[a+ +93]]+4;b=IHEAP[IHEAP[a+93]+1]+4;FHEAP[u]=FHEAP[b]-FHEAP[g];FHEAP[v]=FHEAP[b+1]-FHEAP[g+1];FHEAP[y]=FHEAP[b+2]-FHEAP[g+2];b=ga;g=u;h=v;i=y;FHEAP[b]=FHEAP[g];FHEAP[b+1]=FHEAP[h];FHEAP[b+2]=FHEAP[i];FHEAP[b+3]=0;g=IHEAP[IHEAP[a+93]]+4;b=IHEAP[IHEAP[a+93]+2]+4;FHEAP[x]=FHEAP[b]-FHEAP[g];FHEAP[z]=FHEAP[b+1]-FHEAP[g+1];FHEAP[B]=FHEAP[b+2]-FHEAP[g+2];b=ja;g=x;h=z;i=B;FHEAP[b]=FHEAP[g];FHEAP[b+1]=FHEAP[h];FHEAP[b+2]=FHEAP[i];FHEAP[b+3]=0;b=ga;g=ja;FHEAP[C]=FHEAP[b+1]*FHEAP[g+2]-FHEAP[b+2]*FHEAP[g+1];FHEAP[A]= +FHEAP[b+2]*FHEAP[g]-FHEAP[b]*FHEAP[g+2];FHEAP[w]=FHEAP[b]*FHEAP[g+1]-FHEAP[b+1]*FHEAP[g];b=fa;g=C;h=A;i=w;FHEAP[b]=FHEAP[g];FHEAP[b+1]=FHEAP[h];FHEAP[b+2]=FHEAP[i];FHEAP[b+3]=0;b=g=b=fa;if(!(FHEAP[b]*FHEAP[g]+FHEAP[b+1]*FHEAP[g+1]+FHEAP[b+2]*FHEAP[g+2]>0)){d=3;continue a}b=IHEAP[a+93];g=a;h=fa;FHEAP[b+4+IHEAP[b+8]]=0;i=g+91;M=IHEAP[i]+-1;IHEAP[i]=M;IHEAP[b+IHEAP[b+8]]=IHEAP[g+87+M];i=b+8;M=IHEAP[i];IHEAP[i]=M+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(g,h,IHEAP[b+M]);if(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(a)){d= +19;break a}g=IHEAP[a+93];b=a;h=g+8;i=IHEAP[h]+-1;IHEAP[h]=i;g=IHEAP[g+i];h=b+91;i=IHEAP[h];IHEAP[h]=i+1;IHEAP[b+87+i]=g;b=IHEAP[a+93];g=fa;FHEAP[K]=0-FHEAP[g];FHEAP[N]=0-FHEAP[g+1];FHEAP[R]=0-FHEAP[g+2];g=la;h=K;i=N;M=R;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[M];FHEAP[g+3]=0;g=a;h=la;FHEAP[b+4+IHEAP[b+8]]=0;i=g+91;M=IHEAP[i]+-1;IHEAP[i]=M;IHEAP[b+IHEAP[b+8]]=IHEAP[g+87+M];i=b+8;M=IHEAP[i];IHEAP[i]=M+1;__ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(g,h,IHEAP[b+M]);if(__ZN12gjkepa2_impl3GJK13EncloseOriginEv(a)){d= +21;break a}g=IHEAP[a+93];b=a;h=g+8;i=IHEAP[h]+-1;IHEAP[h]=i;g=IHEAP[g+i];h=b+91;i=IHEAP[h];IHEAP[h]=i+1;IHEAP[b+87+i]=g;d=3}else if(d==25)if(g=IHEAP[IHEAP[a+93]+3]+4,b=IHEAP[IHEAP[a+93]]+4,FHEAP[G]=FHEAP[b]-FHEAP[g],FHEAP[J]=FHEAP[b+1]-FHEAP[g+1],FHEAP[H]=FHEAP[b+2]-FHEAP[g+2],b=qa,g=G,h=J,i=H,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[h],FHEAP[b+2]=FHEAP[i],FHEAP[b+3]=0,g=IHEAP[IHEAP[a+93]+3]+4,b=IHEAP[IHEAP[a+93]+1]+4,FHEAP[p]=FHEAP[b]-FHEAP[g],FHEAP[r]=FHEAP[b+1]-FHEAP[g+1],FHEAP[s]=FHEAP[b+2]-FHEAP[g+ +2],b=pa,g=p,h=r,i=s,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[h],FHEAP[b+2]=FHEAP[i],FHEAP[b+3]=0,g=IHEAP[IHEAP[a+93]+3]+4,b=IHEAP[IHEAP[a+93]+2]+4,FHEAP[e]=FHEAP[b]-FHEAP[g],FHEAP[j]=FHEAP[b+1]-FHEAP[g+1],FHEAP[k]=FHEAP[b+2]-FHEAP[g+2],b=wa,g=e,h=j,i=k,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[h],FHEAP[b+2]=FHEAP[i],FHEAP[b+3]=0,b=__ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(qa,pa,wa),_fabsf(b)>0){d=23;break a}else d=3;for(;;)if(d==4)U=1,d=6;else if(d==7)U=1,d=6;else if(d==14)U=1,d=6;else if(d==16)U=1,d=6;else if(d== +19)U=1,d=6;else if(d==21)U=1,d=6;else if(d==23)U=1,d=6;else if(d==6)return a=U,STACKTOP=e,a;return null}function __ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(a,e,d){return FHEAP[a+1]*FHEAP[e+2]*FHEAP[d]+FHEAP[a+2]*FHEAP[e]*FHEAP[d+1]-FHEAP[a]*FHEAP[e+2]*FHEAP[d+1]-FHEAP[a+1]*FHEAP[e]*FHEAP[d+2]+FHEAP[a]*FHEAP[e+1]*FHEAP[d+2]-FHEAP[a+2]*FHEAP[e+1]*FHEAP[d]} +function __ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(a,e,d,b,c){var f=STACKTOP;STACKTOP+=68;var g,h=null,i,j,k=f+1,l=f+2,m=f+3,n=f+4,o=f+5,q=f+6,p=f+7,r=f+8,s,u,v,y,x,z=f+9,B=f+10,C=f+11,A=f+12,w=f+13,D=f+14,E=f+15,F=f+16,G=f+17,J=f+18,H=f+19,M=f+20,K,N=f+21,R=f+22,O=f+23,Q=f+24,I=f+25,L=f+26,P=f+27,S,T,U,W,Z=f+28,ca=f+32,Y=f+36,ea=f+40,ha=f+41,ba=f+45,V=f+49,aa=f+50,X=f+54,ka=f+58,da=f+59,fa=f+63,ga=f+67,ja=IHEAP[a+2834]!=0,la=IHEAP[a+2834];a:do if(ja){g=W=la;i=a+2834;j=g;g=IHEAP[j+12+1]!= +0?0:1;b:for(;;)if(g==0)IHEAP[IHEAP[j+12+1]+12]=IHEAP[j+12],g=1;else if(g==1){g=IHEAP[j+12]!=0?2:3;break b}b:for(;;)if(g==2)IHEAP[IHEAP[j+12]+12+1]=IHEAP[j+12+1],g=3;else if(g==3){g=j==IHEAP[i]?4:5;break b}b:for(;;)if(g==4)IHEAP[i]=IHEAP[j+12+1],g=5;else if(g==5){IHEAP[i+1]+=-1;u=W;s=a+2832;IHEAP[u+12]=0;IHEAP[u+12+1]=IHEAP[s];g=IHEAP[s]!=0?6:7;break b}b:for(;;)if(g==6)IHEAP[IHEAP[s]+12]=u,g=7;else if(g==7){IHEAP[s]=u;IHEAP[s+1]+=1;IHEAP[W+17]=0;IHEAP[W+6]=e;IHEAP[W+6+1]=d;IHEAP[W+6+2]=b;v=W;g=e+4; +h=d+4;FHEAP[f]=FHEAP[h]-FHEAP[g];FHEAP[k]=FHEAP[h+1]-FHEAP[g+1];FHEAP[l]=FHEAP[h+2]-FHEAP[g+2];h=Z;g=f;i=k;j=l;FHEAP[h]=FHEAP[g];FHEAP[h+1]=FHEAP[i];FHEAP[h+2]=FHEAP[j];FHEAP[h+3]=0;g=e+4;h=b+4;FHEAP[m]=FHEAP[h]-FHEAP[g];FHEAP[n]=FHEAP[h+1]-FHEAP[g+1];FHEAP[o]=FHEAP[h+2]-FHEAP[g+2];h=ca;g=m;i=n;j=o;FHEAP[h]=FHEAP[g];FHEAP[h+1]=FHEAP[i];FHEAP[h+2]=FHEAP[j];FHEAP[h+3]=0;h=Z;g=ca;FHEAP[q]=FHEAP[h+1]*FHEAP[g+2]-FHEAP[h+2]*FHEAP[g+1];FHEAP[p]=FHEAP[h+2]*FHEAP[g]-FHEAP[h]*FHEAP[g+2];FHEAP[r]=FHEAP[h]*FHEAP[g+ +1]-FHEAP[h+1]*FHEAP[g];h=Y;g=q;i=p;j=r;FHEAP[h]=FHEAP[g];FHEAP[h+1]=FHEAP[i];FHEAP[h+2]=FHEAP[j];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(v,Y,4,4,0);v=h=v=W;v=FHEAP[v]*FHEAP[h]+FHEAP[v+1]*FHEAP[h+1]+FHEAP[v+2]*FHEAP[h+2];v=_sqrtf(v);FHEAP[ea]=v;v=FHEAP[ea]>9.999999747378752E-5;h=e+4;g=W;j=d+4;i=e+4;FHEAP[z]=FHEAP[i]-FHEAP[j];FHEAP[B]=FHEAP[i+1]-FHEAP[j+1];FHEAP[C]=FHEAP[i+2]-FHEAP[j+2];i=ba;j=z;y=B;x=C;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[y];FHEAP[i+2]=FHEAP[x];FHEAP[i+3]=0;i=ba;FHEAP[A]=FHEAP[g+1]* +FHEAP[i+2]-FHEAP[g+2]*FHEAP[i+1];FHEAP[w]=FHEAP[g+2]*FHEAP[i]-FHEAP[g]*FHEAP[i+2];FHEAP[D]=FHEAP[g]*FHEAP[i+1]-FHEAP[g+1]*FHEAP[i];g=ha;i=A;j=w;y=D;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[y];FHEAP[g+3]=0;g=ha;FHEAP[V]=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+2]*FHEAP[g+2];h=d+4;g=W;j=b+4;i=d+4;FHEAP[E]=FHEAP[i]-FHEAP[j];FHEAP[F]=FHEAP[i+1]-FHEAP[j+1];FHEAP[G]=FHEAP[i+2]-FHEAP[j+2];i=X;j=E;y=F;x=G;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[y];FHEAP[i+2]=FHEAP[x];FHEAP[i+3]=0;i=X;FHEAP[J]= +FHEAP[g+1]*FHEAP[i+2]-FHEAP[g+2]*FHEAP[i+1];FHEAP[H]=FHEAP[g+2]*FHEAP[i]-FHEAP[g]*FHEAP[i+2];FHEAP[M]=FHEAP[g]*FHEAP[i+1]-FHEAP[g+1]*FHEAP[i];g=aa;i=J;j=H;y=M;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[y];FHEAP[g+3]=0;g=aa;FHEAP[ka]=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+2]*FHEAP[g+2];h=V;g=ka;i=h;j=g;h=FHEAP[h]<FHEAP[g]?i:j;g=b+4;i=W;y=e+4;j=b+4;FHEAP[N]=FHEAP[j]-FHEAP[y];FHEAP[R]=FHEAP[j+1]-FHEAP[y+1];FHEAP[O]=FHEAP[j+2]-FHEAP[y+2];j=fa;y=N;x=R;K=O;FHEAP[j]=FHEAP[y];FHEAP[j+ +1]=FHEAP[x];FHEAP[j+2]=FHEAP[K];FHEAP[j+3]=0;j=fa;FHEAP[Q]=FHEAP[i+1]*FHEAP[j+2]-FHEAP[i+2]*FHEAP[j+1];FHEAP[I]=FHEAP[i+2]*FHEAP[j]-FHEAP[i]*FHEAP[j+2];FHEAP[L]=FHEAP[i]*FHEAP[j+1]-FHEAP[i+1]*FHEAP[j];i=da;j=Q;y=I;x=L;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[y];FHEAP[i+2]=FHEAP[x];FHEAP[i+3]=0;i=da;FHEAP[ga]=FHEAP[g]*FHEAP[i]+FHEAP[g+1]*FHEAP[i+1]+FHEAP[g+2]*FHEAP[i+2];g=ga;i=h;j=g;y=FHEAP[ea];FHEAP[W+5]=FHEAP[FHEAP[h]<FHEAP[g]?i:j]/(v&1?y:1);FHEAP[W+5]>=-0.009999999776482582?(h=7,g=8):(h=7,g=9);break b}b:for(;;)if(g== +8){FHEAP[W+5]=h==9?qa:0;g=v&1?10:11;break b}else if(g==9){var qa=FHEAP[W+5],h=9;g=8}if(g==10){i=W;g=e+4;FHEAP[W+4]=(FHEAP[g]*FHEAP[i]+FHEAP[g+1]*FHEAP[i+1]+FHEAP[g+2]*FHEAP[i+2])/FHEAP[ea];i=W;g=ea;FHEAP[P]=1/FHEAP[g];g=P;FHEAP[i]*=FHEAP[g];FHEAP[i+1]*=FHEAP[g];FHEAP[i+2]*=FHEAP[g];for(g=c&1?12:13;;)if(g==12){U=W;break a}else if(g==13)if(FHEAP[W+4]>=-9.999999747378752E-6)g=12;else break;IHEAP[a]=3}else g==11&&(IHEAP[a]=2);g=W;i=a+2832;j=g;g=IHEAP[j+12+1]!=0?17:18;b:for(;;)if(g==17)IHEAP[IHEAP[j+12+ +1]+12]=IHEAP[j+12],g=18;else if(g==18){g=IHEAP[j+12]!=0?19:20;break b}b:for(;;)if(g==19)IHEAP[IHEAP[j+12]+12+1]=IHEAP[j+12+1],g=20;else if(g==20){g=j==IHEAP[i]?21:22;break b}b:for(;;)if(g==21)IHEAP[i]=IHEAP[j+12+1],g=22;else if(g==22){IHEAP[i+1]+=-1;T=W;S=a+2834;IHEAP[T+12]=0;IHEAP[T+12+1]=IHEAP[S];g=IHEAP[S]!=0?23:24;break b}for(;;)if(g==23)IHEAP[IHEAP[S]+12]=T,g=24;else if(g==24){IHEAP[S]=T;IHEAP[S+1]+=1;U=0;break a}}else IHEAP[a]=la!=0?6:5,U=0;while(0);STACKTOP=f;return U} +function __ZN12gjkepa2_impl3EPA8findbestEv(a){var e,d,b,c,f,a=IHEAP[a+2832];d=FHEAP[a+4]*FHEAP[a+4];b=FHEAP[a+5];c=e=IHEAP[a+12+1];e=e!=0?0:1;a:for(;;)if(e==0){f=FHEAP[c+4]*FHEAP[c+4];for(e=FHEAP[c+5]>=b?2:3;;)if(e==2)f<d&&(a=c,d=f,b=FHEAP[c+5]),e=3;else if(e==3){c=e=IHEAP[c+12+1];e=e!=0?0:1;continue a}}else if(e==1)return a;return null} +function __ZNK12gjkepa2_impl3GJK10getsupportERK9btVector3RNS0_3sSVE(a,e,d){var b=STACKTOP;STACKTOP+=13;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+9,k=_sqrtf(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]);FHEAP[h]=k;FHEAP[g]=1/FHEAP[h];FHEAP[b]=FHEAP[e]*FHEAP[g];FHEAP[c]=FHEAP[e+1]*FHEAP[g];FHEAP[f]=FHEAP[e+2]*FHEAP[g];FHEAP[i]=FHEAP[b];FHEAP[i+1]=FHEAP[c];FHEAP[i+2]=FHEAP[f];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,i,4,4,0);e=d+4;__ZNK12gjkepa2_impl13MinkowskiDiff7SupportERK9btVector3(j, +a,d);_llvm_memcpy_p0i8_p0i8_i32(e,j,4,4,0);STACKTOP=b} +function __ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(a,e,d,b,c,f){var g,h,i,j,k,l,m;g=IHEAP[b+17]!=e?0:1;a:for(;;)if(g==0)if(g=IHEAP[__ZZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonEE4i1m3+c],l=d+4,k=b,FHEAP[k]*FHEAP[l]+FHEAP[k+1]*FHEAP[l+1]+FHEAP[k+2]*FHEAP[l+2]-FHEAP[b+4]<-9.999999747378752E-6)if(m=__ZN12gjkepa2_impl3EPA7newfaceEPNS_3GJK3sSVES3_S3_b(a,IHEAP[b+6+g],IHEAP[b+6+c],d,0),m!=0){g=2;break a}else g=1;else{k=IHEAP[__ZZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonEE4i2m3+ +c];IHEAP[b+17]=e&255;if(!__ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(a,e,d,IHEAP[b+9+g],IHEAP[b+14+g],f)){g=1;continue a}if(__ZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonE(a,e,d,IHEAP[b+9+k],IHEAP[b+14+k],f)){g=6;break a}else g=1}else if(g==1){j=0;g=4;break a}a:for(;;)if(g==2)e=b,d=c,j=m,IHEAP[j+14+0]=d&255,IHEAP[j+9+0]=e,IHEAP[e+14+d]=0,IHEAP[e+9+d]=j,IHEAP[f]!=0?(e=m,j=IHEAP[f],IHEAP[j+14+1]=2,IHEAP[j+9+1]=e,IHEAP[e+14+2]=1,IHEAP[e+9+2]=j):IHEAP[f+ +1]=m,IHEAP[f]=m,IHEAP[f+2]+=1,j=1,g=4;else if(g==6){d=b;e=a+2832;g=IHEAP[d+12+1]!=0?7:8;b:for(;;)if(g==7)IHEAP[IHEAP[d+12+1]+12]=IHEAP[d+12],g=8;else if(g==8){g=IHEAP[d+12]!=0?9:10;break b}b:for(;;)if(g==9)IHEAP[IHEAP[d+12]+12+1]=IHEAP[d+12+1],g=10;else if(g==10){g=d==IHEAP[e]?11:12;break b}b:for(;;)if(g==11)IHEAP[e]=IHEAP[d+12+1],g=12;else if(g==12){IHEAP[e+1]+=-1;i=b;h=a+2834;IHEAP[i+12]=0;IHEAP[i+12+1]=IHEAP[h];g=IHEAP[h]!=0?13:14;break b}for(;;)if(g==13)IHEAP[IHEAP[h]+12]=i,g=14;else if(g==14){IHEAP[h]= +i;IHEAP[h+1]+=1;j=1;g=4;continue a}}else if(g==4)return j;return null} +function __ZNK12gjkepa2_impl13MinkowskiDiff7SupportERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=26;var c=null,f=b+4,g=b+8,h=b+9,i=b+10,j=b+11,k=b+12,l=b+13,m=b+14,n=b+18,o=b+22,c=e+30,c={f0:IHEAP[c],f1:IHEAP[c+1]},q=IHEAP[e]+c.f1,c=c.f0;if((c&1)!=0)var p=IHEAP[IHEAP[q]+(c-1)],c=0;else var r=c,c=2;FUNCTION_TABLE[c==0?p:r](m,q,d);FHEAP[j]=0-FHEAP[d];FHEAP[k]=0-FHEAP[d+1];FHEAP[l]=0-FHEAP[d+2];FHEAP[o]=FHEAP[j];FHEAP[o+1]=FHEAP[k];FHEAP[o+2]=FHEAP[l];FHEAP[o+3]=0;d=e+14;j=e+30;k={f0:IHEAP[j],f1:IHEAP[j+ +1]};j=IHEAP[e+1]+k.f1;k=k.f0;if((k&1)!=0)var s=IHEAP[IHEAP[j]+(k-1)],c=3;else var u=k,c=5;s=c==3?s:u;__ZmlRK11btMatrix3x3RK9btVector3(f,e+2,o);FUNCTION_TABLE[s](b,j,f);__ZNK11btTransformclERK9btVector3(n,d,b);FHEAP[g]=FHEAP[m]-FHEAP[n];FHEAP[h]=FHEAP[m+1]-FHEAP[n+1];FHEAP[i]=FHEAP[m+2]-FHEAP[n+2];FHEAP[a]=FHEAP[g];FHEAP[a+1]=FHEAP[h];FHEAP[a+2]=FHEAP[i];FHEAP[a+3]=0;STACKTOP=b} +function __ZN12gjkepa2_impl3EPAC2Ev(a){var e;e=0;a:for(;;){var d=e+1;e=d;if(!(d<64))break a}for(e=0;;)if(e=d=e+1,!(d<128))break;e=a+2832;IHEAP[e]=0;IHEAP[e+1]=0;e=a+2834;IHEAP[e]=0;IHEAP[e+1]=0;__ZN12gjkepa2_impl3EPA10InitializeEv(a)} +function __ZN12gjkepa2_impl3EPA10InitializeEv(a){var e=STACKTOP;STACKTOP+=7;var d,b,c,f=e+4,g=e+5;b=e+6;IHEAP[a]=9;FHEAP[f]=0;FHEAP[g]=0;FHEAP[b]=0;FHEAP[e]=FHEAP[f];FHEAP[e+1]=FHEAP[g];FHEAP[e+2]=FHEAP[b];FHEAP[e+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+10,e,4,4,0);FHEAP[a+14]=0;f=IHEAP[a+2831]=0;g=a+2834;a+=527;a:for(;;){d=a+(0-f+127)*18;b=g;c=d;IHEAP[c+12]=0;IHEAP[c+12+1]=IHEAP[b];for(d=IHEAP[b]!=0?1:2;;)if(d==1)IHEAP[IHEAP[b]+12]=c,d=2;else if(d==2)if(IHEAP[b]=c,IHEAP[b+1]+=1,f=b=f+1,b<128)continue a; +else break a}STACKTOP=e} +function __ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_PfRj(a,e,d,b){var c=STACKTOP;STACKTOP+=22;var f,g,h,i,j,k,l,m;k=c+1;j=c+2;var n,o,q;o=c+3;n=c+4;i=c+5;var p=c+6,r=c+7;f=c+8;m=c+9;l=c+13;q=c+14;h=c+18;FHEAP[p]=FHEAP[e]-FHEAP[a];FHEAP[r]=FHEAP[e+1]-FHEAP[a+1];FHEAP[f]=FHEAP[e+2]-FHEAP[a+2];FHEAP[m]=FHEAP[p];FHEAP[m+1]=FHEAP[r];FHEAP[m+2]=FHEAP[f];FHEAP[m+3]=0;p=FHEAP[m]*FHEAP[m]+FHEAP[m+1]*FHEAP[m+1]+FHEAP[m+2]*FHEAP[m+2];r=p>0;a:do if(r){f=p>0;b:do if(f){f=a;g=m;f=(0-(FHEAP[f]*FHEAP[g]+ +FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]))/p;FHEAP[l]=f;if(f>=1)FHEAP[d]=0,FHEAP[d+1]=1,IHEAP[b]=2,h=e;else{if(f<=0)break b;e=FHEAP[l];FHEAP[d+1]=e;FHEAP[d]=1-e;IHEAP[b]=3;FHEAP[c]=FHEAP[m]*FHEAP[l];FHEAP[k]=FHEAP[m+1]*FHEAP[l];FHEAP[j]=FHEAP[m+2]*FHEAP[l];l=q;m=c;d=k;k=m;m=d;d=j;j=l;l=m;m=d;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[m];FHEAP[j+3]=0;j=a;FHEAP[o]=FHEAP[j]+FHEAP[q];FHEAP[n]=FHEAP[j+1]+FHEAP[q+1];FHEAP[i]=FHEAP[j+2]+FHEAP[q+2];q=h;j=n;n=o;o=j;j=i;i=q;q=j;FHEAP[i]=FHEAP[n]; +FHEAP[i+1]=FHEAP[o];FHEAP[i+2]=FHEAP[q];FHEAP[i+3]=0}h=i=h;f=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2];break a}else FHEAP[l]=0;while(0);FHEAP[d]=1;FHEAP[d+1]=0;IHEAP[b]=1;f=g=f=a;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]}else f=-1;while(0);STACKTOP=c;return f} +function __ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRj(a,e,d,b,c){var f=STACKTOP;STACKTOP+=77;var g,h=null,i,j,k,l,m=f+1,n=f+2,o,q,p=f+3,r=f+4;o=f+5;var s,u,v,y=f+6,x=f+7,z=f+8,B=f+9,C=f+10,A=f+11,w=f+12,D=f+13,E=f+14;q=f+15;s=f+16;u=f+17;var F=f+18,G=f+19,J=f+20,H=f+21,M=f+22,K=f+23;v=f+24;g=f+25;i=f+26;j=f+27;k=f+28;l=f+29;var N,R=f+30,O=f+33,Q=f+45,I=f+49,L=f+51,P=f+52,S=f+56,T=f+60,U=f+61,W=f+65,Z=f+69,ca=f+73;IHEAP[R]=a;IHEAP[R+1]=e;IHEAP[R+2]=d;FHEAP[j]=FHEAP[a]-FHEAP[e];FHEAP[k]= +FHEAP[a+1]-FHEAP[e+1];FHEAP[l]=FHEAP[a+2]-FHEAP[e+2];FHEAP[O]=FHEAP[j];FHEAP[O+1]=FHEAP[k];FHEAP[O+2]=FHEAP[l];FHEAP[O+3]=0;j=O+4;FHEAP[v]=FHEAP[e]-FHEAP[d];FHEAP[g]=FHEAP[e+1]-FHEAP[d+1];FHEAP[i]=FHEAP[e+2]-FHEAP[d+2];FHEAP[j]=FHEAP[v];FHEAP[j+1]=FHEAP[g];FHEAP[j+2]=FHEAP[i];FHEAP[j+3]=0;v=O+8;FHEAP[q]=FHEAP[d]-FHEAP[a];FHEAP[s]=FHEAP[d+1]-FHEAP[a+1];FHEAP[u]=FHEAP[d+2]-FHEAP[a+2];FHEAP[v]=FHEAP[q];FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;q=O+4;FHEAP[p]=FHEAP[O+1]*FHEAP[q+2]-FHEAP[O+ +2]*FHEAP[q+1];FHEAP[r]=FHEAP[O+2]*FHEAP[q]-FHEAP[O]*FHEAP[q+2];FHEAP[o]=FHEAP[O]*FHEAP[q+1]-FHEAP[O+1]*FHEAP[q];FHEAP[Q]=FHEAP[p];FHEAP[Q+1]=FHEAP[r];FHEAP[Q+2]=FHEAP[o];FHEAP[Q+3]=0;p=FHEAP[Q]*FHEAP[Q]+FHEAP[Q+1]*FHEAP[Q+1]+FHEAP[Q+2]*FHEAP[Q+2];r=p>0;a:do if(r){o=-1;_llvm_memset_p0i8_i32(I,0,2,4,0);q=IHEAP[L]=0;u=s=I;v=I+1;b:for(;;){g=IHEAP[R+q];i=O+q*4;j=Q;FHEAP[f]=FHEAP[i+1]*FHEAP[j+2]-FHEAP[i+2]*FHEAP[j+1];FHEAP[m]=FHEAP[i+2]*FHEAP[j]-FHEAP[i]*FHEAP[j+2];FHEAP[n]=FHEAP[i]*FHEAP[j+1]-FHEAP[i+ +1]*FHEAP[j];i=P;j=f;k=m;l=n;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;i=P;g=FHEAP[g]*FHEAP[i]+FHEAP[g+1]*FHEAP[i+1]+FHEAP[g+2]*FHEAP[i+2]>0?1:2;c:for(;;)if(g==1){i=IHEAP[__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRjE4imd3+q];j=__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_PfRj(IHEAP[R+q],IHEAP[R+i],s,L);g=o<0?3:4;d:for(;;)if(g==3){o=j;(IHEAP[L]&1)!=0?(h=3,g=5):(h=3,g=6);break d}else if(g==4)if(j<o)g=3;else{g=2;continue c}d:for(;;)if(g==5){var Y= +1<<q,h=5;g=6}else if(g==6){var ea=h==5?Y:0;(IHEAP[L]&2)!=0?(h=6,g=7):(h=6,g=8);break d}for(;;)if(g==7){var ha=1<<i,h=7;g=8}else if(g==8){IHEAP[c]=(h==7?ha:0)+ea;FHEAP[b+q]=FHEAP[u];FHEAP[b+i]=FHEAP[v];FHEAP[b+IHEAP[__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRjE4imd3+i]]=0;g=2;continue c}}else if(g==2)if(q=g=q+1,g<3)continue b;else break b}for(g=o<0?10:11;;)if(g==10)o=a,q=Q,o=FHEAP[o]*FHEAP[q]+FHEAP[o+1]*FHEAP[q+1]+FHEAP[o+2]*FHEAP[q+2],q=p,q=_sqrtf(q),FHEAP[T]=o/p,o=Q,s=T,FHEAP[y]= +FHEAP[o]*FHEAP[s],FHEAP[x]=FHEAP[o+1]*FHEAP[s],FHEAP[z]=FHEAP[o+2]*FHEAP[s],o=S,s=y,u=x,v=z,FHEAP[o]=FHEAP[s],FHEAP[o+1]=FHEAP[u],FHEAP[o+2]=FHEAP[v],FHEAP[o+3]=0,o=s=o=S,o=FHEAP[o]*FHEAP[s]+FHEAP[o+1]*FHEAP[s+1]+FHEAP[o+2]*FHEAP[s+2],IHEAP[c]=7,s=O+4,u=e,v=S,FHEAP[B]=FHEAP[u]-FHEAP[v],FHEAP[C]=FHEAP[u+1]-FHEAP[v+1],FHEAP[A]=FHEAP[u+2]-FHEAP[v+2],u=U,v=B,g=C,i=A,FHEAP[u]=FHEAP[v],FHEAP[u+1]=FHEAP[g],FHEAP[u+2]=FHEAP[i],FHEAP[u+3]=0,u=U,FHEAP[w]=FHEAP[s+1]*FHEAP[u+2]-FHEAP[s+2]*FHEAP[u+1],FHEAP[D]= +FHEAP[s+2]*FHEAP[u]-FHEAP[s]*FHEAP[u+2],FHEAP[E]=FHEAP[s]*FHEAP[u+1]-FHEAP[s+1]*FHEAP[u],s=W,u=w,v=D,g=E,FHEAP[s]=FHEAP[u],FHEAP[s+1]=FHEAP[v],FHEAP[s+2]=FHEAP[g],FHEAP[s+3]=0,s=u=s=W,s=FHEAP[s]*FHEAP[u]+FHEAP[s+1]*FHEAP[u+1]+FHEAP[s+2]*FHEAP[u+2],s=_sqrtf(s),FHEAP[b]=s/q,s=O+8,u=d,v=S,FHEAP[F]=FHEAP[u]-FHEAP[v],FHEAP[G]=FHEAP[u+1]-FHEAP[v+1],FHEAP[J]=FHEAP[u+2]-FHEAP[v+2],u=Z,v=F,g=G,i=J,FHEAP[u]=FHEAP[v],FHEAP[u+1]=FHEAP[g],FHEAP[u+2]=FHEAP[i],FHEAP[u+3]=0,u=Z,FHEAP[H]=FHEAP[s+1]*FHEAP[u+2]-FHEAP[s+ +2]*FHEAP[u+1],FHEAP[M]=FHEAP[s+2]*FHEAP[u]-FHEAP[s]*FHEAP[u+2],FHEAP[K]=FHEAP[s]*FHEAP[u+1]-FHEAP[s+1]*FHEAP[u],s=ca,u=H,v=M,g=K,FHEAP[s]=FHEAP[u],FHEAP[s+1]=FHEAP[v],FHEAP[s+2]=FHEAP[g],FHEAP[s+3]=0,s=u=s=ca,s=FHEAP[s]*FHEAP[u]+FHEAP[s+1]*FHEAP[u+1]+FHEAP[s+2]*FHEAP[u+2],s=_sqrtf(s),FHEAP[b+1]=s/q,FHEAP[b+2]=1-(FHEAP[b]+FHEAP[b+1]),g=11;else if(g==11){N=o;break a}}else N=-1;while(0);STACKTOP=f;return N} +function __ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRj(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=57;var h,i=null,j=g+1,k=g+2,l,m,n,o,q=g+3,p=g+4,r=g+5,s,u=g+6,v=g+7,y=g+8,x=g+9,z=g+10;h=g+11;var B=g+12;n=g+13;o=g+14;var C=g+15,A=g+16,w=g+17,D=g+18,E=g+19,F=g+20,G,J=g+21,H=g+25;s=g+37;l=g+41;m=g+45;var M=g+49,K=g+52,N=g+53;IHEAP[J]=a;IHEAP[J+1]=e;IHEAP[J+2]=d;IHEAP[J+3]=b;FHEAP[D]=FHEAP[a]-FHEAP[b];FHEAP[E]=FHEAP[a+1]-FHEAP[b+1];FHEAP[F]=FHEAP[a+2]-FHEAP[b+2];FHEAP[H]=FHEAP[D];FHEAP[H+ +1]=FHEAP[E];FHEAP[H+2]=FHEAP[F];FHEAP[H+3]=0;D=H+4;FHEAP[C]=FHEAP[e]-FHEAP[b];FHEAP[A]=FHEAP[e+1]-FHEAP[b+1];FHEAP[w]=FHEAP[e+2]-FHEAP[b+2];FHEAP[D]=FHEAP[C];FHEAP[D+1]=FHEAP[A];FHEAP[D+2]=FHEAP[w];FHEAP[D+3]=0;C=H+8;FHEAP[B]=FHEAP[d]-FHEAP[b];FHEAP[n]=FHEAP[d+1]-FHEAP[b+1];FHEAP[o]=FHEAP[d+2]-FHEAP[b+2];FHEAP[C]=FHEAP[B];FHEAP[C+1]=FHEAP[n];FHEAP[C+2]=FHEAP[o];FHEAP[C+3]=0;B=__ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(H,H+4,H+8);FHEAP[x]=FHEAP[e]-FHEAP[d];FHEAP[z]=FHEAP[e+1]-FHEAP[d+1];FHEAP[h]= +FHEAP[e+2]-FHEAP[d+2];FHEAP[l]=FHEAP[x];FHEAP[l+1]=FHEAP[z];FHEAP[l+2]=FHEAP[h];FHEAP[l+3]=0;FHEAP[u]=FHEAP[a]-FHEAP[e];FHEAP[v]=FHEAP[a+1]-FHEAP[e+1];FHEAP[y]=FHEAP[a+2]-FHEAP[e+2];FHEAP[m]=FHEAP[u];FHEAP[m+1]=FHEAP[v];FHEAP[m+2]=FHEAP[y];FHEAP[m+3]=0;FHEAP[g]=FHEAP[l+1]*FHEAP[m+2]-FHEAP[l+2]*FHEAP[m+1];FHEAP[j]=FHEAP[l+2]*FHEAP[m]-FHEAP[l]*FHEAP[m+2];FHEAP[k]=FHEAP[l]*FHEAP[m+1]-FHEAP[l+1]*FHEAP[m];FHEAP[s]=FHEAP[g];FHEAP[s+1]=FHEAP[j];FHEAP[s+2]=FHEAP[k];FHEAP[s+3]=0;h=B*(FHEAP[a]*FHEAP[s]+FHEAP[a+ +1]*FHEAP[s+1]+FHEAP[a+2]*FHEAP[s+2])<=0&1?0:1;a:for(;;)if(h==0)if(j=B,_fabsf(j)>0){h=2;break a}else h=1;else if(h==1){G=-1;h=15;break a}a:for(;;)if(h==2){j=-1;_llvm_memset_p0i8_i32(M,0,3,4,0);k=IHEAP[K]=0;v=u=M;y=M+1;x=M+2;b:for(;;){z=IHEAP[__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRjE4imd3+k];h=B;s=b;m=H+z*4;l=H+k*4;FHEAP[q]=FHEAP[l+1]*FHEAP[m+2]-FHEAP[l+2]*FHEAP[m+1];FHEAP[p]=FHEAP[l+2]*FHEAP[m]-FHEAP[l]*FHEAP[m+2];FHEAP[r]=FHEAP[l]*FHEAP[m+1]-FHEAP[l+1]*FHEAP[m];l=N;m=q;n=p; +o=r;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;l=N;h=h*(FHEAP[s]*FHEAP[l]+FHEAP[s+1]*FHEAP[l+1]+FHEAP[s+2]*FHEAP[l+2])>0?4:5;c:for(;;)if(h==4){s=__ZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRj(IHEAP[J+k],IHEAP[J+z],b,u,K);h=j<0?6:7;d:for(;;)if(h==6){j=s;(IHEAP[K]&1)!=0?(i=6,h=8):(i=6,h=9);break d}else if(h==7)if(s<j)h=6;else{h=5;continue c}d:for(;;)if(h==8){var R=1<<k,i=8;h=9}else if(h==9){var O=i==8?R:0;(IHEAP[K]&2)!=0?(i=9,h=10):(i=9,h=11);break d}for(;;)if(h== +10){var Q=1<<z,i=10;h=11}else if(h==11){IHEAP[f]=(i==10?Q:0)+O+((IHEAP[K]&4)!=0?8:0);FHEAP[c+k]=FHEAP[v];FHEAP[c+z]=FHEAP[y];FHEAP[c+IHEAP[__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRjE4imd3+z]]=0;FHEAP[c+3]=FHEAP[x];h=5;continue c}}else if(h==5)if(k=z=k+1,z<3)continue b;else break b}for(h=j<0?13:14;;)if(h==13)j=0,IHEAP[f]=15,k=__ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(d,e,b),FHEAP[c]=k/B,k=__ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(a,d,b),FHEAP[c+1]=k/B,k=__ZN12gjkepa2_impl3GJK3detERK9btVector3S3_S3_(e, +a,b),FHEAP[c+2]=k/B,FHEAP[c+3]=1-(FHEAP[c]+FHEAP[c+1]+FHEAP[c+2]),h=14;else if(h==14){G=j;h=15;continue a}}else if(h==15)return a=G,STACKTOP=g,a;return null}function __ZN12gjkepa2_impl3GJKC2Ev(a){var e=STACKTOP;STACKTOP+=7;var d=e+4,b=e+5,c=e+6,f;for(f=0;;){var g=f+1;f=g;if(!(g<4))break}FHEAP[d]=0;FHEAP[b]=0;FHEAP[c]=0;FHEAP[e]=FHEAP[d];FHEAP[e+1]=FHEAP[b];FHEAP[e+2]=FHEAP[c];FHEAP[e+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+32,e,4,4,0);IHEAP[a+91]=0;IHEAP[a+94]=2;IHEAP[a+92]=0;FHEAP[a+36]=0;STACKTOP=e} +function __ZN22btVoronoiSimplexSolver12removeVertexEi(a,e){IHEAP[a]+=-1;_llvm_memcpy_p0i8_p0i8_i32(a+1+e*4,a+1+IHEAP[a]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+21+e*4,a+21+IHEAP[a]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+41+e*4,a+41+IHEAP[a]*4,4,4,0)} +function __ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(a,e){var d;d=IHEAP[a]>=4?0:1;a:for(;;)if(d==0){if((IHEAP[e]>>>3&1)!=0){d=1;continue a}d=a;IHEAP[d]+=-1;_llvm_memcpy_p0i8_p0i8_i32(d+1+12,d+1+IHEAP[d]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+21+12,d+21+IHEAP[d]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+41+12,d+41+IHEAP[d]*4,4,4,0);d=1}else if(d==1){d=a;d=IHEAP[d]>=3?3:4;break a}a:for(;;)if(d==3){if((IHEAP[e]>>>2&1)!=0){d=4;continue a}d=a;IHEAP[d]+=-1;_llvm_memcpy_p0i8_p0i8_i32(d+1+ +8,d+1+IHEAP[d]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+21+8,d+21+IHEAP[d]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+41+8,d+41+IHEAP[d]*4,4,4,0);d=4}else if(d==4){d=a;d=IHEAP[d]>=2?6:7;break a}a:for(;;)if(d==6){if((IHEAP[e]>>>1&1)!=0){d=7;continue a}d=a;IHEAP[d]+=-1;_llvm_memcpy_p0i8_p0i8_i32(d+1+4,d+1+IHEAP[d]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+21+4,d+21+IHEAP[d]*4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+41+4,d+41+IHEAP[d]*4,4,4,0);d=7}else if(d==7){d=a;d=IHEAP[d]>=1?9:10;break a}for(;;)if(d==9)(IHEAP[e]& +1)==0&&(d=a,IHEAP[d]+=-1,_llvm_memcpy_p0i8_p0i8_i32(d+1+0,d+1+IHEAP[d]*4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(d+21+0,d+21+IHEAP[d]*4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(d+41+0,d+41+IHEAP[d]*4,4,4,0)),d=10;else if(d==10)break} +function __ZN22btVoronoiSimplexSolver5resetEv(a){var e=STACKTOP;STACKTOP+=7;var d=e+4,b=e+5,c=e+6;IHEAP[a+78]=0;IHEAP[a]=0;IHEAP[a+90]=1;FHEAP[d]=999999984306749440;FHEAP[b]=999999984306749440;FHEAP[c]=999999984306749440;FHEAP[e]=FHEAP[d];FHEAP[e+1]=FHEAP[b];FHEAP[e+2]=FHEAP[c];FHEAP[e+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+73,e,4,4,0);a+=79;IHEAP[a+10]=0;FHEAP[a+6]=0;FHEAP[a+6+1]=0;FHEAP[a+6+2]=0;FHEAP[a+6+3]=0;a+=4;IHEAP[a]&=-2;IHEAP[a]&=-3;IHEAP[a]&=-5;IHEAP[a]&=-9;STACKTOP=e} +function __ZN22btVoronoiSimplexSolver9addVertexERK9btVector3S2_S2_(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(a+73,e,4,4,0);IHEAP[a+90]=1;_llvm_memcpy_p0i8_p0i8_i32(a+1+IHEAP[a]*4,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+21+IHEAP[a]*4,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+41+IHEAP[a]*4,b,4,4,0);IHEAP[a]+=1} +function __ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(a){var e=STACKTOP;STACKTOP+=302;var d,b=null,c,f,g,h,i=e+1,j=e+2,k=e+3,l=e+4,m=e+5,n=e+6,o=e+7,q=e+8,p=e+9,r=e+10,s=e+11,u=e+12,v=e+13,y=e+14,x=e+15,z=e+16,B=e+17,C=e+18,A=e+19,w=e+20,D=e+21,E=e+22,F=e+23,G=e+24,J=e+25,H=e+26,M=e+27,K=e+28,N=e+29,R=e+30,O=e+31,Q=e+32,I=e+33,L=e+34,P=e+35,S=e+36,T=e+37,U=e+38,W=e+39,Z=e+40,ca=e+41,Y=e+42,ea=e+43,ha=e+44,ba=e+45,V=e+46,aa=e+47,X=e+48,ka=e+49,da=e+50,fa=e+51,ga=e+52,ja=e+53,la=e+54, +qa=e+55,pa=e+56,wa=e+57,ua=e+58,na=e+59,ya=e+60,xa=e+61,ia=e+62,ma=e+63,ta=e+64,ra=e+65,oa=e+66,Da=e+67,Ba=e+68,Oa=e+69,Fa=e+70,Ha=e+71,La=e+72,Ea=e+73,Ca=e+74,Aa=e+75,za=e+76,Ja=e+77,Ra=e+78,Ua=e+79,Xa=e+80,Wa=e+81,Sa=e+82,Ga=e+83,Ia=e+84,Pa=e+85,Ta=e+86,Va=e+87,fb=e+88,ib=e+89,Na=e+90,Za=e+91,gb=e+92,lb=e+93,$a=e+94,eb=e+95,bb=e+96,sb=e+97,Ka=e+98,Ya=e+99,jb=e+100,kb=e+101,tb=e+102,Bb=e+103,Qa=e+104,wb=e+105,mb=e+106,yb=e+107,ub=e+108,Ma=e+109,sa=e+110,va=e+111,pb=e+112,ab=e+113,db=e+114,vb=e+115, +Fb=e+116,zb=e+117,Kb=e+121,nb=e+125,Cb=e+129,Eb=e+130,Ib=e+131,Jb=e+132,Ab=e+136,qb=e+140,Nb=e+141,rb=e+145,Gb=e+149,Ob=e+153,hb=e+157,Sb=e+161,Ub=e+165,Vb=e+169,Hb=e+173,Lb=e+177,ob=e+181,Db=e+185,xb=e+186,Qb=e+187,Wb=e+188,Tb=e+192,$b=e+196,Zb=e+200,Mb=e+204,cb=e+208,Pb=e+212,Rb=e+216,dc=e+220,cc=e+224,Xb=e+228,Yb=e+232,ac=e+236,bc=e+237,ec=e+238,hc=e+239,pc=e+243,qc=e+247,rc=e+251,sc=e+255,tc=e+259,uc=e+263,fc=e+267,ic=e+271,gc=e+275,jc=e+279,kc=e+283,lc=e+287,mc=e+291,nc=e+295,vc=e+299,wc=e+300, +oc=e+301;d=IHEAP[a+90]&1?0:1;a:for(;;)if(d==0)if(d=a+79,IHEAP[d+10]=0,b=d,FHEAP[b+6]=0,FHEAP[b+6+1]=0,FHEAP[b+6+2]=0,FHEAP[b+6+3]=0,d+=4,IHEAP[d]&=-2,IHEAP[d]&=-3,IHEAP[d]&=-5,IHEAP[d]&=-9,IHEAP[a+90]=0,d=a,d=IHEAP[d],d=d==0?23:d==1?2:d==2?24:d==3?13:d==4?25:26,d==26)IHEAP[a+78]=0,d=1;else if(d==23)IHEAP[a+78]=0,d=1;else if(d==2){_llvm_memcpy_p0i8_p0i8_i32(a+61,a+21,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+65,a+41,4,4,0);d=a+69;c=a+65;b=a+61;FHEAP[Oa]=FHEAP[b]-FHEAP[c];FHEAP[Fa]=FHEAP[b+1]-FHEAP[c+1]; +FHEAP[Ha]=FHEAP[b+2]-FHEAP[c+2];b=zb;c=Oa;f=Fa;g=Ha;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,zb,4,4,0);d=a+79;IHEAP[d+10]=0;b=d;FHEAP[b+6]=0;FHEAP[b+6+1]=0;FHEAP[b+6+2]=0;FHEAP[b+6+3]=0;d+=4;IHEAP[d]&=-2;IHEAP[d]&=-3;IHEAP[d]&=-5;IHEAP[d]&=-9;d=a+79;FHEAP[d+6]=1;FHEAP[d+6+1]=0;FHEAP[d+6+2]=0;FHEAP[d+6+3]=0;c=d=a+79;FHEAP[c+6]>=0?(b=2,d=3):(b=2,d=4);for(;;)if(d==3){if(FHEAP[c+6+1]>=0)if(FHEAP[c+6+2]>=0)var xc=FHEAP[c+6+3]>=0,b=6;else b=5;else b= +3;d=4}else if(d==4){d=b==5?0:b==3?0:b==2?0:xc;IHEAP[a+78]=d&1;d=1;continue a}}else if(d==24){d=a+1;b=a+1+4;FHEAP[Cb]=0;FHEAP[Eb]=0;FHEAP[Ib]=0;c=nb;f=Cb;g=Eb;h=Ib;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;f=d;c=nb;FHEAP[e]=FHEAP[c]-FHEAP[f];FHEAP[i]=FHEAP[c+1]-FHEAP[f+1];FHEAP[j]=FHEAP[c+2]-FHEAP[f+2];c=Jb;f=e;g=i;h=j;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;c=d;FHEAP[k]=FHEAP[b]-FHEAP[c];FHEAP[l]=FHEAP[b+1]-FHEAP[c+1];FHEAP[m]=FHEAP[b+2]- +FHEAP[c+2];b=Ab;c=k;f=l;g=m;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=Ab;b=Jb;FHEAP[qb]=FHEAP[c]*FHEAP[b]+FHEAP[c+1]*FHEAP[b+1]+FHEAP[c+2]*FHEAP[b+2];FHEAP[qb]>0?(b=c=Ab,b=FHEAP[c]*FHEAP[b]+FHEAP[c+1]*FHEAP[b+1]+FHEAP[c+2]*FHEAP[b+2],FHEAP[qb]<b?(FHEAP[qb]/=b,c=qb,b=Ab,FHEAP[n]=FHEAP[b]*FHEAP[c],FHEAP[o]=FHEAP[b+1]*FHEAP[c],FHEAP[q]=FHEAP[b+2]*FHEAP[c],b=Nb,c=n,f=o,g=q,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,c=Jb,b=Nb,FHEAP[c]-=FHEAP[b], +FHEAP[c+1]-=FHEAP[b+1],FHEAP[c+2]-=FHEAP[b+2],b=a+79+4,IHEAP[b]=IHEAP[b]&-2|1):(FHEAP[qb]=1,c=Jb,b=Ab,FHEAP[c]-=FHEAP[b],FHEAP[c+1]-=FHEAP[b+1],FHEAP[c+2]-=FHEAP[b+2]),b=a+79+4,IHEAP[b]=IHEAP[b]&-3|2):(FHEAP[qb]=0,b=a+79+4,IHEAP[b]=IHEAP[b]&-2|1);c=1-FHEAP[qb];f=FHEAP[qb];b=a+79;FHEAP[b+6]=c;FHEAP[b+6+1]=f;FHEAP[b+6+2]=0;FHEAP[b+6+3]=0;c=qb;b=Ab;FHEAP[p]=FHEAP[b]*FHEAP[c];FHEAP[r]=FHEAP[b+1]*FHEAP[c];FHEAP[s]=FHEAP[b+2]*FHEAP[c];b=rb;c=p;f=r;g=s;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g]; +FHEAP[b+3]=0;b=rb;FHEAP[u]=FHEAP[d]+FHEAP[b];FHEAP[v]=FHEAP[d+1]+FHEAP[b+1];FHEAP[y]=FHEAP[d+2]+FHEAP[b+2];d=Gb;b=u;c=v;f=y;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Kb,Gb,4,4,0);d=a+61;b=a+21;f=a+21;c=a+21+4;FHEAP[x]=FHEAP[c]-FHEAP[f];FHEAP[z]=FHEAP[c+1]-FHEAP[f+1];FHEAP[B]=FHEAP[c+2]-FHEAP[f+2];c=hb;f=x;g=z;h=B;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;f=qb;c=hb;FHEAP[C]=FHEAP[c]*FHEAP[f];FHEAP[A]=FHEAP[c+1]*FHEAP[f]; +FHEAP[w]=FHEAP[c+2]*FHEAP[f];c=Ob;f=C;g=A;h=w;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;c=Ob;FHEAP[D]=FHEAP[b]+FHEAP[c];FHEAP[E]=FHEAP[b+1]+FHEAP[c+1];FHEAP[F]=FHEAP[b+2]+FHEAP[c+2];b=Sb;c=D;f=E;g=F;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,Sb,4,4,0);d=a+65;b=a+41;f=a+41;c=a+41+4;FHEAP[G]=FHEAP[c]-FHEAP[f];FHEAP[J]=FHEAP[c+1]-FHEAP[f+1];FHEAP[H]=FHEAP[c+2]-FHEAP[f+2];c=Vb;f=G;g=J;h=H;FHEAP[c]=FHEAP[f];FHEAP[c+1]= +FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;f=qb;c=Vb;FHEAP[M]=FHEAP[c]*FHEAP[f];FHEAP[K]=FHEAP[c+1]*FHEAP[f];FHEAP[N]=FHEAP[c+2]*FHEAP[f];c=Ub;f=M;g=K;h=N;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;c=Ub;FHEAP[R]=FHEAP[b]+FHEAP[c];FHEAP[O]=FHEAP[b+1]+FHEAP[c+1];FHEAP[Q]=FHEAP[b+2]+FHEAP[c+2];b=Hb;c=R;f=O;g=Q;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,Hb,4,4,0);d=a+69;c=a+65;b=a+61;FHEAP[I]=FHEAP[b]-FHEAP[c];FHEAP[L]= +FHEAP[b+1]-FHEAP[c+1];FHEAP[P]=FHEAP[b+2]-FHEAP[c+2];b=Lb;c=I;f=L;g=P;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,Lb,4,4,0);__ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(a,a+79+4);c=d=a+79;FHEAP[c+6]>=0?(b=8,d=9):(b=8,d=10);for(;;)if(d==9){if(FHEAP[c+6+1]>=0)if(FHEAP[c+6+2]>=0)var Bc=FHEAP[c+6+3]>=0,b=12;else b=11;else b=9;d=10}else if(d==10){d=b==11?0:b==9?0:b==8?0:Bc;IHEAP[a+78]=d&1;d=1;continue a}}else if(d==13){FHEAP[Db]= +0;FHEAP[xb]=0;FHEAP[Qb]=0;d=ob;b=Db;c=xb;f=Qb;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;d=a+1;b=a+1+4;c=a+1+8;__ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(a,ob,d,b,c,a+79);d=a+61;c=a+79+6;b=a+21;FHEAP[S]=FHEAP[b]*FHEAP[c];FHEAP[T]=FHEAP[b+1]*FHEAP[c];FHEAP[U]=FHEAP[b+2]*FHEAP[c];b=Tb;c=S;f=T;g=U;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+1;b=a+21+4;FHEAP[W]=FHEAP[b]*FHEAP[c]; +FHEAP[Z]=FHEAP[b+1]*FHEAP[c];FHEAP[ca]=FHEAP[b+2]*FHEAP[c];b=$b;c=W;f=Z;g=ca;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=Tb;c=$b;FHEAP[Y]=FHEAP[b]+FHEAP[c];FHEAP[ea]=FHEAP[b+1]+FHEAP[c+1];FHEAP[ha]=FHEAP[b+2]+FHEAP[c+2];b=Wb;c=Y;f=ea;g=ha;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+2;b=a+21+8;FHEAP[ba]=FHEAP[b]*FHEAP[c];FHEAP[V]=FHEAP[b+1]*FHEAP[c];FHEAP[aa]=FHEAP[b+2]*FHEAP[c];b=Zb;c=ba;f=V;g=aa;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f]; +FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=Wb;c=Zb;FHEAP[X]=FHEAP[b]+FHEAP[c];FHEAP[ka]=FHEAP[b+1]+FHEAP[c+1];FHEAP[da]=FHEAP[b+2]+FHEAP[c+2];b=Mb;c=X;f=ka;g=da;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,Mb,4,4,0);d=a+65;c=a+79+6;b=a+41;FHEAP[fa]=FHEAP[b]*FHEAP[c];FHEAP[ga]=FHEAP[b+1]*FHEAP[c];FHEAP[ja]=FHEAP[b+2]*FHEAP[c];b=Pb;c=fa;f=ga;g=ja;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+1;b=a+41+4;FHEAP[la]=FHEAP[b]* +FHEAP[c];FHEAP[qa]=FHEAP[b+1]*FHEAP[c];FHEAP[pa]=FHEAP[b+2]*FHEAP[c];b=Rb;c=la;f=qa;g=pa;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=Pb;c=Rb;FHEAP[wa]=FHEAP[b]+FHEAP[c];FHEAP[ua]=FHEAP[b+1]+FHEAP[c+1];FHEAP[na]=FHEAP[b+2]+FHEAP[c+2];b=cb;c=wa;f=ua;g=na;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+2;b=a+41+8;FHEAP[ya]=FHEAP[b]*FHEAP[c];FHEAP[xa]=FHEAP[b+1]*FHEAP[c];FHEAP[ia]=FHEAP[b+2]*FHEAP[c];b=dc;c=ya;f=xa;g=ia;FHEAP[b]=FHEAP[c];FHEAP[b+ +1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=cb;c=dc;FHEAP[ma]=FHEAP[b]+FHEAP[c];FHEAP[ta]=FHEAP[b+1]+FHEAP[c+1];FHEAP[ra]=FHEAP[b+2]+FHEAP[c+2];b=cc;c=ma;f=ta;g=ra;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,cc,4,4,0);d=a+69;c=a+65;b=a+61;FHEAP[oa]=FHEAP[b]-FHEAP[c];FHEAP[Da]=FHEAP[b+1]-FHEAP[c+1];FHEAP[Ba]=FHEAP[b+2]-FHEAP[c+2];b=Xb;c=oa;f=Da;g=Ba;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d, +Xb,4,4,0);__ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(a,a+79+4);c=d=a+79;FHEAP[c+6]>=0?(b=13,d=14):(b=13,d=15);for(;;)if(d==14){if(FHEAP[c+6+1]>=0)if(FHEAP[c+6+2]>=0)var Cc=FHEAP[c+6+3]>=0,b=17;else b=16;else b=14;d=15}else if(d==15){d=b==16?0:b==14?0:b==13?0:Cc;IHEAP[a+78]=d&1;d=1;continue a}}else{if(d==25)if(FHEAP[ac]=0,FHEAP[bc]=0,FHEAP[ec]=0,d=Yb,b=ac,c=bc,f=ec,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,d=a+1,b=a+1+4,c=a+1+8,f=a+1+12,d=__ZN22btVoronoiSimplexSolver25closestPtPointTetrahedronERK9btVector3S2_S2_S2_S2_R25btSubSimplexClosestResult(a, +Yb,d,b,c,f,a+79),d&1){d=a+61;c=a+79+6;b=a+21;FHEAP[La]=FHEAP[b]*FHEAP[c];FHEAP[Ea]=FHEAP[b+1]*FHEAP[c];FHEAP[Ca]=FHEAP[b+2]*FHEAP[c];b=qc;c=La;f=Ea;g=Ca;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+1;b=a+21+4;FHEAP[Aa]=FHEAP[b]*FHEAP[c];FHEAP[za]=FHEAP[b+1]*FHEAP[c];FHEAP[Ja]=FHEAP[b+2]*FHEAP[c];b=rc;c=Aa;f=za;g=Ja;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=qc;c=rc;FHEAP[Ra]=FHEAP[b]+FHEAP[c];FHEAP[Ua]=FHEAP[b+1]+FHEAP[c+1];FHEAP[Xa]= +FHEAP[b+2]+FHEAP[c+2];b=pc;c=Ra;f=Ua;g=Xa;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+2;b=a+21+8;FHEAP[Wa]=FHEAP[b]*FHEAP[c];FHEAP[Sa]=FHEAP[b+1]*FHEAP[c];FHEAP[Ga]=FHEAP[b+2]*FHEAP[c];b=sc;c=Wa;f=Sa;g=Ga;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=pc;c=sc;FHEAP[Ia]=FHEAP[b]+FHEAP[c];FHEAP[Pa]=FHEAP[b+1]+FHEAP[c+1];FHEAP[Ta]=FHEAP[b+2]+FHEAP[c+2];b=hc;c=Ia;f=Pa;g=Ta;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]= +0;c=a+79+6+3;b=a+21+12;FHEAP[Va]=FHEAP[b]*FHEAP[c];FHEAP[fb]=FHEAP[b+1]*FHEAP[c];FHEAP[ib]=FHEAP[b+2]*FHEAP[c];b=tc;c=Va;f=fb;g=ib;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=hc;c=tc;FHEAP[Na]=FHEAP[b]+FHEAP[c];FHEAP[Za]=FHEAP[b+1]+FHEAP[c+1];FHEAP[gb]=FHEAP[b+2]+FHEAP[c+2];b=uc;c=Na;f=Za;g=gb;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,uc,4,4,0);d=a+65;c=a+79+6;b=a+41;FHEAP[lb]=FHEAP[b]*FHEAP[c];FHEAP[$a]=FHEAP[b+ +1]*FHEAP[c];FHEAP[eb]=FHEAP[b+2]*FHEAP[c];b=gc;c=lb;f=$a;g=eb;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+1;b=a+41+4;FHEAP[bb]=FHEAP[b]*FHEAP[c];FHEAP[sb]=FHEAP[b+1]*FHEAP[c];FHEAP[Ka]=FHEAP[b+2]*FHEAP[c];b=jc;c=bb;f=sb;g=Ka;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=gc;c=jc;FHEAP[Ya]=FHEAP[b]+FHEAP[c];FHEAP[jb]=FHEAP[b+1]+FHEAP[c+1];FHEAP[kb]=FHEAP[b+2]+FHEAP[c+2];b=ic;c=Ya;f=jb;g=kb;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]= +FHEAP[g];FHEAP[b+3]=0;c=a+79+6+2;b=a+41+8;FHEAP[tb]=FHEAP[b]*FHEAP[c];FHEAP[Bb]=FHEAP[b+1]*FHEAP[c];FHEAP[Qa]=FHEAP[b+2]*FHEAP[c];b=kc;c=tb;f=Bb;g=Qa;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=ic;c=kc;FHEAP[wb]=FHEAP[b]+FHEAP[c];FHEAP[mb]=FHEAP[b+1]+FHEAP[c+1];FHEAP[yb]=FHEAP[b+2]+FHEAP[c+2];b=fc;c=wb;f=mb;g=yb;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;c=a+79+6+3;b=a+41+12;FHEAP[ub]=FHEAP[b]*FHEAP[c];FHEAP[Ma]=FHEAP[b+1]*FHEAP[c];FHEAP[sa]= +FHEAP[b+2]*FHEAP[c];b=lc;c=ub;f=Ma;g=sa;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=fc;c=lc;FHEAP[va]=FHEAP[b]+FHEAP[c];FHEAP[pb]=FHEAP[b+1]+FHEAP[c+1];FHEAP[ab]=FHEAP[b+2]+FHEAP[c+2];b=mc;c=va;f=pb;g=ab;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,mc,4,4,0);d=a+69;c=a+65;b=a+61;FHEAP[db]=FHEAP[b]-FHEAP[c];FHEAP[vb]=FHEAP[b+1]-FHEAP[c+1];FHEAP[Fb]=FHEAP[b+2]-FHEAP[c+2];b=nc;c=db;f=vb;g=Fb;FHEAP[b]=FHEAP[c];FHEAP[b+ +1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,nc,4,4,0);__ZN22btVoronoiSimplexSolver14reduceVerticesERK15btUsageBitfield(a,a+79+4);c=d=a+79;FHEAP[c+6]>=0?(b=18,d=19):(b=18,d=20);for(;;)if(d==19){if(FHEAP[c+6+1]>=0)if(FHEAP[c+6+2]>=0)var Dc=FHEAP[c+6+3]>=0,b=22;else b=21;else b=19;d=20}else if(d==20){d=b==21?0:b==19?0:b==18?0:Dc;IHEAP[a+78]=d&1;d=1;continue a}}else d=a+78,IHEAP[a+79+10]&1?IHEAP[d]=0:(IHEAP[d]=1,d=a+69,FHEAP[vc]=0,FHEAP[wc]=0,FHEAP[oc]=0,f=d,d=vc,b=wc,c= +oc,FHEAP[f]=FHEAP[d],FHEAP[f+1]=FHEAP[b],FHEAP[f+2]=FHEAP[c],FHEAP[f+3]=0),d=1}else if(d==1)return a=IHEAP[a+78]&1,STACKTOP=e,a;return null} +function __ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(a,e,d,b,c,f){var sa;a=STACKTOP;STACKTOP+=117;var g,h=a+1;g=a+2;var i=a+3,j=a+4,k=a+5,l=a+6,m=a+7,n=a+8,o,q,p,r,s,u;u=a+9;s=a+10;r=a+11;var v,y=a+12,x=a+13,z=a+14,B=a+15,C=a+16,A=a+17,w=a+18,D=a+19,E=a+20,F=a+21,G=a+22,J=a+23,H=a+24,M=a+25,K=a+26,N=a+27,R=a+28,O=a+29,Q=a+30,I=a+31,L=a+32,P=a+33,S=a+34,T=a+35,U=a+36,W=a+37,Z=a+38,ca=a+39,Y=a+40,ea=a+41,ha=a+42,ba=a+43,V=a+44,aa=a+45,X=a+46, +ka=a+47,da=a+48,fa=a+52,ga=a+56;v=a+60;var ja,la=a+64,qa=a+65,pa=a+69,wa=a+73,ua,na=a+77,ya=a+78,xa=a+82,ia,ma=a+86,ta=a+87,ra=a+91,oa=a+95,Da=a+99,Ba=a+100,Oa=a+101,Fa=a+105,Ha=a+109,La=a+113,Ea=f+4;IHEAP[Ea]&=-2;IHEAP[Ea]&=-3;IHEAP[Ea]&=-5;IHEAP[Ea]&=-9;FHEAP[a]=FHEAP[b]-FHEAP[d];FHEAP[h]=FHEAP[b+1]-FHEAP[d+1];FHEAP[g]=FHEAP[b+2]-FHEAP[d+2];FHEAP[da]=FHEAP[a];FHEAP[da+1]=FHEAP[h];FHEAP[da+2]=FHEAP[g];FHEAP[da+3]=0;FHEAP[i]=FHEAP[c]-FHEAP[d];FHEAP[j]=FHEAP[c+1]-FHEAP[d+1];FHEAP[k]=FHEAP[c+2]-FHEAP[d+ +2];FHEAP[fa]=FHEAP[i];FHEAP[fa+1]=FHEAP[j];FHEAP[fa+2]=FHEAP[k];FHEAP[fa+3]=0;FHEAP[l]=FHEAP[e]-FHEAP[d];FHEAP[m]=FHEAP[e+1]-FHEAP[d+1];FHEAP[n]=FHEAP[e+2]-FHEAP[d+2];FHEAP[ga]=FHEAP[l];FHEAP[ga+1]=FHEAP[m];FHEAP[ga+2]=FHEAP[n];FHEAP[ga+3]=0;h=FHEAP[da]*FHEAP[ga]+FHEAP[da+1]*FHEAP[ga+1]+FHEAP[da+2]*FHEAP[ga+2];ga=FHEAP[fa]*FHEAP[ga]+FHEAP[fa+1]*FHEAP[ga+1]+FHEAP[fa+2]*FHEAP[ga+2];g=h<=0?0:1;a:for(;;)if(g==0)if(ga<=0){g=2;break a}else g=1;else if(g==1){p=b;q=e;FHEAP[u]=FHEAP[q]-FHEAP[p];FHEAP[s]=FHEAP[q+ +1]-FHEAP[p+1];FHEAP[r]=FHEAP[q+2]-FHEAP[p+2];q=v;p=u;u=r;r=s;s=u;FHEAP[q]=FHEAP[p];FHEAP[q+1]=FHEAP[r];FHEAP[q+2]=FHEAP[s];FHEAP[q+3]=0;p=da;q=v;q=FHEAP[p]*FHEAP[q]+FHEAP[p+1]*FHEAP[q+1]+FHEAP[p+2]*FHEAP[q+2];p=fa;p=FHEAP[p]*FHEAP[v]+FHEAP[p+1]*FHEAP[v+1]+FHEAP[p+2]*FHEAP[v+2];g=q>=0?4:5;break a}a:for(;;)if(g==2){_llvm_memcpy_p0i8_p0i8_i32(f,d,4,4,0);o=f+4;IHEAP[o]=IHEAP[o]&-2|1;o=f;FHEAP[o+6]=1;FHEAP[o+6+1]=0;FHEAP[o+6+2]=0;FHEAP[o+6+3]=0;o=1;g=3;break a}else if(g==4)if(p<=q){g=6;break a}else g= +5;else if(g==5){ja=v=h*p-q*ga;g=v<=0?7:8;break a}a:for(;;)if(g==3)return e=o,STACKTOP=a,e;else if(g==6)_llvm_memcpy_p0i8_p0i8_i32(f,b,4,4,0),o=f+4,IHEAP[o]=IHEAP[o]&-3|2,o=f,FHEAP[o+6]=0,FHEAP[o+6+1]=1,FHEAP[o+6+2]=0,FHEAP[o+6+3]=0,o=1,g=3;else if(g==7){if(!(h>=0)){g=8;continue a}if(!(q<=0)){g=8;continue a}FHEAP[la]=h/(h-q);o=f;v=d;s=la;r=da;FHEAP[y]=FHEAP[r]*FHEAP[s];FHEAP[x]=FHEAP[r+1]*FHEAP[s];FHEAP[z]=FHEAP[r+2]*FHEAP[s];r=qa;s=y;u=x;g=z;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[u];FHEAP[r+2]=FHEAP[g]; +FHEAP[r+3]=0;r=qa;FHEAP[B]=FHEAP[v]+FHEAP[r];FHEAP[C]=FHEAP[v+1]+FHEAP[r+1];FHEAP[A]=FHEAP[v+2]+FHEAP[r+2];v=pa;r=B;s=C;u=A;FHEAP[v]=FHEAP[r];FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o,pa,4,4,0);o=f+4;IHEAP[o]=IHEAP[o]&-2|1;o=f+4;IHEAP[o]=IHEAP[o]&-3|2;v=1-FHEAP[la];r=FHEAP[la];o=f;FHEAP[o+6]=v;FHEAP[o+6+1]=r;FHEAP[o+6+2]=0;FHEAP[o+6+3]=0;o=1;g=3}else if(g==8){v=c;o=e;FHEAP[w]=FHEAP[o]-FHEAP[v];FHEAP[D]=FHEAP[o+1]-FHEAP[v+1];FHEAP[E]=FHEAP[o+2]-FHEAP[v+2];o= +wa;v=w;r=D;s=E;FHEAP[o]=FHEAP[v];FHEAP[o+1]=FHEAP[r];FHEAP[o+2]=FHEAP[s];FHEAP[o+3]=0;v=da;o=wa;o=FHEAP[v]*FHEAP[o]+FHEAP[v+1]*FHEAP[o+1]+FHEAP[v+2]*FHEAP[o+2];r=fa;v=wa;sa=r=FHEAP[r]*FHEAP[v]+FHEAP[r+1]*FHEAP[v+1]+FHEAP[r+2]*FHEAP[v+2],v=sa;g=r>=0?11:12;b:for(;;)if(g==11)if(o<=v){g=13;break b}else g=12;else if(g==12){ua=r=o*ga-h*v;g=r<=0?14:15;break b}b:for(;;)if(g==13){_llvm_memcpy_p0i8_p0i8_i32(f,c,4,4,0);o=f+4;IHEAP[o]=IHEAP[o]&-5|4;o=f;FHEAP[o+6]=0;FHEAP[o+6+1]=0;FHEAP[o+6+2]=1;FHEAP[o+6+3]= +0;o=1;g=3;continue a}else if(g==14){if(!(ga>=0)){g=15;continue b}if(v<=0){g=17;break b}else g=15}else if(g==15){ia=r=q*v-o*p;g=r<=0?18:19;break b}for(;;)if(g==17){FHEAP[na]=ga/(ga-v);o=f;v=d;s=na;r=fa;FHEAP[F]=FHEAP[r]*FHEAP[s];FHEAP[G]=FHEAP[r+1]*FHEAP[s];FHEAP[J]=FHEAP[r+2]*FHEAP[s];r=ya;s=F;u=G;g=J;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[u];FHEAP[r+2]=FHEAP[g];FHEAP[r+3]=0;r=ya;FHEAP[H]=FHEAP[v]+FHEAP[r];FHEAP[M]=FHEAP[v+1]+FHEAP[r+1];FHEAP[K]=FHEAP[v+2]+FHEAP[r+2];v=xa;r=H;s=M;u=K;FHEAP[v]=FHEAP[r]; +FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o,xa,4,4,0);o=f+4;IHEAP[o]=IHEAP[o]&-2|1;o=f+4;IHEAP[o]=IHEAP[o]&-5|4;v=1-FHEAP[na];r=FHEAP[na];o=f;FHEAP[o+6]=v;FHEAP[o+6+1]=0;FHEAP[o+6+2]=r;FHEAP[o+6+3]=0;o=1;g=3;continue a}else if(g==18)if(p-q>=0)if(o-v>=0)break;else g=19;else g=19;else if(g==19){o=1/(ia+ua+ja);FHEAP[Da]=ua*o;FHEAP[Ba]=ja*o;o=f;v=d;r=da;s=Da;FHEAP[U]=FHEAP[r]*FHEAP[s];FHEAP[W]=FHEAP[r+1]*FHEAP[s];FHEAP[Z]=FHEAP[r+2]*FHEAP[s];r=Fa;s=U;u=W;g=Z;FHEAP[r]= +FHEAP[s];FHEAP[r+1]=FHEAP[u];FHEAP[r+2]=FHEAP[g];FHEAP[r+3]=0;r=Fa;FHEAP[ca]=FHEAP[v]+FHEAP[r];FHEAP[Y]=FHEAP[v+1]+FHEAP[r+1];FHEAP[ea]=FHEAP[v+2]+FHEAP[r+2];v=Oa;r=ca;s=Y;u=ea;FHEAP[v]=FHEAP[r];FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;v=fa;r=Ba;FHEAP[ha]=FHEAP[v]*FHEAP[r];FHEAP[ba]=FHEAP[v+1]*FHEAP[r];FHEAP[V]=FHEAP[v+2]*FHEAP[r];v=Ha;r=ha;s=ba;u=V;FHEAP[v]=FHEAP[r];FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;v=Oa;r=Ha;FHEAP[aa]=FHEAP[v]+FHEAP[r];FHEAP[X]=FHEAP[v+1]+FHEAP[r+ +1];FHEAP[ka]=FHEAP[v+2]+FHEAP[r+2];v=La;r=aa;s=X;u=ka;FHEAP[v]=FHEAP[r];FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o,La,4,4,0);o=f+4;IHEAP[o]=IHEAP[o]&-2|1;o=f+4;IHEAP[o]=IHEAP[o]&-3|2;o=f+4;IHEAP[o]=IHEAP[o]&-5|4;v=1-FHEAP[Da]-FHEAP[Ba];r=FHEAP[Da];s=FHEAP[Ba];o=f;FHEAP[o+6]=v;FHEAP[o+6+1]=r;FHEAP[o+6+2]=s;FHEAP[o+6+3]=0;o=1;g=3;continue a}FHEAP[ma]=(p-q)/(p-q+(o-v));o=f;s=v=b;r=c;FHEAP[N]=FHEAP[r]-FHEAP[s];FHEAP[R]=FHEAP[r+1]-FHEAP[s+1];FHEAP[O]=FHEAP[r+2]-FHEAP[s+ +2];r=ra;s=N;u=R;g=O;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[u];FHEAP[r+2]=FHEAP[g];FHEAP[r+3]=0;s=ma;r=ra;FHEAP[Q]=FHEAP[r]*FHEAP[s];FHEAP[I]=FHEAP[r+1]*FHEAP[s];FHEAP[L]=FHEAP[r+2]*FHEAP[s];r=ta;s=Q;u=I;g=L;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[u];FHEAP[r+2]=FHEAP[g];FHEAP[r+3]=0;r=ta;FHEAP[P]=FHEAP[v]+FHEAP[r];FHEAP[S]=FHEAP[v+1]+FHEAP[r+1];FHEAP[T]=FHEAP[v+2]+FHEAP[r+2];v=oa;r=P;s=S;u=T;FHEAP[v]=FHEAP[r];FHEAP[v+1]=FHEAP[s];FHEAP[v+2]=FHEAP[u];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o,oa,4,4,0);o=f+4; +IHEAP[o]=IHEAP[o]&-3|2;o=f+4;IHEAP[o]=IHEAP[o]&-5|4;v=1-FHEAP[ma];r=FHEAP[ma];o=f;FHEAP[o+6]=0;FHEAP[o+6+1]=v;FHEAP[o+6+2]=r;FHEAP[o+6+3]=0;o=1;g=3}return null} +function __ZN22btVoronoiSimplexSolver25closestPtPointTetrahedronERK9btVector3S2_S2_S2_S2_R25btSubSimplexClosestResult(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=83;var i,j,k,l,m=h+1,n=h+2,o=h+3,q=h+4,p=h+5,r=h+6,s=h+7,u=h+8,v=h+9,y=h+10,x=h+11,z=h+12,B=h+13,C=h+14,A=h+15,w=h+16,D=h+17,E=h+18,F=h+19,G=h+20,J=h+21,H=h+22,M=h+23,K,N=h+24,R,O,Q,I,L=h+35,P=h+39,S=h+43,T=h+47,U=h+51,W=h+55,Z=h+59,ca=h+63,Y=h+67,ea=h+71,ha=h+75,ba=h+79;R=N+4;IHEAP[R]&=-2;IHEAP[R]&=-3;IHEAP[R]&=-5;IHEAP[R]&=-9;_llvm_memcpy_p0i8_p0i8_i32(g, +e,4,4,0);R=g+4;IHEAP[R]&=-2;IHEAP[R]&=-3;IHEAP[R]&=-5;IHEAP[R]&=-9;R=g+4;IHEAP[R]=IHEAP[R]&-2|1;R=g+4;IHEAP[R]=IHEAP[R]&-3|2;R=g+4;IHEAP[R]=IHEAP[R]&-5|4;R=g+4;IHEAP[R]=IHEAP[R]&-9|8;R=__ZN22btVoronoiSimplexSolver19pointOutsideOfPlaneERK9btVector3S2_S2_S2_S2_(a,e,d,b,c,f);O=__ZN22btVoronoiSimplexSolver19pointOutsideOfPlaneERK9btVector3S2_S2_S2_S2_(a,e,d,c,f,b);Q=__ZN22btVoronoiSimplexSolver19pointOutsideOfPlaneERK9btVector3S2_S2_S2_S2_(a,e,d,f,b,c);I=__ZN22btVoronoiSimplexSolver19pointOutsideOfPlaneERK9btVector3S2_S2_S2_S2_(a, +e,b,f,c,d);i=R<0?0:1;a:for(;;)if(i==0){IHEAP[g+10]=1;K=0;i=5;break a}else if(i==1){if(O<0){i=0;continue a}if(Q<0){i=0;continue a}if(I<0)i=0;else{i=4;break a}}a:for(;;)if(i==4){j=R!=0;b:do if(j){K=3.4028234663852886E38;i=6;break b}else{for(i=O!=0?7:8;;)if(i==7){i=R;K=3.4028234663852886E38;i=i!=0?6:11;break b}else if(i==8)if(Q!=0)i=7;else if(I!=0)i=7;else break;K=0;i=5;continue a}while(0);b:for(;;)if(i==6){__ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(a, +e,d,b,c,N);_llvm_memcpy_p0i8_p0i8_i32(L,N,4,4,0);j=e;i=L;FHEAP[v]=FHEAP[i]-FHEAP[j];FHEAP[y]=FHEAP[i+1]-FHEAP[j+1];FHEAP[x]=FHEAP[i+2]-FHEAP[j+2];i=P;j=v;k=y;l=x;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=e;i=L;FHEAP[h]=FHEAP[i]-FHEAP[j];FHEAP[m]=FHEAP[i+1]-FHEAP[j+1];FHEAP[n]=FHEAP[i+2]-FHEAP[j+2];i=S;j=h;k=m;l=n;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=P;i=S;i=FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2];if(!(i<K)){i= +11;continue b}K=i;_llvm_memcpy_p0i8_p0i8_i32(g,L,4,4,0);i=g+4;IHEAP[i]&=-2;IHEAP[i]&=-3;IHEAP[i]&=-5;IHEAP[i]&=-9;i=g+4;IHEAP[i]=IHEAP[i]&-2|IHEAP[N+4]&1;i=g+4;IHEAP[i]=IHEAP[i]&-3|(IHEAP[N+4]>>>1&1)<<1;i=g+4;IHEAP[i]=IHEAP[i]&-5|(IHEAP[N+4]>>>2&1)<<2;j=FHEAP[N+6];k=FHEAP[N+6+1];l=FHEAP[N+6+2];i=g;FHEAP[i+6]=j;FHEAP[i+6+1]=k;FHEAP[i+6+2]=l;FHEAP[i+6+3]=0;i=11}else if(i==11){i=O!=0?13:14;break b}b:for(;;)if(i==13){__ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(a, +e,d,c,f,N);_llvm_memcpy_p0i8_p0i8_i32(T,N,4,4,0);j=e;i=T;FHEAP[o]=FHEAP[i]-FHEAP[j];FHEAP[q]=FHEAP[i+1]-FHEAP[j+1];FHEAP[p]=FHEAP[i+2]-FHEAP[j+2];i=U;j=o;k=q;l=p;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=e;i=T;FHEAP[r]=FHEAP[i]-FHEAP[j];FHEAP[s]=FHEAP[i+1]-FHEAP[j+1];FHEAP[u]=FHEAP[i+2]-FHEAP[j+2];i=W;j=r;k=s;l=u;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=U;i=W;i=FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2];if(!(i<K)){i= +14;continue b}K=i;_llvm_memcpy_p0i8_p0i8_i32(g,T,4,4,0);i=g+4;IHEAP[i]&=-2;IHEAP[i]&=-3;IHEAP[i]&=-5;IHEAP[i]&=-9;i=g+4;IHEAP[i]=IHEAP[i]&-2|IHEAP[N+4]&1;i=g+4;IHEAP[i]=IHEAP[i]&-5|(IHEAP[N+4]>>>1&1)<<2;i=g+4;IHEAP[i]=IHEAP[i]&-9|(IHEAP[N+4]>>>2&1)<<3;j=FHEAP[N+6];k=FHEAP[N+6+1];l=FHEAP[N+6+2];i=g;FHEAP[i+6]=j;FHEAP[i+6+1]=0;FHEAP[i+6+2]=k;FHEAP[i+6+3]=l;i=14}else if(i==14){i=Q!=0?16:17;break b}b:for(;;)if(i==16){__ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(a, +e,d,f,b,N);_llvm_memcpy_p0i8_p0i8_i32(Z,N,4,4,0);j=e;i=Z;FHEAP[z]=FHEAP[i]-FHEAP[j];FHEAP[B]=FHEAP[i+1]-FHEAP[j+1];FHEAP[C]=FHEAP[i+2]-FHEAP[j+2];i=ca;j=z;k=B;l=C;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=e;i=Z;FHEAP[A]=FHEAP[i]-FHEAP[j];FHEAP[w]=FHEAP[i+1]-FHEAP[j+1];FHEAP[D]=FHEAP[i+2]-FHEAP[j+2];i=Y;j=A;k=w;l=D;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=ca;i=Y;i=FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2];if(!(i<K)){i= +17;continue b}K=i;_llvm_memcpy_p0i8_p0i8_i32(g,Z,4,4,0);i=g+4;IHEAP[i]&=-2;IHEAP[i]&=-3;IHEAP[i]&=-5;IHEAP[i]&=-9;i=g+4;IHEAP[i]=IHEAP[i]&-2|IHEAP[N+4]&1;i=g+4;IHEAP[i]=IHEAP[i]&-3|(IHEAP[N+4]>>>2&1)<<1;i=g+4;IHEAP[i]=IHEAP[i]&-9|(IHEAP[N+4]>>>1&1)<<3;j=FHEAP[N+6];k=FHEAP[N+6+2];l=FHEAP[N+6+1];i=g;FHEAP[i+6]=j;FHEAP[i+6+1]=k;FHEAP[i+6+2]=0;FHEAP[i+6+3]=l;i=17}else if(i==17){i=I!=0?19:20;break b}b:for(;;)if(i==19){__ZN22btVoronoiSimplexSolver22closestPtPointTriangleERK9btVector3S2_S2_S2_R25btSubSimplexClosestResult(a, +e,b,f,c,N);_llvm_memcpy_p0i8_p0i8_i32(ea,N,4,4,0);j=e;i=ea;FHEAP[E]=FHEAP[i]-FHEAP[j];FHEAP[F]=FHEAP[i+1]-FHEAP[j+1];FHEAP[G]=FHEAP[i+2]-FHEAP[j+2];i=ha;j=E;k=F;l=G;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=e;i=ea;FHEAP[J]=FHEAP[i]-FHEAP[j];FHEAP[H]=FHEAP[i+1]-FHEAP[j+1];FHEAP[M]=FHEAP[i+2]-FHEAP[j+2];i=ba;j=J;k=H;l=M;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=ha;i=ba;i=FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2];if(!(i< +K)){i=20;continue b}K=i;_llvm_memcpy_p0i8_p0i8_i32(g,ea,4,4,0);i=g+4;IHEAP[i]&=-2;IHEAP[i]&=-3;IHEAP[i]&=-5;IHEAP[i]&=-9;i=g+4;IHEAP[i]=IHEAP[i]&-3|(IHEAP[N+4]&1)<<1;i=g+4;IHEAP[i]=IHEAP[i]&-5|(IHEAP[N+4]>>>2&1)<<2;i=g+4;IHEAP[i]=IHEAP[i]&-9|(IHEAP[N+4]>>>1&1)<<3;j=FHEAP[N+6];k=FHEAP[N+6+2];l=FHEAP[N+6+1];i=g;FHEAP[i+6]=0;FHEAP[i+6+1]=j;FHEAP[i+6+2]=k;FHEAP[i+6+3]=l;i=20}else if(i==20){i=(IHEAP[g+4]&1)!=0?22:23;break b}for(;;)if(i==22)if((IHEAP[g+4]>>>1&1)==0)i=23;else if((IHEAP[g+4]>>>2&1)==0)i= +23;else if((IHEAP[g+4]>>>3&1)!=0)break;else i=23;else if(i==23){K=1;i=5;continue a}K=1;i=5}else if(i==5)return a=K,STACKTOP=h,a;return null}function __ZN22btVoronoiSimplexSolver7closestER9btVector3(a,e){var d;d=__ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(a);_llvm_memcpy_p0i8_p0i8_i32(e,a+69,4,4,0);return d&1} +function __ZN22btVoronoiSimplexSolver9inSimplexERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b,c,f,g,h=d+1,i=d+2,j=d+3,k,l,m,n,o;m=0;o=IHEAP[a];n=0;b=n<o?0:1;a:for(;;)if(b==0){var q=a+1,p=a+77;b:for(;;){c=e;f=b=q+n*4;b=c;c=f;FHEAP[d]=FHEAP[b]-FHEAP[c];FHEAP[h]=FHEAP[b+1]-FHEAP[c+1];FHEAP[i]=FHEAP[b+2]-FHEAP[c+2];b=j;c=d;f=h;g=i;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;b=c=b=j;for(b=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2]<=FHEAP[p]?3:4;;)if(b== +3)m=1,b=4;else if(b==4)if(n+=1,n<o){b=2;continue b}else{b=1;continue a}}}else if(b==1){k=a+73;var r=h=e;b=FHEAP[r+3]==FHEAP[k+3]?5:6;break a}a:for(;;)if(b==5){if(FHEAP[r+2]!=FHEAP[k+2]){b=6;continue a}if(FHEAP[r+1]!=FHEAP[k+1]){b=6;continue a}if(FHEAP[r]==FHEAP[k]){b=9;break a}else b=6}else if(b==6){l=m&1;b=10;break a}for(;;)if(b==9)l=1,b=10;else if(b==10)return STACKTOP=d,l;return null} +function __ZN22btVoronoiSimplexSolver14compute_pointsER9btVector3S1_(a,e,d){__ZN22btVoronoiSimplexSolver28updateClosestVectorAndPointsEv(a);_llvm_memcpy_p0i8_p0i8_i32(e,a+61,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,a+65,4,4,0)} +function __ZN22btVoronoiSimplexSolver19pointOutsideOfPlaneERK9btVector3S2_S2_S2_S2_(a,e,d,b,c,f){a=STACKTOP;STACKTOP+=35;var g=a+1,h=a+2,i=a+3,j=a+4,k=a+5,l=a+6,m=a+7,n=a+8,o=a+9,q=a+10,p=a+11,r=a+12,s=a+13,u=a+14,v=a+15,y=a+19,x=a+23,z=a+27,B=a+31;FHEAP[r]=FHEAP[b]-FHEAP[d];FHEAP[s]=FHEAP[b+1]-FHEAP[d+1];FHEAP[u]=FHEAP[b+2]-FHEAP[d+2];FHEAP[y]=FHEAP[r];FHEAP[y+1]=FHEAP[s];FHEAP[y+2]=FHEAP[u];FHEAP[y+3]=0;FHEAP[a]=FHEAP[c]-FHEAP[d];FHEAP[g]=FHEAP[c+1]-FHEAP[d+1];FHEAP[h]=FHEAP[c+2]-FHEAP[d+2];FHEAP[x]= +FHEAP[a];FHEAP[x+1]=FHEAP[g];FHEAP[x+2]=FHEAP[h];FHEAP[x+3]=0;FHEAP[i]=FHEAP[y+1]*FHEAP[x+2]-FHEAP[y+2]*FHEAP[x+1];FHEAP[j]=FHEAP[y+2]*FHEAP[x]-FHEAP[y]*FHEAP[x+2];FHEAP[k]=FHEAP[y]*FHEAP[x+1]-FHEAP[y+1]*FHEAP[x];FHEAP[v]=FHEAP[i];FHEAP[v+1]=FHEAP[j];FHEAP[v+2]=FHEAP[k];FHEAP[v+3]=0;FHEAP[l]=FHEAP[e]-FHEAP[d];FHEAP[m]=FHEAP[e+1]-FHEAP[d+1];FHEAP[n]=FHEAP[e+2]-FHEAP[d+2];FHEAP[z]=FHEAP[l];FHEAP[z+1]=FHEAP[m];FHEAP[z+2]=FHEAP[n];FHEAP[z+3]=0;e=FHEAP[z]*FHEAP[v]+FHEAP[z+1]*FHEAP[v+1]+FHEAP[z+2]*FHEAP[v+ +2];FHEAP[o]=FHEAP[f]-FHEAP[d];FHEAP[q]=FHEAP[f+1]-FHEAP[d+1];FHEAP[p]=FHEAP[f+2]-FHEAP[d+2];FHEAP[B]=FHEAP[o];FHEAP[B+1]=FHEAP[q];FHEAP[B+2]=FHEAP[p];FHEAP[B+3]=0;d=FHEAP[B]*FHEAP[v]+FHEAP[B+1]*FHEAP[v+1]+FHEAP[B+2]*FHEAP[v+2];STACKTOP=a;return d*d<9.99999905104687E-9?-1:e*d<0}function __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(a,e){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2} +function __ZN30btActivatingCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2}function __ZN30btActivatingCollisionAlgorithmD0Ev(a){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__ZdlPv(a)} +function __ZN30btActivatingCollisionAlgorithmD2Ev(a){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2}function __ZN20btCollisionAlgorithmD1Ev(a){IHEAP[a]=__ZTV20btCollisionAlgorithm+2}function __ZN20btCollisionAlgorithmD0Ev(a){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__ZdlPv(a)} +function __ZN17btCollisionObjectC2Ev(a){var e=STACKTOP;STACKTOP+=15;var d=e+1,b=e+2,c=e+3,f=e+4,g=e+5,h=e+6,i=e+7,j=e+8,k=e+9,l=e+10,m=e+11,n=e+12,o=e+13,q=e+14;IHEAP[a]=__ZTV17btCollisionObject+2;var p=a+41;FHEAP[n]=1;FHEAP[o]=1;FHEAP[q]=1;FHEAP[p]=FHEAP[n];FHEAP[p+1]=FHEAP[o];FHEAP[p+2]=FHEAP[q];FHEAP[p+3]=0;IHEAP[a+45]=0;FHEAP[a+46]=999999984306749440;IHEAP[a+47]=0;IHEAP[a+48]=0;IHEAP[a+49]=0;IHEAP[a+50]=0;IHEAP[a+51]=1;IHEAP[a+52]=-1;IHEAP[a+53]=-1;IHEAP[a+54]=1;FHEAP[a+55]=0;FHEAP[a+56]=0.5; +FHEAP[a+57]=0;IHEAP[a+58]=1;IHEAP[a+59]=0;FHEAP[a+60]=1;FHEAP[a+61]=0;FHEAP[a+62]=0;IHEAP[a+63]=0;a+=1;FHEAP[e]=1;FHEAP[d]=0;FHEAP[b]=0;FHEAP[c]=0;FHEAP[f]=1;FHEAP[g]=0;FHEAP[h]=0;FHEAP[i]=0;FHEAP[j]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,e,d,b,c,f,g,h,i,j);d=a+12;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[d]=FHEAP[k];FHEAP[d+1]=FHEAP[l];FHEAP[d+2]=FHEAP[m];FHEAP[d+3]=0;STACKTOP=e} +function __ZN17btCollisionObjectD0Ev(a){var e;IHEAP[a]=__ZTV17btCollisionObject+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZN17btCollisionObjectD2Ev(a){IHEAP[a]=__ZTV17btCollisionObject+2}function __ZN17btCollisionObject18setActivationStateEi(a,e){var d;for(d=IHEAP[a+54]!=4?0:1;;)if(d==0)IHEAP[a+54]!=5&&(IHEAP[a+54]=e),d=1;else if(d==1)break} +function __ZN17btCollisionObject8activateEb(a,e){var d,b;d=e&1?0:1;a:for(;;)if(d==0){d=a;b=1;var c=d;d=IHEAP[c+54]!=4?3:4;break a}else if(d==1)if((IHEAP[a+51]&3)!=0){d=2;break a}else d=0;for(;;)if(d==2)break;else d==3?(IHEAP[c+54]!=5&&(IHEAP[c+54]=b),d=4):d==4&&(FHEAP[a+55]=0,d=2)} +function __ZNK17btCollisionObject9serializeEPvP12btSerializer(a,e,d){var b,c,f,g,h;f=e+4;c=a+1;b=0;a:for(;;){h=f+b*4;var i=g=c+b*4;for(g=0;;){FHEAP[h+g]=FHEAP[i+g];var j=g+1;g=j;if(!(j<4))break}b=h=b+1;if(!(h<3))break a}b=f+12;c+=12;f=0;a:for(;;)if(FHEAP[b+f]=FHEAP[c+f],f=h=f+1,!(h<4))break a;f=e+20;c=a+17;b=0;a:for(;;){h=f+b*4;i=g=c+b*4;for(g=0;;)if(FHEAP[h+g]=FHEAP[i+g],g=j=g+1,!(j<4))break;b=h=b+1;if(!(h<3))break a}b=f+12;c+=12;f=0;a:for(;;)if(FHEAP[b+f]=FHEAP[c+f],f=h=f+1,!(h<4))break a;f=e+36; +c=a+33;b=0;a:for(;;)if(FHEAP[f+b]=FHEAP[c+b],b=h=b+1,!(h<4))break a;f=e+40;c=a+37;b=0;a:for(;;)if(FHEAP[f+b]=FHEAP[c+b],b=h=b+1,!(h<4))break a;f=e+44;c=a+41;b=0;a:for(;;)if(FHEAP[f+b]=FHEAP[c+b],b=h=b+1,!(h<4))break a;IHEAP[e+55]=IHEAP[a+45];FHEAP[e+48]=FHEAP[a+46];IHEAP[e]=0;c=FUNCTION_TABLE[IHEAP[IHEAP[d]+7]](d,IHEAP[a+48]);IHEAP[e+1]=c;IHEAP[e+2]=0;IHEAP[e+56]=IHEAP[a+51];IHEAP[e+57]=IHEAP[a+52];IHEAP[e+58]=IHEAP[a+53];IHEAP[e+59]=IHEAP[a+54];IHEAP[e+59]=IHEAP[a+54];FHEAP[e+49]=FHEAP[a+55];FHEAP[e+ +50]=FHEAP[a+56];FHEAP[e+51]=FHEAP[a+57];IHEAP[e+60]=IHEAP[a+58];c=FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,a);b=FUNCTION_TABLE[IHEAP[IHEAP[d]+7]](d,c);IHEAP[e+3]=b;for(b=IHEAP[e+3]!=0?18:19;;)if(b==18)b=d,FUNCTION_TABLE[IHEAP[IHEAP[b]+12]](b,c),b=19;else if(b==19)return FHEAP[e+52]=FHEAP[a+60],FHEAP[e+53]=FHEAP[a+61],FHEAP[e+54]=FHEAP[a+62],FHEAP[e+54]=FHEAP[a+62],IHEAP[e+61]=IHEAP[a+63],__str21;return null} +function __ZNK17btCollisionObject21serializeSingleObjectEP12btSerializer(a,e){var d;d=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);d=FUNCTION_TABLE[IHEAP[IHEAP[e]+4]](e,d,1);var b=FUNCTION_TABLE[IHEAP[IHEAP[a]+5]](a,IHEAP[d+2],e);FUNCTION_TABLE[IHEAP[IHEAP[e]+5]](e,d,b,1245859651,a)}function __ZN17btCollisionObject24checkCollideWithOverrideEPS_(){return 1}function __ZN17btCollisionObject17setCollisionShapeEP16btCollisionShape(a,e){IHEAP[a+48]=e;IHEAP[a+50]=e} +function __ZNK17btCollisionObject28calculateSerializeBufferSizeEv(){return 248}function __ZN16btEmptyAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(a,e){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e];IHEAP[a]=__ZTV16btEmptyAlgorithm+2}function __ZN16btEmptyAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){}function __ZN16btEmptyAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZN16btEmptyAlgorithmD1Ev(a){IHEAP[a]=__ZTV16btEmptyAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2}function __ZN16btEmptyAlgorithmD0Ev(a){IHEAP[a]=__ZTV16btEmptyAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__ZdlPv(a)}function __ZN16btEmptyAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(){} +function __ZN13btGhostObjectC2Ev(a){__ZN17btCollisionObjectC2Ev(a);IHEAP[a]=__ZTV13btGhostObject+2;var e=a+256;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+58]=4}function __ZN13btGhostObjectD0Ev(a){var e;IHEAP[a]=__ZTV13btGhostObject+2;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+256);IHEAP[a]=__ZTV17btCollisionObject+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN13btGhostObjectD2Ev(a){IHEAP[a]=__ZTV13btGhostObject+2;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+256);IHEAP[a]=__ZTV17btCollisionObject+2} +function __ZN13btGhostObject28addOverlappingObjectInternalEP17btBroadphaseProxyS1_(a,e){var d=STACKTOP;STACKTOP+=1;var b,c=null,f,g,h;IHEAP[d]=IHEAP[e];g=a+256;h=IHEAP[g+1];var c=0,i=g+3;a:for(;;){var j=c;b=g;if(!(j<IHEAP[b+1])){b=2;break a}f=c;if(IHEAP[IHEAP[i]+c]==IHEAP[d]){b=3;break a}c=f+1;b=0}a:for(;;)if(b==2){b=f=h;f=a+256;b=b==IHEAP[f+1]?5:6;break a}else b==3&&(h=f,b=2);a:for(;;)if(b==5){b=a+256;f=d;b=h=b;c=b=IHEAP[b+1];b=h;b=c==IHEAP[b+2]?7:8;b:for(;;)if(b==7){b=h;g=IHEAP[b+1];g!=0?(c=7,b= +9):(c=7,b=10);for(;;)if(b==9){var k=g*2,c=9;b=10}else if(b==10){__ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(h,c==9?k:1);b=8;continue b}}else if(b==8){var l=IHEAP[h+3]+IHEAP[h+1];b=l==0?11:12;break b}for(;;)if(b==11){IHEAP[h+1]+=1;b=6;continue a}else b==12&&(IHEAP[l]=IHEAP[f],b=11)}else if(b==6){STACKTOP=d;break}} +function __ZN13btGhostObject31removeOverlappingObjectInternalEP17btBroadphaseProxyP12btDispatcherS1_(a,e){var d=STACKTOP;STACKTOP+=1;var b,c,f,g,h;IHEAP[d]=IHEAP[e];g=a+256;c=IHEAP[g+1];f=0;var i=g+3;a:for(;;){var j=f;b=g;if(!(j<IHEAP[b+1])){b=2;break a}var k=f;if(IHEAP[IHEAP[i]+f]==IHEAP[d]){b=3;break a}f=k+1;b=0}a:for(;;)if(b==2){f=h=c;c=a+256;b=f<IHEAP[c+1]?5:6;break a}else b==3&&(c=k,b=2);for(;;)if(b==5)c=a+256,f=a+256,f=IHEAP[f+1]-1,f=IHEAP[IHEAP[c+3]+f],g=h,c=a+256,IHEAP[IHEAP[c+3]+g]=f,c=a+ +256,IHEAP[c+1]+=-1,b=6;else if(b==6){STACKTOP=d;break}} +function __ZN24btPairCachingGhostObjectC2Ev(a){var e,d=null;__ZN17btCollisionObjectC2Ev(a);IHEAP[a]=__ZTV13btGhostObject+2;e=a+256;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+58]=4;IHEAP[a]=__ZTV24btPairCachingGhostObject+2;var b=__Z22btAlignedAllocInternalji(76,16);b==0?(d=0,e=1):(d=0,e=2);for(;;)if(e==1){IHEAP[a+276]=d==0?0:c;return}else if(e==2){var c=b;try{__THREW__=!1,__ZN28btHashedOverlappingPairCacheC2Ev(c)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+ +f.stack+", currently at: "+Error().stack)}if(__THREW__)break;else d=2,e=1}c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);IHEAP[a]=__ZTV13btGhostObject+2;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+256);IHEAP[a]=__ZTV17btCollisionObject+2;__Unwind_Resume_or_Rethrow(c);throw"Reached an unreachable! Original .ll line: 57395";} +function __ZN24btPairCachingGhostObjectD0Ev(a){var e,d;try{__THREW__=!1,__ZN24btPairCachingGhostObjectD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+ +-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 57500";}} +function __ZN24btPairCachingGhostObjectD2Ev(a){var e,d;IHEAP[a]=__ZTV24btPairCachingGhostObject+2;d=IHEAP[a+276];e=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[e](d)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?4:3;if(e==3){d=IHEAP[a+276];for(e=d!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=d,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1){IHEAP[a]=__ZTV13btGhostObject+2;d=a+256;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(d); +IHEAP[a]=__ZTV17btCollisionObject+2;break}}else if(e==4)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[a]=__ZTV13btGhostObject+2,__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+256),IHEAP[a]=__ZTV17btCollisionObject+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 57620";} +function __ZN24btPairCachingGhostObject28addOverlappingObjectInternalEP17btBroadphaseProxyS1_(a,e,d){var b=STACKTOP;STACKTOP+=1;var c,f=null,g,h,i;d!=0?(i=d,f=0):(g=IHEAP[a+47],f=2);d=f==0?i:g;IHEAP[b]=IHEAP[e];g=a+256;i=IHEAP[g+1];var f=0,j=g+3;a:for(;;){var k=f;c=g;if(!(k<IHEAP[c+1])){c=5;break a}h=f;if(IHEAP[IHEAP[j]+f]==IHEAP[b]){c=6;break a}f=h+1;c=3}a:for(;;)if(c==5){h=c=i;c=a+256;c=h==IHEAP[c+1]?8:9;break a}else c==6&&(i=h,c=5);a:for(;;)if(c==8){c=a+256;h=b;c=i=c;f=c=IHEAP[c+1];c=i;c=f==IHEAP[c+ +2]?10:11;b:for(;;)if(c==10){c=i;g=IHEAP[c+1];g!=0?(f=10,c=12):(f=10,c=13);for(;;)if(c==12){var l=g*2,f=12;c=13}else if(c==13){__ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(i,f==12?l:1);c=11;continue b}}else if(c==11){var m=IHEAP[i+3]+IHEAP[i+1];c=m==0?14:15;break b}for(;;)if(c==14){IHEAP[i+1]+=1;c=IHEAP[a+276];FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,d,e);c=9;continue a}else c==15&&(IHEAP[m]=IHEAP[h],c=14)}else if(c==9){STACKTOP=b;break}} +function __ZN24btPairCachingGhostObject31removeOverlappingObjectInternalEP17btBroadphaseProxyP12btDispatcherS1_(a,e,d,b){var c=STACKTOP;STACKTOP+=1;var f,g=null,h,i,j;IHEAP[c]=IHEAP[e];if(b!=0)i=b,g=0;else var k=IHEAP[a+47],g=2;b=g==0?i:k;k=a+256;g=IHEAP[k+1];i=0;var l=k+3;a:for(;;){var m=i;f=k;if(!(m<IHEAP[f+1])){f=5;break a}h=i;if(IHEAP[IHEAP[l]+i]==IHEAP[c]){f=6;break a}i=h+1;f=3}a:for(;;)if(f==5){f=j=g;h=a+256;f=f<IHEAP[h+1]?8:9;break a}else f==6&&(g=h,f=5);for(;;)if(f==8)h=a+256,f=a+256,f=IHEAP[f+ +1]-1,f=IHEAP[IHEAP[h+3]+f],g=j,h=a+256,IHEAP[IHEAP[h+3]+g]=f,h=a+256,IHEAP[h+1]+=-1,h=IHEAP[a+276],FUNCTION_TABLE[IHEAP[IHEAP[h]+3]](h,b,e,d),f=9;else if(f==9){STACKTOP=c;break}} +function __ZNK13btGhostObject15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RN16btCollisionWorld20ConvexResultCallbackEf(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=105;var h,i,j=g+1,k=g+2,l=g+3,m=g+4,n=g+5,o=g+6,q=g+7,p=g+8,r=g+9,s=g+10,u=g+11,v,y=g+12,x=g+28,z=g+44,B=g+48;i=g+52;h=g+56;var C=g+60;v=g+76;var A=g+92,w=g+96,D=g+100,E=g+101;_llvm_memcpy_p0i8_p0i8_i32(y,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+12,d+12,4, +4,0);_llvm_memcpy_p0i8_p0i8_i32(x,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+12,b+12,4,4,0);__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(y,x,1,i,h);FHEAP[g]=1;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=1;FHEAP[n]=0;FHEAP[o]=0;FHEAP[q]=0;FHEAP[p]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(C,g,j,k,l,m,n,o,q,p);j=C+12;FHEAP[r]=0;FHEAP[s]=0;FHEAP[u]=0;FHEAP[j]=FHEAP[r];FHEAP[j+1]= +FHEAP[s];FHEAP[j+2]=FHEAP[u];FHEAP[j+3]=0;__ZNK11btMatrix3x311getRotationER12btQuaternion(y,v);__ZN11btMatrix3x311setRotationERK12btQuaternion(C,v);__ZNK16btCollisionShape21calculateTemporalAabbERK11btTransformRK9btVector3S5_fRS3_S6_(e,C,i,h,1,z,B);r=0;s=a+256;h=r<IHEAP[s+1]?0:1;a:for(;;)if(h==0){u=a+256;b:for(;;){h=r;i=u;i=IHEAP[IHEAP[i+3]+h];C=c;v=IHEAP[IHEAP[C]+2];h=i;for(h=FUNCTION_TABLE[v](C,IHEAP[h+47])?3:4;;)if(h==3)h=i,C=IHEAP[h+48],v=IHEAP[IHEAP[C]+2],h=i,FUNCTION_TABLE[v](C,h+1,A,w),__Z10AabbExpandR9btVector3S0_RKS_S2_(A, +w,z,B),FHEAP[D]=1,h=d,C=h+12,h=b,__Z9btRayAabbRK9btVector3S1_S1_S1_RfRS_(C,h+12,A,w,D,E)&&(h=e,v=C=i,j=IHEAP[v+48],v=i,__ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(h,y,x,C,j,v+1,c,f)),h=4;else if(h==4)if(r+=1,h=r,i=s,h<IHEAP[i+1]){h=2;continue b}else{h=1;continue a}}}else if(h==1){STACKTOP=g;break}} +function __Z10AabbExpandR9btVector3S0_RKS_S2_(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+10;FHEAP[h]=FHEAP[a]+FHEAP[d];FHEAP[i]=FHEAP[a+1]+FHEAP[d+1];FHEAP[j]=FHEAP[a+2]+FHEAP[d+2];FHEAP[k]=FHEAP[h];FHEAP[k+1]=FHEAP[i];FHEAP[k+2]=FHEAP[j];FHEAP[k+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a,k,4,4,0);FHEAP[c]=FHEAP[e]+FHEAP[b];FHEAP[f]=FHEAP[e+1]+FHEAP[b+1];FHEAP[g]=FHEAP[e+2]+FHEAP[b+2];FHEAP[l]=FHEAP[c];FHEAP[l+1]=FHEAP[f];FHEAP[l+2]=FHEAP[g];FHEAP[l+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e, +l,4,4,0);STACKTOP=c} +function __Z9btRayAabbRK9btVector3S1_S1_S1_RfRS_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=63;var h=g+1,i=g+2,j=g+3,k=g+4,l=g+5,m=g+6,n=g+7,o=g+8,q=g+9,p=g+10,r=g+11,s=g+12,u=g+13,v=g+14,y=g+15,x=g+16,z=g+17,B=g+18,C=g+19,A=g+20,w,D=g+21,E=g+25,F=g+29,G=g+30,J=g+34,H=g+38,M=g+39,K=g+43,N,R=g+47,O=g+48,Q=g+52,I=g+56,L=g+57,P=g+58,S=g+59,T=g+60,U=g+61,W=g+62;FHEAP[B]=FHEAP[b]-FHEAP[d];FHEAP[C]=FHEAP[b+1]-FHEAP[d+1];FHEAP[A]=FHEAP[b+2]-FHEAP[d+2];FHEAP[E]=FHEAP[B];FHEAP[E+1]=FHEAP[C];FHEAP[E+2]=FHEAP[A]; +FHEAP[E+3]=0;FHEAP[F]=0.5;FHEAP[g]=FHEAP[E]*FHEAP[F];FHEAP[h]=FHEAP[E+1]*FHEAP[F];FHEAP[i]=FHEAP[E+2]*FHEAP[F];FHEAP[D]=FHEAP[g];FHEAP[D+1]=FHEAP[h];FHEAP[D+2]=FHEAP[i];FHEAP[D+3]=0;FHEAP[j]=FHEAP[b]+FHEAP[d];FHEAP[k]=FHEAP[b+1]+FHEAP[d+1];FHEAP[l]=FHEAP[b+2]+FHEAP[d+2];FHEAP[J]=FHEAP[j];FHEAP[J+1]=FHEAP[k];FHEAP[J+2]=FHEAP[l];FHEAP[J+3]=0;FHEAP[H]=0.5;FHEAP[m]=FHEAP[J]*FHEAP[H];FHEAP[n]=FHEAP[J+1]*FHEAP[H];FHEAP[o]=FHEAP[J+2]*FHEAP[H];FHEAP[G]=FHEAP[m];FHEAP[G+1]=FHEAP[n];FHEAP[G+2]=FHEAP[o];FHEAP[G+ +3]=0;FHEAP[q]=FHEAP[a]-FHEAP[G];FHEAP[p]=FHEAP[a+1]-FHEAP[G+1];FHEAP[r]=FHEAP[a+2]-FHEAP[G+2];FHEAP[M]=FHEAP[q];FHEAP[M+1]=FHEAP[p];FHEAP[M+2]=FHEAP[r];FHEAP[M+3]=0;FHEAP[s]=FHEAP[e]-FHEAP[G];FHEAP[u]=FHEAP[e+1]-FHEAP[G+1];FHEAP[v]=FHEAP[e+2]-FHEAP[G+2];FHEAP[K]=FHEAP[s];FHEAP[K+1]=FHEAP[u];FHEAP[K+2]=FHEAP[v];FHEAP[K+3]=0;a=(FHEAP[M]>FHEAP[D]?8:0)|(FHEAP[M]<0-FHEAP[D]?1:0)|(FHEAP[M+1]<0-FHEAP[D+1]?2:0)|(FHEAP[M+1]>FHEAP[D+1]?16:0)|(FHEAP[M+2]<0-FHEAP[D+2]?4:0)|(FHEAP[M+2]>FHEAP[D+2]?32:0);e=(FHEAP[K]> +FHEAP[D]?8:0)|(FHEAP[K]<0-FHEAP[D]?1:0)|(FHEAP[K+1]<0-FHEAP[D+1]?2:0)|(FHEAP[K+1]>FHEAP[D+1]?16:0)|(FHEAP[K+2]<0-FHEAP[D+2]?4:0)|(FHEAP[K+2]>FHEAP[D+2]?32:0);d=(e&a)==0?0:1;a:for(;;)if(d==0){N=0;FHEAP[R]=FHEAP[c];d=K;b=M;FHEAP[y]=FHEAP[d]-FHEAP[b];FHEAP[x]=FHEAP[d+1]-FHEAP[b+1];FHEAP[z]=FHEAP[d+2]-FHEAP[b+2];d=O;b=y;h=x;i=z;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[h];FHEAP[d+2]=FHEAP[i];FHEAP[d+3]=0;d=1;FHEAP[I]=0;FHEAP[L]=0;FHEAP[P]=0;b=Q;h=I;i=L;j=P;FHEAP[b]=FHEAP[h];FHEAP[b+1]=FHEAP[i];FHEAP[b+2]=FHEAP[j]; +FHEAP[b+3]=0;b=1;h=0;b:for(;;){i=0;c:for(;;){j=(b&a)!=0;d:do if(j){l=i;k=M;l=0-FHEAP[k+l];m=i;k=D;l-=FHEAP[k+m]*d;m=i;k=O;k=l/FHEAP[k+m];if(!(N<=k))break d;N=k;FHEAP[S]=0;FHEAP[T]=0;FHEAP[U]=0;n=Q;k=S;l=T;m=U;FHEAP[n]=FHEAP[k];FHEAP[n+1]=FHEAP[l];FHEAP[n+2]=FHEAP[m];FHEAP[n+3]=0;l=d;m=i;k=Q;FHEAP[k+m]=l}else{if((b&e)==0)break d;l=i;k=M;l=0-FHEAP[k+l];m=i;k=D;l-=FHEAP[k+m]*d;m=i;k=O;FHEAP[W]=l/FHEAP[k+m];k=R;l=W;if(!(FHEAP[l]<FHEAP[k]))break d;FHEAP[k]=FHEAP[l]}while(0);b<<=1;i=j=i+1;if(j==3)break c}d= +-1;h=i=h+1;if(!(i<2))break b}if(N<=FHEAP[R]){d=11;break a}else d=1}else if(d==1){w=0;d=12;break a}for(;;)if(d==11)FHEAP[c]=N,_llvm_memcpy_p0i8_p0i8_i32(f,Q,4,4,0),w=1,d=12;else if(d==12)return c=w,STACKTOP=g,c;return null} +function __ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+ +3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN32btSphereSphereCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(a,e,d,b,c){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV32btSphereSphereCollisionAlgorithm+2;IHEAP[a+8]=0;IHEAP[a+9]=e;for(e=IHEAP[a+9]!=0?0:1;;)if(e==0)return;else if(e==1){var e=IHEAP[a+1],d=IHEAP[IHEAP[e]+3],f=b,g=c,h;try{__THREW__=!1,h=FUNCTION_TABLE[d](e,f,g)}catch(i){if(ABORT)throw i; +__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack);h=null}if(__THREW__)break;IHEAP[a+9]=h;IHEAP[a+8]=1;e=0}b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(b);throw"Reached an unreachable! Original .ll line: 60114";} +function __ZN32btSphereSphereCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN32btSphereSphereCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 60143";} +function __ZN32btSphereSphereCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV32btSphereSphereCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e= +_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 60219";} +function __ZN32btSphereSphereCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){b=STACKTOP;STACKTOP+=38;var f,g,h,i,j,k=b+1,l=b+2,m,n=b+3,o=b+4,q=b+5,p=b+6,r,s=b+7,u=b+8,v=b+9,y=b+10,x=b+11,z=b+12,B=b+13,C=b+17,A=b+18,w=b+19,D=b+23,E=b+24,F=b+25,G=b+26,J=b+30,H=b+34;f=IHEAP[a+9]!=0?0:1;a:for(;;)if(f==0){f=IHEAP[a+9];m=c;IHEAP[m+4]=f;m=e;f=IHEAP[m+48];m=d;m=IHEAP[m+48];g=e;g+=1;g+=12;h=d;h+=1;h+=12;FHEAP[b]=FHEAP[g]-FHEAP[h];FHEAP[k]=FHEAP[g+ +1]-FHEAP[h+1];FHEAP[l]=FHEAP[g+2]-FHEAP[h+2];g=B;h=b;i=k;j=l;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[j];FHEAP[g+3]=0;g=h=g=B;g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];g=_sqrtf(g);FHEAP[C]=g;g=f+16;g=FHEAP[g];f+=12;f=g*FHEAP[f];g=m+16;g=FHEAP[g];m+=12;FHEAP[A]=g*FHEAP[m];if(FHEAP[C]>f+FHEAP[A]){m=c;f=IHEAP[m+4];if(IHEAP[f+282]==0){f=1;continue a}f=IHEAP[m+4];f=IHEAP[f+280]!=IHEAP[m+37];g=IHEAP[m+4];f&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(g, +m+21,m+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(g,m+5,m+21)}else{m=FHEAP[C]-(f+FHEAP[A]);FHEAP[D]=1;FHEAP[E]=0;FHEAP[F]=0;f=w;g=D;h=E;i=F;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;for(f=FHEAP[C]>1.1920928955078125E-7?3:4;;)if(f==3)g=B,f=C,FHEAP[p]=1/FHEAP[f],f=g,g=p,FHEAP[n]=FHEAP[f]*FHEAP[g],FHEAP[o]=FHEAP[f+1]*FHEAP[g],FHEAP[q]=FHEAP[f+2]*FHEAP[g],f=G,g=n,h=o,i=q,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(w, +G,4,4,0),f=4;else if(f==4)if(r=d,r+=1,r+=12,g=A,f=w,FHEAP[s]=FHEAP[f]*FHEAP[g],FHEAP[u]=FHEAP[f+1]*FHEAP[g],FHEAP[v]=FHEAP[f+2]*FHEAP[g],f=H,g=s,h=u,i=v,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=H,FHEAP[y]=FHEAP[r]+FHEAP[f],FHEAP[x]=FHEAP[r+1]+FHEAP[f+1],FHEAP[z]=FHEAP[r+2]+FHEAP[f+2],r=J,f=y,g=x,h=z,FHEAP[r]=FHEAP[f],FHEAP[r+1]=FHEAP[g],FHEAP[r+2]=FHEAP[h],FHEAP[r+3]=0,r=c,FUNCTION_TABLE[IHEAP[IHEAP[r]+4]](r,w,J,m),r=c,m=IHEAP[r+4],IHEAP[m+282]!=0)break;else{f=1;continue a}m= +IHEAP[r+4];m=IHEAP[m+280]!=IHEAP[r+37];f=IHEAP[r+4];m&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(f,r+21,r+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(f,r+5,r+21)}f=1}else if(f==1){STACKTOP=b;break}}function __ZN32btSphereSphereCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZN32btSphereSphereCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+8]&1)){d=1;continue a}g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+ +1];d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+ +3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN29btSphereBoxCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b(a,e,d,b,c,f){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV29btSphereBoxCollisionAlgorithm+2;IHEAP[a+8]=0;IHEAP[a+9]=e;IHEAP[a+10]=f&1;e=IHEAP[a+10]&1?c:b;b=IHEAP[a+10]&1?b:c;for(c=IHEAP[a+9]!=0?0:1;;)if(c==0)return;else if(c==1){var c=IHEAP[a+1],d=IHEAP[IHEAP[c]+6],f=e,g=b,h;try{__THREW__= +!1,h=FUNCTION_TABLE[d](c,f,g)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack);h=null}if(__THREW__)break;if(h){var c=IHEAP[a+1],d=IHEAP[IHEAP[c]+3],f=e,g=b,j;try{__THREW__=!1,j=FUNCTION_TABLE[d](c,f,g)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack);j=null}if(__THREW__)break;IHEAP[a+9]=j;IHEAP[a+8]=1}c=0}h=_llvm_eh_exception();_llvm_eh_selector(h,___gxx_personality_v0,0);IHEAP[a]= +__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(h);throw"Reached an unreachable! Original .ll line: 61467";} +function __ZN29btSphereBoxCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN29btSphereBoxCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 61496";} +function __ZN29btSphereBoxCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV29btSphereBoxCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e= +_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 61572";} +function __ZN29btSphereBoxCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){b=STACKTOP;STACKTOP+=25;var f,g,h,i,j=b+1,k=b+2,l=b+3,m=b+4,n,o=b+5,q=b+9,p=b+13,r=b+17,s=b+21;f=IHEAP[a+9]!=0?0:1;a:for(;;)if(f==0){n=d;f=e;f=IHEAP[a+10]&1?n:f;n=e;g=d;n=IHEAP[a+10]&1?n:g;g=f;g=IHEAP[g+48];f+=1;_llvm_memcpy_p0i8_p0i8_i32(p,f+12,4,4,0);f=g;g=f+16;g=FHEAP[g];f+=12;f=g*FHEAP[f];n=__ZN29btSphereBoxCollisionAlgorithm17getSphereDistanceEP17btCollisionObjectR9btVector3S3_RKS2_f(a, +n,o,q,p,f);g=IHEAP[a+9];f=c;IHEAP[f+4]=g;for(f=n<1.1920928955078125E-7?2:3;;)if(f==2)f=o,g=q,FHEAP[b]=FHEAP[f]-FHEAP[g],FHEAP[j]=FHEAP[f+1]-FHEAP[g+1],FHEAP[k]=FHEAP[f+2]-FHEAP[g+2],f=s,g=b,h=j,i=k,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,g=h=g=f=s,g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2],g=_sqrtf(g),FHEAP[m]=g,g=f,f=m,FHEAP[l]=1/FHEAP[f],f=l,FHEAP[g]*=FHEAP[f],FHEAP[g+1]*=FHEAP[f],FHEAP[g+2]*=FHEAP[f],_llvm_memcpy_p0i8_p0i8_i32(r,g,4,4,0),f=c, +FUNCTION_TABLE[IHEAP[IHEAP[f]+4]](f,r,o,n),f=3;else if(f==3)if(IHEAP[a+8]&1)break;else{f=1;continue a}n=IHEAP[a+9];if(IHEAP[n+282]==0){f=1;continue a}n=c;f=IHEAP[n+4];if(IHEAP[f+282]==0){f=1;continue a}f=IHEAP[n+4];f=IHEAP[f+280]!=IHEAP[n+37];g=IHEAP[n+4];f&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(g,n+21,n+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(g,n+5,n+21);f=1}else if(f==1){STACKTOP=b;break}} +function __ZN29btSphereBoxCollisionAlgorithm17getSphereDistanceEP17btCollisionObjectR9btVector3S3_RKS2_f(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=180;var h,i,j,k,l,m=g+1,n=g+2,o,q=g+3,p=g+4,r=g+5,s=g+6,u=g+7,v=g+8,y=g+9,x=g+10,z=g+11,B=g+12,C=g+13,A=g+14,w=g+15,D=g+16,E=g+17,F=g+18,G=g+19,J=g+20,H=g+21,M=g+22,K=g+23,N=g+24,R=g+25,O=g+26,Q=g+27,I=g+28,L=g+29;i=g+30;var P=g+31,S=g+32,T=g+33,U=g+34,W,Z=g+35,ca=g+36,Y=g+37,ea,ha=g+38,ba=g+39,V=g+40,aa,X=g+48,ka=g+52;W=g+60;var da=g+64,fa=g+68,ga=g+72,ja= +g+96,la=g+100,qa=g+104,pa=g+105,wa=g+106,ua=g+107,na=g+108,ya=g+109,xa=g+110,ia=g+111,ma=g+112,ta=g+113,ra=g+114,oa=g+115,Da=g+116;k=g+117;l=g+118;var Ba=g+119,Oa=g+120;o=g+121;h=g+122;j=g+123;var Fa=g+127,Ha=g+131,La=g+135,Ea=g+139,Ca=g+143,Aa=g+147,za=g+151,Ja=g+155,Ra=g+159,Ua=g+163,Xa=g+167,Wa=g+171,Sa=g+175,Ga=g+179;FHEAP[ha]=f;aa=IHEAP[e+48];f=aa+16;FHEAP[L]=0-FHEAP[f];FHEAP[i]=0-FHEAP[f+1];FHEAP[P]=0-FHEAP[f+2];FHEAP[X]=FHEAP[L];FHEAP[X+1]=FHEAP[i];FHEAP[X+2]=FHEAP[P];FHEAP[X+3]=0;_llvm_memcpy_p0i8_p0i8_i32(V, +X,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(V+4,aa+16,4,4,0);L=FUNCTION_TABLE[IHEAP[IHEAP[aa]+11]](aa);FHEAP[ba]=L;L=e+1;_llvm_memcpy_p0i8_p0i8_i32(ka,V,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ka+4,V+4,4,4,0);FHEAP[W]=FHEAP[ba];FHEAP[W+1]=FHEAP[ba];FHEAP[W+2]=FHEAP[ba];FHEAP[W+3]=0;FHEAP[V]+=FHEAP[W];FHEAP[V+1]+=FHEAP[W+1];FHEAP[V+2]+=FHEAP[W+2];i=V+4;FHEAP[i]-=FHEAP[W];FHEAP[i+1]-=FHEAP[W+1];FHEAP[i+2]-=FHEAP[W+2];W=1E7;FHEAP[pa]=-1;FHEAP[wa]=0;FHEAP[ua]=0;FHEAP[ga]=FHEAP[pa];FHEAP[ga+1]=FHEAP[wa];FHEAP[ga+2]= +FHEAP[ua];FHEAP[ga+3]=0;pa=ga+4;FHEAP[na]=0;FHEAP[ya]=-1;FHEAP[xa]=0;FHEAP[pa]=FHEAP[na];FHEAP[pa+1]=FHEAP[ya];FHEAP[pa+2]=FHEAP[xa];FHEAP[pa+3]=0;na=ga+8;FHEAP[ia]=0;FHEAP[ma]=0;FHEAP[ta]=-1;FHEAP[na]=FHEAP[ia];FHEAP[na+1]=FHEAP[ma];FHEAP[na+2]=FHEAP[ta];FHEAP[na+3]=0;ia=ga+12;FHEAP[ra]=1;FHEAP[oa]=0;FHEAP[Da]=0;FHEAP[ia]=FHEAP[ra];FHEAP[ia+1]=FHEAP[oa];FHEAP[ia+2]=FHEAP[Da];FHEAP[ia+3]=0;ra=ga+16;FHEAP[k]=0;FHEAP[l]=1;FHEAP[Ba]=0;FHEAP[ra]=FHEAP[k];FHEAP[ra+1]=FHEAP[l];FHEAP[ra+2]=FHEAP[Ba];FHEAP[ra+ +3]=0;k=ga+20;FHEAP[Oa]=0;FHEAP[o]=0;FHEAP[h]=1;FHEAP[k]=FHEAP[Oa];FHEAP[k+1]=FHEAP[o];FHEAP[k+2]=FHEAP[h];FHEAP[k+3]=0;__ZNK11btTransform8invXformERK9btVector3(j,L,c);_llvm_memcpy_p0i8_p0i8_i32(fa,j,4,4,0);o=0;_llvm_memcpy_p0i8_p0i8_i32(la,fa,4,4,0);Oa=0;a:for(;;){h=Oa<3?0:1;j=V+h*4;h=la;FHEAP[g]=FHEAP[h]-FHEAP[j];FHEAP[m]=FHEAP[h+1]-FHEAP[j+1];FHEAP[n]=FHEAP[h+2]-FHEAP[j+2];h=Fa;j=g;k=m;l=n;FHEAP[h]=FHEAP[j];FHEAP[h+1]=FHEAP[k];FHEAP[h+2]=FHEAP[l];FHEAP[h+3]=0;j=ga+Oa*4;h=Fa;h=FHEAP[h]*FHEAP[j]+ +FHEAP[h+1]*FHEAP[j+1]+FHEAP[h+2]*FHEAP[j+2];FHEAP[qa]=h;for(h=h>0?1:2;;)if(h==1)o=ga+Oa*4,h=qa,FHEAP[q]=FHEAP[o]*FHEAP[h],FHEAP[p]=FHEAP[o+1]*FHEAP[h],FHEAP[r]=FHEAP[o+2]*FHEAP[h],o=Ha,h=q,j=p,k=r,FHEAP[o]=FHEAP[h],FHEAP[o+1]=FHEAP[j],FHEAP[o+2]=FHEAP[k],FHEAP[o+3]=0,o=la,h=Ha,FHEAP[s]=FHEAP[o]-FHEAP[h],FHEAP[u]=FHEAP[o+1]-FHEAP[h+1],FHEAP[v]=FHEAP[o+2]-FHEAP[h+2],o=La,h=s,j=u,k=v,FHEAP[o]=FHEAP[h],FHEAP[o+1]=FHEAP[j],FHEAP[o+2]=FHEAP[k],FHEAP[o+3]=0,_llvm_memcpy_p0i8_p0i8_i32(la,La,4,4,0),o=1,h= +2;else if(h==2)if(Oa=h=Oa+1,h<6)continue a;else break a}m=o&1;a:do if(m)if(_llvm_memcpy_p0i8_p0i8_i32(V,ka,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(V+4,ka+4,4,4,0),n=fa,q=la,FHEAP[y]=FHEAP[n]-FHEAP[q],FHEAP[x]=FHEAP[n+1]-FHEAP[q+1],FHEAP[z]=FHEAP[n+2]-FHEAP[q+2],n=Ea,q=y,p=x,r=z,FHEAP[n]=FHEAP[q],FHEAP[n+1]=FHEAP[p],FHEAP[n+2]=FHEAP[r],FHEAP[n+3]=0,q=p=q=n=Ea,q=FHEAP[q]*FHEAP[p]+FHEAP[q+1]*FHEAP[p+1]+FHEAP[q+2]*FHEAP[p+2],q=_sqrtf(q),FHEAP[C]=q,q=n,n=C,FHEAP[B]=1/FHEAP[n],n=B,FHEAP[q]*=FHEAP[n],FHEAP[q+ +1]*=FHEAP[n],FHEAP[q+2]*=FHEAP[n],_llvm_memcpy_p0i8_p0i8_i32(ja,q,4,4,0),n=d,q=ja,p=ba,FHEAP[A]=FHEAP[q]*FHEAP[p],FHEAP[w]=FHEAP[q+1]*FHEAP[p],FHEAP[D]=FHEAP[q+2]*FHEAP[p],q=Ca,p=A,r=w,s=D,FHEAP[q]=FHEAP[p],FHEAP[q+1]=FHEAP[r],FHEAP[q+2]=FHEAP[s],FHEAP[q+3]=0,q=la,p=Ca,FHEAP[E]=FHEAP[q]+FHEAP[p],FHEAP[F]=FHEAP[q+1]+FHEAP[p+1],FHEAP[G]=FHEAP[q+2]+FHEAP[p+2],q=Aa,p=E,r=F,s=G,FHEAP[q]=FHEAP[p],FHEAP[q+1]=FHEAP[r],FHEAP[q+2]=FHEAP[s],FHEAP[q+3]=0,_llvm_memcpy_p0i8_p0i8_i32(n,Aa,4,4,0),n=b,q=ja,p=ha,FHEAP[J]= +FHEAP[q]*FHEAP[p],FHEAP[H]=FHEAP[q+1]*FHEAP[p],FHEAP[M]=FHEAP[q+2]*FHEAP[p],q=za,p=J,r=H,s=M,FHEAP[q]=FHEAP[p],FHEAP[q+1]=FHEAP[r],FHEAP[q+2]=FHEAP[s],FHEAP[q+3]=0,q=fa,p=za,FHEAP[K]=FHEAP[q]-FHEAP[p],FHEAP[N]=FHEAP[q+1]-FHEAP[p+1],FHEAP[R]=FHEAP[q+2]-FHEAP[p+2],q=Ja,p=K,r=N,s=R,FHEAP[q]=FHEAP[p],FHEAP[q+1]=FHEAP[r],FHEAP[q+2]=FHEAP[s],FHEAP[q+3]=0,_llvm_memcpy_p0i8_p0i8_i32(n,Ja,4,4,0),q=d,n=b,FHEAP[O]=FHEAP[n]-FHEAP[q],FHEAP[Q]=FHEAP[n+1]-FHEAP[q+1],FHEAP[I]=FHEAP[n+2]-FHEAP[q+2],n=Ra,q=O,p=Q,r= +I,FHEAP[n]=FHEAP[q],FHEAP[n+1]=FHEAP[p],FHEAP[n+2]=FHEAP[r],FHEAP[n+3]=0,q=Ra,n=ja,FHEAP[q]*FHEAP[n]+FHEAP[q+1]*FHEAP[n+1]+FHEAP[q+2]*FHEAP[n+2]>0)ea=1;else{__ZNK11btTransformclERK9btVector3(Ua,L,d);_llvm_memcpy_p0i8_p0i8_i32(da,Ua,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,da,4,4,0);__ZNK11btTransformclERK9btVector3(Xa,L,b);_llvm_memcpy_p0i8_p0i8_i32(da,Xa,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,da,4,4,0);q=b;n=d;FHEAP[S]=FHEAP[n]-FHEAP[q];FHEAP[T]=FHEAP[n+1]-FHEAP[q+1];FHEAP[U]=FHEAP[n+2]-FHEAP[q+2];n=Wa; +q=S;p=T;r=U;FHEAP[n]=FHEAP[q];FHEAP[n+1]=FHEAP[p];FHEAP[n+2]=FHEAP[r];FHEAP[n+3]=0;n=q=n=Wa;n=FHEAP[n]*FHEAP[q]+FHEAP[n+1]*FHEAP[q+1]+FHEAP[n+2]*FHEAP[q+2];for(h=n>1.1920928955078125E-7?5:6;;)if(h==5)W=n,W=0-_sqrtf(W),p=b,q=d,FHEAP[Z]=FHEAP[q]-FHEAP[p],FHEAP[ca]=FHEAP[q+1]-FHEAP[p+1],FHEAP[Y]=FHEAP[q+2]-FHEAP[p+2],q=Sa,p=Z,r=ca,s=Y,FHEAP[q]=FHEAP[p],FHEAP[q+1]=FHEAP[r],FHEAP[q+2]=FHEAP[s],FHEAP[q+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ja,Sa,4,4,0),FHEAP[Ga]=1/W,p=ja,q=Ga,FHEAP[p]*=FHEAP[q],FHEAP[p+1]*=FHEAP[q], +FHEAP[p+2]*=FHEAP[q],h=6;else if(h==6){ea=W;break a}}else ea=__ZN29btSphereBoxCollisionAlgorithm20getSpherePenetrationEP17btCollisionObjectR9btVector3S3_RKS2_fS5_S5_(a,e,d,b,c,FHEAP[ha],V,V+4),_llvm_memcpy_p0i8_p0i8_i32(V,ka,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(V+4,ka+4,4,4,0),ea=ea<=0?ea-FHEAP[ba]:1;while(0);STACKTOP=g;return ea}function __ZN29btSphereBoxCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZNK11btTransform8invXformERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=19;var c,f=b+1,g=b+2,h=b+3,i=b+7;c=e+12;FHEAP[b]=FHEAP[d]-FHEAP[c];FHEAP[f]=FHEAP[d+1]-FHEAP[c+1];FHEAP[g]=FHEAP[d+2]-FHEAP[c+2];FHEAP[h]=FHEAP[b];FHEAP[h+1]=FHEAP[f];FHEAP[h+2]=FHEAP[g];FHEAP[h+3]=0;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(i,e,e+4,e+8,e+1,e+4+1,e+8+1,e+2,e+4+2,e+8+2);__ZmlRK11btMatrix3x3RK9btVector3(a,i,h);STACKTOP=b} +function __ZN29btSphereBoxCollisionAlgorithm20getSpherePenetrationEP17btCollisionObjectR9btVector3S3_RKS2_fS5_S5_(a,e,d,b,c,f,g,h){var sa;a=STACKTOP;STACKTOP+=137;var i,j=null,k,l,m,n=a+1,o=a+2,q=a+3,p=a+4,r=a+5,s=a+6,u=a+7,v=a+8,y=a+9,x=a+10,z=a+11,B=a+12,C=a+13,A=a+14,w=a+15,D=a+16,E=a+17,F=a+18,G=a+19,J=a+20,H=a+21,M=a+22,K,N=a+23,R=a+31,O=a+35,Q=a+39,I=a+43,L=a+67,P=a+71,S=a+72,T=a+73,U=a+74,W=a+75,Z=a+76,ca=a+77,Y=a+78,ea=a+79,ha=a+80,ba=a+81,V=a+82,aa=a+83,X=a+84,ka=a+85,da=a+86,fa=a+87,ga= +a+88,ja=a+89;m=a+90;var la=a+91,qa=a+92,pa=a+93;k=a+94;l=a+95;var j=a+96,wa=a+100,ua=a+104,na=a+108,ya=a+112,xa=a+113,ia=a+117,ma=a+121,ta=a+125,ra=a+129,oa=a+133;_llvm_memcpy_p0i8_p0i8_i32(N,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(N+4,h,4,4,0);FHEAP[P]=-1E7;FHEAP[S]=0;FHEAP[T]=0;FHEAP[U]=0;FHEAP[R]=FHEAP[S];FHEAP[R+1]=FHEAP[T];FHEAP[R+2]=FHEAP[U];FHEAP[R+3]=0;FHEAP[W]=0;FHEAP[Z]=0;FHEAP[ca]=0;FHEAP[L]=FHEAP[W];FHEAP[L+1]=FHEAP[Z];FHEAP[L+2]=FHEAP[ca];FHEAP[L+3]=0;FHEAP[Y]=-1;FHEAP[ea]=0;FHEAP[ha]=0; +FHEAP[I]=FHEAP[Y];FHEAP[I+1]=FHEAP[ea];FHEAP[I+2]=FHEAP[ha];FHEAP[I+3]=0;g=I+4;FHEAP[ba]=0;FHEAP[V]=-1;FHEAP[aa]=0;FHEAP[g]=FHEAP[ba];FHEAP[g+1]=FHEAP[V];FHEAP[g+2]=FHEAP[aa];FHEAP[g+3]=0;g=I+8;FHEAP[X]=0;FHEAP[ka]=0;FHEAP[da]=-1;FHEAP[g]=FHEAP[X];FHEAP[g+1]=FHEAP[ka];FHEAP[g+2]=FHEAP[da];FHEAP[g+3]=0;g=I+12;FHEAP[fa]=1;FHEAP[ga]=0;FHEAP[ja]=0;FHEAP[g]=FHEAP[fa];FHEAP[g+1]=FHEAP[ga];FHEAP[g+2]=FHEAP[ja];FHEAP[g+3]=0;fa=I+16;FHEAP[m]=0;FHEAP[la]=1;FHEAP[qa]=0;FHEAP[fa]=FHEAP[m];FHEAP[fa+1]=FHEAP[la]; +FHEAP[fa+2]=FHEAP[qa];FHEAP[fa+3]=0;m=I+20;FHEAP[pa]=0;FHEAP[k]=0;FHEAP[l]=1;FHEAP[m]=FHEAP[pa];FHEAP[m+1]=FHEAP[k];FHEAP[m+2]=FHEAP[l];FHEAP[m+3]=0;e+=1;__ZNK11btTransform8invXformERK9btVector3(j,e,c);_llvm_memcpy_p0i8_p0i8_i32(Q,j,4,4,0);j=c=0;a:for(;;){if(!((j==8?Da:0)<6)){i=3;break a}pa=c<3?0:1;k=N+pa*4;i=Q;FHEAP[a]=FHEAP[i]-FHEAP[k];FHEAP[n]=FHEAP[i+1]-FHEAP[k+1];FHEAP[o]=FHEAP[i+2]-FHEAP[k+2];i=wa;k=a;l=n;m=o;FHEAP[i]=FHEAP[k];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;k=I+c*4;i=wa; +sa=i=FHEAP[i]*FHEAP[k]+FHEAP[i+1]*FHEAP[k+1]+FHEAP[i+2]*FHEAP[k+2]-f,k=sa;if(i>0){i=4;break a}for(i=k>FHEAP[P]?7:8;;)if(i==7)_llvm_memcpy_p0i8_p0i8_i32(R,N+pa*4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(L,I+c*4,4,4,0),FHEAP[P]=k,i=8;else if(i==8){var Da=c+1,c=Da,j=8;i=1;continue a}}i==3?(FHEAP[q]=FHEAP[Q]-FHEAP[R],FHEAP[p]=FHEAP[Q+1]-FHEAP[R+1],FHEAP[r]=FHEAP[Q+2]-FHEAP[R+2],FHEAP[na]=FHEAP[q],FHEAP[na+1]=FHEAP[p],FHEAP[na+2]=FHEAP[r],FHEAP[na+3]=0,FHEAP[ya]=FHEAP[L]*FHEAP[na]+FHEAP[L+1]*FHEAP[na+1]+FHEAP[L+ +2]*FHEAP[na+2],FHEAP[s]=FHEAP[L]*FHEAP[ya],FHEAP[u]=FHEAP[L+1]*FHEAP[ya],FHEAP[v]=FHEAP[L+2]*FHEAP[ya],FHEAP[ua]=FHEAP[s],FHEAP[ua+1]=FHEAP[u],FHEAP[ua+2]=FHEAP[v],FHEAP[ua+3]=0,FHEAP[y]=FHEAP[Q]-FHEAP[ua],FHEAP[x]=FHEAP[Q+1]-FHEAP[ua+1],FHEAP[z]=FHEAP[Q+2]-FHEAP[ua+2],FHEAP[xa]=FHEAP[y],FHEAP[xa+1]=FHEAP[x],FHEAP[xa+2]=FHEAP[z],FHEAP[xa+3]=0,_llvm_memcpy_p0i8_p0i8_i32(d,xa,4,4,0),FHEAP[B]=FHEAP[L]*FHEAP[P],FHEAP[C]=FHEAP[L+1]*FHEAP[P],FHEAP[A]=FHEAP[L+2]*FHEAP[P],FHEAP[ia]=FHEAP[B],FHEAP[ia+1]=FHEAP[C], +FHEAP[ia+2]=FHEAP[A],FHEAP[ia+3]=0,FHEAP[w]=FHEAP[d]+FHEAP[ia],FHEAP[D]=FHEAP[d+1]+FHEAP[ia+1],FHEAP[E]=FHEAP[d+2]+FHEAP[ia+2],FHEAP[ma]=FHEAP[w],FHEAP[ma+1]=FHEAP[D],FHEAP[ma+2]=FHEAP[E],FHEAP[ma+3]=0,_llvm_memcpy_p0i8_p0i8_i32(b,ma,4,4,0),__ZNK11btTransformclERK9btVector3(ta,e,d),_llvm_memcpy_p0i8_p0i8_i32(O,ta,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,O,4,4,0),__ZNK11btTransformclERK9btVector3(ra,e,b),_llvm_memcpy_p0i8_p0i8_i32(O,ra,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,O,4,4,0),FHEAP[F]=FHEAP[d]-FHEAP[b], +FHEAP[G]=FHEAP[d+1]-FHEAP[b+1],FHEAP[J]=FHEAP[d+2]-FHEAP[b+2],FHEAP[oa]=FHEAP[F],FHEAP[oa+1]=FHEAP[G],FHEAP[oa+2]=FHEAP[J],FHEAP[oa+3]=0,d=FHEAP[oa]*FHEAP[oa]+FHEAP[oa+1]*FHEAP[oa+1]+FHEAP[oa+2]*FHEAP[oa+2],d=_sqrtf(d),FHEAP[M]=d,FHEAP[H]=1/FHEAP[M],FHEAP[oa]*=FHEAP[H],FHEAP[oa+1]*=FHEAP[H],FHEAP[oa+2]*=FHEAP[H],_llvm_memcpy_p0i8_p0i8_i32(L,oa,4,4,0),K=FHEAP[P]):i==4&&(K=1);STACKTOP=a;return K} +function __ZN29btSphereBoxCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+8]&1)){d=1;continue a}g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+ +1];d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __ZN21btCollisionDispatcherC2EP24btCollisionConfiguration(a,e){var d,b=null,c,f,g;IHEAP[a]=__ZTV12btDispatcher+2;IHEAP[a]=__ZTV21btCollisionDispatcher+2;IHEAP[a+4]=2;g=a+5;IHEAP[g+4]=1;IHEAP[g+3]=0;IHEAP[g+1]=0;IHEAP[g+2]=0;g=a+10;IHEAP[g]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[g]=__ZTV16btManifoldResult+2;IHEAP[g+39]=-1;IHEAP[g+40]=-1;IHEAP[g+41]=-1;IHEAP[g+42]=-1;IHEAP[a+1352]=e;IHEAP[a+53]=6;g=IHEAP[IHEAP[e]+3];try{__THREW__=!1,f=FUNCTION_TABLE[g](e)}catch(h){if(ABORT)throw h; +__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack);f=null}d=__THREW__?9:8;a:for(;;)if(d==8){IHEAP[a+54]=f;g=e;var i=IHEAP[IHEAP[g]+2];try{__THREW__=!1,c=FUNCTION_TABLE[i](g)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack);c=null}if(__THREW__){d=9;continue a}IHEAP[a+55]=c;g=0;var i=a+1352,k=a+56,b=0;for(;;){if(!((b==6?r:0)<36))break a;d=0;for(b=2;;){if(!((b==7?p:0)<36))break;var b=IHEAP[i],l=IHEAP[IHEAP[b]+ +5],m=g,n=d,o;try{__THREW__=!1,o=FUNCTION_TABLE[l](b,m,n)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack);o=null}if(__THREW__){d=9;continue a}IHEAP[k+g*36+d]=o;var p=d+1;d=p;b=7}var r=g+1;g=r;b=6;d=1}}else if(d==9)throw f=c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),c=a+10,IHEAP[c]=__ZTV16btManifoldResult+2,IHEAP[c]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2,c=a+5,__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(c), +c=a,IHEAP[c]=__ZTV12btDispatcher+2,__Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 65344";} +function __ZN21btCollisionDispatcher19defaultNearCallbackER16btBroadphasePairRS_RK16btDispatcherInfo(a,e,d){var b=STACKTOP;STACKTOP+=43;var c,f,g,h,i,j,k,l;k=IHEAP[IHEAP[a]];l=IHEAP[IHEAP[a+1]];c=FUNCTION_TABLE[IHEAP[IHEAP[e]+6]](e,k,l)?0:1;a:for(;;)if(c==0){c=IHEAP[a+2]!=0?2:3;b:for(;;)if(c==2)if(IHEAP[a+2]!=0)break b;else{c=1;continue a}else c==3&&(c=e,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,k,l,0),IHEAP[a+2]=c,c=2);i=k;c=l;h=j=b;IHEAP[h]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[j]= +__ZTV16btManifoldResult+2;IHEAP[j+4]=0;IHEAP[j+37]=i;IHEAP[j+38]=c;IHEAP[j+39]=-1;IHEAP[j+40]=-1;IHEAP[j+41]=-1;IHEAP[j+42]=-1;h=j+5;i+=1;g=i;f=h;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,i+12,4,4,0);j+=21;c+=1;h=c;i=j;_llvm_memcpy_p0i8_p0i8_i32(i,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,c+12,4,4,0);c=IHEAP[d+ +2]==1;j=IHEAP[a+2];b:do if(c){i=IHEAP[IHEAP[j]+2];h=k;f=l;g=d;try{__THREW__=!1,FUNCTION_TABLE[i](j,h,f,g,b)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__)break a}else{i=IHEAP[IHEAP[j]+3];h=k;f=l;g=d;var n;try{__THREW__=!1,n=FUNCTION_TABLE[i](j,h,f,g,b)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack);n=null}if(__THREW__)break a;i=n;if(!(FHEAP[d+3]>i))break b;FHEAP[d+ +3]=i}while(0);c=b;IHEAP[c]=__ZTV16btManifoldResult+2;IHEAP[c]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;c=1}else if(c==1){STACKTOP=b;return}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[b]=__ZTV16btManifoldResult+2;IHEAP[b]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 65653";} +function __ZN16btManifoldResultD1Ev(a){IHEAP[a]=__ZTV16btManifoldResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2}function __ZN21btCollisionDispatcherD0Ev(a){IHEAP[a]=__ZTV21btCollisionDispatcher+2;var e=a+10;IHEAP[e]=__ZTV16btManifoldResult+2;IHEAP[e]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+5);IHEAP[a]=__ZTV12btDispatcher+2;__ZdlPv(a)} +function __ZN21btCollisionDispatcherD2Ev(a){IHEAP[a]=__ZTV21btCollisionDispatcher+2;var e=a+10;IHEAP[e]=__ZTV16btManifoldResult+2;IHEAP[e]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+5);IHEAP[a]=__ZTV12btDispatcher+2} +function __ZN21btCollisionDispatcher14getNewManifoldEPvS0_(a,e,d){var b=STACKTOP;STACKTOP+=5;var c,f=null,g,h,i,j,k,l,m;h=b+1;var n;n=b+2;g=b+3;var o=b+4;IHEAP[_gNumManifold]+=1;(IHEAP[a+4]&2)!=0?(k=IHEAP[e+48],k=FUNCTION_TABLE[IHEAP[IHEAP[k]+5]](k,FHEAP[_gContactBreakingThreshold]),FHEAP[b]=k,k=IHEAP[d+48],k=FUNCTION_TABLE[IHEAP[IHEAP[k]+5]](k,FHEAP[_gContactBreakingThreshold]),FHEAP[h]=k,k=FHEAP[FHEAP[b]<FHEAP[h]?b:h],f=0):(m=FHEAP[_gContactBreakingThreshold],f=2);m=f==0?k:m;FHEAP[n]=FHEAP[e+46]; +FHEAP[g]=FHEAP[d+46];n=FHEAP[FHEAP[n]<FHEAP[g]?n:g];g=0;h=IHEAP[IHEAP[a+55]+2]!=0;a:do{h?(h=g=IHEAP[a+55],g=IHEAP[h+3],IHEAP[h+3]=IHEAP[IHEAP[h+3]],IHEAP[h+2]+=-1,c=3):(IHEAP[a+4]&4)==0?(g=__Z22btAlignedAllocInternalji(1140,16),c=3):(l=0,c=4);break a}while(0);a:for(;;)if(c==3){k=h=g;f=e;i=d;j=m;c=n;h=k;__ZN20btPersistentManifoldC2EPvS0_iff(h,f,i,0,j,c);IHEAP[o]=k;h=a+5;IHEAP[IHEAP[o]+287]=IHEAP[h+1];k=a+5;h=o;f=k;c=f=IHEAP[f+1];f=k;c=c==IHEAP[f+2]?5:6;b:for(;;)if(c==5){f=k;i=IHEAP[f+1];i!=0?(f=5, +c=7):(f=5,c=8);for(;;)if(c==7){var q=i*2,f=7;c=8}else if(c==8){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(k,f==7?q:1);c=6;continue b}}else if(c==6){var p=IHEAP[k+3]+IHEAP[k+1];c=p==0?9:10;break b}for(;;)if(c==9){IHEAP[k+1]+=1;l=IHEAP[o];c=4;continue a}else c==10&&(IHEAP[p]=IHEAP[h],c=9)}else if(c==4)return a=l,STACKTOP=b,a;return null} +function __ZN21btCollisionDispatcher13clearManifoldEP20btPersistentManifold(a,e){var d,b,c;c=0;var f=e+282;d=c<IHEAP[f]?0:1;a:for(;;)if(d==0){var g=e+4;b:for(;;){b=g+c*69;for(d=IHEAP[b+27]!=0?3:4;;)if(d==3)IHEAP[b+27]!=0&IHEAP[_gContactDestroyedCallback]!=0&&(FUNCTION_TABLE[IHEAP[_gContactDestroyedCallback]](IHEAP[b+27]),IHEAP[b+27]=0),d=4;else if(d==4)if(c+=1,c<IHEAP[f]){d=2;continue b}else{d=1;continue a}}}else if(d==1){IHEAP[e+282]=0;break}} +function __ZN21btCollisionDispatcher15releaseManifoldEP20btPersistentManifold(a,e){var d,b,c,f;IHEAP[_gNumManifold]+=-1;FUNCTION_TABLE[IHEAP[IHEAP[a]+5]](a,e);f=IHEAP[e+287];var g=IHEAP[a+5+1]-1;d=a+5;b=IHEAP[IHEAP[d+3]+f];IHEAP[IHEAP[d+3]+f]=IHEAP[IHEAP[d+3]+g];IHEAP[IHEAP[d+3]+g]=b;IHEAP[IHEAP[IHEAP[a+5+3]+f]+287]=f;IHEAP[a+5+1]+=-1;b=IHEAP[a+55];d=e!=0?0:1;a:for(;;)if(d==0){if(!(e>=IHEAP[b+4])){d=1;continue a}if(e<IHEAP[b+4]+IHEAP[b]*IHEAP[b+1]){d=3;break a}else d=1}else if(d==1){c=d=e;d=d!=0? +6:5;break a}for(;;)if(d==3)b=e,d=IHEAP[a+55],b!=0&&(IHEAP[b]=IHEAP[d+3],IHEAP[d+3]=b,IHEAP[d+2]+=1),d=5;else if(d==6)IHEAP[_gNumAlignedFree]+=1,d=c,d!=0&&(d=IHEAP[d+-1],_free(d)),d=5;else if(d==5)break} +function __ZN21btCollisionDispatcher13findAlgorithmEP17btCollisionObjectS1_P20btPersistentManifold(a,e,d,b){var c=STACKTOP;STACKTOP+=2;IHEAP[c]=0;IHEAP[c+1]=0;IHEAP[c]=a;IHEAP[c+1]=b;a=IHEAP[a+56+IHEAP[IHEAP[e+48]+1]*36+IHEAP[IHEAP[d+48]+1]];e=FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,c,e,d);STACKTOP=c;return e} +function __ZN21btCollisionDispatcher13needsResponseEP17btCollisionObjectS1_(a,e,d){var b=null,c,f;(IHEAP[e+51]&4)==0?(b=-1,a=0):(b=-1,a=1);a:for(;;)if(a==0)c=d,c=(IHEAP[c+51]&4)==0,b=0,a=1;else if(a==1){c=b==-1?0:c;c&1?(b=1,a=2):(b=1,a=3);break a}for(;;)if(a==2)c=e,(IHEAP[c+51]&3)!=0?(f=d,f=(IHEAP[f+51]&3)!=0^1,b=4):b=2,a=3;else if(a==3)return c=b==1?0:b==2?1:f,c&1;return null} +function __ZN21btCollisionDispatcher14needsCollisionEP17btCollisionObjectS1_(a,e,d){var b,c,f,a=1;b=IHEAP[e+54]!=2?0:1;a:for(;;)if(b==0)if(b=e,IHEAP[b+54]!=5){b=2;break a}else b=1;else if(b==1){b=c=d;b=IHEAP[b+54]!=2?3:4;break a}a:for(;;)if(b==2){f=d;var g=e;b=IHEAP[g+63]!=0?6:7;break a}else if(b==3)b=c,b=IHEAP[b+54]!=5?2:4;else if(b==4){a=0;b=5;break a}for(;;)if(b==5)return a&1;else b==6?(FUNCTION_TABLE[IHEAP[IHEAP[g]]](g,f)||(a=0),b=5):b==7&&(b=5);return null} +function __ZN21btCollisionDispatcher25dispatchAllCollisionPairsEP22btOverlappingPairCacheRK16btDispatcherInfoP12btDispatcher(a,e,d,b){var c=STACKTOP;STACKTOP+=6;IHEAP[c]=__ZTV17btOverlapCallback+2;IHEAP[c]=__ZTV23btCollisionPairCallback+2;IHEAP[c+4]=d;IHEAP[c+5]=a;a=IHEAP[IHEAP[e]+12];try{__THREW__=!1,FUNCTION_TABLE[a](e,c,b)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)IHEAP[c]=__ZTV23btCollisionPairCallback+ +2,IHEAP[c]=__ZTV17btOverlapCallback+2,STACKTOP=c;else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),IHEAP[c]=__ZTV23btCollisionPairCallback+2,IHEAP[c]=__ZTV17btOverlapCallback+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 66778";}function __ZN23btCollisionPairCallbackD1Ev(a){IHEAP[a]=__ZTV23btCollisionPairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2} +function __ZN21btCollisionDispatcher26allocateCollisionAlgorithmEi(a,e){var d,b;IHEAP[IHEAP[a+54]+2]!=0?(d=IHEAP[a+54],b=IHEAP[d+3],IHEAP[d+3]=IHEAP[IHEAP[d+3]],IHEAP[d+2]+=-1,d=b):d=__Z22btAlignedAllocInternalji(e,16);return d} +function __ZN21btCollisionDispatcher22freeCollisionAlgorithmEPv(a,e){var d,b,c;b=IHEAP[a+54];d=e!=0?0:1;a:for(;;)if(d==0){if(!(e>=IHEAP[b+4])){d=1;continue a}if(e<IHEAP[b+4]+IHEAP[b]*IHEAP[b+1]){d=3;break a}else d=1}else if(d==1){c=d=e;d=d!=0?6:5;break a}for(;;)if(d==3)b=e,d=IHEAP[a+54],b!=0&&(IHEAP[b]=IHEAP[d+3],IHEAP[d+3]=b,IHEAP[d+2]+=1),d=5;else if(d==6)IHEAP[_gNumAlignedFree]+=1,d=c,d!=0&&(d=IHEAP[d+-1],_free(d)),d=5;else if(d==5)break} +function __ZNK21btCollisionDispatcher15getNumManifoldsEv(a){return IHEAP[a+5+1]}function __ZN21btCollisionDispatcher26getManifoldByIndexInternalEi(a,e){return IHEAP[IHEAP[a+5+3]+e]}function __ZN21btCollisionDispatcher26getInternalManifoldPointerEv(a){return IHEAP[a+5+3]+0}function __ZN21btCollisionDispatcher23getInternalManifoldPoolEv(a){return IHEAP[a+55]}function __ZNK21btCollisionDispatcher23getInternalManifoldPoolEv(a){return IHEAP[a+55]} +function __ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN23btCollisionPairCallbackD0Ev(a){IHEAP[a]=__ZTV23btCollisionPairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2;__ZdlPv(a)}function __ZN23btCollisionPairCallback14processOverlapER16btBroadphasePair(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a+5]+53]](e,IHEAP[a+5],IHEAP[a+4]);return 0}function __ZN17btOverlapCallbackD1Ev(a){IHEAP[a]=__ZTV17btOverlapCallback+2}function __ZN17btOverlapCallbackD0Ev(a){IHEAP[a]=__ZTV17btOverlapCallback+2;__ZdlPv(a)} +function __ZN20btPersistentManifoldC2EPvS0_iff(a,e,d,b,c,f){var g;IHEAP[a]=1025;for(var h=a+4,b=0;;)if(g=h+69*b,IHEAP[g+27]=0,FHEAP[g+28]=0,IHEAP[g+29]=0,FHEAP[g+30]=0,FHEAP[g+31]=0,FHEAP[g+32]=0,FHEAP[g+33]=0,FHEAP[g+34]=0,FHEAP[g+35]=0,IHEAP[g+36]=0,b=g=b+1,!(g<4))break;IHEAP[a+280]=e;IHEAP[a+281]=d;IHEAP[a+282]=0;FHEAP[a+283]=c;FHEAP[a+284]=f} +function __ZN31btDefaultCollisionConfigurationC2ERK34btDefaultCollisionConstructionInfo(a,e){var d=STACKTOP;STACKTOP+=4;var b,c=null,f,g,h,i,j,k,l,m,n,o,q,p,r,s,u,v,y,x,z,B,C,A,w,D,E,F,G,J;G=d+1;J=d+2;var H=d+3;IHEAP[a]=__ZTV24btCollisionConfiguration+2;IHEAP[a]=__ZTV31btDefaultCollisionConfiguration+2;var M=b=__Z22btAlignedAllocInternalji(360,16);M==0?(c=0,b=1):(c=0,b=2);a:for(;;)if(b==1){IHEAP[a+11]=c==0?0:K;c=IHEAP[e+7]!=0;r=b=__Z22btAlignedAllocInternalji(4,16);b=c?3:4;break a}else if(b==2){var K= +M;b=K;FHEAP[b+77]=9.999999747378752E-5;b+=79;b+=4;IHEAP[b]&=-2;IHEAP[b]&=-3;IHEAP[b]&=-5;IHEAP[b]&=-9;c=2;b=1}a:do if(b==3){K=b=r;K==0?(c=3,b=5):(c=3,b=6);for(;;)if(b==5){IHEAP[a+12]=c==3?0:z;break a}else b==6&&(b=c=b=z=K,IHEAP[b]=__ZTV30btConvexPenetrationDepthSolver+2,IHEAP[c]=__ZTV30btGjkEpaPenetrationDepthSolver+2,c=6,b=5)}else if(b==4){K=b=r;K==0?(c=4,b=8):(c=4,b=9);for(;;)if(b==8){IHEAP[a+12]=c==9?B:0;break a}else b==9&&(b=c=b=B=K,IHEAP[b]=__ZTV30btConvexPenetrationDepthSolver+2,IHEAP[c]=__ZTV33btMinkowskiPenetrationDepthSolver+ +2,c=9,b=8)}while(0);r=__Z22btAlignedAllocInternalji(24,16);r==0?(c=7,b=10):(c=7,b=11);a:for(;;)if(b==10){IHEAP[a+13]=c==7?0:s;m=__Z22btAlignedAllocInternalji(8,16);m==0?(c=10,b=12):(c=10,b=13);break a}else b==11&&(s=r,z=IHEAP[a+11],B=IHEAP[a+12],c=b=s,IHEAP[c]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[c+1]=0,IHEAP[b]=__ZTVN23btConvexConvexAlgorithm10CreateFuncE+2,IHEAP[b+7]=0,IHEAP[b+8]=3,IHEAP[b+6]=z,IHEAP[b+5]=B,c=11,b=10);a:for(;;)if(b==12){IHEAP[a+14]=c==10?0:l;g=__Z22btAlignedAllocInternalji(8, +16);g==0?(c=12,b=14):(c=12,b=15);break a}else b==13&&(r=s=l=m,IHEAP[r]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[r+1]=0,IHEAP[s]=__ZTVN33btConvexConcaveCollisionAlgorithm10CreateFuncE+2,c=13,b=12);a:for(;;)if(b==14){IHEAP[a+15]=c==12?0:f;i=__Z22btAlignedAllocInternalji(8,16);i==0?(c=14,b=16):(c=14,b=17);break a}else b==15&&(l=m=f=g,IHEAP[l]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[l+1]=0,IHEAP[m]=__ZTVN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE+2,c=15,b=14);a:for(;;)if(b==16){IHEAP[a+ +16]=c==14?0:h;k=__Z22btAlignedAllocInternalji(8,16);k==0?(c=16,b=18):(c=16,b=19);break a}else b==17&&(f=g=h=i,IHEAP[f]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[f+1]=0,IHEAP[g]=__ZTVN28btCompoundCollisionAlgorithm10CreateFuncE+2,c=17,b=16);a:for(;;)if(b==18){IHEAP[a+17]=c==16?0:j;o=__Z22btAlignedAllocInternalji(8,16);o==0?(c=18,b=20):(c=18,b=21);break a}else b==19&&(h=i=j=k,IHEAP[h]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[h+1]=0,IHEAP[i]=__ZTVN28btCompoundCollisionAlgorithm17SwappedCreateFuncE+ +2,c=19,b=18);a:for(;;)if(b==20){IHEAP[a+18]=c==18?0:n;p=__Z22btAlignedAllocInternalji(8,16);p==0?(c=20,b=22):(c=20,b=23);break a}else b==21&&(j=k=n=o,IHEAP[j]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[j+1]=0,IHEAP[k]=__ZTVN16btEmptyAlgorithm10CreateFuncE+2,c=21,b=20);a:for(;;)if(b==22){IHEAP[a+19]=c==20?0:q;v=__Z22btAlignedAllocInternalji(8,16);v==0?(c=22,b=24):(c=22,b=25);break a}else b==23&&(n=o=q=p,IHEAP[n]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[n+1]=0,IHEAP[o]=__ZTVN32btSphereSphereCollisionAlgorithm10CreateFuncE+ +2,c=23,b=22);a:for(;;)if(b==24){IHEAP[a+21]=c==22?0:u;x=__Z22btAlignedAllocInternalji(8,16);x==0?(c=24,b=26):(c=24,b=27);break a}else b==25&&(q=p=u=v,IHEAP[q]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[q+1]=0,IHEAP[p]=__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE+2,c=25,b=24);a:for(;;)if(b==26){IHEAP[a+22]=c==24?0:y;IHEAP[IHEAP[a+22]+1]=1;A=__Z22btAlignedAllocInternalji(8,16);A==0?(c=26,b=28):(c=26,b=29);break a}else b==27&&(u=v=y=x,IHEAP[u]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[u+ +1]=0,IHEAP[v]=__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE+2,c=27,b=26);a:for(;;)if(b==28){IHEAP[a+20]=c==26?0:C;D=__Z22btAlignedAllocInternalji(16,16);D==0?(c=28,b=30):(c=28,b=31);break a}else b==29&&(y=x=C=A,IHEAP[y]=__ZTV30btCollisionAlgorithmCreateFunc+2,IHEAP[y+1]=0,IHEAP[x]=__ZTVN26btBoxBoxCollisionAlgorithm10CreateFuncE+2,c=29,b=28);a:for(;;)if(b==30){IHEAP[a+24]=c==28?0:w;F=__Z22btAlignedAllocInternalji(16,16);F==0?(c=30,b=32):(c=30,b=33);break a}else b==31&&(C=A=w=D,IHEAP[C]=__ZTV30btCollisionAlgorithmCreateFunc+ +2,IHEAP[C+1]=0,IHEAP[A]=__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE+2,IHEAP[A+5]=1,IHEAP[A+6]=1,c=31,b=30);a:for(;;)if(b==32){IHEAP[a+23]=c==30?0:N;IHEAP[IHEAP[a+23]+1]=1;IHEAP[d]=36;IHEAP[G]=80;IHEAP[J]=44;F=e+5;N=E=d;D=F;IHEAP[H]=IHEAP[IHEAP[E]>IHEAP[F]?N:D];F=E=H;N=G;IHEAP[H]=IHEAP[IHEAP[E]>IHEAP[G]?F:N];E=G=H;F=J;IHEAP[H]=IHEAP[IHEAP[G]>IHEAP[J]?E:F];E=a+6;b=IHEAP[e]!=0?34:35;break a}else if(b==33){var N=F;w=D=N;IHEAP[w]=__ZTV30btCollisionAlgorithmCreateFunc+2;IHEAP[w+1]=0;IHEAP[D]=__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE+ +2;IHEAP[D+5]=1;IHEAP[D+6]=1;c=33;b=32}a:do if(b==34)IHEAP[E]=0,IHEAP[a+5]=IHEAP[e];else if(b==35){IHEAP[E]=1;J=__Z22btAlignedAllocInternalji(20,16);J==0?(c=35,b=37):(c=35,b=38);for(;;)if(b==37){IHEAP[a+5]=c==35?0:R;break a}else if(b==38){var R=J;F=IHEAP[e+6];G=R;__ZN12btStackAllocC2Ej(G,F);c=38;b=37}}while(0);R=IHEAP[e+1]!=0;J=a+8;a:do if(R)IHEAP[J]=0,IHEAP[a+7]=IHEAP[e+1];else{IHEAP[J]=1;G=__Z22btAlignedAllocInternalji(20,16);G==0?(c=41,b=42):(c=41,b=43);for(;;)if(b==42){IHEAP[a+7]=c==41?0:O;break a}else if(b== +43){var O=G;F=IHEAP[e+3];E=O;__ZN15btPoolAllocatorC2Eii(E,1140,F);c=43;b=42}}while(0);O=IHEAP[e+2]!=0;R=a+10;a:do if(O)IHEAP[R]=0,IHEAP[a+9]=IHEAP[e+2];else{IHEAP[R]=1;J=__Z22btAlignedAllocInternalji(20,16);J==0?(c=46,b=47):(c=46,b=48);for(;;)if(b==47){IHEAP[a+9]=c==46?0:Q;break a}else if(b==48){var Q=J;E=IHEAP[H];F=IHEAP[e+4];G=Q;__ZN15btPoolAllocatorC2Eii(G,E,F);c=48;b=47}}while(0);STACKTOP=d} +function __ZN31btDefaultCollisionConfigurationD0Ev(a){var e;try{__THREW__=!1,__ZN31btDefaultCollisionConfigurationD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 68462";} +function __ZN31btDefaultCollisionConfigurationD2Ev(a){var e,d,b,c,f;IHEAP[a]=__ZTV31btDefaultCollisionConfiguration+2;e=IHEAP[a+6]&1?0:1;a:for(;;)if(e==0){var g=e=IHEAP[a+5];e=IHEAP[g+2]==0?2:3;b:for(;;)if(e==2)for(e=IHEAP[g+4]&1?4:5;;)if(e==4){IHEAP[g]=0;IHEAP[g+2]=0;e=3;continue b}else e==5&&(IHEAP[g]!=0&&(e=IHEAP[g],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e)))),e=4);else if(e==3)if(e=IHEAP[a+5],__ZN12btStackAllocD2Ev(e),f=e=IHEAP[a+5],e!=0)break b;else{e=1;continue a}IHEAP[_gNumAlignedFree]+= +1;e=f;if(e==0){e=1;continue a}e=IHEAP[e+-1];_free(e);e=1}else if(e==1){e=IHEAP[a+10]&1?11:12;break a}a:for(;;)if(e==11){e=IHEAP[a+9];f=IHEAP[e+4];for(e=f!=0?13:14;;)if(e==13)IHEAP[_gNumAlignedFree]+=1,e=f,e!=0&&(e=IHEAP[e+-1],_free(e)),e=14;else if(e==14)if(c=e=IHEAP[a+9],e!=0)break;else{e=12;continue a}IHEAP[_gNumAlignedFree]+=1;e=c;if(e==0){e=12;continue a}e=IHEAP[e+-1];_free(e);e=12}else if(e==12){e=IHEAP[a+8]&1?18:19;break a}a:for(;;)if(e==18){c=IHEAP[a+7];c=IHEAP[c+4];for(e=c!=0?20:21;;)if(e== +20)IHEAP[_gNumAlignedFree]+=1,e=c,e!=0&&(e=IHEAP[e+-1],_free(e)),e=21;else if(e==21)if(d=c=IHEAP[a+7],c!=0)break;else{e=19;continue a}IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=19;continue a}c=IHEAP[c+-1];_free(c);e=19}else if(e==19){d=IHEAP[a+13];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}e=__THREW__?68:67;break a}a:for(;;)if(e==67){d=IHEAP[a+13];e=d!=0?25:26;b:for(;;)if(e==25){IHEAP[_gNumAlignedFree]+= +1;c=d;if(c==0){e=26;continue b}c=IHEAP[c+-1];_free(c);e=26}else if(e==26){d=IHEAP[a+14];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+14];e=d!=0?28:29;b:for(;;)if(e==28){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=29;continue b}c=IHEAP[c+-1];_free(c);e=29}else if(e==29){d=IHEAP[a+15];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(j){if(ABORT)throw j; +__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+15];e=d!=0?31:32;b:for(;;)if(e==31){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=32;continue b}c=IHEAP[c+-1];_free(c);e=32}else if(e==32){d=IHEAP[a+16];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+ +16];e=d!=0?34:35;b:for(;;)if(e==34){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=35;continue b}c=IHEAP[c+-1];_free(c);e=35}else if(e==35){d=IHEAP[a+17];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+17];e=d!=0?37:38;b:for(;;)if(e==37){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=38;continue b}c=IHEAP[c+-1];_free(c);e=38}else if(e==38){d= +IHEAP[a+18];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+18];e=d!=0?40:41;b:for(;;)if(e==40){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=41;continue b}c=IHEAP[c+-1];_free(c);e=41}else if(e==41){d=IHEAP[a+19];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+ +n.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+19];e=d!=0?43:44;b:for(;;)if(e==43){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=44;continue b}c=IHEAP[c+-1];_free(c);e=44}else if(e==44){d=IHEAP[a+21];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+21];e=d!=0?46:47;b:for(;;)if(e==46){IHEAP[_gNumAlignedFree]+= +1;c=d;if(c==0){e=47;continue b}c=IHEAP[c+-1];_free(c);e=47}else if(e==47){d=IHEAP[a+22];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+22];e=d!=0?49:50;b:for(;;)if(e==49){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=50;continue b}c=IHEAP[c+-1];_free(c);e=50}else if(e==50){d=IHEAP[a+20];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(p){if(ABORT)throw p; +__THREW__=!0;print("Exception: "+p+" : "+p.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+20];e=d!=0?52:53;b:for(;;)if(e==52){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=53;continue b}c=IHEAP[c+-1];_free(c);e=53}else if(e==53){d=IHEAP[a+24];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+r+" : "+r.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+ +24];e=d!=0?55:56;b:for(;;)if(e==55){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=56;continue b}c=IHEAP[c+-1];_free(c);e=56}else if(e==56){d=IHEAP[a+23];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break b}d=IHEAP[a+23];e=d!=0?58:59;b:for(;;)if(e==58){IHEAP[_gNumAlignedFree]+=1;c=d;if(c==0){e=59;continue b}c=IHEAP[c+-1];_free(c);e=59}else if(e==59){b= +d=IHEAP[a+11];e=d!=0?61:62;break b}for(;;)if(e==61)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),e=62;else if(e==62){d=IHEAP[a+12];c=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[c](d)}catch(u){if(ABORT)throw u;__THREW__=!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack)}if(__THREW__){e=68;continue a}else break a}}else if(e==68)throw b=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[a]=__ZTV24btCollisionConfiguration+2,__Unwind_Resume_or_Rethrow(b), +"Reached an unreachable! Original .ll line: 68686";b=IHEAP[a+12];for(e=b!=0?64:65;;)if(e==64)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),e=65;else if(e==65){IHEAP[a]=__ZTV24btCollisionConfiguration+2;break}} +function __ZN31btDefaultCollisionConfiguration31getCollisionAlgorithmCreateFuncEii(a,e,d){var b,c=null,f;b=e==8?0:1;a:for(;;)if(b==0){if(d==8){b=2;break a}var g=e;if(g==8)c=3;else{c=3;b=6;break a}if(d==1){b=7;break a}else b=1}else if(b==1){var h=e,c=1;b=6;break a}a:do if(b==2)f=IHEAP[a+19];else if(b==6){b=(c==1?h:g)==1?8:9;b:for(;;)if(b==8)if(d==8){b=10;break b}else b=9;else if(b==9){var i=e;i==0?(c=9,b=12):(c=9,b=13);break b}b:for(;;)if(b==10){f=IHEAP[a+22];break a}else if(b==12){if(d==0){b=14;break b}var j= +e,c=15;b=13}else if(b==13){var k=d;b=(c==15?j:i)<20&k==28?16:17;break b}if(b==14)f=IHEAP[a+20];else if(b==16)f=IHEAP[a+24];else if(b==17){var l=e;if(k<20&l==28)f=IHEAP[a+23];else{b=l<20?18:19;b:for(;;)if(b==18)if(b=d,b<20){b=20;break b}else b=19;else if(b==19){b=e<20?21:22;break b}b:for(;;)if(b==20){f=IHEAP[a+13];break a}else if(b==21){var m=d;b=m;if(b>20)c=21;else{c=21;b=24;break b}if(b<30){b=25;break b}else b=22}else if(b==22){var n=d,c=22;b=24;break b}if(b==24){for(b=(c==22?n:m)<20?26:27;;)if(b== +26){var o=e;b=o;if(b>20)c=26;else{c=26;b=29;break}if(b<30){b=30;break}else b=27}else if(b==27){var q=e,c=27;b=29;break}b==29?(c==27?q:o)==31?f=IHEAP[a+16]:(f=d,f=f==31?IHEAP[a+17]:IHEAP[a+18]):b==30&&(f=IHEAP[a+15])}else b==25&&(f=IHEAP[a+14])}}}else b==7&&(f=IHEAP[a+21]);while(0);return f}function __ZN31btDefaultCollisionConfiguration25getPersistentManifoldPoolEv(a){return IHEAP[a+7]}function __ZN31btDefaultCollisionConfiguration25getCollisionAlgorithmPoolEv(a){return IHEAP[a+9]} +function __ZN31btDefaultCollisionConfiguration17getStackAllocatorEv(a){return IHEAP[a+5]}function __ZN31btDefaultCollisionConfiguration16getSimplexSolverEv(a){return IHEAP[a+11]}function __ZN12btStackAllocD2Ev(a){var e;e=IHEAP[a+2]==0?0:1;a:for(;;)if(e==0)for(e=IHEAP[a+4]&1?2:3;;)if(e==2){IHEAP[a]=0;IHEAP[a+2]=0;e=1;continue a}else e==3&&(IHEAP[a]!=0&&(e=IHEAP[a],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e)))),e=2);else if(e==1)break} +function __ZN24btCollisionConfigurationD1Ev(a){IHEAP[a]=__ZTV24btCollisionConfiguration+2}function __ZN24btCollisionConfigurationD0Ev(a){IHEAP[a]=__ZTV24btCollisionConfiguration+2;__ZdlPv(a)} +function __ZN15btPoolAllocatorC2Eii(a,e,d){var b,c=null;IHEAP[a]=e;IHEAP[a+1]=d;c=__Z22btAlignedAllocInternalji(IHEAP[a+1]*IHEAP[a],16);IHEAP[a+4]=c;e=IHEAP[a+4];IHEAP[a+3]=e;IHEAP[a+2]=IHEAP[a+1];var d=IHEAP[a+1],d=c=d+-1,f=e;c!=0?(c=-1,b=0):(c=-1,b=1);a:for(;;)if(b==0)for(var g=a,h=a,c=0;;){IHEAP[e]=(c==0?f:i)+IHEAP[g];e+=IHEAP[h];var d=c=d+-1,i=e;if(c!=0)b=c=2;else{c=2;b=1;continue a}}else if(b==1){IHEAP[c==-1?f:i]=0;break}} +function __ZN12btStackAllocC2Ej(a,e){var d;IHEAP[a]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;IHEAP[a+3]=0;IHEAP[a+4]=0;d=IHEAP[a+2]==0?0:1;a:for(;;)if(d==0)for(d=IHEAP[a+4]&1?2:3;;)if(d==2){IHEAP[a]=0;IHEAP[a+2]=0;d=1;continue a}else d==3&&(IHEAP[a]!=0&&(d=IHEAP[a],d!=0&&(IHEAP[_gNumAlignedFree]+=1,d!=0&&(d=IHEAP[d+-1],_free(d)))),d=2);else if(d==1){d=__Z22btAlignedAllocInternalji(e,16);IHEAP[a]=d;IHEAP[a+1]=e;break}} +function __ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2}function __ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN31btConvexPlaneCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,g,h,i=IHEAP[e],i=FUNCTION_TABLE[IHEAP[IHEAP[i]+14]](i,28),f=IHEAP[a+1]&1,j=i==0;a:do{if(f){j?(f=5,c=6):(f=5,c=7);for(;;)if(c==6){g=f==5?0:k;c=3;break a}else if(c==7){var k=i,l=e;c=d;var f=b,j=IHEAP[a+5],m=IHEAP[a+6];try{__THREW__=!1,__ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii(k, +0,l,c,f,1,j,m)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=7,c=6}}else{j?(f=0,c=1):(f=0,c=2);for(;;)if(c==1){g=f==0?0:l;c=3;break a}else if(c==2){l=i;k=e;c=d;f=b;j=IHEAP[a+5];m=IHEAP[a+6];try{__THREW__=!1,__ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii(l,0,k,c,f,0,j,m)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+ +o+" : "+o.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=2,c=1}}h=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);c=4;break a}while(0);if(c==3)return g;else if(c==4)throw __Unwind_Resume_or_Rethrow(h),"Reached an unreachable! Original .ll line: 70251";return null}function __ZN30btCollisionAlgorithmCreateFuncD1Ev(a){IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN30btCollisionAlgorithmCreateFuncD0Ev(a){IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)}function __ZN30btCollisionAlgorithmCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS3_(){return 0}function __ZN26btBoxBoxCollisionAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN26btBoxBoxCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN26btBoxBoxCollisionAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN26btBoxBoxCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN26btBoxBoxCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,a=IHEAP[e],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a,16);a==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:g;else if(c==1){var g=a;c=e;var f=d,h=b;try{__THREW__=!1,__ZN26btBoxBoxCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(g,0,c,f,h)}catch(i){if(ABORT)throw i;__THREW__= +!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 70426";}function __ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN34btSphereTriangleCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,g=IHEAP[e],g=FUNCTION_TABLE[IHEAP[IHEAP[g]+14]](g,20);g==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:h;else if(c==1){var h=g;c=IHEAP[e+1];var f=e,i=d,j=b,k=IHEAP[a+1]&1;try{__THREW__=!1,__ZN34btSphereTriangleCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b(h, +c,f,i,j,k)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 70550";}function __ZN32btSphereSphereCollisionAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN32btSphereSphereCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN32btSphereSphereCollisionAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN32btSphereSphereCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN32btSphereSphereCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,a=IHEAP[e],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a,16);a==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:g;else if(c==1){var g=a;c=e;var f=d,h=b;try{__THREW__=!1,__ZN32btSphereSphereCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(g,0,c,f,h)}catch(i){if(ABORT)throw i; +__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 70666";}function __ZN16btEmptyAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN16btEmptyAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN16btEmptyAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN16btEmptyAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN16btEmptyAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e){var d,b=null,c,f=IHEAP[e],f=FUNCTION_TABLE[IHEAP[IHEAP[f]+14]](f,8);f==0?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==-1?0:g;else if(d==1){var g=f,b=e;d=g;c=b;b=d;IHEAP[b]=__ZTV20btCollisionAlgorithm+2;IHEAP[b+1]=IHEAP[c];IHEAP[d]=__ZTV16btEmptyAlgorithm+2;b=1;d=0}return null} +function __ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD1Ev(a){IHEAP[a]=__ZTVN28btCompoundCollisionAlgorithm17SwappedCreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2}function __ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD0Ev(a){IHEAP[a]=__ZTVN28btCompoundCollisionAlgorithm17SwappedCreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN28btCompoundCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,a=IHEAP[e],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a,44);a==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:g;else if(c==1){var g=a;c=e;var f=d,h=b;try{__THREW__=!1,__ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(g,c,f,h,1)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+ +i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 70909";}function __ZN28btCompoundCollisionAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN28btCompoundCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN28btCompoundCollisionAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN28btCompoundCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN28btCompoundCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,a=IHEAP[e],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a,44);a==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:g;else if(c==1){var g=a;c=e;var f=d,h=b;try{__THREW__=!1,__ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(g,c,f,h,0)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+ +i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 71025";}function __ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD1Ev(a){IHEAP[a]=__ZTVN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD0Ev(a){IHEAP[a]=__ZTVN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,a=IHEAP[e],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a,80);a==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:g;else if(c==1){var g=a;c=e;var f=d,h=b;try{__THREW__=!1,__ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(g,c,f,h,1)}catch(i){if(ABORT)throw i;__THREW__= +!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 71141";}function __ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD1Ev(a){IHEAP[a]=__ZTVN33btConvexConcaveCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN33btConvexConcaveCollisionAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)} +function __ZN33btConvexConcaveCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e,d,b){var c,f=null,a=IHEAP[e],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a,80);a==0?(f=-1,c=0):(f=-1,c=1);for(;;)if(c==0)return f==-1?0:g;else if(c==1){var g=a;c=e;var f=d,h=b;try{__THREW__=!1,__ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(g,c,f,h,0)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+ +i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)break;else f=1,c=0}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 71257";} +function __ZN25btSimulationIslandManagerC2Ev(a){IHEAP[a]=__ZTV25btSimulationIslandManager+2;var e=a+1;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+6;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+11;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+16]=1} +function __ZN25btSimulationIslandManagerD0Ev(a){IHEAP[a]=__ZTV25btSimulationIslandManager+2;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+11);__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+6);var e=a+1;__ZN20btAlignedObjectArrayI9btElementE5clearEv(e);__ZN20btAlignedObjectArrayI9btElementE5clearEv(e);__ZdlPv(a)} +function __ZN25btSimulationIslandManagerD2Ev(a){IHEAP[a]=__ZTV25btSimulationIslandManager+2;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+11);__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+6);a+=1;__ZN20btAlignedObjectArrayI9btElementE5clearEv(a);__ZN20btAlignedObjectArrayI9btElementE5clearEv(a)}function __ZN25btSimulationIslandManager13initUnionFindEi(a,e){__ZN11btUnionFind5resetEi(a+1,e)} +function __ZN25btSimulationIslandManager10findUnionsEP12btDispatcherP16btCollisionWorld(a,e,d){var b,c,f,g,e=IHEAP[d+21],d=FUNCTION_TABLE[IHEAP[IHEAP[e]+9]](e),e=FUNCTION_TABLE[IHEAP[IHEAP[d]+9]](d),d=FUNCTION_TABLE[IHEAP[IHEAP[d]+5]](d);c=0;b=c<e?0:1;a:for(;;)if(b==0){var h=a+1;b:for(;;){f=d+4*c;g=IHEAP[IHEAP[f]];f=IHEAP[IHEAP[f+1]];for(b=g!=0?3:4;;)if(b==3){b=g;if((IHEAP[b+51]&7)==0&&f!=0&&(b=f,(IHEAP[b+51]&7)==0)){b=g;var i=IHEAP[b+52];b=f;__ZN11btUnionFind5uniteEii(h,i,IHEAP[b+52])}b=4}else if(b== +4)if(c+=1,c<e){b=2;continue b}else{b=1;continue a}}}else if(b==1)break}function __ZN11btUnionFind5uniteEii(a,e,d){var b,c,f,e=__ZN11btUnionFind4findEi(a,e),d=__ZN11btUnionFind4findEi(a,d);for(b=e==d?0:1;;)if(b==0)break;else b==1&&(c=d,f=e,b=a,IHEAP[IHEAP[b+3]+2*f]=c,c=e,b=a,c=IHEAP[IHEAP[b+3]+2*c+1],f=d,b=a,IHEAP[IHEAP[b+3]+2*f+1]+=c,b=0)} +function __ZN25btSimulationIslandManager21updateActivationStateEP16btCollisionWorldP12btDispatcher(a,e,d){var b,c,f,g,h;h=g=0;b=h<IHEAP[e+1+1]?0:1;a:for(;;)if(b==0){c=e;b=h;c+=1;b=c=IHEAP[IHEAP[c+3]+b];for(b=(IHEAP[b+51]&3)!=0?2:3;;)if(b==2){b=c;IHEAP[b+53]=-1;FHEAP[c+60]=1;h+=1;c=h;b=e;b+=1;b=c<IHEAP[b+1]?0:1;continue a}else b==3&&(b=c,f=g,g=f+1,IHEAP[b+52]=f,b=2)}else if(b==1){h=g;g=a;__ZN11btUnionFind5resetEi(g+1,h);__ZN25btSimulationIslandManager10findUnionsEP12btDispatcherP16btCollisionWorld(a, +d,e);break}}function __ZN25btSimulationIslandManager26storeIslandActivationStateEP16btCollisionWorld(a,e){var d,b,c,f,g,h;h=g=0;d=h<IHEAP[e+1+1]?0:1;a:for(;;)if(d==0)for(var i=a+1,j=a+1;;)if(d=e,b=h,d+=1,b=c=d=IHEAP[IHEAP[d+3]+b],(IHEAP[c+51]&3)!=0?(IHEAP[b+52]=-1,IHEAP[d+53]=-2):(c=__ZN11btUnionFind4findEi(i,g),IHEAP[b+52]=c,b=h,f=g,c=j,IHEAP[IHEAP[c+3]+2*f+1]=b,IHEAP[d+53]=-1,g+=1),h+=1,d=h,b=e,b+=1,d<IHEAP[b+1])d=2;else{d=1;continue a}else if(d==1)break} +function __ZN11btUnionFind4findEi(a,e){var d,b,c,f;c=e;var g;d=c!=IHEAP[IHEAP[a+3]+2*c]?0:1;a:for(;;)if(d==0)for(var h=g=a,i=a;;)if(b=c,d=h,b=IHEAP[IHEAP[d+3]+2*b],d=g,d=IHEAP[d+3]+2*b,b=IHEAP[d],f=c,c=i,IHEAP[IHEAP[c+3]+2*f]=b,f=b=c=IHEAP[d],d=a,b!=IHEAP[IHEAP[d+3]+2*f])d=2;else{d=1;continue a}else if(d==1)return c;return null} +function __ZN25btSimulationIslandManager12buildIslandsEP12btDispatcherP16btCollisionWorld(a,e,d){var b=STACKTOP;STACKTOP+=3;var c,f=null,g,h,i,j,k,l,m,n,o,q,p=b+1,r,s,u=b+2;__ZN15CProfileManager13Start_ProfileEPKc(__str22);d+=1;IHEAP[p]=0;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE6resizeEiRKS1_(a+6,0,p);__ZN11btUnionFind11sortIslandsEv(a+1);p=IHEAP[a+1+1];j=0;c=j<p?0:1;a:for(;;)if(c==0){h=a;i=j;h+=1;i=IHEAP[IHEAP[h+3]+2*i];h=j+1;b:for(;;){if(!(h<p))break b;c=a;g=h;c+=1;if(IHEAP[IHEAP[c+3]+ +2*g]!=i)break b;h+=1}g=1;r=j;c=r<h?8:9;b:for(;;)if(c==8){c=a;f=r;c+=1;f=c=IHEAP[IHEAP[c+3]+2*f+1];c=d;c=f=IHEAP[IHEAP[c+3]+f];c=IHEAP[c+52]!=i?10:11;c:for(;;)if(c==10)c=11;else if(c==11){c=f;c=IHEAP[c+52]==i?12:13;break c}c:for(;;)if(c==12){c=f;for(c=IHEAP[c+54]==1?14:15;;)if(c==14)g=0,c=15;else if(c==15)if(c=f,IHEAP[c+54]==4)break;else{c=13;continue c}g=0;c=13}else if(c==13){r+=1;c=r<h?8:9;continue b}}else if(c==9){s=j;c=g&1?17:18;break b}b:do if(c==17){j=s;if(!(j<h))break b;c:for(;;){c=a;g=j;c+= +1;g=c=IHEAP[IHEAP[c+3]+2*g+1];c=d;c=g=IHEAP[IHEAP[c+3]+g];c=IHEAP[c+52]!=i?21:22;d:for(;;)if(c==21)c=22;else if(c==22){c=g;c=IHEAP[c+52]==i?23:24;break d}for(;;)if(c==23)c=g,IHEAP[c+54]!=4&&IHEAP[c+54]!=5&&(IHEAP[c+54]=2),c=24;else if(c==24)if(j+=1,j<h){c=19;continue c}else break b}}else if(c==18){j=s;if(!(j<h))break b;c:for(;;){c=a;g=j;c+=1;g=c=IHEAP[IHEAP[c+3]+2*g+1];c=d;c=g=IHEAP[IHEAP[c+3]+g];c=IHEAP[c+52]!=i?28:29;d:for(;;)if(c==28)c=29;else if(c==29){c=g;c=IHEAP[c+52]==i?30:31;break d}d:for(;;)if(c== +30){c=g;if(IHEAP[c+54]!=2){c=31;continue d}r=c=g;for(c=IHEAP[r+54]!=4?33:34;;)if(c==33)IHEAP[r+54]!=5&&(IHEAP[r+54]=3),c=34;else if(c==34){c=g;FHEAP[c+55]=0;c=31;continue d}}else if(c==31)if(j+=1,j<h){c=27;continue c}else break b}}while(0);j=h;c=j<p?0:1}else if(c==1){s=e;var d=IHEAP[IHEAP[s]+9],v;try{__THREW__=!1,v=FUNCTION_TABLE[d](s)}catch(y){if(ABORT)throw y;__THREW__=!0;print("Exception: "+y+" : "+y.stack+", currently at: "+Error().stack);v=null}c=__THREW__?73:72;break a}a:for(;;)if(c==72){d= +v;s=0;p=a+16;h=a+6;b:for(;;){if(!(s<d)){c=38;break a}i=e;j=IHEAP[IHEAP[i]+10];c=s;var x;try{__THREW__=!1,x=FUNCTION_TABLE[j](i,c)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack);x=null}if(__THREW__){c=73;continue a}IHEAP[u]=x;i=IHEAP[u];i=IHEAP[i+280];j=IHEAP[u];j=g=IHEAP[j+281];i!=0?(f=39,c=40):(f=39,c=41);c:for(;;)if(c==40){c=i;if(IHEAP[c+54]!=2){c=42;break c}var B=j,f=43;c=41}else if(c==41){c=(f==43?B:g)!=0?44:45;break c}c:for(;;)if(c== +42){c=i;c=(IHEAP[c+51]&2)!=0?46:47;d:for(;;)if(c==46){c=i;if(IHEAP[c+54]==2){c=47;continue d}g=c=j;c=50;e:for(;;)if(c==49){k=g;l=1;c=IHEAP[k+54]!=4?51:52;break e}else if(c==50)if((IHEAP[g+51]&3)!=0){c=47;continue d}else c=49;for(;;)if(c==51)IHEAP[k+54]!=5&&(IHEAP[k+54]=l),c=52;else if(c==52){FHEAP[g+55]=0;c=47;continue d}}else if(c==47){c=j;c=(IHEAP[c+51]&2)!=0?54:55;break d}d:for(;;)if(c==54){c=j;if(IHEAP[c+54]==2){c=55;continue d}g=c=i;c=58;e:for(;;)if(c==57){m=g;n=1;c=IHEAP[m+54]!=4?59:60;break e}else if(c== +58)if((IHEAP[g+51]&3)!=0){c=55;continue d}else c=57;for(;;)if(c==59)IHEAP[m+54]!=5&&(IHEAP[m+54]=n),c=60;else if(c==60){FHEAP[g+55]=0;c=55;continue d}}else if(c==55)if(IHEAP[p]&1)break d;else{c=45;continue c}c=e;g=IHEAP[IHEAP[c]+7];r=i;var f=j,C;try{__THREW__=!1,C=FUNCTION_TABLE[g](c,r,f)}catch(A){if(ABORT)throw A;__THREW__=!0;print("Exception: "+A+" : "+A.stack+", currently at: "+Error().stack);C=null}if(__THREW__){c=73;continue a}if(!C){c=45;continue c}c=h;g=u;c=r=c;f=c=IHEAP[c+1];c=r;c=f==IHEAP[c+ +2]?64:65;d:for(;;)if(c==64){c=r;o=IHEAP[c+1];o!=0?(f=64,c=66):(f=64,c=67);for(;;)if(c==66){var w=o*2,f=66;c=67}else if(c==67){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(r,f==66?w:1);c=65;continue d}}else if(c==65){var D=IHEAP[r+3]+IHEAP[r+1];c=D==0?68:69;break d}for(;;)if(c==68){IHEAP[r+1]+=1;c=45;continue c}else c==69&&(IHEAP[D]=IHEAP[g],c=68)}else if(c==44)c=j,c=IHEAP[c+54]!=2?42:45;else if(c==45){s+=1;c=36;continue b}}}else if(c==73){q=a=_llvm_eh_exception();_llvm_eh_selector(a, +___gxx_personality_v0,0);c=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?6:7;break a}a:for(;;)if(c==6)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],c=7;else if(c==7)throw __Unwind_Resume_or_Rethrow(q),"Reached an unreachable! Original .ll line: 73121";else if(c==38){c=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?70:71;break a}for(;;)if(c==70)q=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]= +IHEAP[q+5],c=71;else if(c==71){STACKTOP=b;break}} +function __ZN20btAlignedObjectArrayIP20btPersistentManifoldE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE(a,e,d,b){var c=STACKTOP;STACKTOP+=6;var f,g=null,h,i,j,k,l=c+1,m,n,o,q,p,r,s,u,v,y,x,z,B=c+3,C,A,w=c+4,D=c+5;i=d+1;__ZN25btSimulationIslandManager12buildIslandsEP12btDispatcherP16btCollisionWorld(a,e,d);d=IHEAP[a+1+1];__ZN15CProfileManager13Start_ProfileEPKc(__str123);var E=IHEAP[a+16]&1;a:do if(E){h=a+6;h=IHEAP[h+1];k=a+6;_llvm_memcpy_p0i8_p0i8_i64(l,B,1,1,0);j=k;f=IHEAP[j+1]> +1?2:3;b:for(;;)if(f==2)j=k,__ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(k,c,0,IHEAP[j+1]-1),f=3;else if(f==3){C=0;s=1;y=0;var F=a+11,G=a+6,J=a+6,H=a+6,M=a+11,K=a+11,N=a+11;f=4;break b}b:for(;;){if(!(y<d)){f=6;break a}k=a;j=y;k+=1;j=IHEAP[IHEAP[k+3]+2*j];A=1;k=y;c:for(;;){if(!(k<d))break c;m=a;n=k;m+=1;if(IHEAP[IHEAP[m+3]+2*n]!=j)break c;m=a;n=k;m+=1;n=m=IHEAP[IHEAP[m+3]+2*n+1];m=i;IHEAP[w]=IHEAP[IHEAP[m+3]+n];n=F;m=w;f=n;g=f=IHEAP[f+ +1];f=n;f=g==IHEAP[f+2]?11:12;d:for(;;)if(f==11){f=n;o=IHEAP[f+1];o!=0?(g=11,f=13):(g=11,f=14);for(;;)if(f==13){var R=o*2,g=13;f=14}else if(f==14){__ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(n,g==13?R:1);f=12;continue d}}else if(f==12){var O=IHEAP[n+3]+IHEAP[n+1];f=O==0?15:16;break d}d:for(;;)if(f==15){IHEAP[n+1]+=1;m=q=IHEAP[w];f=IHEAP[m+54]!=2?17:18;break d}else f==16&&(IHEAP[O]=IHEAP[m],f=15);for(;;)if(f==17)m=q,IHEAP[m+54]!=5&&(A=0),f=18;else if(f==18){k+=1;continue c}}m=n=0;f=C< +h?20:21;c:for(;;)if(f==20){g=C;f=G;f=g=IHEAP[IHEAP[f+3]+g];f=IHEAP[f+280];o=IHEAP[g+281];g=f;IHEAP[g+52]>=0?(p=f,p=IHEAP[p+52],g=22):(r=o,r=IHEAP[r+52],g=24);f=g==22?p:r;if(f!=j){f=21;continue c}m=C;s=J;m=IHEAP[s+3]+m;for(s=C+1;;){if(!(s<h))break;n=j;g=s;f=H;f=g=IHEAP[IHEAP[f+3]+g];f=IHEAP[f+280];o=IHEAP[g+281];g=f;IHEAP[g+52]>=0?(u=f,u=IHEAP[u+52],g=29):(v=o,v=IHEAP[v+52],g=31);f=g==29?u:v;if(n!=f)break;s+=1}n=s-C;f=21}else if(f==21){f=A&1?33:34;break c}c:for(;;)if(f==33){f=n!=0?35:36;break c}else if(f== +34){A=b;f=IHEAP[IHEAP[A]+2];g=K;g=IHEAP[g+3]+0;o=N;o=IHEAP[o+1];var Q=m,I=n,L=j;try{__THREW__=!1,FUNCTION_TABLE[f](A,g,o,Q,I,L)}catch(P){if(ABORT)throw P;__THREW__=!0;print("Exception: "+P+" : "+P.stack+", currently at: "+Error().stack)}if(__THREW__){f=39;break a}else f=33}for(;;)if(f==35)C=s,f=36;else if(f==36){IHEAP[D]=0;__ZN20btAlignedObjectArrayIP17btCollisionObjectE6resizeEiRKS1_(M,0,D);y=k;f=4;continue b}}}else{a=e;l=IHEAP[IHEAP[a]+11];try{__THREW__=!1,x=FUNCTION_TABLE[l](a)}catch(S){if(ABORT)throw S; +__THREW__=!0;print("Exception: "+S+" : "+S.stack+", currently at: "+Error().stack);x=null}if(__THREW__){f=39;break a}a=IHEAP[IHEAP[e]+9];try{__THREW__=!1,z=FUNCTION_TABLE[a](e)}catch(T){if(ABORT)throw T;__THREW__=!0;print("Exception: "+T+" : "+T.stack+", currently at: "+Error().stack);z=null}if(__THREW__){f=39;break a}e=IHEAP[IHEAP[b]+2];a=i;a=IHEAP[a+3]+0;i=IHEAP[i+1];try{__THREW__=!1,FUNCTION_TABLE[e](b,a,i,x,z,-1)}catch(U){if(ABORT)throw U;__THREW__=!0;print("Exception: "+U+" : "+U.stack+", currently at: "+ +Error().stack)}f=__THREW__?39:6;break a}while(0);if(f==39){c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);for(f=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?0:1;;)if(f==0)i=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[i+5],f=1;else if(f==1)throw __Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 74000";}else if(f==6)for(f=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])? +37:38;;)if(f==37)i=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[i+5],f=38;else if(f==38){STACKTOP=c;break}} +function __ZN20btAlignedObjectArrayIP17btCollisionObjectE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=2;var f,g,h,i,j,k,l=c+1;i=d;j=b;k=IHEAP[IHEAP[a+3]+((b+d)/2|0)];var m=a+3,n=a+3;a:for(;;)if(__ZN33btPersistentManifoldSortPredicateclEPK20btPersistentManifoldS2_(e,IHEAP[IHEAP[m]+i],k))i+=1;else{f=__ZN33btPersistentManifoldSortPredicateclEPK20btPersistentManifoldS2_(e,k,IHEAP[IHEAP[n]+j])?1:2;b:for(;;)if(f==1)j+=-1,f=__ZN33btPersistentManifoldSortPredicateclEPK20btPersistentManifoldS2_(e, +k,IHEAP[IHEAP[n]+j])?1:2;else if(f==2){f=i<=j?3:4;break b}for(;;)if(f==3){f=i;h=j;var o=g=a;g=IHEAP[IHEAP[o+3]+f];IHEAP[IHEAP[o+3]+f]=IHEAP[IHEAP[o+3]+h];IHEAP[IHEAP[o+3]+h]=g;i+=1;j+=-1;f=4}else if(f==4)if(i<=j)continue a;else break a}f=d<j?6:7;a:for(;;)if(f==6)__ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(a,c,d,j),f=7;else if(f==7){f=i<b?8:9;break a}for(;;)if(f==8)__ZN20btAlignedObjectArrayIP20btPersistentManifoldE17quickSortInternalI33btPersistentManifoldSortPredicateEEvT_ii(a, +l,i,b),f=9;else if(f==9){STACKTOP=c;break}}function __ZN33btPersistentManifoldSortPredicateclEPK20btPersistentManifoldS2_(a,e,d){var a=null,b,a=IHEAP[e+280],e=IHEAP[e+281];if(IHEAP[a+52]>=0)var c=IHEAP[a+52],a=0;else b=IHEAP[e+52],a=2;c=a==0?c:b;b=IHEAP[d+280];d=IHEAP[d+281];if(IHEAP[b+52]>=0)var f=IHEAP[b+52],a=3;else var g=IHEAP[d+52],a=5;return c<(a==3?f:g)} +function __ZN16btBoxBoxDetectorC2EP10btBoxShapeS1_(a,e,d){IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[a]=__ZTV16btBoxBoxDetector+2;IHEAP[a+4]=e;IHEAP[a+5]=d} +function __Z20dLineClosestApproachRK9btVector3S1_S1_S1_PfS2_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=4;FHEAP[g]=FHEAP[d]-FHEAP[a];FHEAP[g+1]=FHEAP[d+1]-FHEAP[a+1];FHEAP[g+2]=FHEAP[d+2]-FHEAP[a+2];a=FHEAP[e]*FHEAP[b]+FHEAP[e+1]*FHEAP[b+1]+FHEAP[e+2]*FHEAP[b+2];e=FHEAP[e]*FHEAP[g]+FHEAP[e+1]*FHEAP[g+1]+FHEAP[e+2]*FHEAP[g+2];b=0-(FHEAP[b]*FHEAP[g]+FHEAP[b+1]*FHEAP[g+1]+FHEAP[b+2]*FHEAP[g+2]);d=1-a*a;d<=9.999999747378752E-5?(FHEAP[c]=0,FHEAP[f]=0):(d=1/d,FHEAP[c]=(e+a*b)*d,FHEAP[f]=(a*e+b)*d);STACKTOP= +g} +function __Z11cullPoints2iPfiiPi(a,e,d,b,c){var f=STACKTOP;STACKTOP+=16;var g,h,i,j,k,l,m,n=f+8,o;if(a==1)l=FHEAP[e],m=FHEAP[e+1];else if(a==2)l=0.5*(FHEAP[e]+FHEAP[e+2]),m=0.5*(FHEAP[e+1]+FHEAP[e+3]);else{j=m=l=h=0;for(g=j<a-1?1:2;;)if(g==1)i=FHEAP[e+j*2]*FHEAP[e+(j*2+3)]-FHEAP[e+(j*2+2)]*FHEAP[e+(j*2+1)],h+=i,l+=i*(FHEAP[e+j*2]+FHEAP[e+(j*2+2)]),m+=i*(FHEAP[e+(j*2+1)]+FHEAP[e+(j*2+3)]),j+=1,g=j<a-1?1:2;else if(g==2){i=FHEAP[e+(a*2-2)]*FHEAP[e+1]-FHEAP[e]*FHEAP[e+(a*2-1)];j=h+i;g=_fabsf(j)>1.1920928955078125E-7?3: +4;break}g==3?h=1/(3*(h+i)):g==4&&(h=999999984306749440);l=h*(l+i*(FHEAP[e+(a*2-2)]+FHEAP[e]));m=h*(m+i*(FHEAP[e+(a*2-1)]+FHEAP[e+1]))}j=0;g=j<a?6:7;a:for(;;)if(g==6)i=FHEAP[e+j*2]-l,h=FHEAP[e+(j*2+1)]-m,h=_atan2f(h,i),FHEAP[f+j]=h,j+=1,g=j<a?6:7;else if(g==7){j=0;g=j<a?8:9;break a}a:for(;;)if(g==8)IHEAP[n+j]=1,j+=1,g=j<a?8:9;else if(g==9){IHEAP[n+b]=0;IHEAP[c]=b;c+=1;k=1;g=k<d?10:11;break a}a:for(;;)if(g==10){h=e=k*(6.2831854820251465/d)+FHEAP[f+b];g=e>3.1415927410125732?12:13;b:for(;;)if(g==12)h-= +6.2831854820251465,g=13;else if(g==13){o=1E9;IHEAP[c]=b;j=0;g=j<a?14:15;break b}b:for(;;)if(g==14){g=IHEAP[n+j]!=0?16:17;c:for(;;)if(g==16){e=FHEAP[f+j]-h;e=_fabsf(e);for(g=e>3.1415927410125732?18:19;;)if(g==18)e=6.2831854820251465-e,g=19;else if(g==19)if(e<o)break;else{g=17;continue c}o=e;IHEAP[c]=j;g=17}else if(g==17){j+=1;g=j<a?14:15;continue b}}else if(g==15){IHEAP[n+IHEAP[c]]=0;c+=1;k+=1;g=k<d?10:11;continue a}}else if(g==11){STACKTOP=f;break}} +function __Z8dBoxBox2RK9btVector3PKfS1_S1_S3_S1_RS_PfPiiP12dContactGeomiRN36btDiscreteCollisionDetectorInterface6ResultE(a,e,d,b,c,f,g,h,i,j,k,l,m){k=STACKTOP;STACKTOP+=205;var n,o=null,q,p,r,s,u,v,y,x,z,B,C,A,w,D,E,F,l=k+1,G=k+2,J,H,M,K,N,R,O,Q,I,L=k+3,P,S,T,U,W,Z,ca,Y,ea=k+19,ha=k+20,ba=k+21,V=k+22,aa=k+23,X=k+24;C=k+25;B=k+26;z=k+27;var ka=k+28,da=k+29,fa=k+30,ga=k+31,ja=k+32,la=k+33,qa=k+34,pa=k+35,wa=k+36,ua=k+37,na=k+38,ya=k+39,xa=k+40,ia=k+44,ma=k+48,ta=k+52;y=k+53;v=k+54;var ra=k+55,oa=k+ +58,Da,Ba,Oa,Fa,Ha,La,Ea,Ca,Aa,za;x=k+61;var Ja=k+65,Ra=k+69,Ua=k+73,Xa=k+74,Wa=k+75,Sa=k+79,Ga=k+83,Ia,Pa=k+87,Ta=k+91,Va=k+95,fb=k+99,ib=k+103,Na=k+111,Za=k+113,gb,lb=k+129,$a=k+153,eb=k+161,bb=k+165,sb=k+169,Ka=k+173,Ya=k+177,jb=k+185,kb=k+189,tb=k+193,Bb=k+197,Qa=k+201;FHEAP[ta]=0;FHEAP[y]=0;FHEAP[v]=0;FHEAP[ma]=FHEAP[ta];FHEAP[ma+1]=FHEAP[y];FHEAP[ma+2]=FHEAP[v];ta=FHEAP[ma+3]=0;FHEAP[C]=FHEAP[b]-FHEAP[a];FHEAP[B]=FHEAP[b+1]-FHEAP[a+1];FHEAP[z]=FHEAP[b+2]-FHEAP[a+2];FHEAP[x]=FHEAP[C];FHEAP[x+ +1]=FHEAP[B];FHEAP[x+2]=FHEAP[z];FHEAP[x+3]=0;_llvm_memcpy_p0i8_p0i8_i32(xa,x,4,4,0);FHEAP[ia]=FHEAP[e]*FHEAP[xa]+FHEAP[e+4]*FHEAP[xa+1]+FHEAP[e+8]*FHEAP[xa+2];C=e+1;FHEAP[ia+1]=FHEAP[C]*FHEAP[xa]+FHEAP[C+4]*FHEAP[xa+1]+FHEAP[C+8]*FHEAP[xa+2];C=e+2;FHEAP[ia+2]=FHEAP[C]*FHEAP[xa]+FHEAP[C+4]*FHEAP[xa+1]+FHEAP[C+8]*FHEAP[xa+2];FHEAP[ra]=FHEAP[d]*0.5;FHEAP[ra+1]=FHEAP[d+1]*0.5;FHEAP[ra+2]=FHEAP[d+2]*0.5;FHEAP[oa]=FHEAP[f]*0.5;FHEAP[oa+1]=FHEAP[f+1]*0.5;FHEAP[oa+2]=FHEAP[f+2]*0.5;d=FHEAP[e]*FHEAP[c]+FHEAP[e+ +4]*FHEAP[c+4]+FHEAP[e+8]*FHEAP[c+8];f=c+1;f=FHEAP[e]*FHEAP[f]+FHEAP[e+4]*FHEAP[f+4]+FHEAP[e+8]*FHEAP[f+8];C=c+2;C=FHEAP[e]*FHEAP[C]+FHEAP[e+4]*FHEAP[C+4]+FHEAP[e+8]*FHEAP[C+8];B=e+1;B=FHEAP[B]*FHEAP[c]+FHEAP[B+4]*FHEAP[c+4]+FHEAP[B+8]*FHEAP[c+8];x=c+1;z=e+1;z=FHEAP[z]*FHEAP[x]+FHEAP[z+4]*FHEAP[x+4]+FHEAP[z+8]*FHEAP[x+8];y=c+2;x=e+1;x=FHEAP[x]*FHEAP[y]+FHEAP[x+4]*FHEAP[y+4]+FHEAP[x+8]*FHEAP[y+8];y=e+2;y=FHEAP[y]*FHEAP[c]+FHEAP[y+4]*FHEAP[c+4]+FHEAP[y+8]*FHEAP[c+8];u=c+1;v=e+2;v=FHEAP[v]*FHEAP[u]+FHEAP[v+ +4]*FHEAP[u+4]+FHEAP[v+8]*FHEAP[u+8];Da=c+2;u=e+2;u=FHEAP[u]*FHEAP[Da]+FHEAP[u+4]*FHEAP[Da+4]+FHEAP[u+8]*FHEAP[Da+8];Da=_fabsf(d);Ba=_fabsf(f);Oa=_fabsf(C);Fa=_fabsf(B);Ha=_fabsf(z);La=_fabsf(x);Ea=_fabsf(y);Ca=_fabsf(v);Aa=_fabsf(u);za=-3.4028234663852886E38;s=p=0;q=_fabsf(FHEAP[ia])-(FHEAP[ra]+FHEAP[oa]*Da+FHEAP[oa+1]*Ba+FHEAP[oa+2]*Oa);var wb=q>0;a:do if(wb)w=0;else{n=q>za?1:2;b:for(;;)if(n==1)za=q,ta=e,p=ia,p=FHEAP[p]<0,s=1,n=2;else if(n==2){q=ia;q=FHEAP[q+1];q=r=_fabsf(q)-(FHEAP[ra+1]+FHEAP[oa]* +Fa+FHEAP[oa+1]*Ha+FHEAP[oa+2]*La);n=r>0?3:4;break b}if(n==3)w=0;else if(n==4){n=q>za?5:6;b:for(;;)if(n==5)za=q,ta=e+1,p=ia,p=FHEAP[p+1]<0,s=2,n=6;else if(n==6){q=ia;q=FHEAP[q+2];q=r=_fabsf(q)-(FHEAP[ra+2]+FHEAP[oa]*Ea+FHEAP[oa+1]*Ca+FHEAP[oa+2]*Aa);n=r>0?7:8;break b}if(n==7)w=0;else if(n==8){n=q>za?9:10;b:for(;;)if(n==9)za=q,ta=e+2,p=ia,p=FHEAP[p+2]<0,s=3,n=10;else if(n==10){q=c;r=xa;q=FHEAP[q]*FHEAP[r]+FHEAP[q+4]*FHEAP[r+1]+FHEAP[q+8]*FHEAP[r+2];q=r=_fabsf(q)-(FHEAP[ra]*Da+FHEAP[ra+1]*Fa+FHEAP[ra+ +2]*Ea+FHEAP[oa]);n=r>0?11:12;break b}if(n==11)w=0;else if(n==12){n=q>za?13:14;b:for(;;)if(n==13)za=q,p=ta=c,s=xa,p=FHEAP[p]*FHEAP[s]+FHEAP[p+4]*FHEAP[s+1]+FHEAP[p+8]*FHEAP[s+2]<0,s=4,n=14;else if(n==14){q=c+1;r=xa;q=FHEAP[q]*FHEAP[r]+FHEAP[q+4]*FHEAP[r+1]+FHEAP[q+8]*FHEAP[r+2];q=r=_fabsf(q)-(FHEAP[ra]*Ba+FHEAP[ra+1]*Ha+FHEAP[ra+2]*Ca+FHEAP[oa+1]);n=r>0?15:16;break b}if(n==15)w=0;else if(n==16){n=q>za?17:18;b:for(;;)if(n==17)za=q,ta=c+1,p=c+1,s=xa,p=FHEAP[p]*FHEAP[s]+FHEAP[p+4]*FHEAP[s+1]+FHEAP[p+ +8]*FHEAP[s+2]<0,s=5,n=18;else if(n==18){q=c+2;r=xa;q=FHEAP[q]*FHEAP[r]+FHEAP[q+4]*FHEAP[r+1]+FHEAP[q+8]*FHEAP[r+2];q=r=_fabsf(q)-(FHEAP[ra]*Oa+FHEAP[ra+1]*La+FHEAP[ra+2]*Aa+FHEAP[oa+2]);n=r>0?19:20;break b}if(n==19)w=0;else if(n==20){n=q>za?21:22;b:for(;;)if(n==21)za=q,ta=c+2,p=c+2,s=xa,p=FHEAP[p]*FHEAP[s]+FHEAP[p+4]*FHEAP[s+1]+FHEAP[p+8]*FHEAP[s+2]<0,s=6,n=22;else if(n==22){Da+=9.999999747378752E-6;Ba+=9.999999747378752E-6;Oa+=9.999999747378752E-6;Fa+=9.999999747378752E-6;Ha+=9.999999747378752E-6; +La+=9.999999747378752E-6;Ea+=9.999999747378752E-6;Ca+=9.999999747378752E-6;Aa+=9.999999747378752E-6;q=ia;r=FHEAP[q+2]*B;q=ia;q=r-FHEAP[q+1]*y;q=r=_fabsf(q)-(FHEAP[ra+1]*Ea+FHEAP[ra+2]*Fa+FHEAP[oa+1]*Oa+FHEAP[oa+2]*Ba);n=r>1.1920928955078125E-7?23:24;break b}if(n==23)w=0;else if(n==24){r=0+(0-y)*(0-y)+B*B;r=_sqrtf(r);n=r>1.1920928955078125E-7?25:26;b:for(;;)if(n==25){q/=r;if(!(q*1.0499999523162842>za)){n=26;continue b}za=q;ta=0;s=0/r;p=ma;FHEAP[p]=s;s=(0-y)/r;p=ma;FHEAP[p+1]=s;s=B/r;p=ma;FHEAP[p+2]= +s;p=ia;s=FHEAP[p+2]*B;p=ia;p=s-FHEAP[p+1]*y<0;s=7;n=26}else if(n==26){q=ia;r=FHEAP[q+2]*z;q=ia;q=r-FHEAP[q+1]*v;q=r=_fabsf(q)-(FHEAP[ra+1]*Ca+FHEAP[ra+2]*Ha+FHEAP[oa]*Oa+FHEAP[oa+2]*Da);n=r>1.1920928955078125E-7?28:29;break b}if(n==28)w=0;else if(n==29){r=0+(0-v)*(0-v)+z*z;r=_sqrtf(r);n=r>1.1920928955078125E-7?30:31;b:for(;;)if(n==30){q/=r;if(!(q*1.0499999523162842>za)){n=31;continue b}za=q;ta=0;s=0/r;p=ma;FHEAP[p]=s;s=(0-v)/r;p=ma;FHEAP[p+1]=s;s=z/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p+2]*z;p=ia;p=s- +FHEAP[p+1]*v<0;s=8;n=31}else if(n==31){q=ia;r=FHEAP[q+2]*x;q=ia;q=r-FHEAP[q+1]*u;q=r=_fabsf(q)-(FHEAP[ra+1]*Aa+FHEAP[ra+2]*La+FHEAP[oa]*Ba+FHEAP[oa+1]*Da);n=r>1.1920928955078125E-7?33:34;break b}if(n==33)w=0;else if(n==34){r=0+(0-u)*(0-u)+x*x;r=_sqrtf(r);n=r>1.1920928955078125E-7?35:36;b:for(;;)if(n==35){q/=r;if(!(q*1.0499999523162842>za)){n=36;continue b}za=q;ta=0;s=0/r;p=ma;FHEAP[p]=s;s=(0-u)/r;p=ma;FHEAP[p+1]=s;s=x/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p+2]*x;p=ia;p=s-FHEAP[p+1]*u<0;s=9;n=36}else if(n== +36){q=ia;r=FHEAP[q]*y;q=ia;q=r-FHEAP[q+2]*d;q=r=_fabsf(q)-(FHEAP[ra]*Ea+FHEAP[ra+2]*Da+FHEAP[oa+1]*La+FHEAP[oa+2]*Ha);n=r>1.1920928955078125E-7?38:39;break b}if(n==38)w=0;else if(n==39){r=y*y+0+(0-d)*(0-d);r=_sqrtf(r);n=r>1.1920928955078125E-7?40:41;b:for(;;)if(n==40){q/=r;if(!(q*1.0499999523162842>za)){n=41;continue b}za=q;ta=0;s=y/r;p=ma;FHEAP[p]=s;s=0/r;p=ma;FHEAP[p+1]=s;s=(0-d)/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p]*y;p=ia;p=s-FHEAP[p+2]*d<0;s=10;n=41}else if(n==41){q=ia;r=FHEAP[q]*v;q=ia;q=r-FHEAP[q+ +2]*f;q=r=_fabsf(q)-(FHEAP[ra]*Ca+FHEAP[ra+2]*Ba+FHEAP[oa]*La+FHEAP[oa+2]*Fa);n=r>1.1920928955078125E-7?43:44;break b}if(n==43)w=0;else if(n==44){r=v*v+0+(0-f)*(0-f);r=_sqrtf(r);n=r>1.1920928955078125E-7?45:46;b:for(;;)if(n==45){q/=r;if(!(q*1.0499999523162842>za)){n=46;continue b}za=q;ta=0;s=v/r;p=ma;FHEAP[p]=s;s=0/r;p=ma;FHEAP[p+1]=s;s=(0-f)/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p]*v;p=ia;p=s-FHEAP[p+2]*f<0;s=11;n=46}else if(n==46){q=ia;r=FHEAP[q]*u;q=ia;q=r-FHEAP[q+2]*C;q=r=_fabsf(q)-(FHEAP[ra]*Aa+FHEAP[ra+ +2]*Oa+FHEAP[oa]*Ha+FHEAP[oa+1]*Fa);n=r>1.1920928955078125E-7?48:49;break b}if(n==48)w=0;else if(n==49){r=u*u+0+(0-C)*(0-C);r=_sqrtf(r);n=r>1.1920928955078125E-7?50:51;b:for(;;)if(n==50){q/=r;if(!(q*1.0499999523162842>za)){n=51;continue b}za=q;ta=0;s=u/r;p=ma;FHEAP[p]=s;s=0/r;p=ma;FHEAP[p+1]=s;s=(0-C)/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p]*u;p=ia;p=s-FHEAP[p+2]*C<0;s=12;n=51}else if(n==51){q=ia;r=FHEAP[q+1]*d;q=ia;q=r-FHEAP[q]*B;q=r=_fabsf(q)-(FHEAP[ra]*Fa+FHEAP[ra+1]*Da+FHEAP[oa+1]*Aa+FHEAP[oa+2]*Ca); +n=r>1.1920928955078125E-7?53:54;break b}if(n==53)w=0;else if(n==54){r=(0-B)*(0-B)+d*d+0;r=_sqrtf(r);n=r>1.1920928955078125E-7?55:56;b:for(;;)if(n==55){q/=r;if(!(q*1.0499999523162842>za)){n=56;continue b}za=q;ta=0;s=(0-B)/r;p=ma;FHEAP[p]=s;s=d/r;p=ma;FHEAP[p+1]=s;s=0/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p+1]*d;p=ia;p=s-FHEAP[p]*B<0;s=13;n=56}else if(n==56){q=ia;r=FHEAP[q+1]*f;q=ia;q=r-FHEAP[q]*z;q=r=_fabsf(q)-(FHEAP[ra]*Ha+FHEAP[ra+1]*Ba+FHEAP[oa]*Aa+FHEAP[oa+2]*Ea);n=r>1.1920928955078125E-7?58:59;break b}if(n== +58)w=0;else if(n==59){r=(0-z)*(0-z)+f*f+0;r=_sqrtf(r);n=r>1.1920928955078125E-7?60:61;b:for(;;)if(n==60){q/=r;if(!(q*1.0499999523162842>za)){n=61;continue b}za=q;ta=0;s=(0-z)/r;p=ma;FHEAP[p]=s;s=f/r;p=ma;FHEAP[p+1]=s;s=0/r;p=ma;FHEAP[p+2]=s;p=ia;s=FHEAP[p+1]*f;p=ia;p=s-FHEAP[p]*z<0;s=14;n=61}else if(n==61){q=ia;r=FHEAP[q+1]*C;q=ia;q=r-FHEAP[q]*x;q=r=_fabsf(q)-(FHEAP[ra]*La+FHEAP[ra+1]*Oa+FHEAP[oa]*Ca+FHEAP[oa+1]*Ea);n=r>1.1920928955078125E-7?63:64;break b}if(n==63)w=0;else if(n==64){r=(0-x)*(0-x)+ +C*C+0;r=_sqrtf(r);n=r>1.1920928955078125E-7?65:66;b:for(;;)if(n==65)if(q/=r,q*1.0499999523162842>za){n=67;break b}else n=66;else if(n==66){n=s!=0?68:69;break b}b:for(;;)if(n==67)za=q,ta=0,s=(0-x)/r,p=ma,FHEAP[p]=s,s=C/r,p=ma,FHEAP[p+1]=s,s=0/r,p=ma,FHEAP[p+2]=s,p=ia,s=FHEAP[p+1]*C,p=ia,p=s-FHEAP[p]*x<0,s=15,n=68;else if(n==68){n=ta!=0?71:72;break b}else if(n==69){w=0;break a}n==71?(A=FHEAP[ta],r=g,FHEAP[r]=A,A=FHEAP[ta+4],r=g,FHEAP[r+1]=A,A=FHEAP[ta+8],r=g,FHEAP[r+2]=A):n==72&&(r=e,A=ma,A=FHEAP[r]* +FHEAP[A]+FHEAP[r+1]*FHEAP[A+1]+FHEAP[r+2]*FHEAP[A+2],r=g,FHEAP[r]=A,r=e+4,A=ma,A=FHEAP[r]*FHEAP[A]+FHEAP[r+1]*FHEAP[A+1]+FHEAP[r+2]*FHEAP[A+2],r=g,FHEAP[r+1]=A,r=e+8,A=ma,A=FHEAP[r]*FHEAP[A]+FHEAP[r+1]*FHEAP[A+1]+FHEAP[r+2]*FHEAP[A+2],r=g,FHEAP[r+2]=A);n=p!=0?74:75;b:for(;;)if(n==74)r=g,A=0-FHEAP[r],r=g,FHEAP[r]=A,r=g,A=0-FHEAP[r+1],r=g,FHEAP[r+1]=A,r=g,A=0-FHEAP[r+2],r=g,FHEAP[r+2]=A,n=75;else if(n==75){FHEAP[h]=0-za;n=s>6?76:77;break b}if(n==76){o=0;b:for(;;)if(r=o,w=a,r=FHEAP[w+r],A=o,w=Ja,FHEAP[w+ +A]=r,o=w=o+1,!(w<3))break b;w=0;b:for(;;){r=g;A=e+w;r=FHEAP[r]*FHEAP[A]+FHEAP[r+1]*FHEAP[A+4]+FHEAP[r+2]*FHEAP[A+8]>0?1:-1;for(o=0;;)if(D=r*FHEAP[ra+w]*FHEAP[e+(o*4+w)],E=o,A=Ja,FHEAP[A+E]+=D,o=A=o+1,!(A<3))break;w=r=w+1;if(!(r<3))break b}o=0;b:for(;;)if(r=o,w=b,r=FHEAP[w+r],A=o,w=Ra,FHEAP[w+A]=r,o=w=o+1,!(w<3))break b;w=0;b:for(;;){r=g;A=c+w;r=FHEAP[r]*FHEAP[A]+FHEAP[r+1]*FHEAP[A+4]+FHEAP[r+2]*FHEAP[A+8]>0?-1:1;for(o=0;;)if(D=r*FHEAP[oa+w]*FHEAP[c+(o*4+w)],E=o,A=Ra,FHEAP[A+E]+=D,o=A=o+1,!(A<3))break; +w=r=w+1;if(!(r<3))break b}o=0;b:for(;;)if(r=FHEAP[e+(o*4+((s-7)/3|0))],A=o,w=Wa,FHEAP[w+A]=r,o=w=o+1,!(w<3))break b;o=0;b:for(;;)if(r=FHEAP[c+(o*4+(s-7)%3)],A=o,w=Sa,FHEAP[w+A]=r,o=w=o+1,!(w<3))break b;__Z20dLineClosestApproachRK9btVector3S1_S1_S1_PfS2_(Ja,Wa,Ra,Sa,Ua,Xa);o=0;b:for(;;)if(r=o,w=Wa,r=FHEAP[w+r]*FHEAP[Ua],A=o,w=Ja,FHEAP[w+A]+=r,o=w=o+1,!(w<3))break b;for(o=0;;)if(r=o,w=Sa,r=FHEAP[w+r]*FHEAP[Xa],A=o,w=Ra,FHEAP[w+A]+=r,o=w=o+1,!(w<3))break;w=m;r=IHEAP[IHEAP[w]+4];A=g;FHEAP[k]=0-FHEAP[A]; +FHEAP[l]=0-FHEAP[A+1];FHEAP[G]=0-FHEAP[A+2];A=Ga;D=k;E=l;F=G;FHEAP[A]=FHEAP[D];FHEAP[A+1]=FHEAP[E];FHEAP[A+2]=FHEAP[F];FHEAP[A+3]=0;FUNCTION_TABLE[r](w,Ga,Ra,0-FHEAP[h]);IHEAP[i]=s;w=1}else if(n==77){s<=3?(F=e,A=c,r=a,Ia=D=b,D=ra,E=oa):(F=c,A=e,r=b,Ia=D=a,D=oa,E=ra);o=s<=3;J=g;J=FHEAP[J];o?(o=Pa,FHEAP[o]=J,o=g,J=FHEAP[o+1],o=Pa,FHEAP[o+1]=J,o=g,J=FHEAP[o+2]):(J=0-J,o=Pa,FHEAP[o]=J,o=g,J=0-FHEAP[o+1],o=Pa,FHEAP[o+1]=J,o=g,J=0-FHEAP[o+2]);o=Pa;FHEAP[o+2]=J;o=A;J=Pa;J=FHEAP[o]*FHEAP[J]+FHEAP[o+4]*FHEAP[J+ +1]+FHEAP[o+8]*FHEAP[J+2];o=Ta;FHEAP[o]=J;o=A+1;J=Pa;J=FHEAP[o]*FHEAP[J]+FHEAP[o+4]*FHEAP[J+1]+FHEAP[o+8]*FHEAP[J+2];o=Ta;FHEAP[o+1]=J;o=A+2;J=Pa;J=FHEAP[o]*FHEAP[J]+FHEAP[o+4]*FHEAP[J+1]+FHEAP[o+8]*FHEAP[J+2];o=Ta;FHEAP[o+2]=J;o=Ta;o=FHEAP[o];J=_fabsf(o);o=Va;FHEAP[o]=J;o=Ta;o=FHEAP[o+1];J=_fabsf(o);o=Va;FHEAP[o+1]=J;o=Ta;o=FHEAP[o+2];J=_fabsf(o);o=Va;FHEAP[o+2]=J;o=Va;J=FHEAP[o+1];o=Va;o=J>FHEAP[o];J=Va;o?(J=FHEAP[J+1],o=Va,o=J>FHEAP[o+2],J=0,o?(H=1,Y=2):(Y=1,H=2)):(J=FHEAP[J],o=Va,J>FHEAP[o+2]? +(H=0,J=1,Y=2):(J=0,Y=1,H=2));n=H;o=Ta;n=FHEAP[o+n]<0;o=0;n=n?101:102;b:for(;;)if(n==101)if(M=FHEAP[Ia+o]-FHEAP[r+o]+FHEAP[E+H]*FHEAP[A+(o*4+H)],K=o,n=fb,FHEAP[n+K]=M,o=n=o+1,n<3)n=101;else{n=103;break b}else if(n==102)if(M=FHEAP[Ia+o]-FHEAP[r+o]-FHEAP[E+H]*FHEAP[A+(o*4+H)],K=o,n=fb,FHEAP[n+K]=M,o=n=o+1,n<3)n=102;else{n=103;break b}o=s;if(s<=3){var mb=o-1;Ia=mb;o=104}else{var yb=o-4;Ia=yb;o=106}(o==106?yb:mb)==0?(o=1,Q=2):(H=Ia==1,o=0,Q=H?2:1);H=fb;M=F+o;H=FHEAP[H]*FHEAP[M]+FHEAP[H+1]*FHEAP[M+4]+FHEAP[H+ +2]*FHEAP[M+8];M=fb;K=F+Q;M=FHEAP[M]*FHEAP[K]+FHEAP[M+1]*FHEAP[K+4]+FHEAP[M+2]*FHEAP[K+8];N=A+J;K=F+o;K=FHEAP[K]*FHEAP[N]+FHEAP[K+4]*FHEAP[N+4]+FHEAP[K+8]*FHEAP[N+8];R=A+Y;N=F+o;N=FHEAP[N]*FHEAP[R]+FHEAP[N+4]*FHEAP[R+4]+FHEAP[N+8]*FHEAP[R+8];O=A+J;R=F+Q;R=FHEAP[R]*FHEAP[O]+FHEAP[R+4]*FHEAP[O+4]+FHEAP[R+8]*FHEAP[O+8];O=A+Y;F+=Q;F=FHEAP[F]*FHEAP[O]+FHEAP[F+4]*FHEAP[O+4]+FHEAP[F+8]*FHEAP[O+8];O=K*FHEAP[E+J];P=R*FHEAP[E+J];T=N*FHEAP[E+Y];E=F*FHEAP[E+Y];FHEAP[ib]=H-O-T;FHEAP[ib+1]=M-P-E;FHEAP[ib+2]=H-O+ +T;FHEAP[ib+3]=M-P+E;FHEAP[ib+4]=H+O+T;FHEAP[ib+5]=M+P+E;FHEAP[ib+6]=H+O-T;FHEAP[ib+7]=M+P-E;FHEAP[Na]=FHEAP[D+o];FHEAP[Na+1]=FHEAP[D+Q];o=ib;Q=Za;E=Na;I=4;O=0;P=o;S=Q;T=0;var ub=L,o=108;b:for(;;){if(!((o==114?db:0)<=1)){n=111;break b}U=-1;o=110;c:for(;;){if(!((o==117?ab:-1)<=1))break c;W=P;Z=S;O=0;var Ma=I;I=Ma;o=113;d:for(;;){if(!((o==125?pb:Ma)>0))break d;n=U*FHEAP[W+T]<FHEAP[E+T]?118:119;e:for(;;)if(n==118)if(FHEAP[Z]=FHEAP[W],FHEAP[Z+1]=FHEAP[W+1],Z+=2,O+=1,(O&8)!=0){n=120;break b}else n=119; +else if(n==119){n=I>1?121:122;break e}if(n==121)var sa=W+2,o=121;else if(n==122)var va=P,o=122;ca=o==121?sa:va;for(n=(U*FHEAP[ca+T]<FHEAP[E+T]^U*FHEAP[W+T]<FHEAP[E+T])!=0?124:125;;)if(n==124)if(FHEAP[Z+(1-T)]=FHEAP[W+(1-T)]+(FHEAP[ca+(1-T)]-FHEAP[W+(1-T)])/(FHEAP[ca+T]-FHEAP[W+T])*(U*FHEAP[E+T]-FHEAP[W+T]),FHEAP[Z+T]=U*FHEAP[E+T],Z+=2,O+=1,(O&8)!=0){n=126;break b}else n=125;else if(n==125){W+=2;var pb=I+-1;I=pb;o=125;continue d}}P=S;ab=Q;S=P==Q?ub:ab;I=O;var ab=U+2;U=ab;o=117}var db=T+1;T=db;o=114; +n=109}b:for(;;)if(n==111){n=P!=Q?127:128;break b}else n==120?(P=S,n=111):n==126&&(P=S,n=111);b:for(;;)if(n==127)_llvm_memcpy_p0i8_p0i8_i32(Q,P,1*(O*8/4),1,0),n=128;else if(n==128){gb=E=O;n=E<1?129:130;break b}if(n==129)w=0;else if(n==130){w=1/(K*F-N*R);K*=w;N*=w;R*=w;F*=w;w=E=0;n=w<gb?131:132;b:for(;;)if(n==131){Q=lb;c:for(;;){n=F*(FHEAP[Za+w*2]-H)-N*(FHEAP[Za+(w*2+1)]-M);O=(0-R)*(FHEAP[Za+w*2]-H)+K*(FHEAP[Za+(w*2+1)]-M);o=0;d:for(;;)if(T=o,P=fb,FHEAP[lb+(E*3+o)]=FHEAP[P+T]+n*FHEAP[A+(o*4+J)]+O*FHEAP[A+ +(o*4+Y)],o=P=o+1,!(P<3))break d;o=FHEAP[D+Ia];n=Pa;O=Q+E*3;FHEAP[$a+E]=o-(FHEAP[n]*FHEAP[O]+FHEAP[n+1]*FHEAP[O+1]+FHEAP[n+2]*FHEAP[O+2]);for(n=FHEAP[$a+E]>=0?136:137;;)if(n==136)FHEAP[Za+E*2]=FHEAP[Za+w*2],FHEAP[Za+(E*2+1)]=FHEAP[Za+(w*2+1)],E+=1,n=137;else if(n==137)if(w+=1,w<gb)continue c;else break c}if(E<1)n=132;else break b}else if(n==132){w=0;break a}A=j;A>E?(o=139,n=140):(o=139,n=141);b:for(;;)if(n==140){var vb=E,j=vb,o=140;n=141}else if(n==141){n=(o==140?vb:A)<1?142:143;break b}b:for(;;)if(n== +142)j=1,n=143;else if(n==143){n=E<=j?144:145;break b}b:do if(n==144)if(A=s<4,w=0,D=w<E,A){if(!D)break b;for(;;){for(o=0;;)if(D=FHEAP[lb+(w*3+o)]+FHEAP[r+o],F=o,A=eb,FHEAP[A+F]=D,o=A=o+1,!(A<3))break;A=m;D=IHEAP[IHEAP[A]+4];F=g;FHEAP[ea]=0-FHEAP[F];FHEAP[ha]=0-FHEAP[F+1];FHEAP[ba]=0-FHEAP[F+2];F=bb;o=ea;J=ha;Y=ba;FHEAP[F]=FHEAP[o];FHEAP[F+1]=FHEAP[J];FHEAP[F+2]=FHEAP[Y];FHEAP[F+3]=0;FUNCTION_TABLE[D](A,bb,eb,0-FHEAP[$a+w]);w+=1;if(w<E)n=146;else break b}}else{if(!D)break b;for(;;){for(o=0;;)if(D=FHEAP[lb+ +(w*3+o)]+FHEAP[r+o],F=o,A=g,D-=FHEAP[A+F]*FHEAP[$a+w],F=o,A=sb,FHEAP[A+F]=D,o=A=o+1,!(A<3))break;A=m;D=IHEAP[IHEAP[A]+4];F=g;FHEAP[V]=0-FHEAP[F];FHEAP[aa]=0-FHEAP[F+1];FHEAP[X]=0-FHEAP[F+2];F=Ka;o=V;J=aa;Y=X;FHEAP[F]=FHEAP[o];FHEAP[F+1]=FHEAP[J];FHEAP[F+2]=FHEAP[Y];FHEAP[F+3]=0;FUNCTION_TABLE[D](A,Ka,sb,0-FHEAP[$a+w]);w+=1;if(w<E)n=148;else break b}}else if(n==145){A=0;D=FHEAP[$a];o=1;n=o<E?153:154;c:for(;;)if(n==153)for(n=FHEAP[$a+o]>D?155:156;;)if(n==155)D=FHEAP[$a+o],A=o,n=156;else{if(n==156){o+= +1;n=o<E?153:154;continue c}}else if(n==154){__Z11cullPoints2iPfiiPi(E,Za,j,A,Ya);w=0;n=w<j?157:158;break c}for(;;)if(n==157){for(o=0;;)if(D=FHEAP[lb+(IHEAP[Ya+w]*3+o)]+FHEAP[r+o],F=o,A=jb,FHEAP[A+F]=D,o=A=o+1,!(A<3))break;A=m;D=IHEAP[IHEAP[A]+4];F=g;s<4?(FHEAP[ka]=0-FHEAP[F],FHEAP[da]=0-FHEAP[F+1],FHEAP[fa]=0-FHEAP[F+2],F=kb,o=ka,J=da,Y=fa,FHEAP[F]=FHEAP[o],FHEAP[F+1]=FHEAP[J],FHEAP[F+2]=FHEAP[Y],FHEAP[F+3]=0,FUNCTION_TABLE[D](A,kb,jb,0-FHEAP[$a+IHEAP[Ya+w]])):(FHEAP[ga]=0-FHEAP[F],FHEAP[ja]=0-FHEAP[F+ +1],FHEAP[la]=0-FHEAP[F+2],F=tb,o=ga,J=ja,Y=la,FHEAP[F]=FHEAP[o],FHEAP[F+1]=FHEAP[J],FHEAP[F+2]=FHEAP[Y],FHEAP[F+3]=0,o=$a+IHEAP[Ya+w],F=g,FHEAP[qa]=FHEAP[F]*FHEAP[o],FHEAP[pa]=FHEAP[F+1]*FHEAP[o],FHEAP[wa]=FHEAP[F+2]*FHEAP[o],F=Qa,o=qa,J=pa,Y=wa,FHEAP[F]=FHEAP[o],FHEAP[F+1]=FHEAP[J],FHEAP[F+2]=FHEAP[Y],FHEAP[F+3]=0,F=jb,o=Qa,FHEAP[ua]=FHEAP[F]-FHEAP[o],FHEAP[na]=FHEAP[F+1]-FHEAP[o+1],FHEAP[ya]=FHEAP[F+2]-FHEAP[o+2],F=Bb,o=ua,J=na,Y=ya,FHEAP[F]=FHEAP[o],FHEAP[F+1]=FHEAP[J],FHEAP[F+2]=FHEAP[Y],FHEAP[F+ +3]=0,FUNCTION_TABLE[D](A,tb,Bb,0-FHEAP[$a+IHEAP[Ya+w]]));w+=1;n=w<j?157:158}else if(n==158){E=j;break b}}while(0);IHEAP[i]=s;w=E}}}}}}}}}}}}}}}}}while(0);STACKTOP=k;return w} +function __ZN16btBoxBoxDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(a,e,d){var b=STACKTOP;STACKTOP+=54;var c,f,g=b+1,h=b+2,i=b+3,j=b+4,k=b+5,l,m=b+6,n=b+18,o,q=b+30,p=b+34,r=b+35,s=b+36,u=b+40,v=b+41,y=b+45,x=b+49,z=b+50;l=e+16;for(o=0;;)if(c=e,f=o,c+=f*4,FHEAP[m+o*4]=FHEAP[c],c=l,f=o,c+=f*4,FHEAP[n+o*4]=FHEAP[c],c=e,f=o,c+=f*4,FHEAP[m+(o*4+1)]=FHEAP[c+1],c=l,f=o,c+=f*4,FHEAP[n+(o*4+1)]=FHEAP[c+1],c=e,f=o,c+=f*4,FHEAP[m+(o*4+ +2)]=FHEAP[c+2],c=l,f=o,c+=f*4,FHEAP[n+(o*4+2)]=FHEAP[c+2],o=c=o+1,!(c<3))break;e+=12;FHEAP[u]=2;__ZNK10btBoxShape24getHalfExtentsWithMarginEv(v,IHEAP[a+4]);FHEAP[b]=FHEAP[v]*FHEAP[u];FHEAP[g]=FHEAP[v+1]*FHEAP[u];FHEAP[h]=FHEAP[v+2]*FHEAP[u];FHEAP[s]=FHEAP[b];FHEAP[s+1]=FHEAP[g];FHEAP[s+2]=FHEAP[h];FHEAP[s+3]=0;g=l+12;FHEAP[x]=2;__ZNK10btBoxShape24getHalfExtentsWithMarginEv(z,IHEAP[a+5]);FHEAP[i]=FHEAP[z]*FHEAP[x];FHEAP[j]=FHEAP[z+1]*FHEAP[x];FHEAP[k]=FHEAP[z+2]*FHEAP[x];FHEAP[y]=FHEAP[i];FHEAP[y+ +1]=FHEAP[j];FHEAP[y+2]=FHEAP[k];FHEAP[y+3]=0;__Z8dBoxBox2RK9btVector3PKfS1_S1_S3_S1_RS_PfPiiP12dContactGeomiRN36btDiscreteCollisionDetectorInterface6ResultE(e,m,s,g,n,y,q,p,r,4,0,0,d);STACKTOP=b} +function __ZNK10btBoxShape24getHalfExtentsWithMarginEv(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+4,c=d+5,f=d+6;_llvm_memcpy_p0i8_p0i8_i32(a,e+16,4,4,0);var g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[b]=g;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[c]=g;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[f]=g;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[a]+=FHEAP[d];FHEAP[a+1]+=FHEAP[d+1];FHEAP[a+2]+=FHEAP[d+2];STACKTOP=d} +function __ZN16btBoxBoxDetectorD1Ev(a){IHEAP[a]=__ZTV16btBoxBoxDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2}function __ZN16btBoxBoxDetectorD0Ev(a){IHEAP[a]=__ZTV16btBoxBoxDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;__ZdlPv(a)} +function __ZN31btConvexPlaneCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_bii(a,e,d,b,c,f,g,h){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV31btConvexPlaneCollisionAlgorithm+2;IHEAP[a+8]=0;IHEAP[a+9]=e;IHEAP[a+10]=f&1;IHEAP[a+11]=g;IHEAP[a+12]=h;e=IHEAP[a+10]&1?c:b;b=IHEAP[a+10]&1?b:c;for(c=IHEAP[a+9]!=0?0:1;;)if(c==0)return;else if(c==1){var c=IHEAP[a+1],d=IHEAP[IHEAP[c]+6],f=e,g=b,i;try{__THREW__=!1,i=FUNCTION_TABLE[d](c, +f,g)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack);i=null}if(__THREW__)break;if(i){var c=IHEAP[a+1],d=IHEAP[IHEAP[c]+3],f=e,g=b,k;try{__THREW__=!1,k=FUNCTION_TABLE[d](c,f,g)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack);k=null}if(__THREW__)break;IHEAP[a+9]=k;IHEAP[a+8]=1}c=0}i=_llvm_eh_exception();_llvm_eh_selector(i,___gxx_personality_v0,0);IHEAP[a]=__ZTV20btCollisionAlgorithm+ +2;__Unwind_Resume_or_Rethrow(i);throw"Reached an unreachable! Original .ll line: 81558";} +function __ZN31btConvexPlaneCollisionAlgorithmD0Ev(a){var e;IHEAP[a]=__ZTV31btConvexPlaneCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){e=a;IHEAP[e]=__ZTV20btCollisionAlgorithm+2;__ZdlPv(a);return}e=_llvm_eh_exception();_llvm_eh_selector(e, +___gxx_personality_v0,0);IHEAP[a]=__ZTV20btCollisionAlgorithm+2;try{__THREW__=!1,__Unwind_Resume_or_Rethrow(e)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}e=__THREW__?5:4;if(e==4)throw"Reached an unreachable! Original .ll line: 81623";else if(e==5)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 81645";} +function __ZN31btConvexPlaneCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV31btConvexPlaneCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0, +0);IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 81698";} +function __ZN31btConvexPlaneCollisionAlgorithm20collideSingleContactERK12btQuaternionP17btCollisionObjectS4_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c,f){c=STACKTOP;STACKTOP+=202;var g=c+1,h=c+2,i=c+3,j=c+15,k=c+19,l=c+31,m,n=c+35,o=c+36,q=c+37,p=c+38,r=c+39,s=c+40,u,v,y=c+41,x=c+57,z=c+73,B=c+89,C=c+105,A=c+117,w=c+133,D=c+149,E=c+165,F=c+169,G=c+173,J=c+177,H=c+181,M=c+182,K=c+186,N=c+190,R=c+194,O=c+198;m=IHEAP[a+10]&1?b:d;d=IHEAP[a+10]&1?d:b;u=IHEAP[m+48];v=IHEAP[d+48];b=v+24;v+=28;m+= +1;_llvm_memcpy_p0i8_p0i8_i32(y,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+12,m+12,4,4,0);__ZNK11btTransform7inverseEv(B,d+1);__ZmlRK11btMatrix3x3S1_(k,B,y);__ZNK11btTransformclERK9btVector3(l,B,y+12);_llvm_memcpy_p0i8_p0i8_i32(z,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+12,l,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x,z,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+ +4,z+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+8,z+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+12,z+12,4,4,0);__ZN11btMatrix3x311setRotationERK12btQuaternion(C,e);__ZN11btMatrix3x3mLERKS_(y,C);__ZNK11btTransform7inverseEv(D,y);e=d+1;__ZmlRK11btMatrix3x3S1_(i,D,e);__ZNK11btTransformclERK9btVector3(j,D,e+12);_llvm_memcpy_p0i8_p0i8_i32(w,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(w+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(w+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(w+12,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A,w,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+ +4,w+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+8,w+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+12,w+12,4,4,0);e=IHEAP[IHEAP[u]+15];FHEAP[c]=0-FHEAP[b];FHEAP[g]=0-FHEAP[b+1];FHEAP[h]=0-FHEAP[b+2];FHEAP[G]=FHEAP[c];FHEAP[G+1]=FHEAP[g];FHEAP[G+2]=FHEAP[h];FHEAP[G+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(F,A,G);FUNCTION_TABLE[e](E,u,F);__ZNK11btTransformclERK9btVector3(J,x,E);FHEAP[H]=FHEAP[b]*FHEAP[J]+FHEAP[b+1]*FHEAP[J+1]+FHEAP[b+2]*FHEAP[J+2]-FHEAP[v];FHEAP[n]=FHEAP[b]*FHEAP[H];FHEAP[o]=FHEAP[b+1]*FHEAP[H];FHEAP[q]= +FHEAP[b+2]*FHEAP[H];FHEAP[K]=FHEAP[n];FHEAP[K+1]=FHEAP[o];FHEAP[K+2]=FHEAP[q];FHEAP[K+3]=0;FHEAP[p]=FHEAP[J]-FHEAP[K];FHEAP[r]=FHEAP[J+1]-FHEAP[K+1];FHEAP[s]=FHEAP[J+2]-FHEAP[K+2];FHEAP[M]=FHEAP[p];FHEAP[M+1]=FHEAP[r];FHEAP[M+2]=FHEAP[s];FHEAP[M+3]=0;__ZNK11btTransformclERK9btVector3(N,d+1,M);g=FHEAP[H]<FHEAP[IHEAP[a+9]+283];IHEAP[f+4]=IHEAP[a+9];for(a=g&1?0:1;;)if(a==0)a=d,a+=1,__ZmlRK11btMatrix3x3RK9btVector3(R,a,b),_llvm_memcpy_p0i8_p0i8_i32(O,N,4,4,0),a=f,FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,R, +O,FHEAP[H]),a=1;else if(a==1){STACKTOP=c;break}} +function __ZN11btMatrix3x3mLERKS_(a,e){var d=STACKTOP;STACKTOP+=9;var b=d+1,c=d+2,f=d+3,g=d+4,h=d+5,i=d+6,j=d+7,k=d+8;FHEAP[d]=FHEAP[e]*FHEAP[a]+FHEAP[e+4]*FHEAP[a+1]+FHEAP[e+8]*FHEAP[a+2];FHEAP[b]=FHEAP[e+1]*FHEAP[a]+FHEAP[e+4+1]*FHEAP[a+1]+FHEAP[e+8+1]*FHEAP[a+2];FHEAP[c]=FHEAP[e+2]*FHEAP[a]+FHEAP[e+4+2]*FHEAP[a+1]+FHEAP[e+8+2]*FHEAP[a+2];var l=a+4;FHEAP[f]=FHEAP[e]*FHEAP[l]+FHEAP[e+4]*FHEAP[l+1]+FHEAP[e+8]*FHEAP[l+2];l=a+4;FHEAP[g]=FHEAP[e+1]*FHEAP[l]+FHEAP[e+4+1]*FHEAP[l+1]+FHEAP[e+8+1]*FHEAP[l+ +2];l=a+4;FHEAP[h]=FHEAP[e+2]*FHEAP[l]+FHEAP[e+4+2]*FHEAP[l+1]+FHEAP[e+8+2]*FHEAP[l+2];l=a+8;FHEAP[i]=FHEAP[e]*FHEAP[l]+FHEAP[e+4]*FHEAP[l+1]+FHEAP[e+8]*FHEAP[l+2];l=a+8;FHEAP[j]=FHEAP[e+1]*FHEAP[l]+FHEAP[e+4+1]*FHEAP[l+1]+FHEAP[e+8+1]*FHEAP[l+2];l=a+8;FHEAP[k]=FHEAP[e+2]*FHEAP[l]+FHEAP[e+4+2]*FHEAP[l+1]+FHEAP[e+8+2]*FHEAP[l+2];__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,d,b,c,f,g,h,i,j,k);STACKTOP=d;return a} +function __ZN31btConvexPlaneCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=113;var g,h,i,j,k,l,m,n,o=f+1,q=f+2,p,r,s=f+3,u=f+19,v=f+20,y=f+21,x=f+22,z=f+23,B=f+27,C=f+31,A=f+32,w=f+48,D=f+49,E=f+65,F=f+81,G=f+97;g=IHEAP[a+9]!=0?0:1;a:for(;;)if(g==0){p=d;r=e;p=IHEAP[a+10]&1?p:r;r=e;i=d;r=IHEAP[a+10]&1?r:i;p=IHEAP[p+48];r=IHEAP[r+48];r+=24;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0;FHEAP[x]=1;i=s;g=u;l=v;k=y;m=x;FHEAP[i]= +FHEAP[g];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[k];FHEAP[i+3]=FHEAP[m];__ZN31btConvexPlaneCollisionAlgorithm20collideSingleContactERK12btQuaternionP17btCollisionObjectS4_RK16btDispatcherInfoP16btManifoldResult(a,s,e,d,b,c);i=c;i=IHEAP[i+4];g=IHEAP[i+282]<IHEAP[a+12]?2:3;b:for(;;)if(g==2){__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(r,z,B);i=p;i=FUNCTION_TABLE[IHEAP[IHEAP[i]+4]](i);FHEAP[C]=FHEAP[_gContactBreakingThreshold]/i;g=FHEAP[C]>0.39269909262657166?4:5;c:for(;;)if(g==4)FHEAP[C]=0.39269909262657166, +g=5;else if(g==5)if(h=A,i=z,j=C,__ZN12btQuaternion11setRotationERK9btVector3RKf(h,i,j),j=0,h=a+11,j<IHEAP[h]){g=6;break c}else{g=3;continue b}for(i=a+11;;)if(FHEAP[w]=j*(6.2831854820251465/IHEAP[i]),l=r,g=D,k=l,l=w,__ZN12btQuaternion11setRotationERK9btVector3RKf(g,k,l),g=D,FHEAP[f]=0-FHEAP[g],FHEAP[o]=0-FHEAP[g+1],FHEAP[q]=0-FHEAP[g+2],n=g+3,g=G,l=f,k=o,m=q,FHEAP[g]=FHEAP[l],FHEAP[g+1]=FHEAP[k],FHEAP[g+2]=FHEAP[m],FHEAP[g+3]=FHEAP[n],__ZmlRK12btQuaternionS1_(F,G,A),__ZmlRK12btQuaternionS1_(E,F,D), +__ZN31btConvexPlaneCollisionAlgorithm20collideSingleContactERK12btQuaternionP17btCollisionObjectS4_RK16btDispatcherInfoP16btManifoldResult(a,E,e,d,b,c),j+=1,j<IHEAP[h])g=7;else{g=3;continue b}}else if(g==3)if(IHEAP[a+8]&1)break b;else{g=1;continue a}p=IHEAP[a+9];if(IHEAP[p+282]==0){g=1;continue a}p=c;r=IHEAP[p+4];if(IHEAP[r+282]==0){g=1;continue a}r=IHEAP[p+4];r=IHEAP[r+280]!=IHEAP[p+37];i=IHEAP[p+4];r&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i,p+21,p+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i, +p+5,p+21);g=1}else if(g==1){STACKTOP=f;break}} +function __Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(a,e,d){var b,c;_fabsf(FHEAP[a+2])>0.7071067690849304?(b=FHEAP[a+1]*FHEAP[a+1]+FHEAP[a+2]*FHEAP[a+2],c=1/_sqrtf(b),FHEAP[e]=0,FHEAP[e+1]=(0-FHEAP[a+2])*c,FHEAP[e+2]=FHEAP[a+1]*c,FHEAP[d]=b*c,FHEAP[d+1]=(0-FHEAP[a])*FHEAP[e+2],FHEAP[d+2]=FHEAP[a]*FHEAP[e+1]):(b=FHEAP[a]*FHEAP[a]+FHEAP[a+1]*FHEAP[a+1],c=1/_sqrtf(b),FHEAP[e]=(0-FHEAP[a+1])*c,FHEAP[e+1]=FHEAP[a]*c,FHEAP[e+2]=0,FHEAP[d]=(0-FHEAP[a+2])*FHEAP[e+1],FHEAP[d+1]=FHEAP[a+2]*FHEAP[e],FHEAP[d+ +2]=b*c)}function __ZN31btConvexPlaneCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZN31btConvexPlaneCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+8]&1)){d=1;continue a}g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+ +1];d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __ZN12btQuaternion11setRotationERK9btVector3RKf(a,e,d){var b=STACKTOP;STACKTOP+=4;var c,f=b+1,g=b+2,h=b+3;c=_sqrtf(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]);c=_sinf(FHEAP[d]*0.5)/c;FHEAP[b]=FHEAP[e]*c;FHEAP[f]=FHEAP[e+1]*c;FHEAP[g]=FHEAP[e+2]*c;e=_cosf(FHEAP[d]*0.5);FHEAP[h]=e;FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[f];FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=FHEAP[h];STACKTOP=b} +function __ZN33btConvexConcaveCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(a,e,d,b,c){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV33btConvexConcaveCollisionAlgorithm+2;IHEAP[a+8]=c&1;var f=a+9,e=IHEAP[e];c&=1;try{__THREW__=!1,__ZN24btConvexTriangleCallbackC2EP12btDispatcherP17btCollisionObjectS3_b(f,e,d,b,c)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+ +", currently at: "+Error().stack)}d=__THREW__?1:0;if(d!=0&&d==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 84313";} +function __ZN33btConvexConcaveCollisionAlgorithmD0Ev(a){var e;IHEAP[a]=__ZTV33btConvexConcaveCollisionAlgorithm+2;e=a+9;try{__THREW__=!1,__ZN24btConvexTriangleCallbackD2Ev(e)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2,__ZdlPv(a);else if(e==1){e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+ +2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;try{__THREW__=!1,__Unwind_Resume_or_Rethrow(e)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?3:2;if(e==2)throw"Reached an unreachable! Original .ll line: 84363";else if(e==3)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 84391";}} +function __ZN33btConvexConcaveCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV33btConvexConcaveCollisionAlgorithm+2;e=a+9;try{__THREW__=!1,__ZN24btConvexTriangleCallbackD2Ev(e)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2;else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+ +2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 84447";} +function __ZN33btConvexConcaveCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9+19]!=0?0:1;a:for(;;)if(d==0){g=a+9+19;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?2:3;b:for(;;)if(d==2){d=f;c=IHEAP[d+1];c!=0?(b=2,d=4):(b=2,d=5);for(;;)if(d==4){var h=c*2,b=4;d=5}else if(d==5){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==4?h:1);d=3;continue b}}else if(d==3){var i=IHEAP[f+3]+IHEAP[f+1];d=i==0?6:7;break b}for(;;)if(d== +6){IHEAP[f+1]+=1;d=1;continue a}else d==7&&(IHEAP[i]=IHEAP[g],d=6)}else if(d==1)break} +function __ZN24btConvexTriangleCallbackC2EP12btDispatcherP17btCollisionObjectS3_b(a,e,d,b,c){var f;IHEAP[a]=__ZTV18btTriangleCallback+2;IHEAP[a]=__ZTV24btConvexTriangleCallback+2;IHEAP[a+15]=e;IHEAP[a+16]=0;IHEAP[a+4]=c&1?b:d;IHEAP[a+5]=c&1?d:b;e=IHEAP[a+15];d=IHEAP[IHEAP[e]+3];b=IHEAP[a+4];c=IHEAP[a+5];try{__THREW__=!1,f=FUNCTION_TABLE[d](e,b,c)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack);f=null}for(e=__THREW__?1:2;;)if(e==2){IHEAP[a+ +19]=f;b=e=a;e=IHEAP[b+15];d=IHEAP[IHEAP[e]+5];b=IHEAP[b+19];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else break}else if(e==1)throw f=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),IHEAP[a]=__ZTV18btTriangleCallback+2,__Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 84663";} +function __ZN24btConvexTriangleCallback10clearCacheEv(a){var e=IHEAP[a+15];FUNCTION_TABLE[IHEAP[IHEAP[e]+5]](e,IHEAP[a+19])} +function __ZN24btConvexTriangleCallbackD0Ev(a){var e;try{__THREW__=!1,__ZN24btConvexTriangleCallbackD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 84711";} +function __ZN24btConvexTriangleCallbackD2Ev(a){var e;IHEAP[a]=__ZTV24btConvexTriangleCallback+2;e=IHEAP[a+15];var d=IHEAP[IHEAP[e]+5],b=IHEAP[a+19];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}for(e=__THREW__?1:0;;)if(e==0){e=IHEAP[a+15];d=IHEAP[IHEAP[e]+4];b=IHEAP[a+19];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+ +Error().stack)}if(__THREW__)e=1;else break}else if(e==1)throw e=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[a]=__ZTV18btTriangleCallback+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 84776";IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZN24btConvexTriangleCallback15processTriangleEP9btVector3ii(a,e,d,b){var c=STACKTOP;STACKTOP+=70;var f,g,h,i,j,k=c+2;IHEAP[c]=0;IHEAP[c+1]=0;IHEAP[c]=IHEAP[a+15];j=IHEAP[a+5];for(f=IHEAP[IHEAP[IHEAP[a+4]+48]+1]<20?0:1;;)if(f==0){h=e;g=e+4;i=e+8;f=k;__ZN15btTriangleShapeC2ERK9btVector3S2_S2_(f,h,g,i);f=k;h=IHEAP[IHEAP[f]+10];i=FHEAP[a+17];try{__THREW__=!1,FUNCTION_TABLE[h](f,i)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__)break; +f=j;f=IHEAP[f+48];i=k;h=j;IHEAP[h+48]=i;h=IHEAP[c];i=IHEAP[IHEAP[h]+2];g=IHEAP[a+4];var m=IHEAP[a+5],n=IHEAP[a+19],o;try{__THREW__=!1,o=FUNCTION_TABLE[i](h,g,m,n)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack);o=null}if(__THREW__)break;h=o;g=IHEAP[a+14];i=IHEAP[a+14];m=IHEAP[i];if(IHEAP[g+37]==IHEAP[a+5]){g=IHEAP[m+2];m=d;n=b;try{__THREW__=!1,FUNCTION_TABLE[g](i,m,n)}catch(p){if(ABORT)throw p;__THREW__=!0;print("Exception: "+p+" : "+p.stack+ +", currently at: "+Error().stack)}}else{g=IHEAP[m+3];m=d;n=b;try{__THREW__=!1,FUNCTION_TABLE[g](i,m,n)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+r+" : "+r.stack+", currently at: "+Error().stack)}}if(__THREW__)break;i=h;g=IHEAP[IHEAP[i]+2];var m=IHEAP[a+4],n=IHEAP[a+5],s=IHEAP[a+16],u=IHEAP[a+14];try{__THREW__=!1,FUNCTION_TABLE[g](i,m,n,s,u)}catch(v){if(ABORT)throw v;__THREW__=!0;print("Exception: "+v+" : "+v.stack+", currently at: "+Error().stack)}if(__THREW__)break;i=h;g=IHEAP[IHEAP[i]]; +try{__THREW__=!1,FUNCTION_TABLE[g](i)}catch(y){if(ABORT)throw y;__THREW__=!0;print("Exception: "+y+" : "+y.stack+", currently at: "+Error().stack)}if(__THREW__)break;i=IHEAP[c];g=IHEAP[IHEAP[i]+15];try{__THREW__=!1,FUNCTION_TABLE[g](i,h)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack)}if(__THREW__)break;h=f;f=j;IHEAP[f+48]=h;f=k;IHEAP[f]=__ZTV15btTriangleShape+2;__ZN23btPolyhedralConvexShapeD2Ev(f);f=1}else if(f==1){STACKTOP=c;return}a= +_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[k]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(k)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack)}f=__THREW__?6:5;if(f==5)throw __Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 85046";else if(f==6)throw k=_llvm_eh_exception(),_llvm_eh_selector(k,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 85052"; +} +function __ZN24btConvexTriangleCallback22setTimeStepAndCountersEfRK16btDispatcherInfoP16btManifoldResult(a,e,d,b){var c=STACKTOP;STACKTOP+=69;var f=c+12,g=c+16,h=c+32,i=c+48,j=c+64,k=c+65;IHEAP[a+16]=d;FHEAP[a+17]=e;IHEAP[a+14]=b;__ZNK11btTransform7inverseEv(i,IHEAP[a+5]+1);d=IHEAP[a+4]+1;__ZmlRK11btMatrix3x3S1_(c,i,d);__ZNK11btTransformclERK9btVector3(f,i,d+12);_llvm_memcpy_p0i8_p0i8_i32(h,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12, +f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,h+12,4,4,0);f=IHEAP[IHEAP[a+4]+48];FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,g,a+6,a+10);FHEAP[j]=e;FHEAP[k]=FHEAP[j];FHEAP[k+1]=FHEAP[j];FHEAP[k+2]=FHEAP[j];FHEAP[k+3]=0;e=a+10;FHEAP[e]+=FHEAP[k];FHEAP[e+1]+=FHEAP[k+1];FHEAP[e+2]+=FHEAP[k+2];a+=6;FHEAP[a]-=FHEAP[k];FHEAP[a+1]-=FHEAP[k+1];FHEAP[a+2]-=FHEAP[k+2];STACKTOP=c} +function __ZN33btConvexConcaveCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f,g,h,i;i=IHEAP[a+8]&1?d:e;e=IHEAP[a+8]&1?e:d;d=IHEAP[IHEAP[e+48]+1];for(d=d>20&d<30?0:1;;)if(d==0){d=e;d=IHEAP[d+48];f=i;f=IHEAP[f+48];f=IHEAP[f+1];if(f<20){f=d;h=FUNCTION_TABLE[IHEAP[IHEAP[f]+11]](f);g=IHEAP[a+9+19];f=c;IHEAP[f+4]=g;__ZN24btConvexTriangleCallback22setTimeStepAndCountersEfRK16btDispatcherInfoP16btManifoldResult(a+9,h,b,c);h=i;g=e;f=IHEAP[a+ +9+19];IHEAP[f+280]=h;IHEAP[f+281]=g;f=IHEAP[IHEAP[d]+15];h=a+9;g=a+9;var j=g+6;g=a+9;FUNCTION_TABLE[f](d,h,j,g+10);d=c;f=IHEAP[d+4];IHEAP[f+282]!=0&&(f=IHEAP[d+4],f=IHEAP[f+280]!=IHEAP[d+37],h=IHEAP[d+4],f&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(h,d+21,d+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(h,d+5,d+21))}d=1}else if(d==1)break} +function __ZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d){var b=STACKTOP;STACKTOP+=158;var c,f,g,h;f=b+12;var i,j;h=b+16;g=b+28;i=b+32;j=b+33;var k=b+34,l,m,n,o,q=b+35;c=b+39;var p=b+55,r=b+71,s=b+87,u=b+91,v=b+95,y=b+96,x=b+100;l=b+104;o=IHEAP[a+8]&1?d:e;a=IHEAP[a+8]&1?e:d;d=o+1+12;e=o+17+12;FHEAP[i]=FHEAP[e]-FHEAP[d];FHEAP[j]=FHEAP[e+1]-FHEAP[d+1];FHEAP[k]=FHEAP[e+2]-FHEAP[d+2];FHEAP[q]=FHEAP[i];FHEAP[q+1]=FHEAP[j]; +FHEAP[q+2]=FHEAP[k];FHEAP[q+3]=0;i=FHEAP[q]*FHEAP[q]+FHEAP[q+1]*FHEAP[q+1]+FHEAP[q+2]*FHEAP[q+2]<FHEAP[o+62]*FHEAP[o+62];a:do if(i)m=1;else{i=a;__ZNK11btTransform7inverseEv(c,i+1);i=o;j=i+1;i=c;__ZmlRK11btMatrix3x3S1_(h,i,j);__ZNK11btTransformclERK9btVector3(g,i,j+12);i=p;j=g;g=h;h=i;i=g;g=j;j=i;i=h;_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,g,4,4,0);g=o;g+=17;__ZmlRK11btMatrix3x3S1_(b,c, +g);__ZNK11btTransformclERK9btVector3(f,c,g+12);c=r;g=b;h=f;g=f=g;f=h;h=g;g=c;_llvm_memcpy_p0i8_p0i8_i32(g,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,f,4,4,0);f=a;f=IHEAP[f+48];f=IHEAP[f+1];c=f>20&f<30?1:2;b:for(;;)if(c==1){f=p;_llvm_memcpy_p0i8_p0i8_i32(s,f+12,4,4,0);f=r;__ZN9btVector36setMinERKS_(s,f+12);f=p;_llvm_memcpy_p0i8_p0i8_i32(u,f+12,4,4,0);f=r;__ZN9btVector36setMaxERKS_(u,f+12);f=o;FHEAP[v]=FHEAP[f+61];f=y; +h=g=c=v;FHEAP[f]=FHEAP[c];FHEAP[f+1]=FHEAP[g];FHEAP[f+2]=FHEAP[h];FHEAP[f+3]=0;c=s;f=y;FHEAP[c]-=FHEAP[f];FHEAP[c+1]-=FHEAP[f+1];FHEAP[c+2]-=FHEAP[f+2];f=x;h=g=c=v;FHEAP[f]=FHEAP[c];FHEAP[f+1]=FHEAP[g];FHEAP[f+2]=FHEAP[h];FHEAP[f+3]=0;c=u;f=x;FHEAP[c]+=FHEAP[f];FHEAP[c+1]+=FHEAP[f+1];FHEAP[c+2]+=FHEAP[f+2];f=o;f=FHEAP[f+61];c=l;h=p;g=r;i=c;IHEAP[i]=__ZTV18btTriangleCallback+2;IHEAP[c]=__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+ +2;i=h;h=c+4;j=i;i=h;k=h=j;j=i;_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,h+12,4,4,0);h=g;g=c+20;i=h;h=g;j=g=i;i=h;_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,g+12,4,4,0);FHEAP[c+52]=f;FHEAP[c+53]=1;f=o;FHEAP[l+53]=FHEAP[f+60];f=a;f=IHEAP[f+48];for(c=f!=0?3:4;;)if(c==3){c=f;g=IHEAP[IHEAP[c]+ +15];h=l;try{__THREW__=!1,FUNCTION_TABLE[g](c,h,s,u)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack)}if(__THREW__)break b;else c=4}else if(c==4){c=FHEAP[l+53];f=o;c=c<FHEAP[f+60]?5:6;break}c==5?(n=FHEAP[l+53],m=o,FHEAP[m+60]=n,m=FHEAP[l+53],n=1):c==6&&(n=0);f=l;IHEAP[f]=__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+2;IHEAP[f]= +__ZTV18btTriangleCallback+2;if(n==1)break a;else c=2}else if(c==2){m=1;break a}b=o=_llvm_eh_exception();_llvm_eh_selector(o,___gxx_personality_v0,0);IHEAP[l]=__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+2;IHEAP[l]=__ZTV18btTriangleCallback+2;__Unwind_Resume_or_Rethrow(b);throw"Reached an unreachable! Original .ll line: 86474";}while(0);STACKTOP=b;return m} +function __ZN9btVector36setMinERKS_(a,e){var d,b,c,f,g,h,i;d=FHEAP[e]<FHEAP[a]?0:1;a:for(;;)if(d==0)FHEAP[a]=FHEAP[e],d=1;else if(d==1){d=e+1;b=a+1;c=d;d=FHEAP[c]<FHEAP[b]?2:3;break a}a:for(;;)if(d==2)FHEAP[b]=FHEAP[c],d=3;else if(d==3){b=e+2;f=a+2;g=b;d=FHEAP[g]<FHEAP[f]?4:5;break a}a:for(;;)if(d==4)FHEAP[f]=FHEAP[g],d=5;else if(d==5){h=a+3;f=e;f+=3;i=f;d=FHEAP[i]<FHEAP[h]?6:7;break a}for(;;)if(d==6)FHEAP[h]=FHEAP[i],d=7;else if(d==7)break} +function __ZN9btVector36setMaxERKS_(a,e){var d,b,c,f,g,h,i;d=FHEAP[a]<FHEAP[e]?0:1;a:for(;;)if(d==0)FHEAP[a]=FHEAP[e],d=1;else if(d==1){d=e+1;b=a+1;c=d;d=FHEAP[b]<FHEAP[c]?2:3;break a}a:for(;;)if(d==2)FHEAP[b]=FHEAP[c],d=3;else if(d==3){b=e+2;f=a+2;g=b;d=FHEAP[f]<FHEAP[g]?4:5;break a}a:for(;;)if(d==4)FHEAP[f]=FHEAP[g],d=5;else if(d==5){h=a+3;f=e;f+=3;i=f;d=FHEAP[h]<FHEAP[i]?6:7;break a}for(;;)if(d==6)FHEAP[h]=FHEAP[i],d=7;else if(d==7)break} +function __ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD2Ev(a){IHEAP[a]=__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD0Ev(a){IHEAP[a]=__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallback15processTriangleEP9btVector3ii(a,e){var d=STACKTOP;STACKTOP+=290;var b,c,f,g,h,i,j;g=d+1;var k=d+2,l=d+3,m=d+4,n=d+5,o=d+6,q=d+7,p=d+8;b=d+9;c=d+10;f=d+11;h=d+12;j=d+28;var r=d+72,s=d+124,u=d+192,v=d+283;FHEAP[d]=1;FHEAP[g]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=1;FHEAP[n]=0;FHEAP[o]=0;FHEAP[q]=0;FHEAP[p]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(h, +d,g,k,l,m,n,o,q,p);g=h+12;FHEAP[b]=0;FHEAP[c]=0;FHEAP[f]=0;FHEAP[g]=FHEAP[b];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;IHEAP[j]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[j+41]=999999984306749440;IHEAP[j+42]=0;FHEAP[j+43]=0;FHEAP[j+41]=FHEAP[a+53];b=FHEAP[a+52];try{__THREW__=!1,__ZN13btSphereShapeC1Ef(r,b)}catch(y){if(ABORT)throw y;__THREW__=!0;print("Exception: "+y+" : "+y.stack+", currently at: "+Error().stack)}b=__THREW__?7:6;a:do if(b==6){c=e;f=e+4;g=e+8;b=s;try{__THREW__=!1,__ZN15btTriangleShapeC2ERK9btVector3S2_S2_(b, +c,f,g)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack)}b=__THREW__?9:8;b:for(;;)if(b==8){b=u;FHEAP[b+77]=9.999999747378752E-5;b+=79;b+=4;IHEAP[b]&=-2;IHEAP[b]&=-3;IHEAP[b]&=-5;IHEAP[b]&=-9;b=r;f=s;c=v;g=u;c=k=c;IHEAP[c]=__ZTV12btConvexCast+2;IHEAP[k]=__ZTV22btSubsimplexConvexCast+2;IHEAP[k+4]=g;IHEAP[k+5]=b;IHEAP[k+6]=f;b=a+4;c=a+20;var z;try{__THREW__=!1,z=__ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(v, +b,c,h,h,j)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+B+" : "+B.stack+", currently at: "+Error().stack);z=null}if(__THREW__){b=13;break b}for(b=z?0:1;;)if(b==0)FHEAP[a+53]>FHEAP[j+41]&&(FHEAP[a+53]=FHEAP[j+41]),b=1;else if(b==1){b=v;IHEAP[b]=__ZTV22btSubsimplexConvexCast+2;IHEAP[b]=__ZTV12btConvexCast+2;b=s;IHEAP[b]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(b)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+ +Error().stack)}if(__THREW__){b=9;continue b}else{b=10;break b}}}else if(b==9){i=h=_llvm_eh_exception();_llvm_eh_selector(h,___gxx_personality_v0,0);b=4;break b}for(;;)if(b==13){i=h=_llvm_eh_exception();_llvm_eh_selector(h,___gxx_personality_v0,0);h=v;IHEAP[h]=__ZTV22btSubsimplexConvexCast+2;IHEAP[h]=__ZTV12btConvexCast+2;h=s;IHEAP[h]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(h)}catch(A){if(ABORT)throw A;__THREW__=!0;print("Exception: "+A+" : "+A.stack+", currently at: "+ +Error().stack)}if(__THREW__)break;else b=4}else if(b==10){i=r;IHEAP[i]=__ZTV13btSphereShape+2;IHEAP[i]=__ZTV21btConvexInternalShape+2;IHEAP[i]=__ZTV13btConvexShape+2;IHEAP[i]=__ZTV16btCollisionShape+2;IHEAP[j]=__ZTVN12btConvexCast10CastResultE+2;STACKTOP=d;return}else if(b==4){d=r;IHEAP[d]=__ZTV13btSphereShape+2;IHEAP[d]=__ZTV21btConvexInternalShape+2;IHEAP[d]=__ZTV13btConvexShape+2;IHEAP[d]=__ZTV16btCollisionShape+2;break a}j=_llvm_eh_exception();_llvm_eh_selector(j,___gxx_personality_v0,0);__ZSt9terminatev(); +throw"Reached an unreachable! Original .ll line: 87209";}else b==7&&(i=c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0));while(0);IHEAP[j]=__ZTVN12btConvexCast10CastResultE+2;__Unwind_Resume_or_Rethrow(i);throw"Reached an unreachable! Original .ll line: 87203";} +function __ZN26btBoxBoxCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(a,e,d,b,c){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV26btBoxBoxCollisionAlgorithm+2;IHEAP[a+8]=0;IHEAP[a+9]=e;for(e=IHEAP[a+9]!=0?0:1;;)if(e==0)return;else if(e==1){var e=IHEAP[a+1],d=IHEAP[IHEAP[e]+6],f=b,g=c,h;try{__THREW__=!1,h=FUNCTION_TABLE[d](e,f,g)}catch(i){if(ABORT)throw i;__THREW__= +!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack);h=null}if(__THREW__)break;if(h){var e=IHEAP[a+1],d=IHEAP[IHEAP[e]+3],f=b,g=c,j;try{__THREW__=!1,j=FUNCTION_TABLE[d](e,f,g)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack);j=null}if(__THREW__)break;IHEAP[a+9]=j;IHEAP[a+8]=1}e=0}b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+ +2;__Unwind_Resume_or_Rethrow(b);throw"Reached an unreachable! Original .ll line: 87342";} +function __ZN26btBoxBoxCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN26btBoxBoxCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 87371";} +function __ZN26btBoxBoxCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV26btBoxBoxCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e=_llvm_eh_exception(); +_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 87447";} +function __ZN26btBoxBoxCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=40;var g,h,i,j,k,l,m=f+34;g=IHEAP[a+9]!=0?0:1;a:for(;;)if(g==0){g=e;l=d;g=IHEAP[g+48];l=IHEAP[l+48];h=IHEAP[a+9];k=c;IHEAP[k+4]=h;k=f;FHEAP[k+32]=999999984306749440;IHEAP[k+33]=0;FHEAP[f+32]=999999984306749440;k=f;h=e;i=h+1;h=k;j=k=i;i=h;_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+ +8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,k+12,4,4,0);k=f+16;h=d;i=h+1;h=k;j=k=i;i=h;_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,k+12,4,4,0);k=l;l=h=l=m;IHEAP[l]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[h]=__ZTV16btBoxBoxDetector+2;IHEAP[h+4]=g;IHEAP[h+5]=k;g=c;l=IHEAP[b+5];try{__THREW__=!1,__ZN16btBoxBoxDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(m, +f,g,l,0)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__)break a;for(g=IHEAP[a+8]&1?2:3;;)if(g==2)if(g=c,l=IHEAP[g+4],IHEAP[l+282]==0)g=3;else{l=IHEAP[g+4];k=IHEAP[l+280]!=IHEAP[g+37];l=IHEAP[g+4];if(k&1){k=g+21;g+=5;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(l,k,g)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}}else{k=g+ +5;g+=21;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(l,k,g)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}}if(__THREW__)break a;else g=3}else if(g==3){g=m;IHEAP[g]=__ZTV16btBoxBoxDetector+2;IHEAP[g]=__ZTV36btDiscreteCollisionDetectorInterface+2;g=1;continue a}}else if(g==1){STACKTOP=f;return}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[m]=__ZTV16btBoxBoxDetector+2;IHEAP[m]= +__ZTV36btDiscreteCollisionDetectorInterface+2;__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 87778";}function __ZN26btBoxBoxCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZN26btBoxBoxCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+8]&1)){d=1;continue a}g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+1]; +d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __ZN30btBox2dBox2dCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_(a,e,d,b,c){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV30btBox2dBox2dCollisionAlgorithm+2;IHEAP[a+8]=0;IHEAP[a+9]=e;for(e=IHEAP[a+9]!=0?0:1;;)if(e==0)return;else if(e==1){var e=IHEAP[a+1],d=IHEAP[IHEAP[e]+6],f=b,g=c,h;try{__THREW__=!1,h=FUNCTION_TABLE[d](e,f,g)}catch(i){if(ABORT)throw i; +__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack);h=null}if(__THREW__)break;if(h){var e=IHEAP[a+1],d=IHEAP[IHEAP[e]+3],f=b,g=c,j;try{__THREW__=!1,j=FUNCTION_TABLE[d](e,f,g)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack);j=null}if(__THREW__)break;IHEAP[a+9]=j;IHEAP[a+8]=1}e=0}b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+ +2;__Unwind_Resume_or_Rethrow(b);throw"Reached an unreachable! Original .ll line: 88037";} +function __ZN30btBox2dBox2dCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN30btBox2dBox2dCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 88066";} +function __ZN30btBox2dBox2dCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV30btBox2dBox2dCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e= +_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 88142";} +function __ZN30btBox2dBox2dCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){for(var f,g,h,i,j,b=IHEAP[a+9]!=0?0:1;;)if(b==0)f=e,b=d,i=f,j=IHEAP[i+48],i=b,i=IHEAP[i+48],h=IHEAP[a+9],g=c,IHEAP[g+4]=h,g=c,f+=1,__Z17b2CollidePolygonsP16btManifoldResultPK12btBox2dShapeRK11btTransformS3_S6_(g,j,f,i,b+1),IHEAP[a+8]&1&&(b=c,f=IHEAP[b+4],IHEAP[f+282]!=0&&(f=IHEAP[b+4],f=IHEAP[f+280]!=IHEAP[b+37],i=IHEAP[b+4],f&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i, +b+21,b+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(i,b+5,b+21))),b=1;else if(b==1)break} +function __Z17b2CollidePolygonsP16btManifoldResultPK12btBox2dShapeRK11btTransformS3_S6_(a,e,d,b,c){var sa;var f=STACKTOP;STACKTOP+=168;var g,h=null,i,j,k,l,m=f+1,n=f+2,o,q,p,r,s,u=f+3,v=f+4,y=f+5,x=f+6,z=f+7,B=f+8,C=f+9,A=f+10,w,D,E,F,G,J,H,M,K,N=f+11,R=f+15,O=f+27,Q,I=f+31,L=f+35,P,S=f+39,T=f+40,U=f+41,W=f+42,Z=f+43,ca=f+44,Y=f+45,ea,ha=f+46,ba=f+47,V=f+63,aa=f+79,X=f+89,ka=f+93,da=f+97,fa=f+101,ga=f+105,ja=f+109,la=f+113,qa=f+114,pa=f+115,wa=f+116,ua=f+120,na=f+124,ya=f+134,xa=f+135,ia=f+136,ma= +f+137,ta=f+138,ra=f+139,oa=f+140,Da=f+150,Ba=f+151,Oa=f+152,Fa=f+153,Ha=f+154,La=f+155,Ea=f+156,Ca=f+160,Aa=f+164;IHEAP[Y]=0;ea=__Z17FindMaxSeparationPiPK12btBox2dShapeRK11btTransformS2_S5_(Y,e,d,b,c);g=ea>0?0:1;a:for(;;)if(g==0){STACKTOP=f;break}else if(g==1){IHEAP[ha]=0;P=__Z17FindMaxSeparationPiPK12btBox2dShapeRK11btTransformS2_S5_(ha,b,c,e,d);if(P>0){g=0;continue a}P>0.9800000190734863*ea+0.0010000000474974513?(s=b,g=e,P=c,r=ba,o=P,p=r,_llvm_memcpy_p0i8_p0i8_i32(p,o,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+ +4,o+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+8,o+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(r+12,P+12,4,4,0),P=d,r=V,o=P,p=r,_llvm_memcpy_p0i8_p0i8_i32(p,o,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+4,o+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+8,o+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(r+12,P+12,4,4,0),r=IHEAP[ha],P=1):(s=e,g=b,P=d,r=ba,o=P,p=r,_llvm_memcpy_p0i8_p0i8_i32(p,o,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+4,o+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+8,o+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(r+12,P+12,4,4,0),P=c,r=V,o=P, +p=r,_llvm_memcpy_p0i8_p0i8_i32(p,o,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+4,o+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(p+8,o+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(r+12,P+12,4,4,0),r=IHEAP[Y],P=0);p=0;b:for(;;)if(p=o=p+1,!(o<2))break b;q=s;o=r;i=g;p=aa;g=ba;j=o;o=V;k=q+76;q=i;q+=60;i+=76;K=l=o;M=l+4;D=l+8;E=l;E+=1;F=l+4;F+=1;G=l+8;G+=1;J=l;J+=2;H=l+4;H+=2;l+=8;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(R,K,M,D,E,F,G,J,H,l+2);__ZmlRK11btMatrix3x3RK9btVector3(O,g,k+4*j);__ZmlRK11btMatrix3x3RK9btVector3(N, +R,O);j=0;k=999999984306749440;l=0;g=l<4?6:7;b:for(;;)if(g==6){K=i+4*l;g=N;K=FHEAP[g]*FHEAP[K]+FHEAP[g+1]*FHEAP[K+1]+FHEAP[g+2]*FHEAP[K+2];for(g=K<k?8:9;;)if(g==8)k=K,j=l,g=9;else if(g==9){l+=1;g=l<4?6:7;continue b}}else if(g==7){Q=j;Q+1<4?(h=7,g=10):(h=7,g=11);break b}b:for(;;)if(g==10){var za=Q+1,h=10;g=11}else if(g==11){w=h==10?za:0;i=p;j=q+4*Q;g=o;__ZNK11btTransformclERK9btVector3(I,g,j);_llvm_memcpy_p0i8_p0i8_i32(i,I,4,4,0);g=p+5;p=q+4*w;w=o;__ZNK11btTransformclERK9btVector3(L,w,p);_llvm_memcpy_p0i8_p0i8_i32(g, +L,4,4,0);w=s;w+=60;_llvm_memcpy_p0i8_p0i8_i32(X,w+4*r,4,4,0);g=r+1<4?12:13;break b}if(g==12)var Ja=w+4*(r+1),h=12;else if(g==13)var Ra=w,h=13;_llvm_memcpy_p0i8_p0i8_i32(ka,h==12?Ja:Ra,4,4,0);s=ka;r=X;FHEAP[B]=FHEAP[s]-FHEAP[r];FHEAP[C]=FHEAP[s+1]-FHEAP[r+1];FHEAP[A]=FHEAP[s+2]-FHEAP[r+2];s=da;r=B;p=C;o=A;FHEAP[s]=FHEAP[r];FHEAP[s+1]=FHEAP[p];FHEAP[s+2]=FHEAP[o];FHEAP[s+3]=0;s=ba;r=ka;p=X;FHEAP[y]=FHEAP[r]-FHEAP[p];FHEAP[x]=FHEAP[r+1]-FHEAP[p+1];FHEAP[z]=FHEAP[r+2]-FHEAP[p+2];r=ga;p=y;o=x;q=z;FHEAP[r]= +FHEAP[p];FHEAP[r+1]=FHEAP[o];FHEAP[r+2]=FHEAP[q];FHEAP[r+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(fa,s,ga);r=p=r=s=fa;r=FHEAP[r]*FHEAP[p]+FHEAP[r+1]*FHEAP[p+1]+FHEAP[r+2]*FHEAP[p+2];r=_sqrtf(r);FHEAP[v]=r;r=s;s=v;FHEAP[u]=1/FHEAP[s];s=u;FHEAP[r]*=FHEAP[s];FHEAP[r+1]*=FHEAP[s];FHEAP[r+2]*=FHEAP[s];s=fa;FHEAP[la]=1*FHEAP[s+1];s=fa;FHEAP[qa]=-1*FHEAP[s];FHEAP[pa]=0;s=ja;r=la;p=qa;o=pa;FHEAP[s]=FHEAP[r];FHEAP[s+1]=FHEAP[p];FHEAP[s+2]=FHEAP[o];FHEAP[s+3]=0;s=ba;r=X;__ZNK11btTransformclERK9btVector3(wa,s, +r);_llvm_memcpy_p0i8_p0i8_i32(X,wa,4,4,0);s=ba;r=ka;__ZNK11btTransformclERK9btVector3(ua,s,r);_llvm_memcpy_p0i8_p0i8_i32(ka,ua,4,4,0);r=ja;s=X;s=FHEAP[r]*FHEAP[s]+FHEAP[r+1]*FHEAP[s+1]+FHEAP[r+2]*FHEAP[s+2];p=fa;r=X;r=0-(FHEAP[p]*FHEAP[r]+FHEAP[p+1]*FHEAP[r+1]+FHEAP[p+2]*FHEAP[r+2]);o=fa;p=ka;p=FHEAP[o]*FHEAP[p]+FHEAP[o+1]*FHEAP[p+1]+FHEAP[o+2]*FHEAP[p+2];o=0;b:for(;;)if(o=g=o+1,g<2)g=15;else{g=16;break b}o=na;FHEAP[ya]=0;FHEAP[xa]=0;FHEAP[ia]=0;j=o;o=ya;q=xa;i=ia;FHEAP[j]=FHEAP[o];FHEAP[j+1]=FHEAP[q]; +FHEAP[j+2]=FHEAP[i];FHEAP[j+3]=0;o=na+5;FHEAP[ma]=0;FHEAP[ta]=0;FHEAP[ra]=0;j=o;o=ma;q=ta;i=ra;FHEAP[j]=FHEAP[o];FHEAP[j+1]=FHEAP[q];FHEAP[j+2]=FHEAP[i];o=FHEAP[j+3]=0;b:for(;;)if(o=g=o+1,g<2)g=17;else{g=18;break b}o=oa;FHEAP[Da]=0;FHEAP[Ba]=0;FHEAP[Oa]=0;j=o;o=Da;q=Ba;i=Oa;FHEAP[j]=FHEAP[o];FHEAP[j+1]=FHEAP[q];FHEAP[j+2]=FHEAP[i];FHEAP[j+3]=0;o=oa+5;FHEAP[Fa]=0;FHEAP[Ha]=0;FHEAP[La]=0;j=o;o=Fa;q=Ha;i=La;FHEAP[j]=FHEAP[o];FHEAP[j+1]=FHEAP[q];FHEAP[j+2]=FHEAP[i];FHEAP[j+3]=0;o=na;q=aa;i=fa;FHEAP[f]= +0-FHEAP[i];FHEAP[m]=0-FHEAP[i+1];FHEAP[n]=0-FHEAP[i+2];i=Ea;j=f;k=m;l=n;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;r=__Z17ClipSegmentToLineP10ClipVertexS0_RK9btVector3f(o,q,Ea,r);if(r<2){g=0;continue a}r=__Z17ClipSegmentToLineP10ClipVertexS0_RK9btVector3f(oa,na,fa,p);if(r<2){g=0;continue a}P!=0?(P=ja,FHEAP[S]=0-FHEAP[P],FHEAP[T]=0-FHEAP[P+1],FHEAP[U]=0-FHEAP[P+2],P=Ca,r=S,p=T,o=U,FHEAP[P]=FHEAP[r],FHEAP[P+1]=FHEAP[p],FHEAP[P+2]=FHEAP[o],FHEAP[P+3]=0):_llvm_memcpy_p0i8_p0i8_i32(Ca, +ja,4,4,0);P=0;if(!(P<IHEAP[_b2_maxManifoldPoints])){g=0;continue a}b:for(;;){r=oa+P*5;g=ja;sa=g=FHEAP[g]*FHEAP[r]+FHEAP[g+1]*FHEAP[r+1]+FHEAP[g+2]*FHEAP[r+2]-s,r=sa;for(g=g<=0?23:24;;)if(g==23)g=a,p=IHEAP[IHEAP[g]+4],o=Ca,FHEAP[W]=0-FHEAP[o],FHEAP[Z]=0-FHEAP[o+1],FHEAP[ca]=0-FHEAP[o+2],o=Aa,q=W,i=Z,j=ca,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[i],FHEAP[o+2]=FHEAP[j],FHEAP[o+3]=0,FUNCTION_TABLE[p](g,Aa,oa+P*5,r),g=24;else if(g==24)if(P+=1,P<IHEAP[_b2_maxManifoldPoints]){g=22;continue b}else{g=0;continue a}}}} +function __ZN30btBox2dBox2dCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __Z17FindMaxSeparationPiPK12btBox2dShapeRK11btTransformS2_S5_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=31;var g,h=null,i,j=f+1;g=f+2;var k,l=f+3,m=f+7;i=f+11;var n=f+15,o=f+19,q,p,r,s,u,v,h=e+76;__ZNK11btTransformclERK9btVector3(m,c,b+56);__ZNK11btTransformclERK9btVector3(i,d,e+56);FHEAP[f]=FHEAP[m]-FHEAP[i];FHEAP[j]=FHEAP[m+1]-FHEAP[i+1];FHEAP[g]=FHEAP[m+2]-FHEAP[i+2];FHEAP[l]=FHEAP[f];FHEAP[l+1]=FHEAP[j];FHEAP[l+2]=FHEAP[g];FHEAP[l+3]=0;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(o,d,d+ +4,d+8,d+1,d+4+1,d+8+1,d+2,d+4+2,d+8+2);__ZmlRK11btMatrix3x3RK9btVector3(n,o,l);j=0;l=-999999984306749440;m=0;g=m<4?0:1;a:for(;;)if(g==0){i=h+4*m;g=n;i=FHEAP[i]*FHEAP[g]+FHEAP[i+1]*FHEAP[g+1]+FHEAP[i+2]*FHEAP[g+2];for(g=i>l?2:3;;)if(g==2)l=i,j=m,g=3;else if(g==3){m+=1;g=m<4?0:1;continue a}}else if(g==1){q=h=__Z14EdgeSeparationPK12btBox2dShapeRK11btTransformiS1_S4_(e,d,j,b,c);g=h>0?4:5;break a}a:do if(g==4)k=q;else if(g==5){if(j-1>=0)var y=j-1,h=7;else var x=3,h=9;n=h==7?y:x;l=h=__Z14EdgeSeparationPK12btBox2dShapeRK11btTransformiS1_S4_(e, +d,n,b,c);if(h>0)k=l;else{j+1<4?(h=10,g=11):(h=10,g=12);b:for(;;)if(g==11){var z=j+1,h=11;g=12}else if(g==12){p=h==11?z:0;r=g=__Z14EdgeSeparationPK12btBox2dShapeRK11btTransformiS1_S4_(e,d,p,b,c);g=g>0?13:14;break b}if(g==13)k=r;else if(g==14){g=l>q?15:16;b:for(;;)if(g==15)if(l>r){g=17;break b}else g=16;else if(g==16){g=r>q?19:20;break b}if(g==17)v=-1,s=n,u=l,h=17;else if(g==19)v=1,s=p,u=r,h=19;else if(g==20){IHEAP[a]=j;k=q;break a}b:for(;;){q=(h==32?D:h==17?-1:1)==-1;var B=s;c:do if(q){if(B-1>=0)var C= +s-1,h=22;else var A=3,h=24;j=h==22?C:A}else{B+1<4?(h=26,g=27):(h=26,g=28);for(;;)if(g==27){var w=s+1,h=27;g=28}else if(g==28){j=h==27?w:0;break c}}while(0);B=q=h=__Z14EdgeSeparationPK12btBox2dShapeRK11btTransformiS1_S4_(e,d,j,b,c);if(h>0){g=30;break b}if(!(B>u)){g=33;break b}s=j;u=q;var D=v,h=32;g=34}g==30?k=B:g==33&&(IHEAP[a]=s,k=u)}}}while(0);STACKTOP=f;return k} +function __Z17ClipSegmentToLineP10ClipVertexS0_RK9btVector3f(a,e,d,b){var c=STACKTOP;STACKTOP+=22;var f=null,g,h,i,j=c+1,k=c+2,l=c+3,m=c+4,n=c+5,o=c+6,q=c+7,p=c+8,r,s,u=c+9,v=c+10,y=c+14,x=c+18;r=0;s=FHEAP[d]*FHEAP[e]+FHEAP[d+1]*FHEAP[e+1]+FHEAP[d+2]*FHEAP[e+2]-b;f=e+5;d=FHEAP[d]*FHEAP[f]+FHEAP[d+1]*FHEAP[f+1]+FHEAP[d+2]*FHEAP[f+2]-b;s<=0?(f=-1,b=0):(f=-1,b=1);a:for(;;)if(b==0){var z=r;r=z+1;_llvm_memcpy_p0i8_p0i8_i32(a+5*z,e,5,4,0);z=d;f=0;b=1}else if(b==1){b=(f==0?z:d)<=0?2:3;break a}a:for(;;)if(b== +2)z=r,r=z+1,_llvm_memcpy_p0i8_p0i8_i32(a+5*z,e+5,5,4,0),b=3;else if(b==3){b=s*d<0?4:5;break a}for(;;)if(b==4)FHEAP[u]=s/(s-d),z=a+5*r,g=f=e,b=e+5,FHEAP[c]=FHEAP[b]-FHEAP[g],FHEAP[j]=FHEAP[b+1]-FHEAP[g+1],FHEAP[k]=FHEAP[b+2]-FHEAP[g+2],b=y,g=c,h=j,i=k,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[h],FHEAP[b+2]=FHEAP[i],FHEAP[b+3]=0,g=u,b=y,FHEAP[l]=FHEAP[b]*FHEAP[g],FHEAP[m]=FHEAP[b+1]*FHEAP[g],FHEAP[n]=FHEAP[b+2]*FHEAP[g],b=v,g=l,h=m,i=n,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[h],FHEAP[b+2]=FHEAP[i],FHEAP[b+3]=0, +b=v,FHEAP[o]=FHEAP[f]+FHEAP[b],FHEAP[q]=FHEAP[f+1]+FHEAP[b+1],FHEAP[p]=FHEAP[f+2]+FHEAP[b+2],f=x,b=o,g=q,h=p,FHEAP[f]=FHEAP[b],FHEAP[f+1]=FHEAP[g],FHEAP[f+2]=FHEAP[h],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(z,x,4,4,0),z=e,IHEAP[a+5*r+4]=s>0?IHEAP[z+4]:IHEAP[z+5+4],r+=1,b=5;else if(b==5)return a=r,STACKTOP=c,a;return null} +function __ZN30btBox2dBox2dCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+8]&1)){d=1;continue a}g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+ +1];d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __Z14EdgeSeparationPK12btBox2dShapeRK11btTransformiS1_S4_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=35;var g,h,i,j,k,l;j=f+1;i=f+2;var m,n,o;n=f+3;var q=f+7,p=f+11,r;k=f+23;l=f+27;m=f+31;o=a+60;b+=60;__ZmlRK11btMatrix3x3RK9btVector3(n,e,a+76+4*d);__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(p,c,c+4,c+8,c+1,c+4+1,c+8+1,c+2,c+4+2,c+8+2);__ZmlRK11btMatrix3x3RK9btVector3(q,p,n);a=0;p=999999984306749440;r=0;g=r<4?0:1;a:for(;;)if(g==0){h=b+4*r;g=q;h=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+ +2]*FHEAP[g+2];for(g=h<p?2:3;;)if(g==2)p=h,a=r,g=3;else if(g==3){r+=1;g=r<4?0:1;continue a}}else if(g==1)return d=o+4*d,__ZNK11btTransformclERK9btVector3(k,e,d),b+=4*a,__ZNK11btTransformclERK9btVector3(l,c,b),FHEAP[f]=FHEAP[l]-FHEAP[k],FHEAP[j]=FHEAP[l+1]-FHEAP[k+1],FHEAP[i]=FHEAP[l+2]-FHEAP[k+2],k=m,l=f,c=j,j=l,l=c,c=i,i=k,k=l,l=c,FHEAP[i]=FHEAP[j],FHEAP[i+1]=FHEAP[k],FHEAP[i+2]=FHEAP[l],FHEAP[i+3]=0,n=FHEAP[m]*FHEAP[n]+FHEAP[m+1]*FHEAP[n+1]+FHEAP[m+2]*FHEAP[n+2],STACKTOP=f,n;return null} +function __ZN22SphereTriangleDetectorC2EP13btSphereShapeP15btTriangleShapef(a,e,d,b){IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[a]=__ZTV22SphereTriangleDetector+2;IHEAP[a+4]=e;IHEAP[a+5]=d;FHEAP[a+6]=b} +function __ZN22SphereTriangleDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(a,e,d,b,c){b=STACKTOP;STACKTOP+=63;var f,g,h=b+1,i=b+2,j=b+3,k=b+4,l=b+5,m=b+6,n=b+7,o=b+8,q,p=b+9,r=b+13;f=b+17;var s=b+18;g=b+19;var u=b+35,v=b+39,y=b+43,x=b+47,z=b+51,B=b+55,C=b+59;q=e+16;FHEAP[f]=1;FHEAP[s]=0;__ZNK11btTransform12inverseTimesERKS_(g,q,e);for(a=__ZN22SphereTriangleDetector7collideERK9btVector3RS0_S3_RfS4_f(a,g+12,p,r,s,f,FHEAP[a+6])? +0:1;;)if(a==0)c&1?(a=q,__ZmlRK11btMatrix3x3RK9btVector3(u,a,r),a=u,FHEAP[m]=0-FHEAP[a],FHEAP[n]=0-FHEAP[a+1],FHEAP[o]=0-FHEAP[a+2],a=v,e=m,f=n,g=o,FHEAP[a]=FHEAP[e],FHEAP[a+1]=FHEAP[f],FHEAP[a+2]=FHEAP[g],FHEAP[a+3]=0,a=q,e=p,__ZNK11btTransformclERK9btVector3(x,a,e),a=u,e=s,FHEAP[b]=FHEAP[a]*FHEAP[e],FHEAP[h]=FHEAP[a+1]*FHEAP[e],FHEAP[i]=FHEAP[a+2]*FHEAP[e],a=z,e=b,f=h,g=i,FHEAP[a]=FHEAP[e],FHEAP[a+1]=FHEAP[f],FHEAP[a+2]=FHEAP[g],FHEAP[a+3]=0,a=x,e=z,FHEAP[j]=FHEAP[a]+FHEAP[e],FHEAP[k]=FHEAP[a+1]+ +FHEAP[e+1],FHEAP[l]=FHEAP[a+2]+FHEAP[e+2],a=y,e=j,f=k,g=l,FHEAP[a]=FHEAP[e],FHEAP[a+1]=FHEAP[f],FHEAP[a+2]=FHEAP[g],FHEAP[a+3]=0,a=d,FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,v,y,FHEAP[s])):(a=d,e=IHEAP[IHEAP[a]+4],f=q,__ZmlRK11btMatrix3x3RK9btVector3(B,f,r),f=q,g=p,__ZNK11btTransformclERK9btVector3(C,f,g),FUNCTION_TABLE[e](a,B,C,FHEAP[s])),a=1;else if(a==1){STACKTOP=b;break}} +function __ZN22SphereTriangleDetector7collideERK9btVector3RS0_S3_RfS4_f(a,e,d,b,c,f,g){f=STACKTOP;STACKTOP+=79;var h,i,j,k,l,m=f+4,n=f+8,o=f+9,q=f+10,p=f+11,r=f+12,s=f+13;h=f+14;i=f+15;k=f+16;l=f+17;var u=f+18,v=f+19,y=f+20,x=f+21,z,B=f+22,C=f+23,A=f+24,w,D,E=f+25,F=f+26,G=f+27,J;z=f+28;var H=f+29,M=f+30,K,N=f+31,R=f+32,O,Q,I=f+33,L=f+37,P=f+41,S=f+45,T=f+49;j=f+50;var U=f+51,W=f+55,Z=f+59,ca=f+63,Y=f+67,ea=f+71,ha=f+75;O=IHEAP[a+5]+56+0;Q=IHEAP[a+4];Q=FHEAP[Q+16]*FHEAP[Q+12];g=Q+g;J=O+4;FHEAP[z]= +FHEAP[J]-FHEAP[O];FHEAP[H]=FHEAP[J+1]-FHEAP[O+1];FHEAP[M]=FHEAP[J+2]-FHEAP[O+2];FHEAP[L]=FHEAP[z];FHEAP[L+1]=FHEAP[H];FHEAP[L+2]=FHEAP[M];FHEAP[L+3]=0;z=O+8;FHEAP[B]=FHEAP[z]-FHEAP[O];FHEAP[C]=FHEAP[z+1]-FHEAP[O+1];FHEAP[A]=FHEAP[z+2]-FHEAP[O+2];FHEAP[P]=FHEAP[B];FHEAP[P+1]=FHEAP[C];FHEAP[P+2]=FHEAP[A];FHEAP[P+3]=0;FHEAP[v]=FHEAP[L+1]*FHEAP[P+2]-FHEAP[L+2]*FHEAP[P+1];FHEAP[y]=FHEAP[L+2]*FHEAP[P]-FHEAP[L]*FHEAP[P+2];FHEAP[x]=FHEAP[L]*FHEAP[P+1]-FHEAP[L+1]*FHEAP[P];FHEAP[I]=FHEAP[v];FHEAP[I+1]=FHEAP[y]; +FHEAP[I+2]=FHEAP[x];FHEAP[I+3]=0;v=_sqrtf(FHEAP[I]*FHEAP[I]+FHEAP[I+1]*FHEAP[I+1]+FHEAP[I+2]*FHEAP[I+2]);FHEAP[u]=v;FHEAP[l]=1/FHEAP[u];FHEAP[I]*=FHEAP[l];FHEAP[I+1]*=FHEAP[l];FHEAP[I+2]*=FHEAP[l];FHEAP[h]=FHEAP[e]-FHEAP[O];FHEAP[i]=FHEAP[e+1]-FHEAP[O+1];FHEAP[k]=FHEAP[e+2]-FHEAP[O+2];FHEAP[S]=FHEAP[h];FHEAP[S+1]=FHEAP[i];FHEAP[S+2]=FHEAP[k];FHEAP[S+3]=0;FHEAP[T]=FHEAP[S]*FHEAP[I]+FHEAP[S+1]*FHEAP[I+1]+FHEAP[S+2]*FHEAP[I+2];h=FHEAP[T]<0?0:1;a:for(;;)if(h==0)FHEAP[T]*=-1,FHEAP[j]=-1,i=I,h=j,FHEAP[i]*= +FHEAP[h],FHEAP[i+1]*=FHEAP[h],FHEAP[i+2]*=FHEAP[h],h=1;else if(h==1){j=FHEAP[T]<g;D=0;h=j&1?2:3;break a}a:for(;;)if(h==2)if(i=e,k=O,j=a,l=I,_llvm_memcpy_p0i8_p0i8_i32(f,i,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(m,l,4,4,0),__ZN22SphereTriangleDetector15pointInTriangleEPK9btVector3RS1_PS0_(j,k,m,f))D=1,j=e,h=I,i=T,FHEAP[n]=FHEAP[h]*FHEAP[i],FHEAP[o]=FHEAP[h+1]*FHEAP[i],FHEAP[q]=FHEAP[h+2]*FHEAP[i],h=W,i=n,k=o,l=q,FHEAP[h]=FHEAP[i],FHEAP[h+1]=FHEAP[k],FHEAP[h+2]=FHEAP[l],FHEAP[h+3]=0,h=W,FHEAP[p]=FHEAP[j]- +FHEAP[h],FHEAP[r]=FHEAP[j+1]-FHEAP[h+1],FHEAP[s]=FHEAP[j+2]-FHEAP[h+2],j=Z,h=p,i=r,k=s,FHEAP[j]=FHEAP[h],FHEAP[j+1]=FHEAP[i],FHEAP[j+2]=FHEAP[k],FHEAP[j+3]=0,_llvm_memcpy_p0i8_p0i8_i32(U,Z,4,4,0),h=3;else{j=g*g;l=i=0;k=a+5;u=IHEAP[k];u=FUNCTION_TABLE[IHEAP[IHEAP[u]+23]](u);if(!(l<u)){h=3;continue a}l=a+5;u=U;S=ca;b:for(;;){h=IHEAP[l];FUNCTION_TABLE[IHEAP[IHEAP[h]+24]](h,i,Y,ea);h=__Z18SegmentSqrDistanceRK9btVector3S1_S1_RS_(Y,ea,e,ca);for(h=h<j?6:7;;)if(h==6)D=1,_llvm_memcpy_p0i8_p0i8_i32(u,S,4,4, +0),h=7;else if(h==7)if(i+=1,h=i,v=IHEAP[k],v=FUNCTION_TABLE[IHEAP[IHEAP[v]+23]](v),h<v){h=5;continue b}else{h=3;continue a}}}else if(h==3){h=D&1?8:9;break a}a:for(;;)if(h==8)if(w=e,a=U,FHEAP[E]=FHEAP[w]-FHEAP[a],FHEAP[F]=FHEAP[w+1]-FHEAP[a+1],FHEAP[G]=FHEAP[w+2]-FHEAP[a+2],w=ha,a=E,D=F,m=G,FHEAP[w]=FHEAP[a],FHEAP[w+1]=FHEAP[D],FHEAP[w+2]=FHEAP[m],FHEAP[w+3]=0,w=a=w=ha,w=FHEAP[w]*FHEAP[a]+FHEAP[w+1]*FHEAP[a+1]+FHEAP[w+2]*FHEAP[a+2],w<g*g){h=10;break a}else h=9;else if(h==9){K=0;h=12;break a}for(;;)if(h== +10)w>1.1920928955078125E-7?(e=w,e=_sqrtf(e),_llvm_memcpy_p0i8_p0i8_i32(b,ha,4,4,0),E=F=E=K=b,E=FHEAP[E]*FHEAP[F]+FHEAP[E+1]*FHEAP[F+1]+FHEAP[E+2]*FHEAP[F+2],E=_sqrtf(E),FHEAP[R]=E,E=K,K=R,FHEAP[N]=1/FHEAP[K],K=N,FHEAP[E]*=FHEAP[K],FHEAP[E+1]*=FHEAP[K],FHEAP[E+2]*=FHEAP[K],_llvm_memcpy_p0i8_p0i8_i32(d,U,4,4,0),FHEAP[c]=0-(Q-e)):(_llvm_memcpy_p0i8_p0i8_i32(b,I,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,U,4,4,0),FHEAP[c]=0-Q),K=1,h=12;else if(h==12)return d=K,STACKTOP=f,d;return null} +function __Z18SegmentSqrDistanceRK9btVector3S1_S1_RS_(a,e,d,b){var c=STACKTOP;STACKTOP+=36;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+9,o=c+10,q=c+11,p=c+12,r=c+13,s=c+14,u=c+15,v=c+19,y=c+23,x=c+24,z=c+28,B=c+32;FHEAP[p]=FHEAP[d]-FHEAP[a];FHEAP[r]=FHEAP[d+1]-FHEAP[a+1];FHEAP[s]=FHEAP[d+2]-FHEAP[a+2];FHEAP[u]=FHEAP[p];FHEAP[u+1]=FHEAP[r];FHEAP[u+2]=FHEAP[s];FHEAP[u+3]=0;FHEAP[c]=FHEAP[e]-FHEAP[a];FHEAP[f]=FHEAP[e+1]-FHEAP[a+1];FHEAP[g]=FHEAP[e+2]-FHEAP[a+2];FHEAP[v]=FHEAP[c];FHEAP[v+ +1]=FHEAP[f];FHEAP[v+2]=FHEAP[g];FHEAP[v+3]=0;FHEAP[y]=FHEAP[v]*FHEAP[u]+FHEAP[v+1]*FHEAP[u+1]+FHEAP[v+2]*FHEAP[u+2];FHEAP[y]>0?(e=FHEAP[v]*FHEAP[v]+FHEAP[v+1]*FHEAP[v+1]+FHEAP[v+2]*FHEAP[v+2],FHEAP[y]<e?(FHEAP[y]/=e,FHEAP[h]=FHEAP[v]*FHEAP[y],FHEAP[i]=FHEAP[v+1]*FHEAP[y],FHEAP[j]=FHEAP[v+2]*FHEAP[y],FHEAP[x]=FHEAP[h],FHEAP[x+1]=FHEAP[i],FHEAP[x+2]=FHEAP[j],FHEAP[x+3]=0,FHEAP[u]-=FHEAP[x],FHEAP[u+1]-=FHEAP[x+1],FHEAP[u+2]-=FHEAP[x+2]):(FHEAP[y]=1,FHEAP[u]-=FHEAP[v],FHEAP[u+1]-=FHEAP[v+1],FHEAP[u+2]-= +FHEAP[v+2])):FHEAP[y]=0;FHEAP[k]=FHEAP[v]*FHEAP[y];FHEAP[l]=FHEAP[v+1]*FHEAP[y];FHEAP[m]=FHEAP[v+2]*FHEAP[y];FHEAP[z]=FHEAP[k];FHEAP[z+1]=FHEAP[l];FHEAP[z+2]=FHEAP[m];FHEAP[z+3]=0;FHEAP[n]=FHEAP[a]+FHEAP[z];FHEAP[o]=FHEAP[a+1]+FHEAP[z+1];FHEAP[q]=FHEAP[a+2]+FHEAP[z+2];FHEAP[B]=FHEAP[n];FHEAP[B+1]=FHEAP[o];FHEAP[B+2]=FHEAP[q];FHEAP[B+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,B,4,4,0);a=FHEAP[u]*FHEAP[u]+FHEAP[u+1]*FHEAP[u+1]+FHEAP[u+2]*FHEAP[u+2];STACKTOP=c;return a} +function __ZN22SphereTriangleDetector12facecontainsERK9btVector3PS1_RS0_(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f=c+4;_llvm_memcpy_p0i8_p0i8_i32(c,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f,b,4,4,0);a=__ZN22SphereTriangleDetector15pointInTriangleEPK9btVector3RS1_PS0_(a,d,f,c);STACKTOP=c;return a} +function __ZN22SphereTriangleDetector15pointInTriangleEPK9btVector3RS1_PS0_(a,e,d,b){a=STACKTOP;STACKTOP+=63;var c=null,f=a+1,g=a+2,h=a+3,i=a+4,j=a+5,k=a+6,l=a+7,m=a+8,n=a+9,o=a+10,q=a+11,p=a+12,r=a+13,s=a+14,u=a+15,v=a+16,y=a+17,x=a+18,z=a+19,B=a+20,C=a+21,A=a+22,w=a+23,D=a+24,E=a+25,F=a+26,G,J,H,M=a+27,K=a+31,N=a+35,R=a+39,O=a+43,c=a+47,Q=a+51,I=a+55,L=a+59;J=e+4;H=e+8;FHEAP[D]=FHEAP[J]-FHEAP[e];FHEAP[E]=FHEAP[J+1]-FHEAP[e+1];FHEAP[F]=FHEAP[J+2]-FHEAP[e+2];FHEAP[M]=FHEAP[D];FHEAP[M+1]=FHEAP[E]; +FHEAP[M+2]=FHEAP[F];FHEAP[M+3]=0;FHEAP[a]=FHEAP[H]-FHEAP[J];FHEAP[f]=FHEAP[H+1]-FHEAP[J+1];FHEAP[g]=FHEAP[H+2]-FHEAP[J+2];FHEAP[K]=FHEAP[a];FHEAP[K+1]=FHEAP[f];FHEAP[K+2]=FHEAP[g];FHEAP[K+3]=0;FHEAP[h]=FHEAP[e]-FHEAP[H];FHEAP[i]=FHEAP[e+1]-FHEAP[H+1];FHEAP[j]=FHEAP[e+2]-FHEAP[H+2];FHEAP[N]=FHEAP[h];FHEAP[N+1]=FHEAP[i];FHEAP[N+2]=FHEAP[j];FHEAP[N+3]=0;FHEAP[k]=FHEAP[b]-FHEAP[e];FHEAP[l]=FHEAP[b+1]-FHEAP[e+1];FHEAP[m]=FHEAP[b+2]-FHEAP[e+2];FHEAP[R]=FHEAP[k];FHEAP[R+1]=FHEAP[l];FHEAP[R+2]=FHEAP[m];FHEAP[R+ +3]=0;FHEAP[n]=FHEAP[b]-FHEAP[J];FHEAP[o]=FHEAP[b+1]-FHEAP[J+1];FHEAP[q]=FHEAP[b+2]-FHEAP[J+2];FHEAP[O]=FHEAP[n];FHEAP[O+1]=FHEAP[o];FHEAP[O+2]=FHEAP[q];FHEAP[O+3]=0;FHEAP[p]=FHEAP[b]-FHEAP[H];FHEAP[r]=FHEAP[b+1]-FHEAP[H+1];FHEAP[s]=FHEAP[b+2]-FHEAP[H+2];FHEAP[c]=FHEAP[p];FHEAP[c+1]=FHEAP[r];FHEAP[c+2]=FHEAP[s];FHEAP[c+3]=0;FHEAP[u]=FHEAP[M+1]*FHEAP[d+2]-FHEAP[M+2]*FHEAP[d+1];FHEAP[v]=FHEAP[M+2]*FHEAP[d]-FHEAP[M]*FHEAP[d+2];FHEAP[y]=FHEAP[M]*FHEAP[d+1]-FHEAP[M+1]*FHEAP[d];FHEAP[Q]=FHEAP[u];FHEAP[Q+ +1]=FHEAP[v];FHEAP[Q+2]=FHEAP[y];FHEAP[Q+3]=0;FHEAP[x]=FHEAP[K+1]*FHEAP[d+2]-FHEAP[K+2]*FHEAP[d+1];FHEAP[z]=FHEAP[K+2]*FHEAP[d]-FHEAP[K]*FHEAP[d+2];FHEAP[B]=FHEAP[K]*FHEAP[d+1]-FHEAP[K+1]*FHEAP[d];FHEAP[I]=FHEAP[x];FHEAP[I+1]=FHEAP[z];FHEAP[I+2]=FHEAP[B];FHEAP[I+3]=0;FHEAP[C]=FHEAP[N+1]*FHEAP[d+2]-FHEAP[N+2]*FHEAP[d+1];FHEAP[A]=FHEAP[N+2]*FHEAP[d]-FHEAP[N]*FHEAP[d+2];FHEAP[w]=FHEAP[N]*FHEAP[d+1]-FHEAP[N+1]*FHEAP[d];FHEAP[L]=FHEAP[C];FHEAP[L+1]=FHEAP[A];FHEAP[L+2]=FHEAP[w];FHEAP[L+3]=0;e=FHEAP[Q]*FHEAP[R]+ +FHEAP[Q+1]*FHEAP[R+1]+FHEAP[Q+2]*FHEAP[R+2];d=FHEAP[I]*FHEAP[O]+FHEAP[I+1]*FHEAP[O+1]+FHEAP[I+2]*FHEAP[O+2];L=FHEAP[L]*FHEAP[c]+FHEAP[L+1]*FHEAP[c+1]+FHEAP[L+2]*FHEAP[c+2];e>0?(c=-1,b=0):(c=-1,b=1);a:for(;;)if(b==0)for(b=d>0?2:3;;)if(b==2)if(L>0){b=4;break a}else b=3;else{if(b==3){var P=e,c=3,b=1;continue a}}else if(b==1){b=(c==3?P:e)<=0?5:6;break a}for(;;)if(b==4){G=1;break}else if(b==5)b=d<=0?L<=0?4:6:6;else if(b==6){G=0;break}STACKTOP=a;return G} +function __ZN22SphereTriangleDetectorD1Ev(a){IHEAP[a]=__ZTV22SphereTriangleDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2}function __ZN22SphereTriangleDetectorD0Ev(a){IHEAP[a]=__ZTV22SphereTriangleDetector+2;IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2;__ZdlPv(a)} +function __Z10quatRotateRK12btQuaternionRK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=35;var c=b+1,f=b+2,g=b+3,h=b+19;__ZmlRK12btQuaternionRK9btVector3(g,e,d);FHEAP[b]=0-FHEAP[e];FHEAP[c]=0-FHEAP[e+1];FHEAP[f]=0-FHEAP[e+2];FHEAP[h]=FHEAP[b];FHEAP[h+1]=FHEAP[c];FHEAP[h+2]=FHEAP[f];FHEAP[h+3]=FHEAP[e+3];__ZN12btQuaternionmLERKS_(g,h);FHEAP[a]=FHEAP[g];FHEAP[a+1]=FHEAP[g+1];FHEAP[a+2]=FHEAP[g+2];FHEAP[a+3]=0;STACKTOP=b} +function __ZmlRK12btQuaternionRK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=4;var c=b+1,f=b+2,g=b+3;FHEAP[b]=FHEAP[e+3]*FHEAP[d]+FHEAP[e+1]*FHEAP[d+2]-FHEAP[e+2]*FHEAP[d+1];FHEAP[c]=FHEAP[e+3]*FHEAP[d+1]+FHEAP[e+2]*FHEAP[d]-FHEAP[e]*FHEAP[d+2];FHEAP[f]=FHEAP[e+3]*FHEAP[d+2]+FHEAP[e]*FHEAP[d+1]-FHEAP[e+1]*FHEAP[d];FHEAP[g]=(0-FHEAP[e])*FHEAP[d]-FHEAP[e+1]*FHEAP[d+1]-FHEAP[e+2]*FHEAP[d+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=FHEAP[g];STACKTOP=b} +function __ZN12btQuaternionmLERKS_(a,e){var d=STACKTOP;STACKTOP+=4;var b=d+1,c=d+2,f=d+3;FHEAP[d]=FHEAP[a+3]*FHEAP[e]+FHEAP[a]*FHEAP[e+3]+FHEAP[a+1]*FHEAP[e+2]-FHEAP[a+2]*FHEAP[e+1];FHEAP[b]=FHEAP[a+3]*FHEAP[e+1]+FHEAP[a+1]*FHEAP[e+3]+FHEAP[a+2]*FHEAP[e]-FHEAP[a]*FHEAP[e+2];FHEAP[c]=FHEAP[a+3]*FHEAP[e+2]+FHEAP[a+2]*FHEAP[e+3]+FHEAP[a]*FHEAP[e+1]-FHEAP[a+1]*FHEAP[e];FHEAP[f]=FHEAP[a+3]*FHEAP[e+3]-FHEAP[a]*FHEAP[e]-FHEAP[a+1]*FHEAP[e+1]-FHEAP[a+2]*FHEAP[e+2];FHEAP[a]=FHEAP[d];FHEAP[a+1]=FHEAP[b];FHEAP[a+ +2]=FHEAP[c];FHEAP[a+3]=FHEAP[f];STACKTOP=d;return a} +function __ZN20btAlignedObjectArrayIiE6resizeEiRKi(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIiE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayIiE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d== +10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN16btManifoldResultC2EP17btCollisionObjectS1_(a,e,d){IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[a]=__ZTV16btManifoldResult+2;IHEAP[a+4]=0;IHEAP[a+37]=e;IHEAP[a+38]=d;IHEAP[a+39]=-1;IHEAP[a+40]=-1;IHEAP[a+41]=-1;IHEAP[a+42]=-1;var b=e+1,e=a+5;_llvm_memcpy_p0i8_p0i8_i32(e,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,b+12,4,4,0);d+=1;a+=21;_llvm_memcpy_p0i8_p0i8_i32(a,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+ +4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,d+12,4,4,0)} +function __ZN16btManifoldResult15addContactPointERK9btVector3S2_f(a,e,d,b){var c=STACKTOP;STACKTOP+=108;var f,g=null,h,i,j,k,l=c+1,m=c+2,n,o,q,p,r=c+3,s=c+4,u=c+5,v=c+6,y=c+7,x=c+11,z=c+15,B=c+19,C=c+23,A=c+27,w=c+31,D=c+35,E=c+39;FHEAP[v]=b;f=FHEAP[v]>FHEAP[IHEAP[a+4]+284]?0:1;a:for(;;)if(f==0){STACKTOP=c;break}else if(f==1){b=IHEAP[a+4];b=IHEAP[b+280]!=IHEAP[a+37];k=d;f=e;h=v;FHEAP[r]=FHEAP[f]*FHEAP[h];FHEAP[s]=FHEAP[f+1]*FHEAP[h];FHEAP[u]=FHEAP[f+2]*FHEAP[h];f=x;h=r;i=s;j=u;FHEAP[f]=FHEAP[h];FHEAP[f+ +1]=FHEAP[i];FHEAP[f+2]=FHEAP[j];FHEAP[f+3]=0;f=x;FHEAP[c]=FHEAP[k]+FHEAP[f];FHEAP[l]=FHEAP[k+1]+FHEAP[f+1];FHEAP[m]=FHEAP[k+2]+FHEAP[f+2];k=y;f=c;h=l;i=m;FHEAP[k]=FHEAP[f];FHEAP[k+1]=FHEAP[h];FHEAP[k+2]=FHEAP[i];FHEAP[k+3]=0;b&1?(__ZNK11btTransform8invXformERK9btVector3(C,a+21,y),_llvm_memcpy_p0i8_p0i8_i32(z,C,4,4,0),__ZNK11btTransform8invXformERK9btVector3(A,a+5,d),_llvm_memcpy_p0i8_p0i8_i32(B,A,4,4,0)):(__ZNK11btTransform8invXformERK9btVector3(w,a+5,y),_llvm_memcpy_p0i8_p0i8_i32(z,w,4,4,0),__ZNK11btTransform8invXformERK9btVector3(D, +a+21,d),_llvm_memcpy_p0i8_p0i8_i32(B,D,4,4,0));i=e;k=FHEAP[v];f=E;j=z;n=h=B;o=i;h=j;i=n;j=o;_llvm_memcpy_p0i8_p0i8_i32(f,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+16,j,4,4,0);FHEAP[f+20]=k;FHEAP[f+21]=0;FHEAP[f+22]=0;IHEAP[f+27]=0;FHEAP[f+28]=0;IHEAP[f+29]=0;FHEAP[f+30]=0;FHEAP[f+31]=0;FHEAP[f+32]=0;FHEAP[f+33]=0;FHEAP[f+34]=0;FHEAP[f+35]=0;IHEAP[f+36]=0;FHEAP[f+45+7]=0;FHEAP[f+45+8+7]=0;FHEAP[f+45+16+7]=0;_llvm_memcpy_p0i8_p0i8_i32(E+12,y,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(E+ +8,d,4,4,0);k=__ZNK20btPersistentManifold13getCacheEntryERK15btManifoldPoint(IHEAP[a+4],E);f=IHEAP[a+38];h=IHEAP[a+37];h=FHEAP[h+56];h*=FHEAP[f+56];f=h;i=h<-10;b:do if(i)f=-10;else{if(!(h>10))break b;f=10}while(0);FHEAP[E+21]=f;f=IHEAP[a+38];h=IHEAP[a+37];h=FHEAP[h+57];FHEAP[E+22]=h*FHEAP[f+57];b&1?(IHEAP[E+23]=IHEAP[a+40],IHEAP[E+24]=IHEAP[a+39],IHEAP[E+25]=IHEAP[a+42],IHEAP[E+26]=IHEAP[a+41]):(IHEAP[E+23]=IHEAP[a+39],IHEAP[E+24]=IHEAP[a+40],IHEAP[E+25]=IHEAP[a+41],IHEAP[E+26]=IHEAP[a+42]);f=IHEAP[a+ +4];k>=0?(h=k,i=f,f=E,j=i+4+h*69,j=IHEAP[j+36],n=FHEAP[i+4+h*69+45+7],o=FHEAP[i+4+h*69+45+8+7],q=FHEAP[i+4+h*69+45+16+7],p=IHEAP[i+4+h*69+27],_llvm_memcpy_p0i8_p0i8_i32(i+4+h*69,f,69,4,0),IHEAP[i+4+h*69+27]=p,FHEAP[i+4+h*69+28]=n,FHEAP[i+4+h*69+30]=o,FHEAP[i+4+h*69+31]=q,FHEAP[i+4+h*69+45+7]=n,FHEAP[i+4+h*69+45+8+7]=o,FHEAP[i+4+h*69+45+16+7]=q,IHEAP[i+4+h*69+36]=j):k=__ZN20btPersistentManifold16addManifoldPointERK15btManifoldPoint(f,E);if(IHEAP[_gContactAddedCallback]==0){f=0;continue a}f=IHEAP[a+ +37];for(f=(IHEAP[f+51]&8)!=0?9:10;;)if(f==9){f=b&1?11:12;break}else if(f==10)if(f=IHEAP[a+38],(IHEAP[f+51]&8)!=0)f=9;else{f=0;continue a}if(f==11)var F=IHEAP[a+38],g=11;else if(f==12)var G=IHEAP[a+37],g=12;f=g==11?F:G;if(b&1)var J=IHEAP[a+37],g=14;else var H=IHEAP[a+38],g=16;b=g==14?J:H;h=IHEAP[_gContactAddedCallback];i=k;k=IHEAP[a+4];FUNCTION_TABLE[h](k+4+i*69,f,IHEAP[E+23],IHEAP[E+25],b,IHEAP[E+24],IHEAP[E+26]);f=0}} +function __ZN16btManifoldResultD0Ev(a){IHEAP[a]=__ZTV16btManifoldResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZdlPv(a)}function __ZN16btManifoldResult20setShapeIdentifiersAEii(a,e,d){IHEAP[a+39]=e;IHEAP[a+41]=d}function __ZN16btManifoldResult20setShapeIdentifiersBEii(a,e,d){IHEAP[a+40]=e;IHEAP[a+42]=d} +function __ZN16btCollisionWorldC2EP12btDispatcherP21btBroadphaseInterfaceP24btCollisionConfiguration(a,e,d,b){IHEAP[a]=__ZTV16btCollisionWorld+2;var c=a+1;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[a+6]=e;e=a+7;FHEAP[e]=0;IHEAP[e+1]=0;IHEAP[e+2]=1;FHEAP[e+3]=1;IHEAP[e+4]=1;IHEAP[e+5]=0;IHEAP[e+6]=0;IHEAP[e+7]=1;IHEAP[e+8]=1;FHEAP[e+9]=0.03999999910593033;IHEAP[e+10]=0;FHEAP[e+11]=0;IHEAP[e+12]=0;IHEAP[a+21]=d;IHEAP[a+22]=0;IHEAP[a+23]=1;var d=IHEAP[IHEAP[b]+4],f;try{__THREW__=!1,f= +FUNCTION_TABLE[d](b)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack);f=null}b=__THREW__?1:0;if(b==0)IHEAP[a+20]=f,IHEAP[a+7+12]=IHEAP[a+20];else if(b==1)throw f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+1),__Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 96677";} +function __ZN16btCollisionWorldD0Ev(a){var e;try{__THREW__=!1,__ZN16btCollisionWorldD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 96706";} +function __ZN16btCollisionWorldD2Ev(a){var e,d,b,c;IHEAP[a]=__ZTV16btCollisionWorld+2;c=0;var f=a+1,g=a+1,h=a+6,i=a+6;a:for(;;){d=c;b=f;if(!(d<IHEAP[b+1])){e=2;break a}d=c;b=g;d=b=IHEAP[IHEAP[b+3]+d];d=IHEAP[d+47];for(e=d!=0?3:4;;)if(e==3){e=a;e=IHEAP[e+21];var j=IHEAP[IHEAP[e]+9],k;try{__THREW__=!1,k=FUNCTION_TABLE[j](e)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack);k=null}if(__THREW__){e=6;break a}e=IHEAP[IHEAP[k]+10];var j=d,m=IHEAP[h]; +try{__THREW__=!1,FUNCTION_TABLE[e](k,j,m)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__){e=6;break a}e=a;e=IHEAP[e+21];var j=IHEAP[IHEAP[e]+3],m=d,o=IHEAP[i];try{__THREW__=!1,FUNCTION_TABLE[j](e,m,o)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}if(__THREW__){e=6;break a}e=b;IHEAP[e+47]=0;e=4}else if(e==4){c+=1;e=0;continue a}}if(e==2)__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(g); +else if(e==6)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+1),__Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 96858";} +function __ZN16btCollisionWorld18addCollisionObjectEP17btCollisionObjectss(a,e,d,b){var c=STACKTOP;STACKTOP+=25;var f,g=null,h,i,j,k;h=c+1;var l=c+17,m=c+21;IHEAP[c]=e;e=a+1;f=IHEAP[e+1]==IHEAP[e+2]?0:1;a:for(;;)if(f==0){g=e;k=IHEAP[g+1];k!=0?(g=0,f=2):(g=0,f=3);for(;;)if(f==2)j=k*2,g=2,f=3;else if(f==3){__ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(e,g==2?j:1);f=1;continue a}}else if(f==1){i=IHEAP[e+3]+IHEAP[e+1];f=i==0?4:5;break a}for(;;)if(f==4){IHEAP[e+1]+=1;j=IHEAP[c];i=j+1;j=h; +g=i;i=j;e=j=g;g=i;_llvm_memcpy_p0i8_p0i8_i32(g,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,j+12,4,4,0);j=IHEAP[c];j=IHEAP[j+48];FUNCTION_TABLE[IHEAP[IHEAP[j]+2]](j,h,l,m);h=IHEAP[c];h=IHEAP[h+48];j=IHEAP[h+1];h=IHEAP[c];i=a;i=IHEAP[i+21];d=FUNCTION_TABLE[IHEAP[IHEAP[i]+2]](i,l,m,j,IHEAP[c],d,b,IHEAP[a+6],0);a=h;IHEAP[a+47]=d;STACKTOP=c;break}else f==5&&(IHEAP[i]=IHEAP[c],f=4)} +function __ZN16btCollisionWorld16updateSingleAabbEP17btCollisionObject(a,e){var d=STACKTOP;STACKTOP+=27;var b,c,f,g,h,i=d+1,j=d+2,k;k=d+3;var l=d+7;f=d+11;g=d+15;h=d+19;var m,n=d+23;b=IHEAP[e+48];FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,e+1,k,l);var o=c=_gContactBreakingThreshold;b=_gContactBreakingThreshold;FHEAP[f]=FHEAP[c];FHEAP[f+1]=FHEAP[b];FHEAP[f+2]=FHEAP[o];FHEAP[f+3]=0;FHEAP[k]-=FHEAP[f];FHEAP[k+1]-=FHEAP[f+1];FHEAP[k+2]-=FHEAP[f+2];FHEAP[l]+=FHEAP[f];FHEAP[l+1]+=FHEAP[f+1];FHEAP[l+2]+=FHEAP[f+ +2];b=IHEAP[a+7+4]&1?0:1;a:for(;;)if(b==0){b=e;if(IHEAP[b+58]!=2){b=1;continue a}b=e;c=IHEAP[b+48];o=IHEAP[IHEAP[c]+2];b=e;FUNCTION_TABLE[o](c,b+17,g,h);c=g;b=f;FHEAP[c]-=FHEAP[b];FHEAP[c+1]-=FHEAP[b+1];FHEAP[c+2]-=FHEAP[b+2];c=h;b=f;FHEAP[c]+=FHEAP[b];FHEAP[c+1]+=FHEAP[b+1];FHEAP[c+2]+=FHEAP[b+2];__ZN9btVector36setMinERKS_(k,g);__ZN9btVector36setMaxERKS_(l,h);b=1}else if(b==1){m=IHEAP[a+21];f=e;b=(IHEAP[f+51]&1)!=0?3:4;break a}a:for(;;)if(b==3){j=m;m=IHEAP[IHEAP[j]+4];i=e;FUNCTION_TABLE[m](j,IHEAP[i+ +47],k,l,IHEAP[a+6]);b=6;break a}else if(b==4)if(f=l,g=k,FHEAP[d]=FHEAP[f]-FHEAP[g],FHEAP[i]=FHEAP[f+1]-FHEAP[g+1],FHEAP[j]=FHEAP[f+2]-FHEAP[g+2],f=n,g=d,h=i,b=j,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[b],FHEAP[f+3]=0,f=g=f=n,FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]<999999995904)b=3;else{b=5;break a}a:for(;;)if(b==5){k=e;for(b=IHEAP[k+54]!=4?7:8;;)if(b==7)IHEAP[k+54]!=5&&(IHEAP[k+54]=5),b=8;else if(b==8)if((IHEAP[__ZZN16btCollisionWorld16updateSingleAabbEP17btCollisionObjectE8reportMe_b]? +0:1)&1)break;else{b=6;continue a}if(IHEAP[a+22]==0){b=6;continue a}IHEAP[__ZZN16btCollisionWorld16updateSingleAabbEP17btCollisionObjectE8reportMe_b]=1;k=IHEAP[a+22];FUNCTION_TABLE[IHEAP[IHEAP[k]+9]](k,__str34);k=IHEAP[a+22];FUNCTION_TABLE[IHEAP[IHEAP[k]+9]](k,__str135);k=IHEAP[a+22];FUNCTION_TABLE[IHEAP[IHEAP[k]+9]](k,__str236);k=IHEAP[a+22];FUNCTION_TABLE[IHEAP[IHEAP[k]+9]](k,__str337);b=6}else if(b==6){STACKTOP=d;break}} +function __ZN16btCollisionWorld11updateAabbsEv(a){var e=STACKTOP;STACKTOP+=1;var d,b,c;__ZN15CProfileManager13Start_ProfileEPKc(__str438);c=0;var f=a+1,g=a+1,h=a+23;a:for(;;){d=c;b=f;if(!(d<IHEAP[b+1])){d=2;break a}d=c;b=g;b=IHEAP[IHEAP[b+3]+d];for(d=IHEAP[h]&1?3:4;;)if(d==3){try{__THREW__=!1,__ZN16btCollisionWorld16updateSingleAabbEP17btCollisionObject(a,b)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__){d=11;break a}else break}else if(d== +4){var j=d=b;d=j;if(IHEAP[d+54]==2)break;d=j;if(IHEAP[d+54]!=5)d=3;else break}c+=1;d=0}if(d==2)for(d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?9:10;;)if(d==9)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=10;else{if(d==10){STACKTOP=e;break}}else if(d==11){e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);for(d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?7:8;;)if(d==7)a= +IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=8;else if(d==8)throw __Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 97738";}} +function __ZN16btCollisionWorld33performDiscreteCollisionDetectionEv(a){var e=STACKTOP;STACKTOP+=3;var d,b,c,f,g;__ZN15CProfileManager13Start_ProfileEPKc(__str539);g=a+7;c=IHEAP[IHEAP[a]+2];try{__THREW__=!1,FUNCTION_TABLE[c](a)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}d=__THREW__?14:13;a:for(;;)if(d==13){c=__str6;try{__THREW__=!1,__ZN15CProfileManager13Start_ProfileEPKc(c)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+ +i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__){d=14;continue a}c=IHEAP[a+21];var j=IHEAP[IHEAP[c]+8];d=IHEAP[a+6];try{__THREW__=!1,FUNCTION_TABLE[j](c,d)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__){d=17;break a}for(d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?0:1;;)if(d==0)c=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[c+5],d=1; +else if(d==1){f=a;f=IHEAP[f+6];c=__str7;try{__THREW__=!1,__ZN15CProfileManager13Start_ProfileEPKc(c)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__){d=14;continue a}else{d=18;break a}}}else if(d==14){b=c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);d=4;break a}a:for(;;)if(d==17){b=c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);if(!__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])){d= +4;continue a}c=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[c+5];d=4}else if(d==18){if(f==0){d=3;break a}c=f;j=IHEAP[IHEAP[c]+8];d=IHEAP[a+21];var m=IHEAP[IHEAP[d]+9],n;try{__THREW__=!1,n=FUNCTION_TABLE[m](d)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack);n=null}for(d=__THREW__?19:20;;)if(d==20){d=g;m=IHEAP[a+6];try{__THREW__=!1,FUNCTION_TABLE[j](c,n,d,m)}catch(q){if(ABORT)throw q;__THREW__= +!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}if(__THREW__)d=19;else{d=3;break a}}else if(d==19)if(b=c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE]))break;else{d=4;continue a}c=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[c+5];d=4}else if(d==4){d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?11:12;break a}a:for(;;)if(d== +3){d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?7:8;break a}else if(d==11)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=12;else if(d==12)throw __Unwind_Resume_or_Rethrow(b),"Reached an unreachable! Original .ll line: 98032";a:for(;;)if(d==7)b=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[b+5],d=8;else if(d==8){d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])? +9:10;break a}for(;;)if(d==9)b=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[b+5],d=10;else if(d==10){STACKTOP=e;break}} +function __ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(a,e){var d=STACKTOP;STACKTOP+=1;var b,c;IHEAP[d]=e;c=IHEAP[IHEAP[d]+47];for(b=c!=0?0:1;;)if(b==0)b=a,b=IHEAP[b+21],b=FUNCTION_TABLE[IHEAP[IHEAP[b]+9]](b),FUNCTION_TABLE[IHEAP[IHEAP[b]+10]](b,c,IHEAP[a+6]),b=a,b=IHEAP[b+21],FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,c,IHEAP[a+6]),b=IHEAP[d],IHEAP[b+47]=0,b=1;else if(b==1){__ZN20btAlignedObjectArrayIP17btCollisionObjectE6removeERKS1_(a+1,d);STACKTOP=d;break}} +function __ZN20btAlignedObjectArrayIP17btCollisionObjectE6removeERKS1_(a,e){var d,b,c,f,g;b=IHEAP[a+1];c=0;f=a+3;a:for(;;){var h=c;d=a;if(!(h<IHEAP[d+1])){d=2;break a}var i=c;if(IHEAP[IHEAP[f]+c]==IHEAP[e]){d=3;break a}c=i+1;d=0}a:for(;;)if(d==2){c=g=b;b=a;d=c<IHEAP[b+1]?5:6;break a}else d==3&&(b=i,d=2);for(;;)if(d==5)b=g,c=a,f=IHEAP[c+1]-1,i=c=a,c=IHEAP[IHEAP[i+3]+b],IHEAP[IHEAP[i+3]+b]=IHEAP[IHEAP[i+3]+f],IHEAP[IHEAP[i+3]+f]=c,b=a,IHEAP[b+1]+=-1,d=6;else if(d==6)break} +function __ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=439;var h,i=null,j,k,l,m,n,o,q,p,r,s,u,v,y,x,z,B=g+1,C,A=g+2,w;j=g+54;x=g+98;y=g+189;var D=g+196,E=g+200,F=g+207,G=g+223,J=g+227;z=g+231;var H=g+294,M=g+310,K=g+314;C=g+318;var N=g+381,R=g+385,O=g+389,Q=g+399,I=g+403,L=g+419,P=g+423;__ZN13btSphereShapeC1Ef(A,0);FHEAP[A+20]=0;var S=IHEAP[b+1]<20;a:do if(S){z=j;IHEAP[z]=__ZTVN12btConvexCast10CastResultE+ +2;FHEAP[z+41]=999999984306749440;IHEAP[z+42]=0;FHEAP[z+43]=0;FHEAP[j+41]=FHEAP[f+1];z=x;FHEAP[z+77]=9.999999747378752E-5;z+=79;z+=4;IHEAP[z]&=-2;IHEAP[z]&=-3;IHEAP[z]&=-5;IHEAP[z]&=-9;C=A;O=b;z=y;b=C;C=O;z=O=z;IHEAP[z]=__ZTV12btConvexCast+2;IHEAP[O]=__ZTV22btSubsimplexConvexCast+2;IHEAP[O+4]=x;IHEAP[O+5]=b;IHEAP[O+6]=C;x=a;var b=c,T;try{__THREW__=!1,T=__ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(y,x,e,b,c,j)}catch(U){if(ABORT)throw U;__THREW__= +!0;print("Exception: "+U+" : "+U.stack+", currently at: "+Error().stack);T=null}for(h=__THREW__?22:21;;)if(h==21){if(!T)break;c=e=c=j+33;if(!(FHEAP[c]*FHEAP[e]+FHEAP[c+1]*FHEAP[e+1]+FHEAP[c+2]*FHEAP[e+2]>9.999999747378752E-5))break;if(!(FHEAP[j+41]<FHEAP[f+1]))break;e=j+33;c=a;__ZmlRK11btMatrix3x3RK9btVector3(D,c,j+33);_llvm_memcpy_p0i8_p0i8_i32(e,D,4,4,0);e=x=e=c=j+33;e=FHEAP[e]*FHEAP[x]+FHEAP[e+1]*FHEAP[x+1]+FHEAP[e+2]*FHEAP[x+2];e=_sqrtf(e);FHEAP[B]=e;e=c;c=B;FHEAP[g]=1/FHEAP[c];c=g;FHEAP[e]*= +FHEAP[c];FHEAP[e+1]*=FHEAP[c];FHEAP[e+2]*=FHEAP[c];e=d;x=j+33;b=FHEAP[j+41];c=E;z=b;b=e;e=z;z=x;x=b;b=z;IHEAP[c]=x;IHEAP[c+1]=0;_llvm_memcpy_p0i8_p0i8_i32(c+2,b,4,4,0);FHEAP[c+6]=e;c=f;e=IHEAP[IHEAP[c]+3];try{__THREW__=!1,FUNCTION_TABLE[e](c,E,1)}catch(W){if(ABORT)throw W;__THREW__=!0;print("Exception: "+W+" : "+W.stack+", currently at: "+Error().stack)}if(__THREW__)h=22;else break}else if(h==22){w=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[y]=__ZTV22btSubsimplexConvexCast+ +2;IHEAP[y]=__ZTV12btConvexCast+2;IHEAP[j]=__ZTVN12btConvexCast10CastResultE+2;h=5;break a}IHEAP[y]=__ZTV22btSubsimplexConvexCast+2;IHEAP[y]=__ZTV12btConvexCast+2;IHEAP[j]=__ZTVN12btConvexCast10CastResultE+2;h=4;break a}else{i=b;l=IHEAP[i+1];n=l>20;b:do if(n){var Z=b;if(l<30)i=8;else{i=8;h=10;break b}h=Z;m=b;if(IHEAP[h+1]==21){h=m;__ZNK11btTransform7inverseEv(F,c);m=a;k=m+12;m=F;__ZNK11btTransformclERK9btVector3(G,m,k);m=e;k=m+12;m=F;__ZNK11btTransformclERK9btVector3(J,m,k);m=f;k=d;o=h;r=c;q=z;s=G; +p=J;u=s;var ca=p;v=IHEAP[m+5];s=q;p=u;u=ca;s=ca=s;IHEAP[s]=__ZTV18btTriangleCallback+2;IHEAP[ca]=__ZTV25btTriangleRaycastCallback+2;_llvm_memcpy_p0i8_p0i8_i32(ca+4,p,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ca+8,u,4,4,0);IHEAP[ca+12]=v;FHEAP[ca+13]=1;IHEAP[q]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+2;IHEAP[q+44]=m;IHEAP[q+45]=k;IHEAP[q+46]=o;k=r;m=q+47;o=k;k=m;r=m=o;o=k;_llvm_memcpy_p0i8_p0i8_i32(o, +r,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+4,r+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+8,r+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,m+12,4,4,0);FHEAP[z+13]=FHEAP[f+1];m=z;try{__THREW__=!1,__ZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_(h,m,G,J)}catch(Y){if(ABORT)throw Y;__THREW__=!0;print("Exception: "+Y+" : "+Y.stack+", currently at: "+Error().stack)}h=__THREW__?16:15;if(h==15){j=z;IHEAP[j]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+ +2;IHEAP[j]=__ZTV25btTriangleRaycastCallback+2;IHEAP[j]=__ZTV18btTriangleCallback+2;h=4;break a}else if(h==16){w=j=_llvm_eh_exception();_llvm_eh_selector(j,___gxx_personality_v0,0);j=z;IHEAP[j]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+2;IHEAP[j]=__ZTV25btTriangleRaycastCallback+2;IHEAP[j]=__ZTV18btTriangleCallback+2;h=5;break a}}else{h=m;__ZNK11btTransform7inverseEv(H,c);m=a;k=m+12; +m=H;__ZNK11btTransformclERK9btVector3(M,m,k);m=e;k=m+12;m=H;__ZNK11btTransformclERK9btVector3(K,m,k);m=f;k=d;o=h;r=c;q=C;s=M;p=K;u=s;ca=p;v=IHEAP[m+5];s=q;p=u;u=ca;s=ca=s;IHEAP[s]=__ZTV18btTriangleCallback+2;IHEAP[ca]=__ZTV25btTriangleRaycastCallback+2;_llvm_memcpy_p0i8_p0i8_i32(ca+4,p,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ca+8,u,4,4,0);IHEAP[ca+12]=v;FHEAP[ca+13]=1;IHEAP[q]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+ +2;IHEAP[q+44]=m;IHEAP[q+45]=k;IHEAP[q+46]=o;k=r;m=q+47;o=k;k=m;r=m=o;o=k;_llvm_memcpy_p0i8_p0i8_i32(o,r,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+4,r+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+8,r+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,m+12,4,4,0);FHEAP[C+13]=FHEAP[f+1];_llvm_memcpy_p0i8_p0i8_i32(N,M,4,4,0);__ZN9btVector36setMinERKS_(N,K);_llvm_memcpy_p0i8_p0i8_i32(R,M,4,4,0);__ZN9btVector36setMaxERKS_(R,K);m=IHEAP[IHEAP[h]+15];k=C;try{__THREW__=!1,FUNCTION_TABLE[m](h,k,N,R)}catch(ea){if(ABORT)throw ea;__THREW__= +!0;print("Exception: "+ea+" : "+ea.stack+", currently at: "+Error().stack)}h=__THREW__?18:17;if(h==17){j=C;IHEAP[j]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+2;IHEAP[j]=__ZTV25btTriangleRaycastCallback+2;IHEAP[j]=__ZTV18btTriangleCallback+2;h=4;break a}else if(h==18){w=j=_llvm_eh_exception();_llvm_eh_selector(j,___gxx_personality_v0,0);j=C;IHEAP[j]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+ +2;IHEAP[j]=__ZTV25btTriangleRaycastCallback+2;IHEAP[j]=__ZTV18btTriangleCallback+2;h=5;break a}}}else var ha=b,i=6;while(0);i=i==6?ha:Z;if(IHEAP[i+1]!=31){h=4;break a}i=l=b;i=IHEAP[i+25];n=d;k=l;o=c;q=a;p=e;r=f;m=s=m=O;IHEAP[m]=__ZTVN6btDbvt8ICollideE+2;IHEAP[s]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+2;IHEAP[s+4]=n;IHEAP[s+5]=k;IHEAP[s+6]=o;IHEAP[s+7]=q;IHEAP[s+8]=p;IHEAP[s+9]=r;m=i!=0;b:do if(m){__ZNK11btTransform12inverseTimesERKS_(I, +c,a);l=I;_llvm_memcpy_p0i8_p0i8_i32(Q,l+12,4,4,0);__ZNK11btTransform12inverseTimesERKS_(P,c,e);l=P;_llvm_memcpy_p0i8_p0i8_i32(L,l+12,4,4,0);i=IHEAP[i];l=O;try{__THREW__=!1,__ZN6btDbvt7rayTestEPK10btDbvtNodeRK9btVector3S5_RNS_8ICollideE(i,Q,L,l)}catch(ba){if(ABORT)throw ba;__THREW__=!0;print("Exception: "+ba+" : "+ba.stack+", currently at: "+Error().stack)}h=__THREW__?19:14;break b}else{n=0;k=l;k+=12;for(k=IHEAP[k+1];;){if(!(n<k)){h=14;break b}h=n;try{__THREW__=!1,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1i(O, +h)}catch(V){if(ABORT)throw V;__THREW__=!0;print("Exception: "+V+" : "+V.stack+", currently at: "+Error().stack)}if(__THREW__){h=19;break b}n+=1;h=12}}while(0);if(h==14){j=O;IHEAP[j]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+2;IHEAP[j]=__ZTVN6btDbvt8ICollideE+2;h=4;break a}else if(h==19){w=j=_llvm_eh_exception();_llvm_eh_selector(j,___gxx_personality_v0,0);j=O;IHEAP[j]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+ +2;IHEAP[j]=__ZTVN6btDbvt8ICollideE+2;h=5;break a}}while(0);if(h==4)IHEAP[A]=__ZTV13btSphereShape+2,IHEAP[A]=__ZTV21btConvexInternalShape+2,IHEAP[A]=__ZTV13btConvexShape+2,IHEAP[A]=__ZTV16btCollisionShape+2,STACKTOP=g;else if(h==5)throw IHEAP[A]=__ZTV13btSphereShape+2,IHEAP[A]=__ZTV21btConvexInternalShape+2,IHEAP[A]=__ZTV13btConvexShape+2,IHEAP[A]=__ZTV16btCollisionShape+2,__Unwind_Resume_or_Rethrow(w),"Reached an unreachable! Original .ll line: 99574";} +function __ZN13btSphereShape9setMarginEf(a,e){FHEAP[a+20]=e} +function __ZN6btDbvt7rayTestEPK10btDbvtNodeRK9btVector3S5_RNS_8ICollideE(a,e,d,b){var c=STACKTOP;STACKTOP+=39;var f,g=null,h,i,j,k,l,m=c+1,n=c+2,o,q,p,r,s=c+3,u,v=c+4,y=c+5,x=c+6,z=c+7,B=c+8,C=c+12,A=c+16,w=c+19,D=c+23,E=c+28,F=c+29,G=c+37,J=c+38;f=a!=0?0:1;a:for(;;)if(f==0){f=e;g=d;FHEAP[y]=FHEAP[g]-FHEAP[f];FHEAP[x]=FHEAP[g+1]-FHEAP[f+1];FHEAP[z]=FHEAP[g+2]-FHEAP[f+2];g=B;f=y;u=x;r=z;FHEAP[g]=FHEAP[f];FHEAP[g+1]=FHEAP[u];FHEAP[g+2]=FHEAP[r];FHEAP[g+3]=0;f=u=f=g=B;f=FHEAP[f]*FHEAP[u]+FHEAP[f+1]* +FHEAP[u+1]+FHEAP[f+2]*FHEAP[u+2];f=_sqrtf(f);FHEAP[v]=f;f=g;g=v;FHEAP[s]=1/FHEAP[g];g=s;FHEAP[f]*=FHEAP[g];FHEAP[f+1]*=FHEAP[g];FHEAP[f+2]*=FHEAP[g];g=B;FHEAP[g]==0?(g=0,f=2):(g=0,f=3);b:for(;;)if(f==2){f=g==3?p:999999984306749440;g=C;FHEAP[g]=f;g=B;FHEAP[g+1]==0?(g=2,f=4):(g=2,f=5);break b}else f==3&&(p=B,p=1/FHEAP[p],g=3,f=2);b:for(;;)if(f==4){f=g==5?o:999999984306749440;g=C;FHEAP[g+1]=f;g=B;FHEAP[g+2]==0?(g=4,f=6):(g=4,f=7);break b}else f==5&&(o=B,o=1/FHEAP[o+1],g=5,f=4);b:for(;;)if(f==6){j=g== +7?h:999999984306749440;i=C;FHEAP[i+2]=j;j=A;i=C;IHEAP[j]=FHEAP[i]<0;j=A+1;i=C;IHEAP[j]=FHEAP[i+1]<0;j=A+2;i=C;IHEAP[j]=FHEAP[i+2]<0;j=e;i=d;FHEAP[c]=FHEAP[i]-FHEAP[j];FHEAP[m]=FHEAP[i+1]-FHEAP[j+1];FHEAP[n]=FHEAP[i+2]-FHEAP[j+2];i=w;j=c;k=m;l=n;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=B;i=w;i=FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2];j=D;IHEAP[j+4]=1;IHEAP[j+3]=0;IHEAP[j+1]=0;IHEAP[j+2]=0;j=1;q=126;IHEAP[E]=0;__ZN20btAlignedObjectArrayIPK10btDbvtNodeE6resizeEiRKS2_(D, +128,E);l=a;k=D;IHEAP[IHEAP[k+3]+0]=l;k=F;l=F+4;var H=A,M=F;break b}else f==7&&(h=B,h=1/FHEAP[h+2],g=7,f=6);b:for(;;){j=f=j+-1;g=D;f=g=IHEAP[IHEAP[g+3]+f];_llvm_memcpy_p0i8_p0i8_i32(k,f,4,4,0);f=g;_llvm_memcpy_p0i8_p0i8_i32(l,f+4,4,4,0);FHEAP[G]=1;f=__Z10btRayAabb2RK9btVector3S1_PKjPS0_Rfff(e,C,H,M,G,0,i)!=0?9:10;c:for(;;)if(f==9)if(f=g,IHEAP[f+9+1]==0^1)for(f=j>q?11:12;;)if(f==11)q=D,q=IHEAP[q+1]*2,IHEAP[J]=0,__ZN20btAlignedObjectArrayIPK10btDbvtNodeE6resizeEiRKS2_(D,q,J),q=D,q=IHEAP[q+1]-2,f=12; +else{if(f==12){u=IHEAP[g+9];r=j;j=r+1;f=D;IHEAP[IHEAP[f+3]+r]=u;u=IHEAP[g+9+1];r=j;j=r+1;f=D;IHEAP[IHEAP[f+3]+r]=u;f=10;continue c}}else{f=b;u=IHEAP[IHEAP[f]+3];r=g;try{__THREW__=!1,FUNCTION_TABLE[u](f,r)}catch(K){if(ABORT)throw K;__THREW__=!0;print("Exception: "+K+" : "+K.stack+", currently at: "+Error().stack)}if(__THREW__)break a;else f=10}else if(f==10)if(j!=0)continue b;else break b}g=D;__ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(g);f=1}else if(f==1){STACKTOP=c;return}a=_llvm_eh_exception(); +_llvm_eh_selector(a,___gxx_personality_v0,0);__ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(D);__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 100306";} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1i(a,e){var d=STACKTOP;STACKTOP+=54;var b,c,f=d+12,g=d+16,h=d+32;b=IHEAP[IHEAP[IHEAP[a+5]+12+3]+20*e+16];var i=IHEAP[IHEAP[a+5]+12+3]+20*e;c=IHEAP[a+6];__ZmlRK11btMatrix3x3S1_(d,c,i);__ZNK11btTransformclERK9btVector3(f,c,i+12);_llvm_memcpy_p0i8_p0i8_i32(g,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,d+8,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);c=IHEAP[IHEAP[a+4]+48];IHEAP[IHEAP[a+4]+48]=b;f=IHEAP[a+9];IHEAP[h]=__ZTVN16btCollisionWorld17RayResultCallbackE+2;FHEAP[h+1]=1;IHEAP[h+2]=0;IHEAP[h+3]=1;IHEAP[h+4]=-1;IHEAP[h+5]=0;IHEAP[h]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+2;IHEAP[h+20]=f;IHEAP[h+21]=e;FHEAP[h+1]=FHEAP[IHEAP[h+20]+1];var f=IHEAP[a+7],i=IHEAP[a+8],j=IHEAP[a+4];try{__THREW__=!1, +__ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(f,i,j,b,g,h)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}b=__THREW__?1:0;if(b==0)b=IHEAP[a+4],IHEAP[b+48]=c,IHEAP[h]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+2,IHEAP[h]=__ZTVN16btCollisionWorld17RayResultCallbackE+ +2,STACKTOP=d;else if(b==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[h]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+2,IHEAP[h]=__ZTVN16btCollisionWorld17RayResultCallbackE+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 100591";} +function __ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=862;var j,k=null,l,m,n,o,q,p=i+1,r,s,u,v,y,x,z,B;n=i+2;o=i+3;var C,A=i+4,w=i+16,D;q=i+20;var E=i+64,F;l=i+155;m=i+159;r=i+168;var G=i+179,J=i+195,H=i+199,M=i+203,K=i+219,N=i+231,R=i+235,O=i+236,Q=i+237,I=i+238,L=i+453,P=i+457,S=i+461,T=i+505,U=i+514,W=i+525;v=i+541;u=i+545;var Z=i+549,ca=i+565,Y=i+577, +ea=i+581,ha=i+582,ba=i+583;s=i+584;var V=i+799,aa=i+803,X=i+807,ka=i+811,da=i+816,fa=i+832,ga=i+848,ja=IHEAP[c+1]<20;a:do if(ja){s=q;IHEAP[s]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[s+41]=999999984306749440;IHEAP[s+42]=0;FHEAP[s+43]=0;FHEAP[q+43]=h;FHEAP[q+41]=FHEAP[g+1];h=c;s=E;FHEAP[s+77]=9.999999747378752E-5;s+=79;s+=4;IHEAP[s]&=-2;IHEAP[s]&=-3;IHEAP[s]&=-5;IHEAP[s]&=-9;s=v=s=l;IHEAP[s]=__ZTV30btConvexPenetrationDepthSolver+2;IHEAP[v]=__ZTV30btGjkEpaPenetrationDepthSolver+2;s=h;u=l;h=m;v=E;h= +V=h;IHEAP[h]=__ZTV12btConvexCast+2;IHEAP[V]=__ZTV27btContinuousConvexCollision+2;IHEAP[V+4]=v;IHEAP[V+5]=u;IHEAP[V+6]=a;IHEAP[V+7]=s;IHEAP[V+8]=0;a=m;h=IHEAP[IHEAP[a]+2];s=f;var la;try{__THREW__=!1,la=FUNCTION_TABLE[h](a,e,d,s,f,q)}catch(qa){if(ABORT)throw qa;__THREW__=!0;print("Exception: "+qa+" : "+qa.stack+", currently at: "+Error().stack);la=null}for(j=__THREW__?30:29;;)if(j==29){if(!la)break;a=f=a=q+33;if(!(FHEAP[a]*FHEAP[f]+FHEAP[a+1]*FHEAP[f+1]+FHEAP[a+2]*FHEAP[f+2]>9.999999747378752E-5))break; +if(!(FHEAP[q+41]<FHEAP[g+1]))break;f=h=f=a=q+33;f=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];f=_sqrtf(f);FHEAP[o]=f;f=a;a=o;FHEAP[n]=1/FHEAP[a];a=n;FHEAP[f]*=FHEAP[a];FHEAP[f+1]*=FHEAP[a];FHEAP[f+2]*=FHEAP[a];f=b;h=q+33;d=q+37;e=FHEAP[q+41];a=r;s=e;e=f;f=s;s=h;v=d;h=e;d=s;e=v;IHEAP[a]=h;IHEAP[a+1]=0;_llvm_memcpy_p0i8_p0i8_i32(a+2,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+6,e,4,4,0);FHEAP[a+10]=f;a=g;f=IHEAP[IHEAP[a]+3];try{__THREW__=!1,FUNCTION_TABLE[f](a,r,1)}catch(pa){if(ABORT)throw pa; +__THREW__=!0;print("Exception: "+pa+" : "+pa.stack+", currently at: "+Error().stack)}if(__THREW__)j=30;else break}else if(j==30){F=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=m;IHEAP[g]=__ZTV27btContinuousConvexCollision+2;IHEAP[g]=__ZTV12btConvexCast+2;g=l;IHEAP[g]=__ZTV30btGjkEpaPenetrationDepthSolver+2;IHEAP[g]=__ZTV30btConvexPenetrationDepthSolver+2;g=q;IHEAP[g]=__ZTVN12btConvexCast10CastResultE+2;j=5;break a}g=m;IHEAP[g]=__ZTV27btContinuousConvexCollision+2;IHEAP[g]= +__ZTV12btConvexCast+2;g=l;IHEAP[g]=__ZTV30btGjkEpaPenetrationDepthSolver+2;IHEAP[g]=__ZTV30btConvexPenetrationDepthSolver+2;g=q;IHEAP[g]=__ZTVN12btConvexCast10CastResultE+2;j=4;break a}else{k=c;x=IHEAP[k+1];var wa=x>20;b:do if(wa){var ua=c;if(!(x<30)){k=8;j=10;break b}q=ua;l=c;if(IHEAP[q+1]==21){q=l;__ZNK11btTransform7inverseEv(G,f);l=e;s=l+12;l=G;__ZNK11btTransformclERK9btVector3(J,l,s);l=d;s=l+12;l=G;__ZNK11btTransformclERK9btVector3(H,l,s);s=l=G;l=d;__ZmlRK11btMatrix3x3S1_(K,s,l);FHEAP[R]=0;FHEAP[O]= +0;FHEAP[Q]=0;l=N;s=R;m=O;v=Q;FHEAP[l]=FHEAP[s];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[v];FHEAP[l+3]=0;l=M;s=K;v=N;m=s;s=l;l=v;v=m;m=s;_llvm_memcpy_p0i8_p0i8_i32(m,v,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+4,v+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,v+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+12,l,4,4,0);l=a;s=e;aa=d;u=g;V=b;d=q;v=f;m=I;e=l;l=s;s=aa;b=u;f=V;u=v;v=m;V=d;V=FUNCTION_TABLE[IHEAP[IHEAP[V]+11]](V);__ZN28btTriangleConvexcastCallbackC2EPK13btConvexShapeRK11btTransformS5_S5_f(v,e,l,s,u,V);IHEAP[m]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+ +2;IHEAP[m+212]=b;IHEAP[m+213]=f;IHEAP[m+214]=d;FHEAP[I+53]=FHEAP[g+1];FHEAP[I+55]=h;g=a;b=IHEAP[IHEAP[g]+2];try{__THREW__=!1,FUNCTION_TABLE[b](g,M,L,P)}catch(na){if(ABORT)throw na;__THREW__=!0;print("Exception: "+na+" : "+na.stack+", currently at: "+Error().stack)}for(j=__THREW__?22:21;;)if(j==21){g=q;b=I;try{__THREW__=!1,__ZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_(g,b,J,H,L,P)}catch(ya){if(ABORT)throw ya;__THREW__=!0;print("Exception: "+ya+" : "+ya.stack+ +", currently at: "+Error().stack)}if(__THREW__)j=22;else break}else if(j==22){F=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=I;IHEAP[g]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+2;IHEAP[g]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[g]=__ZTV18btTriangleCallback+2;j=5;break a}g=I;IHEAP[g]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+ +2;IHEAP[g]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[g]=__ZTV18btTriangleCallback+2}else if(q=l,IHEAP[q+1]==28){q=S;IHEAP[q]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[q+41]=999999984306749440;IHEAP[q+42]=0;FHEAP[q+43]=0;FHEAP[S+43]=h;FHEAP[S+41]=FHEAP[g+1];q=h=c;h=l=h=T;IHEAP[h]=__ZTV12btConvexCast+2;IHEAP[l]=__ZTV27btContinuousConvexCollision+2;IHEAP[l+4]=0;IHEAP[l+5]=0;IHEAP[l+6]=a;IHEAP[l+7]=0;IHEAP[l+8]=q;a=T;h=IHEAP[IHEAP[a]+2];q=f;var xa;try{__THREW__=!1,xa=FUNCTION_TABLE[h](a,e,d,q,f,S)}catch(ia){if(ABORT)throw ia; +__THREW__=!0;print("Exception: "+ia+" : "+ia.stack+", currently at: "+Error().stack);xa=null}for(j=__THREW__?32:31;;)if(j==31){if(!xa)break;a=f=a=S+33;if(!(FHEAP[a]*FHEAP[f]+FHEAP[a+1]*FHEAP[f+1]+FHEAP[a+2]*FHEAP[f+2]>9.999999747378752E-5))break;if(!(FHEAP[S+41]<FHEAP[g+1]))break;f=h=f=a=S+33;f=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];f=_sqrtf(f);FHEAP[p]=f;f=a;a=p;FHEAP[i]=1/FHEAP[a];a=i;FHEAP[f]*=FHEAP[a];FHEAP[f+1]*=FHEAP[a];FHEAP[f+2]*=FHEAP[a];f=b;h=S+33;d=S+37;e=FHEAP[S+ +41];a=U;q=e;e=f;f=q;q=h;l=d;h=e;d=q;e=l;IHEAP[a]=h;IHEAP[a+1]=0;_llvm_memcpy_p0i8_p0i8_i32(a+2,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+6,e,4,4,0);FHEAP[a+10]=f;a=g;f=IHEAP[IHEAP[a]+3];try{__THREW__=!1,FUNCTION_TABLE[f](a,U,1)}catch(ma){if(ABORT)throw ma;__THREW__=!0;print("Exception: "+ma+" : "+ma.stack+", currently at: "+Error().stack)}if(__THREW__)j=32;else break}else if(j==32){F=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=T;IHEAP[g]=__ZTV27btContinuousConvexCollision+2; +IHEAP[g]=__ZTV12btConvexCast+2;g=S;IHEAP[g]=__ZTVN12btConvexCast10CastResultE+2;j=5;break a}g=T;IHEAP[g]=__ZTV27btContinuousConvexCollision+2;IHEAP[g]=__ZTV12btConvexCast+2;g=S;IHEAP[g]=__ZTVN12btConvexCast10CastResultE+2}else{q=c;__ZNK11btTransform7inverseEv(W,f);l=e;m=l+12;l=W;__ZNK11btTransformclERK9btVector3(v,l,m);l=d;m=l+12;l=W;__ZNK11btTransformclERK9btVector3(u,l,m);m=l=W;l=d;__ZmlRK11btMatrix3x3S1_(ca,m,l);FHEAP[ea]=0;FHEAP[ha]=0;FHEAP[ba]=0;l=Y;m=ea;n=ha;o=ba;FHEAP[l]=FHEAP[m];FHEAP[l+1]= +FHEAP[n];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;l=Z;m=ca;o=Y;n=m;m=l;l=o;o=n;n=m;_llvm_memcpy_p0i8_p0i8_i32(n,o,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+4,o+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+8,o+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+12,l,4,4,0);l=a;m=e;S=d;r=g;la=b;d=q;o=f;n=s;e=l;l=m;m=S;b=r;f=la;r=o;o=n;la=d;la=FUNCTION_TABLE[IHEAP[IHEAP[la]+11]](la);__ZN28btTriangleConvexcastCallbackC2EPK13btConvexShapeRK11btTransformS5_S5_f(o,e,l,m,r,la);IHEAP[n]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+ +2;IHEAP[n+212]=b;IHEAP[n+213]=f;IHEAP[n+214]=d;FHEAP[s+53]=FHEAP[g+1];FHEAP[s+55]=h;g=a;b=IHEAP[IHEAP[g]+2];try{__THREW__=!1,FUNCTION_TABLE[b](g,Z,V,aa)}catch(ta){if(ABORT)throw ta;__THREW__=!0;print("Exception: "+ta+" : "+ta.stack+", currently at: "+Error().stack)}for(j=__THREW__?25:24;;)if(j==24){_llvm_memcpy_p0i8_p0i8_i32(X,v,4,4,0);__ZN9btVector36setMinERKS_(X,u);_llvm_memcpy_p0i8_p0i8_i32(ka,v,4,4,0);__ZN9btVector36setMaxERKS_(ka,u);b=X;g=V;FHEAP[b]+=FHEAP[g];FHEAP[b+1]+=FHEAP[g+1];FHEAP[b+2]+= +FHEAP[g+2];b=ka;g=aa;FHEAP[b]+=FHEAP[g];FHEAP[b+1]+=FHEAP[g+1];FHEAP[b+2]+=FHEAP[g+2];g=q;b=IHEAP[IHEAP[g]+15];a=s;try{__THREW__=!1,FUNCTION_TABLE[b](g,a,X,ka)}catch(ra){if(ABORT)throw ra;__THREW__=!0;print("Exception: "+ra+" : "+ra.stack+", currently at: "+Error().stack)}if(__THREW__)j=25;else break}else if(j==25){F=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=s;IHEAP[g]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+ +2;IHEAP[g]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[g]=__ZTV18btTriangleCallback+2;j=5;break a}g=s;IHEAP[g]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+2;IHEAP[g]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[g]=__ZTV18btTriangleCallback+2}j=4;break a}else var oa=c,k=6;while(0);k=k==6?oa:ua;if(IHEAP[k+1]!=31){j=4;break a}k=__str8;__ZN15CProfileManager13Start_ProfileEPKc(k); +k=c;x=0;for(wa=ga;;){j=x;y=k;y+=12;if(!(j<IHEAP[y+1])){j=18;break}y=x;j=k;j+=12;y=IHEAP[j+3]+20*y;j=da;z=y;y=j;B=j=z;z=y;_llvm_memcpy_p0i8_p0i8_i32(z,B,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+4,B+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+8,B+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+12,j+12,4,4,0);y=x;j=k;j+=12;j=IHEAP[IHEAP[j+3]+20*y+16];z=f;y=da;__ZmlRK11btMatrix3x3S1_(A,z,y);__ZNK11btTransformclERK9btVector3(w,z,y+12);y=fa;B=A;C=z=w;z=y;y=C;C=B;B=z;_llvm_memcpy_p0i8_p0i8_i32(B,C,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(B+ +4,C+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(B+8,C+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+12,y,4,4,0);y=b;y=IHEAP[y+48];B=j;z=b;IHEAP[z+48]=B;z=x;B=g;D=C=ga;IHEAP[D]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;FHEAP[D+1]=1;IHEAP[D+2]=1;IHEAP[D+3]=-1;IHEAP[C]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+2;IHEAP[C+12]=B;IHEAP[C+13]=z;FHEAP[C+1]=FHEAP[IHEAP[C+12]+1];z=a;B=e;C= +d;D=b;var Da=h;try{__THREW__=!1,__ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(z,B,C,D,j,fa,wa,Da)}catch(Ba){if(ABORT)throw Ba;__THREW__=!0;print("Exception: "+Ba+" : "+Ba.stack+", currently at: "+Error().stack)}if(__THREW__){j=28;break}j=b;IHEAP[j+48]=y;j=ga;IHEAP[j]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+ +2;IHEAP[j]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;x+=1;j=16}if(j==18){if(!__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])){j=4;break a}g=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[g+5];j=4;break a}else if(j==28){F=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=ga;IHEAP[g]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+ +2;IHEAP[g]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;if(!__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])){j=5;break a}g=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[g+5];j=5;break a}}while(0);if(j==4)STACKTOP=i;else if(j==5)throw __Unwind_Resume_or_Rethrow(F),"Reached an unreachable! Original .ll line: 102698";} +function __ZNK16btCollisionWorld7rayTestERK9btVector3S2_RNS_17RayResultCallbackE(a,e,d,b){var c=STACKTOP;STACKTOP+=96;var f=c+82,g=c+86,h=c+87,i=c+88,j=c+89,k=c+93,l=c+94,m=c+95;__ZN19btSingleRayCallbackC2ERK9btVector3S2_PK16btCollisionWorldRNS3_17RayResultCallbackE(c,e,d,a,b);a=IHEAP[a+21];b=IHEAP[IHEAP[a]+6];FHEAP[g]=0;FHEAP[h]=0;FHEAP[i]=0;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[m]; +FHEAP[j+3]=0;try{__THREW__=!1,FUNCTION_TABLE[b](a,e,d,c,f,j)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)IHEAP[c]=__ZTV19btSingleRayCallback+2,IHEAP[c]=__ZTV23btBroadphaseRayCallback+2,IHEAP[c]=__ZTV24btBroadphaseAabbCallback+2,STACKTOP=c;else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),IHEAP[c]=__ZTV19btSingleRayCallback+2,IHEAP[c]=__ZTV23btBroadphaseRayCallback+2,IHEAP[c]= +__ZTV24btBroadphaseAabbCallback+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 102907";}function __ZN19btSingleRayCallbackD1Ev(a){IHEAP[a]=__ZTV19btSingleRayCallback+2;IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2} +function __ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=176;var h,i=g+1,j=g+2,k=g+3,l=g+4,m=g+5,n=g+6,o=g+7,q=g+8;h=g+9;var p=g+10,r=g+11,s,u=g+13,v,y=g+29,x=g+45,z=g+49,B=g+53,C=g+57,A=g+61,w=g+65,D=g+66,E=g+67,F=g+68,G=g+84;s=g+100;__ZN15CProfileManager13Start_ProfileEPKc(__str9);_llvm_memcpy_p0i8_p0i8_i32(u,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(u+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(u+8,d+8,4,4,0); +_llvm_memcpy_p0i8_p0i8_i32(u+12,d+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(y+12,b+12,4,4,0);__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(u,y,1,B,C);FHEAP[w]=0;FHEAP[D]=0;FHEAP[E]=0;FHEAP[A]=FHEAP[w];FHEAP[A+1]=FHEAP[D];FHEAP[A+2]=FHEAP[E];FHEAP[A+3]=0;FHEAP[g]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[q]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(F, +g,i,j,k,l,m,n,o,q);i=F+12;FHEAP[h]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[i]=FHEAP[h];FHEAP[i+1]=FHEAP[p];FHEAP[i+2]=FHEAP[r];FHEAP[i+3]=0;__ZNK11btMatrix3x311getRotationER12btQuaternion(u,G);__ZN11btMatrix3x311setRotationERK12btQuaternion(F,G);try{__THREW__=!1,__ZNK16btCollisionShape21calculateTemporalAabbERK11btTransformRK9btVector3S5_fRS3_S6_(e,F,A,C,1,x,z)}catch(J){if(ABORT)throw J;__THREW__=!0;print("Exception: "+J+" : "+J.stack+", currently at: "+Error().stack)}h=__THREW__?6:5;if(h==5){__ZN21btSingleSweepCallbackC2EPK13btConvexShapeRK11btTransformS5_PK16btCollisionWorldRNS6_20ConvexResultCallbackEf(s, +e,d,b,a,c,f);a=IHEAP[a+21];e=IHEAP[IHEAP[a]+6];u+=12;y+=12;try{__THREW__=!1,FUNCTION_TABLE[e](a,u,y,s,x,z)}catch(H){if(ABORT)throw H;__THREW__=!0;print("Exception: "+H+" : "+H.stack+", currently at: "+Error().stack)}h=__THREW__?8:7;if(h==7){IHEAP[s]=__ZTV21btSingleSweepCallback+2;IHEAP[s]=__ZTV23btBroadphaseRayCallback+2;IHEAP[s]=__ZTV24btBroadphaseAabbCallback+2;for(h=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?0:1;;)if(h==0)s=IHEAP[__ZN15CProfileManager11CurrentNodeE], +IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[s+5],h=1;else if(h==1){STACKTOP=g;return}}else h==8&&(v=g=_llvm_eh_exception(),_llvm_eh_selector(g,___gxx_personality_v0,0),IHEAP[s]=__ZTV21btSingleSweepCallback+2,IHEAP[s]=__ZTV23btBroadphaseRayCallback+2,IHEAP[s]=__ZTV24btBroadphaseAabbCallback+2)}else h==6&&(v=g=_llvm_eh_exception(),_llvm_eh_selector(g,___gxx_personality_v0,0));for(h=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?3:4;;)if(h==3)g=IHEAP[__ZN15CProfileManager11CurrentNodeE], +IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[g+5],h=4;else if(h==4)throw __Unwind_Resume_or_Rethrow(v),"Reached an unreachable! Original .ll line: 103370";}function __ZN21btSingleSweepCallbackD1Ev(a){IHEAP[a]=__ZTV21btSingleSweepCallback+2;IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2} +function __ZN16btCollisionWorld15debugDrawObjectERK11btTransformPK16btCollisionShapeRK9btVector3(a,e,d,b){var c=STACKTOP;STACKTOP+=267;var f,g=null,h,i,j,k,l,m,n,o,q,p,r=c+1,s=c+2,u=c+3,v=c+15,y=c+19,x=c+20,z=c+21,B=c+22,C=c+23,A=c+24,w=c+25,D=c+26,E=c+27,F=c+28,G=c+29,J=c+30,H=c+31,M=c+32,K=c+33,N=c+34,R=c+46,O=c+50,Q=c+66,I=c+82,L=c+86,P=c+90,S=c+106,T=c+122,U=c+126,W=c+130,Z=c+131,ca=c+132,Y=c+133,ea=c+137,ha=c+138,ba=c+139,V=c+140,aa,X=c+169,ka=c+173,da=c+174,fa=c+175,ga=c+176,ja=c+180,la=c+181, +qa=c+182,pa=c+183,wa,ua=c+212,na=c+216,ya=c+217,xa=c+218,ia=c+219,ma=c+223,ta=c+227,ra=c+228,oa=c+232,Da=c+233,Ba=c+234,Oa=c+235,Fa=c+239,Ha=c+243,La=c+247,Ea=c+251,Ca=c+255,Aa=c+259,za=c+263,Ja=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);FUNCTION_TABLE[IHEAP[IHEAP[Ja]+14]](Ja,e,1);Ja=IHEAP[d+1]==31;a:do if(Ja){o=h=d;o+=12;o=g=IHEAP[o+1]-1;if(!(g>=0))break a;for(g=a;;)if(i=o,q=h,q+=12,i=IHEAP[q+3]+20*i,q=O,j=i,i=q,k=q=j,j=i,_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+4,k+4,4,4,0), +_llvm_memcpy_p0i8_p0i8_i32(j+8,k+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i+12,q+12,4,4,0),i=o,q=h,q+=12,q=IHEAP[IHEAP[q+3]+20*i+16],i=IHEAP[IHEAP[g]+6],k=e,j=O,__ZmlRK11btMatrix3x3S1_(N,k,j),__ZNK11btTransformclERK9btVector3(R,k,j+12),j=Q,f=N,l=k=R,k=j,j=l,l=f,f=k,_llvm_memcpy_p0i8_p0i8_i32(f,l,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+4,l+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+8,l+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+12,j,4,4,0),FUNCTION_TABLE[i](a,Q,q,b),o=q=o+-1,!(q>=0))break a}else if(h=d,h=IHEAP[h+1], +f=h==0?23:h==8?24:h==9?25:h==10?26:h==11?27:h==13?28:h==28?29:30,f==30){h=d;h=IHEAP[h+1];f=h>20&h<30?6:7;b:for(;;)if(f==6){h=d;FHEAP[W]=999999984306749440;FHEAP[Z]=999999984306749440;FHEAP[ca]=999999984306749440;o=U;g=W;q=Z;i=ca;FHEAP[o]=FHEAP[g];FHEAP[o+1]=FHEAP[q];FHEAP[o+2]=FHEAP[i];FHEAP[o+3]=0;FHEAP[ea]=-999999984306749440;FHEAP[ha]=-999999984306749440;FHEAP[ba]=-999999984306749440;o=Y;g=ea;q=ha;i=ba;FHEAP[o]=FHEAP[g];FHEAP[o+1]=FHEAP[q];FHEAP[o+2]=FHEAP[i];FHEAP[o+3]=0;o=FUNCTION_TABLE[IHEAP[IHEAP[a]+ +4]](a);__ZN17DebugDrawcallbackC1EP12btIDebugDrawRK11btTransformRK9btVector3(V,o,e,b);o=IHEAP[IHEAP[h]+15];g=V;try{__THREW__=!1,FUNCTION_TABLE[o](h,g,Y,U)}catch(Ra){if(ABORT)throw Ra;__THREW__=!0;print("Exception: "+Ra+" : "+Ra.stack+", currently at: "+Error().stack)}if(__THREW__){f=32;break b}o=h=V;IHEAP[o]=__ZTV17DebugDrawcallback+2;IHEAP[o+4]=__ZTV17DebugDrawcallback+8;h=o+4;IHEAP[h]=__ZTV31btInternalTriangleIndexCallback+2;h=o;IHEAP[h]=__ZTV18btTriangleCallback+2;f=7}else if(f==7){h=d;f=IHEAP[h+ +1]==3?9:10;break b}b:for(;;)if(f==32){aa=h=_llvm_eh_exception();_llvm_eh_selector(h,___gxx_personality_v0,0);o=h=V;IHEAP[o]=__ZTV17DebugDrawcallback+2;IHEAP[o+4]=__ZTV17DebugDrawcallback+8;h=o+4;IHEAP[h]=__ZTV31btInternalTriangleIndexCallback+2;h=o;IHEAP[h]=__ZTV18btTriangleCallback+2;f=8;break b}else if(f==9){h=d;FHEAP[ka]=999999984306749440;FHEAP[da]=999999984306749440;FHEAP[fa]=999999984306749440;o=X;g=ka;q=da;i=fa;FHEAP[o]=FHEAP[g];FHEAP[o+1]=FHEAP[q];FHEAP[o+2]=FHEAP[i];FHEAP[o+3]=0;FHEAP[ja]= +-999999984306749440;FHEAP[la]=-999999984306749440;FHEAP[qa]=-999999984306749440;o=ga;g=ja;q=la;i=qa;FHEAP[o]=FHEAP[g];FHEAP[o+1]=FHEAP[q];FHEAP[o+2]=FHEAP[i];FHEAP[o+3]=0;o=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);__ZN17DebugDrawcallbackC1EP12btIDebugDrawRK11btTransformRK9btVector3(pa,o,e,b);h=IHEAP[h+89];o=IHEAP[IHEAP[h]+2];pa==0?(g=9,f=11):(g=9,f=12);for(;;)if(f==11){g=g==12?Xa:0;try{__THREW__=!1,FUNCTION_TABLE[o](h,g,ga,X)}catch(Ua){if(ABORT)throw Ua;__THREW__=!0;print("Exception: "+Ua+" : "+Ua.stack+ +", currently at: "+Error().stack)}if(__THREW__){f=34;break b}else break}else if(f==12){var Xa=pa+4,g=12;f=11}o=h=pa;IHEAP[o]=__ZTV17DebugDrawcallback+2;IHEAP[o+4]=__ZTV17DebugDrawcallback+8;h=o+4;IHEAP[h]=__ZTV31btInternalTriangleIndexCallback+2;h=o;IHEAP[h]=__ZTV18btTriangleCallback+2;f=10}else if(f==10)if(h=d,IHEAP[h+1]<7){f=13;break b}else break a;b:for(;;)if(f==34)aa=h=_llvm_eh_exception(),_llvm_eh_selector(h,___gxx_personality_v0,0),o=h=pa,IHEAP[o]=__ZTV17DebugDrawcallback+2,IHEAP[o+4]=__ZTV17DebugDrawcallback+ +8,h=o+4,IHEAP[h]=__ZTV31btInternalTriangleIndexCallback+2,h=o,IHEAP[h]=__ZTV18btTriangleCallback+2,f=8;else if(f==13){h=wa=d;f=IHEAP[h+52]!=0?14:15;break b}else if(f==8)throw __Unwind_Resume_or_Rethrow(aa),"Reached an unreachable! Original .ll line: 105451";if(f==14){h=wa;o=IHEAP[h+52];g=h=0;i=o+6;if(!(g<IHEAP[i+1]))break a;q=g=a;b:for(;;){FHEAP[na]=0;FHEAP[ya]=0;FHEAP[xa]=0;i=ua;j=na;k=ya;f=xa;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[f];FHEAP[i+3]=0;j=h;i=o+6;i=IHEAP[i+3]+14*j;i=j= +IHEAP[i+1];f=j!=0?18:19;c:for(;;)if(f==18){k=h;j=o+6;l=k;k=i-1;j=IHEAP[j+3]+14*l;k=IHEAP[IHEAP[j+3]+k];n=j=0;m=h;l=o+6;l=IHEAP[l+3]+14*m;if(!(n<IHEAP[l+1])){f=19;continue c}for(;;)if(l=h,f=o+6,n=l,l=j,f=IHEAP[f+3]+14*n,n=f=IHEAP[IHEAP[f+3]+l],l=o+1,n=IHEAP[l+3]+4*n,l=ua,FHEAP[l]+=FHEAP[n],FHEAP[l+1]+=FHEAP[n+1],FHEAP[l+2]+=FHEAP[n+2],l=FUNCTION_TABLE[IHEAP[IHEAP[g]+4]](a),n=IHEAP[IHEAP[l]+2],m=e,p=k,k=o+1,p=IHEAP[k+3]+4*p,k=m,m=p,__ZNK11btTransformclERK9btVector3(ia,k,m),k=e,p=f,m=o+1,m=IHEAP[m+3]+ +4*p,__ZNK11btTransformclERK9btVector3(ma,k,m),FUNCTION_TABLE[n](l,ia,ma,b),k=f,j+=1,f=j,n=h,l=o+6,m=n,l=IHEAP[l+3]+14*m,f<IHEAP[l+1])f=20;else{f=19;continue c}}else if(f==19)if(FHEAP[ta]=1/i,j=ua,i=ta,FHEAP[j]*=FHEAP[i],FHEAP[j+1]*=FHEAP[i],FHEAP[j+2]*=FHEAP[i],FHEAP[oa]=1,FHEAP[Da]=1,FHEAP[Ba]=0,i=ra,j=oa,k=Da,f=Ba,FHEAP[i]=FHEAP[j],FHEAP[i+1]=FHEAP[k],FHEAP[i+2]=FHEAP[f],FHEAP[i+3]=0,j=h,i=o+6,j=IHEAP[i+3]+14*j+10,k=h,i=o+6,k=IHEAP[i+3]+14*k+10+1,f=h,i=o+6,f=IHEAP[i+3]+14*f+10+2,i=Oa,FHEAP[i]=FHEAP[j], +FHEAP[i+1]=FHEAP[k],FHEAP[i+2]=FHEAP[f],FHEAP[i+3]=0,i=FUNCTION_TABLE[IHEAP[IHEAP[q]+4]](a),j=IHEAP[IHEAP[i]+2],k=e,f=ua,__ZNK11btTransformclERK9btVector3(Fa,k,f),k=e,f=ua,l=Oa,FHEAP[c]=FHEAP[f]+FHEAP[l],FHEAP[r]=FHEAP[f+1]+FHEAP[l+1],FHEAP[s]=FHEAP[f+2]+FHEAP[l+2],f=La,l=c,n=r,m=s,FHEAP[f]=FHEAP[l],FHEAP[f+1]=FHEAP[n],FHEAP[f+2]=FHEAP[m],FHEAP[f+3]=0,f=La,__ZNK11btTransformclERK9btVector3(Ha,k,f),FUNCTION_TABLE[j](i,Fa,Ha,ra),h+=1,j=h,i=o+6,j<IHEAP[i+1])continue b;else break a}}else if(f==15){o= +h=0;g=wa;g=FUNCTION_TABLE[IHEAP[IHEAP[g]+23]](g);if(!(o<g))break a;for(o=a;;)if(g=wa,FUNCTION_TABLE[IHEAP[IHEAP[g]+24]](g,h,Ea,Ca),g=e,q=Ea,__ZNK11btTransformclERK9btVector3(Aa,g,q),g=e,q=Ca,__ZNK11btTransformclERK9btVector3(za,g,q),g=FUNCTION_TABLE[IHEAP[IHEAP[o]+4]](a),FUNCTION_TABLE[IHEAP[IHEAP[g]+2]](g,Aa,za,b),h+=1,g=h,q=wa,q=FUNCTION_TABLE[IHEAP[IHEAP[q]+23]](q),!(g<q))break a}}else if(f==23)h=d,__ZNK10btBoxShape24getHalfExtentsWithMarginEv(I,h),h=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a),o=IHEAP[IHEAP[h]+ +18],g=I,FHEAP[H]=0-FHEAP[g],FHEAP[M]=0-FHEAP[g+1],FHEAP[K]=0-FHEAP[g+2],g=L,q=H,i=M,j=K,FHEAP[g]=FHEAP[q],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,FUNCTION_TABLE[o](h,L,I,e,b);else if(f==24)h=d,h=FUNCTION_TABLE[IHEAP[IHEAP[h]+11]](h),o=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a),FUNCTION_TABLE[IHEAP[IHEAP[o]+4]](o,h,e,b);else if(f==25){h=d;g=o=P;FHEAP[y]=1;FHEAP[x]=0;FHEAP[z]=0;FHEAP[B]=0;FHEAP[C]=1;FHEAP[A]=0;FHEAP[w]=0;FHEAP[D]=0;FHEAP[E]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(g, +y,x,z,B,C,A,w,D,E);o+=12;FHEAP[F]=0;FHEAP[G]=0;FHEAP[J]=0;i=o;o=F;g=G;q=J;FHEAP[i]=FHEAP[o];FHEAP[i+1]=FHEAP[g];FHEAP[i+2]=FHEAP[q];FHEAP[i+3]=0;o=h;o+=85;o=g=IHEAP[o+1]-1;if(!(g>=0))break a;for(g=a;;)if(i=o,q=h,q+=85,i=IHEAP[q+3]+4*i,q=P,_llvm_memcpy_p0i8_p0i8_i32(q+12,i,4,4,0),q=FUNCTION_TABLE[IHEAP[IHEAP[g]+4]](a),i=IHEAP[IHEAP[q]+4],k=o,j=h,j+=90,j=FHEAP[IHEAP[j+3]+k],f=e,k=P,__ZmlRK11btMatrix3x3S1_(u,f,k),__ZNK11btTransformclERK9btVector3(v,f,k+12),k=S,l=u,n=f=v,f=k,k=n,n=l,l=f,_llvm_memcpy_p0i8_p0i8_i32(l, +n,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+4,n+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+8,n+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+12,k,4,4,0),FUNCTION_TABLE[i](q,j,S,b),o=q=o+-1,!(q>=0))break a}else f==26?(o=h=d,g=(IHEAP[o+52]+2)%3,o+=16,o=FHEAP[o+g],q=g=h,g=IHEAP[q+52],q+=16,g=FHEAP[q+g],h=IHEAP[h+52],q=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a),FUNCTION_TABLE[IHEAP[IHEAP[q]+19]](q,o,g,h,e,b)):f==27?(h=g=d,h=FHEAP[h+53],o=g,o=FHEAP[o+54],g=IHEAP[g+55+1],q=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a),FUNCTION_TABLE[IHEAP[IHEAP[q]+ +21]](q,h,o,g,e,b)):f==28?(h=g=d,h=IHEAP[h+52],o=g,o=FUNCTION_TABLE[IHEAP[IHEAP[o]+21]](o),q=h,__ZNK15btCylinderShape24getHalfExtentsWithMarginEv(T,g),g=T,g=FHEAP[g+q],q=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a),FUNCTION_TABLE[IHEAP[IHEAP[q]+20]](q,o,g,h,e,b)):f==29&&(h=o=d,h=FHEAP[h+28],o+=24,g=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a),FUNCTION_TABLE[IHEAP[IHEAP[g]+22]](g,o,h,e,b));while(0);STACKTOP=c} +function __ZNK15btCylinderShape24getHalfExtentsWithMarginEv(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+4,c=d+5,f=d+6;_llvm_memcpy_p0i8_p0i8_i32(a,e+16,4,4,0);var g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[b]=g;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[c]=g;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[f]=g;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[a]+=FHEAP[d];FHEAP[a+1]+=FHEAP[d+1];FHEAP[a+2]+=FHEAP[d+2];STACKTOP=d} +function __ZN17DebugDrawcallbackC1EP12btIDebugDrawRK11btTransformRK9btVector3(a,e,d,b){IHEAP[a]=__ZTV18btTriangleCallback+2;IHEAP[a+4]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[a]=__ZTV17DebugDrawcallback+2;IHEAP[a+4]=__ZTV17DebugDrawcallback+8;IHEAP[a+8]=e;_llvm_memcpy_p0i8_p0i8_i32(a+9,b,4,4,0);a+=13;_llvm_memcpy_p0i8_p0i8_i32(a,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,d+12,4,4,0)} +function __ZN17DebugDrawcallbackD1Ev(a){IHEAP[a]=__ZTV17DebugDrawcallback+2;IHEAP[a+4]=__ZTV17DebugDrawcallback+8;IHEAP[a+4]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZN16btCollisionWorld14debugDrawWorldEv(a){var e=STACKTOP;STACKTOP+=83;var d,b,c,f,g,h,i,j,k,l,m,n,o,q,p=e+4,r=e+5,s=e+6,u,v=e+7,y=e+11,x=e+12,z=e+13,B=e+14,C=e+18,A=e+19,w=e+20,D=e+21,E=e+25,F=e+26,G=e+27,J=e+28,H=e+32,M=e+33,K=e+34,N=e+35,R=e+39,O=e+40,Q=e+41,I=e+42,L=e+46,P=e+47,S=e+48,T=e+49,U=e+53,W=e+54,Z=e+55,ca=e+56,Y=e+60,ea=e+64,ha=e+68,ba=e+69,V=e+70,aa=e+71,X=e+75,ka=e+79;d=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a)!=0?0:1;a:for(;;)if(d==0){q=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);if((FUNCTION_TABLE[IHEAP[IHEAP[q]+ +12]](q)&8)==0){d=1;continue a}q=a;q=IHEAP[q+6];q=FUNCTION_TABLE[IHEAP[IHEAP[q]+9]](q);FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=0;n=e;o=p;m=r;l=s;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[m];FHEAP[n+2]=FHEAP[l];n=FHEAP[n+3]=0;if(!(n<q)){d=1;continue a}o=a;b:for(;;){m=a;m=IHEAP[m+6];l=m=FUNCTION_TABLE[IHEAP[IHEAP[m]+10]](m,n);l=IHEAP[l+282];u=0;for(d=u<l?5:6;;)if(d==5){k=u;j=m;h=j+4+k*69;j=FUNCTION_TABLE[IHEAP[IHEAP[o]+4]](a);k=IHEAP[IHEAP[j]+8];var da=h+8,fa=h+16;i=h;i=FHEAP[i+20];FUNCTION_TABLE[k](j,da,fa,i,IHEAP[h+ +36],e);u+=1;d=u<l?5:6}else if(d==6)if(n+=1,n<q){d=4;continue b}else{d=1;continue a}}}else if(d==1){d=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a)!=0?7:8;break a}a:for(;;)if(d==7){p=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);if((FUNCTION_TABLE[IHEAP[IHEAP[p]+12]](p)&3)==0){d=8;continue a}s=p=0;b=r=a+1;if(!(s<IHEAP[b+1])){d=8;continue a}s=a+1;n=q=a;o=v;m=T;l=a;u=v;j=B;k=v;da=D;fa=v;h=J;i=v;var ga=N,ja=v,la=I,qa=a+22,pa=a+22,wa=a+22;b:for(;;){d=p;b=s;d=b=IHEAP[IHEAP[b+3]+d];d=(IHEAP[d+51]&32)==0?12:13;c:for(;;)if(d== +12){d=FUNCTION_TABLE[IHEAP[IHEAP[q]+4]](a)!=0?14:15;d:for(;;)if(d==14){d=FUNCTION_TABLE[IHEAP[IHEAP[n]+4]](a);if((FUNCTION_TABLE[IHEAP[IHEAP[d]+12]](d)&1)==0){d=15;continue d}FHEAP[y]=1;FHEAP[x]=1;FHEAP[z]=1;d=v;c=y;f=x;g=z;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;d=b;d=IHEAP[d+54];d=d==1?22:d==2?23:d==3?24:d==4?25:d==5?26:27;d==27?(FHEAP[U]=1,FHEAP[W]=0,FHEAP[Z]=0,d=T,c=U,f=W,g=Z,FHEAP[d]=FHEAP[c],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[g],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(o, +m,4,4,0)):d==22?(FHEAP[C]=1,FHEAP[A]=1,FHEAP[w]=1,d=B,c=C,f=A,g=w,FHEAP[d]=FHEAP[c],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[g],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(u,j,4,4,0)):d==23?(FHEAP[E]=0,FHEAP[F]=1,FHEAP[G]=0,d=D,c=E,f=F,g=G,FHEAP[d]=FHEAP[c],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[g],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(k,da,4,4,0)):d==24?(FHEAP[H]=0,FHEAP[M]=1,FHEAP[K]=1,d=J,c=H,f=M,g=K,FHEAP[d]=FHEAP[c],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[g],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(fa,h, +4,4,0)):d==25?(FHEAP[R]=1,FHEAP[O]=0,FHEAP[Q]=0,d=N,c=R,f=O,g=Q,FHEAP[d]=FHEAP[c],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[g],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(i,ga,4,4,0)):d==26&&(FHEAP[L]=1,FHEAP[P]=1,FHEAP[S]=0,d=I,c=L,f=P,g=S,FHEAP[d]=FHEAP[c],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[g],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ja,la,4,4,0));d=IHEAP[IHEAP[l]+6];c=b;f=c+1;c=b;FUNCTION_TABLE[d](a,f,IHEAP[c+48],v);d=15}else if(d==15)if(IHEAP[qa]!=0)break d;else{d=13;continue c}d=IHEAP[pa];if((FUNCTION_TABLE[IHEAP[IHEAP[d]+ +12]](d)&2)==0){d=13;continue c}FHEAP[ha]=1;FHEAP[ba]=0;FHEAP[V]=0;d=ea;c=ha;f=ba;g=V;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;d=b;c=IHEAP[d+48];f=IHEAP[IHEAP[c]+2];d=b;FUNCTION_TABLE[f](c,d+1,ca,Y);d=aa;g=f=c=_gContactBreakingThreshold;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;c=ca;d=aa;FHEAP[c]-=FHEAP[d];FHEAP[c+1]-=FHEAP[d+1];FHEAP[c+2]-=FHEAP[d+2];c=Y;d=aa;FHEAP[c]+=FHEAP[d];FHEAP[c+1]+=FHEAP[d+1];FHEAP[c+2]+=FHEAP[d+2];d=b;for(d=IHEAP[d+ +58]==2?20:21;;)if(d==20)d=b,c=IHEAP[d+48],f=IHEAP[IHEAP[c]+2],d=b,FUNCTION_TABLE[f](c,d+17,X,ka),c=X,d=aa,FHEAP[c]-=FHEAP[d],FHEAP[c+1]-=FHEAP[d+1],FHEAP[c+2]-=FHEAP[d+2],c=ka,d=aa,FHEAP[c]+=FHEAP[d],FHEAP[c+1]+=FHEAP[d+1],FHEAP[c+2]+=FHEAP[d+2],__ZN9btVector36setMinERKS_(ca,X),__ZN9btVector36setMaxERKS_(Y,ka),d=21;else if(d==21){d=IHEAP[wa];FUNCTION_TABLE[IHEAP[IHEAP[d]+13]](d,ca,Y,ea);d=13;continue c}}else if(d==13)if(p+=1,d=p,b=r,d<IHEAP[b+1]){d=11;continue b}else{d=8;continue a}}}else if(d==8){STACKTOP= +e;break}} +function __ZN16btCollisionWorld25serializeCollisionObjectsEP12btSerializer(a,e){var d=STACKTOP;STACKTOP+=25;var b,c,f,g,h,i,j=d+20,k=d+21,l=d+23;g=0;c=a+1;b=g<IHEAP[c+1]?0:1;a:for(;;)if(b==0){f=a+1;b:for(;;){i=g;b=f;b=i=IHEAP[IHEAP[b+3]+i];for(b=IHEAP[b+58]==1?3:4;;)if(b==3)b=i,FUNCTION_TABLE[IHEAP[IHEAP[b]+6]](b,e),b=4;else if(b==4)if(g+=1,i=g,b=c,i<IHEAP[b+1]){b=2;continue b}else{b=1;continue a}}}else if(b==1){h=g=d;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;h=g+5;IHEAP[h+4]=1;IHEAP[h+ +3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;h=g+10;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;g+=15;IHEAP[g+4]=1;IHEAP[g+3]=0;IHEAP[g+1]=0;g=IHEAP[g+2]=0;h=a+1;var m=a+1;b=5;break a}a:for(;;){f=g;c=h;if(!(f<IHEAP[c+1])){b=7;break a}f=g;c=m;c=IHEAP[IHEAP[c+3]+f];IHEAP[j]=IHEAP[c+48];f=IHEAP[j];c=k;IHEAP[c]=f;c=d;f=k;f=__ZNK9btHashMapI9btHashPtrP16btCollisionShapeE9findIndexERKS0_(c,f);i=f==-1;b:do{i?b=8:(c+=10,b=IHEAP[c+3]+f!=0?9:8);break b}while(0);for(;;)if(b==8){f=IHEAP[j];c=l;IHEAP[c]=f;__ZN9btHashMapI9btHashPtrP16btCollisionShapeE6insertERKS0_RKS2_(d, +l,j);c=IHEAP[j];f=IHEAP[IHEAP[c]+14];b=e;try{__THREW__=!1,FUNCTION_TABLE[f](c,b)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;break a}else b=9}else if(b==9){g+=1;b=5;continue a}}if(b==7)__ZN20btAlignedObjectArrayI9btHashPtrE5clearEv(d+15),__ZN20btAlignedObjectArrayIP16btCollisionShapeE5clearEv(d+10),__ZN20btAlignedObjectArrayIiE5clearEv(d+5),__ZN20btAlignedObjectArrayIiE5clearEv(d),STACKTOP=d;else if(b==10)throw j= +_llvm_eh_exception(),_llvm_eh_selector(j,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayI9btHashPtrE5clearEv(d+15),__ZN20btAlignedObjectArrayIP16btCollisionShapeE5clearEv(d+10),__ZN20btAlignedObjectArrayIiE5clearEv(d+5),__ZN20btAlignedObjectArrayIiE5clearEv(d),__Unwind_Resume_or_Rethrow(j),"Reached an unreachable! Original .ll line: 107194";} +function __ZN9btHashMapI9btHashPtrP16btCollisionShapeE6insertERKS0_RKS2_(a,e,d){var b,c=null,f,g,h,i,j,k,l,m,n,o;m=IHEAP[e];m+=m<<15^-1;m^=m>>10;m+=m*8;m^=m>>6;m+=m<<11^-1;m^=m>>16;m&=IHEAP[a+10+2]-1;o=__ZNK9btHashMapI9btHashPtrP16btCollisionShapeE9findIndexERKS0_(a,e);var q=o!=-1;a:do if(q)f=IHEAP[d],i=o,j=a+10,IHEAP[IHEAP[j+3]+i]=f;else{j=a+10;j=IHEAP[j+1];f=a+10;f=IHEAP[f+2];i=d;b=h=a+10;c=b=IHEAP[b+1];b=h;b=c==IHEAP[b+2]?1:2;b:for(;;)if(b==1){b=h;g=IHEAP[b+1];g!=0?(c=1,b=3):(c=1,b=4);for(;;)if(b== +3)n=g*2,c=3,b=4;else if(b==4){__ZN20btAlignedObjectArrayIP16btCollisionShapeE7reserveEi(h,c==3?n:1);b=2;continue b}}else if(b==2){var p=IHEAP[h+3]+IHEAP[h+1];b=p==0?5:6;break b}b:for(;;)if(b==5){IHEAP[h+1]+=1;l=e;i=k=a+15;h=i=IHEAP[i+1];i=k;b=h==IHEAP[i+2]?7:8;break b}else b==6&&(IHEAP[p]=IHEAP[i],b=5);b:for(;;)if(b==7){i=k;i=IHEAP[i+1];i!=0?(c=7,b=9):(c=7,b=10);for(;;)if(b==9){var r=i*2,c=9;b=10}else if(b==10){__ZN20btAlignedObjectArrayI9btHashPtrE7reserveEi(k,c==9?r:1);b=8;continue b}}else if(b== +8){var s=IHEAP[k+3]+2*IHEAP[k+1];b=s==0?11:12;break b}b:for(;;)if(b==11){IHEAP[k+1]+=1;i=a+10;i=IHEAP[i+2];b=f<i?13:14;break b}else b==12&&(_llvm_memcpy_p0i8_p0i8_i32(s,l,2,4,0),b=11);for(;;)if(b==13)__ZN9btHashMapI9btHashPtrP16btCollisionShapeE10growTablesERKS0_(a,e),m=e,m=IHEAP[m],m+=m<<15^-1,m^=m>>10,m+=m*8,m^=m>>6,m+=m<<11^-1,m^=m>>16,f=m,m=a+10,m=IHEAP[m+2]-1&f,b=14;else if(b==14){d=m;e=a;d=IHEAP[IHEAP[e+3]+d];n=j;e=a+5;IHEAP[IHEAP[e+3]+n]=d;IHEAP[IHEAP[a+3]+m]=j;break a}}while(0)} +function __ZN16btCollisionWorld9serializeEP12btSerializer(a,e){FUNCTION_TABLE[IHEAP[IHEAP[e]+8]](e);__ZN16btCollisionWorld25serializeCollisionObjectsEP12btSerializer(a,e);FUNCTION_TABLE[IHEAP[IHEAP[e]+9]](e)}function __ZN16btCollisionWorld14setDebugDrawerEP12btIDebugDraw(a,e){IHEAP[a+22]=e}function __ZN16btCollisionWorld14getDebugDrawerEv(a){return IHEAP[a+22]} +function __ZNK9btHashMapI9btHashPtrP16btCollisionShapeE9findIndexERKS0_(a,e){var d=null,b,c,f,g;g=IHEAP[e];g+=g<<15^-1;g^=g>>10;g+=g*8;g^=g>>6;g+=g<<11^-1;g^=g>>16;g&=IHEAP[a+10+2]-1;if(g>=IHEAP[a+1])g=-1;else{f=g=IHEAP[IHEAP[a+3]+g];for(var h=a+15,i=a+5,d=1;;){if((d==5?c:g)==-1)break;c=e;b=f;d=h;b=IHEAP[d+3]+2*b;d=c;c=b;d=IHEAP[d];if(d==IHEAP[c]!=0)break;c=f;f=i;f=c=IHEAP[IHEAP[f+3]+c];d=5}g=f}return g} +function __ZN9btHashMapI9btHashPtrP16btCollisionShapeE10growTablesERKS0_(a){var e=STACKTOP;STACKTOP+=2;var d,b,c,f,g,h,i,j,k=e+1,l;j=IHEAP[a+10+2];d=IHEAP[a+1]<j?0:1;a:for(;;)if(d==0){b=a;b=IHEAP[b+1];l=a;var m=j;IHEAP[e]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(l,m,e);l=a+5;m=j;IHEAP[k]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(l,m,k);l=0;d=l<j?2:3;b:for(;;)if(d==2)for(m=a;;)if(f=l,c=m,IHEAP[IHEAP[c+3]+f]=-1,l+=1,l<j)d=4;else{d=3;continue b}else if(d==3){l=0;d=l<j?5:6;break b}b:for(;;)if(d== +5)for(m=a+5;;)if(f=l,c=m,IHEAP[IHEAP[c+3]+f]=-1,l+=1,l<j)d=7;else{d=6;continue b}else if(d==6)if(l=0,l<b){d=8;break b}else{d=1;continue a}m=a+15;c=a+10;f=a;for(var n=a+5,o=a;;)if(g=l,d=m,d=IHEAP[d+3]+2*g,d=IHEAP[d],d+=d<<15^-1,d^=d>>10,d+=d*8,d^=d>>6,d+=d<<11^-1,d^=d>>16,g=d,d=c,h=d=IHEAP[d+2]-1&g,g=f,h=IHEAP[IHEAP[g+3]+h],i=l,g=n,IHEAP[IHEAP[g+3]+i]=h,g=l,h=d,d=o,IHEAP[IHEAP[d+3]+h]=g,l+=1,l<b)d=9;else{d=1;continue a}}else if(d==1){STACKTOP=e;break}} +function __ZN20btAlignedObjectArrayI9btHashPtrE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*8,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+2*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+2*f,2,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP16btCollisionShapeE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+ +3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP16btCollisionShapeE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayI9btHashPtrE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZThn4_N17DebugDrawcallbackD1Ev(a){a+=-4;IHEAP[a]=__ZTV17DebugDrawcallback+2;IHEAP[a+4]=__ZTV17DebugDrawcallback+8;IHEAP[a+4]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2}function __ZN17DebugDrawcallbackD0Ev(a){IHEAP[a]=__ZTV17DebugDrawcallback+2;IHEAP[a+4]=__ZTV17DebugDrawcallback+8;IHEAP[a+4]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN17DebugDrawcallback15processTriangleEP9btVector3ii(a,e){var d=STACKTOP;STACKTOP+=83;var b=d+1,c=d+2,f=d+3,g=d+4,h=d+5,i=d+6,j=d+7,k=d+8,l=d+9,m=d+10,n=d+11,o=d+12,q=d+13,p=d+14,r=d+15,s=d+16,u=d+17,v=d+18,y=d+19,x=d+20,z=d+21,B=d+22,C=d+23,A=d+27,w=d+31,D=d+35,E=d+39,F=d+43,G=d+47,J=d+51,H=d+55,M=d+59,K=d+60,N=d+64,R=d+68,O=d+72,Q=d+76,I=d+77,L=d+78,P=d+79;__ZNK11btTransformclERK9btVector3(D,a+13,e);_llvm_memcpy_p0i8_p0i8_i32(C,D,4,4,0);__ZNK11btTransformclERK9btVector3(E,a+13,e+4);_llvm_memcpy_p0i8_p0i8_i32(A, +E,4,4,0);__ZNK11btTransformclERK9btVector3(F,a+13,e+8);_llvm_memcpy_p0i8_p0i8_i32(w,F,4,4,0);FHEAP[x]=FHEAP[C]+FHEAP[A];FHEAP[z]=FHEAP[C+1]+FHEAP[A+1];FHEAP[B]=FHEAP[C+2]+FHEAP[A+2];FHEAP[H]=FHEAP[x];FHEAP[H+1]=FHEAP[z];FHEAP[H+2]=FHEAP[B];FHEAP[H+3]=0;FHEAP[u]=FHEAP[H]+FHEAP[w];FHEAP[v]=FHEAP[H+1]+FHEAP[w+1];FHEAP[y]=FHEAP[H+2]+FHEAP[w+2];FHEAP[J]=FHEAP[u];FHEAP[J+1]=FHEAP[v];FHEAP[J+2]=FHEAP[y];FHEAP[J+3]=0;FHEAP[M]=0.3333333432674408;FHEAP[l]=FHEAP[J]*FHEAP[M];FHEAP[m]=FHEAP[J+1]*FHEAP[M];FHEAP[n]= +FHEAP[J+2]*FHEAP[M];FHEAP[G]=FHEAP[l];FHEAP[G+1]=FHEAP[m];FHEAP[G+2]=FHEAP[n];FHEAP[G+3]=0;FHEAP[d]=FHEAP[A]-FHEAP[C];FHEAP[b]=FHEAP[A+1]-FHEAP[C+1];FHEAP[c]=FHEAP[A+2]-FHEAP[C+2];FHEAP[N]=FHEAP[d];FHEAP[N+1]=FHEAP[b];FHEAP[N+2]=FHEAP[c];FHEAP[N+3]=0;FHEAP[f]=FHEAP[w]-FHEAP[C];FHEAP[g]=FHEAP[w+1]-FHEAP[C+1];FHEAP[h]=FHEAP[w+2]-FHEAP[C+2];FHEAP[R]=FHEAP[f];FHEAP[R+1]=FHEAP[g];FHEAP[R+2]=FHEAP[h];FHEAP[R+3]=0;FHEAP[i]=FHEAP[N+1]*FHEAP[R+2]-FHEAP[N+2]*FHEAP[R+1];FHEAP[j]=FHEAP[N+2]*FHEAP[R]-FHEAP[N]* +FHEAP[R+2];FHEAP[k]=FHEAP[N]*FHEAP[R+1]-FHEAP[N+1]*FHEAP[R];FHEAP[K]=FHEAP[i];FHEAP[K+1]=FHEAP[j];FHEAP[K+2]=FHEAP[k];FHEAP[K+3]=0;b=_sqrtf(FHEAP[K]*FHEAP[K]+FHEAP[K+1]*FHEAP[K+1]+FHEAP[K+2]*FHEAP[K+2]);FHEAP[q]=b;FHEAP[o]=1/FHEAP[q];FHEAP[K]*=FHEAP[o];FHEAP[K+1]*=FHEAP[o];FHEAP[K+2]*=FHEAP[o];FHEAP[Q]=1;FHEAP[I]=1;FHEAP[L]=0;FHEAP[O]=FHEAP[Q];FHEAP[O+1]=FHEAP[I];FHEAP[O+2]=FHEAP[L];FHEAP[O+3]=0;o=IHEAP[a+8];q=IHEAP[IHEAP[o]+2];FHEAP[p]=FHEAP[G]+FHEAP[K];FHEAP[r]=FHEAP[G+1]+FHEAP[K+1];FHEAP[s]=FHEAP[G+ +2]+FHEAP[K+2];FHEAP[P]=FHEAP[p];FHEAP[P+1]=FHEAP[r];FHEAP[P+2]=FHEAP[s];FHEAP[P+3]=0;FUNCTION_TABLE[q](o,G,P,O);p=IHEAP[a+8];FUNCTION_TABLE[IHEAP[IHEAP[p]+2]](p,C,A,a+9);p=IHEAP[a+8];FUNCTION_TABLE[IHEAP[IHEAP[p]+2]](p,A,w,a+9);A=IHEAP[a+8];FUNCTION_TABLE[IHEAP[IHEAP[A]+2]](A,w,C,a+9);STACKTOP=d}function __ZN17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii(a,e,d,b){FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,e,d,b)} +function __ZThn4_N17DebugDrawcallbackD0Ev(a){a+=-4;IHEAP[a]=__ZTV17DebugDrawcallback+2;IHEAP[a+4]=__ZTV17DebugDrawcallback+8;IHEAP[a+4]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)}function __ZThn4_N17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii(a,e,d,b){a+=-4;FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,e,d,b)}function __ZN24btBroadphaseAabbCallbackD1Ev(a){IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2} +function __ZN24btBroadphaseAabbCallbackD0Ev(a){IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2;__ZdlPv(a)}function __ZN21btSingleSweepCallbackD0Ev(a){IHEAP[a]=__ZTV21btSingleSweepCallback+2;IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2;__ZdlPv(a)} +function __ZN21btSingleSweepCallback7processEPK17btBroadphaseProxy(a,e){var d,b,c,f,g=FHEAP[IHEAP[a+73]+1]==0;a:do if(g)c=0;else{f=IHEAP[e];var h=IHEAP[a+73],i=IHEAP[IHEAP[h]+2];d=f;for(d=FUNCTION_TABLE[i](h,IHEAP[d+47])?1:2;;)if(d==1){d=IHEAP[a+75];var h=a+36,i=a+52,j=f;b=f;var k=IHEAP[b+48];b=f;__ZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEf(d,h,i,j,k,b+1,IHEAP[a+73],FHEAP[a+74]);d=2}else if(d== +2){c=1;break a}}while(0);return c}function __ZN23btBroadphaseRayCallbackD1Ev(a){IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2}function __ZN23btBroadphaseRayCallbackD0Ev(a){IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2;__ZdlPv(a)} +function __ZN21btSingleSweepCallbackC2EPK13btConvexShapeRK11btTransformS5_PK16btCollisionWorldRNS6_20ConvexResultCallbackEf(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=16;var i,j=null,k=h+1,l=h+2,m,j=h+3;i=h+4;var n=h+5,o=h+6,q=h+7,p,r,s,u,v;v=h+8;u=h+12;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2;IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV21btSingleSweepCallback+2;m=a+36;_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,d+8,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(m+12,d+12,4,4,0);d=a+52;_llvm_memcpy_p0i8_p0i8_i32(d,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,b+12,4,4,0);IHEAP[a+72]=c;IHEAP[a+73]=f;FHEAP[a+74]=g;IHEAP[a+75]=e;b=a+36+12;e=a+52+12;FHEAP[h]=FHEAP[e]-FHEAP[b];FHEAP[k]=FHEAP[e+1]-FHEAP[b+1];FHEAP[l]=FHEAP[e+2]-FHEAP[b+2];FHEAP[v]=FHEAP[h];FHEAP[v+1]=FHEAP[k];FHEAP[v+2]=FHEAP[l];FHEAP[v+3]=0;k=_sqrtf(FHEAP[v]*FHEAP[v]+FHEAP[v+1]*FHEAP[v+ +1]+FHEAP[v+2]*FHEAP[v+2]);FHEAP[q]=k;FHEAP[o]=1/FHEAP[q];FHEAP[j]=FHEAP[v]*FHEAP[o];FHEAP[i]=FHEAP[v+1]*FHEAP[o];FHEAP[n]=FHEAP[v+2]*FHEAP[o];FHEAP[u]=FHEAP[j];FHEAP[u+1]=FHEAP[i];FHEAP[u+2]=FHEAP[n];FHEAP[u+3]=0;FHEAP[u]==0?(j=0,i=1):(j=0,i=2);a:for(;;)if(i==1){j=j==2?p:999999984306749440;p=a+4;FHEAP[p]=j;p=u;FHEAP[p+1]==0?(j=1,i=3):(j=1,i=4);break a}else i==2&&(p=u,p=1/FHEAP[p],j=2,i=1);a:for(;;)if(i==3){p=j==4?r:999999984306749440;r=a+4;FHEAP[r+1]=p;r=u;FHEAP[r+2]==0?(j=3,i=5):(j=3,i=6);break a}else i== +4&&(r=u,r=1/FHEAP[r+1],j=4,i=3);for(;;)if(i==5){r=j==6?s:999999984306749440;s=a+4;FHEAP[s+2]=r;s=a+4;IHEAP[a+8]=FHEAP[s]<0;s=a+4;IHEAP[a+8+1]=FHEAP[s+1]<0;s=a+4;IHEAP[a+8+2]=FHEAP[s+2]<0;FHEAP[a+11]=FHEAP[u]*FHEAP[v]+FHEAP[u+1]*FHEAP[v+1]+FHEAP[u+2]*FHEAP[v+2];STACKTOP=h;break}else i==6&&(s=u,s=1/FHEAP[s+2],j=6,i=5)}function __ZN19btSingleRayCallbackD0Ev(a){IHEAP[a]=__ZTV19btSingleRayCallback+2;IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2;__ZdlPv(a)} +function __ZN19btSingleRayCallback7processEPK17btBroadphaseProxy(a,e){var d,b,c,f,g=FHEAP[IHEAP[a+81]+1]==0;a:do if(g)c=0;else{f=IHEAP[e];var h=IHEAP[a+81],i=IHEAP[IHEAP[h]+2];d=f;for(d=FUNCTION_TABLE[i](h,IHEAP[d+47])?1:2;;)if(d==1){d=a+44;h=a+60;b=i=f;var j=IHEAP[b+48];b=f;__ZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackE(d,h,i,j,b+1,IHEAP[a+81]);d=2}else if(d==2){c=1;break a}}while(0);return c} +function __ZN19btSingleRayCallbackC2ERK9btVector3S2_PK16btCollisionWorldRNS3_17RayResultCallbackE(a,e,d,b,c){var f=STACKTOP;STACKTOP+=40;var g=null,h=f+1,i=f+2,j=f+3,k=f+4,l=f+5,m=f+6,n=f+7,o=f+8,q=f+9,p=f+10,r=f+11,s=f+12,u=f+13,v=f+14,y=f+15,x=f+16,z=f+17,B=f+18,C=f+19,A=f+20,w=f+21,D=f+22,E=f+23,F=f+24,G=f+25,J=f+26,g=f+27,H=f+28,M,K,N,R,O,Q;Q=f+29;O=f+30;R=f+31;var I,L;I=f+32;L=f+36;IHEAP[a]=__ZTV24btBroadphaseAabbCallback+2;IHEAP[a]=__ZTV23btBroadphaseRayCallback+2;IHEAP[a]=__ZTV19btSingleRayCallback+ +2;_llvm_memcpy_p0i8_p0i8_i32(a+36,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+40,d,4,4,0);IHEAP[a+80]=b;IHEAP[a+81]=c;b=a+44;FHEAP[f]=1;FHEAP[h]=0;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=1;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(b,f,h,i,j,k,l,m,n,o);b+=12;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[b]=FHEAP[q];FHEAP[b+1]=FHEAP[p];FHEAP[b+2]=FHEAP[r];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+44+12,a+36,4,4,0);q=a+60;FHEAP[s]=1;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0; +FHEAP[x]=1;FHEAP[z]=0;FHEAP[B]=0;FHEAP[C]=0;FHEAP[A]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(q,s,u,v,y,x,z,B,C,A);s=q+12;FHEAP[w]=0;FHEAP[D]=0;FHEAP[E]=0;FHEAP[s]=FHEAP[w];FHEAP[s+1]=FHEAP[D];FHEAP[s+2]=FHEAP[E];FHEAP[s+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+60+12,a+40,4,4,0);FHEAP[F]=FHEAP[d]-FHEAP[e];FHEAP[G]=FHEAP[d+1]-FHEAP[e+1];FHEAP[J]=FHEAP[d+2]-FHEAP[e+2];FHEAP[I]=FHEAP[F];FHEAP[I+1]=FHEAP[G];FHEAP[I+2]=FHEAP[J];FHEAP[I+3]=0;e=_sqrtf(FHEAP[I]*FHEAP[I]+FHEAP[I+1]*FHEAP[I+1]+FHEAP[I+ +2]*FHEAP[I+2]);FHEAP[H]=e;FHEAP[g]=1/FHEAP[H];FHEAP[I]*=FHEAP[g];FHEAP[I+1]*=FHEAP[g];FHEAP[I+2]*=FHEAP[g];FHEAP[I]==0?(g=0,e=1):(g=0,e=2);a:for(;;)if(e==1){e=g==2?M:999999984306749440;M=a+4;FHEAP[M]=e;M=I;FHEAP[M+1]==0?(g=1,e=3):(g=1,e=4);break a}else e==2&&(M=I,M=1/FHEAP[M],g=2,e=1);a:for(;;)if(e==3){M=g==4?K:999999984306749440;K=a+4;FHEAP[K+1]=M;K=I;FHEAP[K+2]==0?(g=3,e=5):(g=3,e=6);break a}else e==4&&(K=I,K=1/FHEAP[K+1],g=4,e=3);for(;;)if(e==5){K=g==6?N:999999984306749440;N=a+4;FHEAP[N+2]=K;N= +a+4;IHEAP[a+8]=FHEAP[N]<0;N=a+4;IHEAP[a+8+1]=FHEAP[N+1]<0;N=a+4;IHEAP[a+8+2]=FHEAP[N+2]<0;K=a+36;N=a+40;FHEAP[Q]=FHEAP[N]-FHEAP[K];FHEAP[O]=FHEAP[N+1]-FHEAP[K+1];FHEAP[R]=FHEAP[N+2]-FHEAP[K+2];N=L;K=O;O=Q;Q=K;K=R;R=N;N=K;FHEAP[R]=FHEAP[O];FHEAP[R+1]=FHEAP[Q];FHEAP[R+2]=FHEAP[N];FHEAP[R+3]=0;FHEAP[a+11]=FHEAP[I]*FHEAP[L]+FHEAP[I+1]*FHEAP[L+1]+FHEAP[I+2]*FHEAP[L+2];STACKTOP=f;break}else e==6&&(N=I,N=1/FHEAP[N+2],g=6,e=5)} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD2E_1v(a){IHEAP[a]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD0E_1v(a){IHEAP[a]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;__ZdlPv(a)} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfENK14LocalInfoAdder14needsCollisionE_1P17btBroadphaseProxy(a,e){var d=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d,e)} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdder15addSingleResultE_1RNS_17LocalConvexResultEb(a,e,d){var b=STACKTOP;STACKTOP+=2;var c;IHEAP[b]=-1;IHEAP[b+1]=IHEAP[a+13];for(c=IHEAP[e+1]==0?0:1;;)if(c==0)IHEAP[e+1]=b,c=1;else if(c==1)return c=IHEAP[a+12],e=FUNCTION_TABLE[IHEAP[IHEAP[c]+3]](c,e,d&1),FHEAP[a+1]=FHEAP[IHEAP[a+12]+1],a=e,STACKTOP=b,a;return null} +function __ZN16btCollisionWorld20ConvexResultCallbackD1Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2}function __ZN16btCollisionWorld20ConvexResultCallbackD0Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;__ZdlPv(a)} +function __ZNK16btCollisionWorld20ConvexResultCallback14needsCollisionEP17btBroadphaseProxy(a,e){var d,b=null;d=(IHEAP[a+3]&IHEAP[e+1])!=0;d&1?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0){var c=(IHEAP[e+2]&IHEAP[a+2])!=0,b=0;d=1}else if(d==1)return d=b==-1?0:c,d&1;return null} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2E_0v(a){IHEAP[a]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+2;IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0E_0v(a){IHEAP[a]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+2;IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitE_0RK9btVector3SG_fii(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=13;var h;h=g+2;IHEAP[g]=c;IHEAP[g+1]=f;b<=FHEAP[IHEAP[a+212]+1]?(c=IHEAP[a+213],IHEAP[h]=c,IHEAP[h+1]=g,_llvm_memcpy_p0i8_p0i8_i32(h+2,e,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+6,d,4,4,0),FHEAP[h+10]=b,a=IHEAP[a+212],h=FUNCTION_TABLE[IHEAP[IHEAP[a]+ +3]](a,h,0)):h=b;STACKTOP=g;return h} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2Ev(a){IHEAP[a]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+2;IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0Ev(a){IHEAP[a]=__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+2;IHEAP[a]=__ZTV28btTriangleConvexcastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitERK9btVector3SG_fii(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=13;var h;h=g+2;IHEAP[g]=c;IHEAP[g+1]=f;b<=FHEAP[IHEAP[a+212]+1]?(c=IHEAP[a+213],IHEAP[h]=c,IHEAP[h+1]=g,_llvm_memcpy_p0i8_p0i8_i32(h+2,e,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+6,d,4,4,0),FHEAP[h+10]=b,a=IHEAP[a+212],h=FUNCTION_TABLE[IHEAP[IHEAP[a]+ +3]](a,h,1)):h=b;STACKTOP=g;return h}function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD2E_1v(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD0E_1v(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2;__ZdlPv(a)}function __ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodeS3_(){} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1PK10btDbvtNode(a,e){__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1i(a,IHEAP[e+9])}function __ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodef(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a,e)} +function __ZN6btDbvt8ICollide7DescentEPK10btDbvtNode(){return 1}function __ZN6btDbvt8ICollide9AllLeavesEPK10btDbvtNode(){return 1}function __ZN6btDbvt8ICollideD1Ev(a){IHEAP[a]=__ZTVN6btDbvt8ICollideE+2}function __ZN6btDbvt8ICollideD0Ev(a){IHEAP[a]=__ZTVN6btDbvt8ICollideE+2;__ZdlPv(a)}function __ZN6btDbvt8ICollide7ProcessEPK10btDbvtNode(){} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D2Ev(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+2;IHEAP[a]=__ZTVN16btCollisionWorld17RayResultCallbackE+2} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D0Ev(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+2;IHEAP[a]=__ZTVN16btCollisionWorld17RayResultCallbackE+2;__ZdlPv(a)} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEENK15LocalInfoAdder214needsCollisionEP17btBroadphaseProxy(a,e){var d=IHEAP[a+20];return FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d,e)} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder215addSingleResultERNS_14LocalRayResultEb(a,e,d){var b=STACKTOP;STACKTOP+=2;var c;IHEAP[b]=-1;IHEAP[b+1]=IHEAP[a+21];for(c=IHEAP[e+1]==0?0:1;;)if(c==0)IHEAP[e+1]=b,c=1;else if(c==1)return c=IHEAP[a+20],e=FUNCTION_TABLE[IHEAP[IHEAP[c]+3]](c,e,d&1),FHEAP[a+1]=FHEAP[IHEAP[a+20]+1],a=e,STACKTOP=b,a;return null} +function __ZN16btCollisionWorld17RayResultCallbackD1Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld17RayResultCallbackE+2}function __ZN16btCollisionWorld17RayResultCallbackD0Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld17RayResultCallbackE+2;__ZdlPv(a)} +function __ZNK16btCollisionWorld17RayResultCallback14needsCollisionEP17btBroadphaseProxy(a,e){var d,b=null;d=(IHEAP[a+4]&IHEAP[e+1])!=0;d&1?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0){var c=(IHEAP[e+2]&IHEAP[a+3])!=0,b=0;d=1}else if(d==1)return d=b==-1?0:c,d&1;return null} +function __ZN20btAlignedObjectArrayIPK10btDbvtNodeE6resizeEiRKS2_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIPK10btDbvtNodeE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __Z10btRayAabb2RK9btVector3S1_PKjPS0_Rfff(a,e,d,b,c,f,g){var h,i=null,j,k,l,m,n,o;FHEAP[c]=(FHEAP[b+4*IHEAP[d]]-FHEAP[a])*FHEAP[e];l=(FHEAP[b+4*(1-IHEAP[d])]-FHEAP[a])*FHEAP[e];m=(FHEAP[b+4*IHEAP[d+1]+1]-FHEAP[a+1])*FHEAP[e+1];n=(FHEAP[b+4*(1-IHEAP[d+1])+1]-FHEAP[a+1])*FHEAP[e+1];h=FHEAP[c]>n?0:1;a:for(;;)if(h==0){k=0;h=3;break a}else if(h==1)if(m>l)h=0;else{h=2;break a}a:for(;;)if(h==2){h=m>FHEAP[c]?4:5;b:for(;;)if(h==4)FHEAP[c]=m,h=5;else if(h==5){h=n<l?6:7;break b}b:for(;;)if(h==6)l=n, +h=7;else if(h==7){j=b+4*IHEAP[d+2];h=FHEAP[j+2];j=a;h-=FHEAP[j+2];j=e;j=h*FHEAP[j+2];h=b+4*(1-IHEAP[d+2]);o=FHEAP[h+2];h=a;o-=FHEAP[h+2];h=e;o*=FHEAP[h+2];h=FHEAP[c]>o?8:9;break b}b:for(;;)if(h==8){k=0;h=3;continue a}else if(h==9)if(j>l)h=8;else break b;h=j>FHEAP[c]?11:12;b:for(;;)if(h==11)FHEAP[c]=j,h=12;else if(h==12){h=o<l?13:14;break b}b:for(;;)if(h==13)l=o,h=14;else if(h==14){FHEAP[c]<g?(i=14,h=15):(i=14,h=16);break b}for(;;)if(h==15){var q=l>f,i=15;h=16}else if(h==16){k=i==14?0:q;h=3;continue a}}else if(h== +3)return k;return null}function __ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayIPK10btDbvtNodeE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!= +0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2E_0v(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+2;IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0E_0v(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+2;IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitE_0RK9btVector3fii(a,e,d,b,c){var f=STACKTOP;STACKTOP+=13;var g=f+2,h=f+6;IHEAP[f]=b;IHEAP[f+1]=c;__ZmlRK11btMatrix3x3RK9btVector3(g,a+47,e);IHEAP[h]=IHEAP[a+45];IHEAP[h+1]=f;_llvm_memcpy_p0i8_p0i8_i32(h+2,g,4,4,0);FHEAP[h+6]=d;a=IHEAP[a+44];h=FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a,h,1);STACKTOP=f;return h} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2Ev(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+2;IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0Ev(a){IHEAP[a]=__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+2;IHEAP[a]=__ZTV25btTriangleRaycastCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitERK9btVector3fii(a,e,d,b,c){var f=STACKTOP;STACKTOP+=13;var g=f+2,h=f+6;IHEAP[f]=b;IHEAP[f+1]=c;__ZmlRK11btMatrix3x3RK9btVector3(g,a+47,e);IHEAP[h]=IHEAP[a+45];IHEAP[h+1]=f;_llvm_memcpy_p0i8_p0i8_i32(h+2,g,4,4,0);FHEAP[h+6]=d;a=IHEAP[a+44];h=FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a,h,1);STACKTOP=f;return h} +function __ZN34btSphereTriangleCollisionAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_b(a,e,d,b,c,f){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV34btSphereTriangleCollisionAlgorithm+2;IHEAP[a+8]=0;IHEAP[a+9]=e;IHEAP[a+10]=f&1;for(e=IHEAP[a+9]!=0?0:1;;)if(e==0)return;else if(e==1){var e=IHEAP[a+1],d=IHEAP[IHEAP[e]+3],f=b,g=c,h;try{__THREW__=!1,h=FUNCTION_TABLE[d](e,f,g)}catch(i){if(ABORT)throw i; +__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack);h=null}if(__THREW__)break;IHEAP[a+9]=h;IHEAP[a+8]=1;e=0}b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(b);throw"Reached an unreachable! Original .ll line: 113651";} +function __ZN34btSphereTriangleCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN34btSphereTriangleCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 113680";} +function __ZN34btSphereTriangleCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV34btSphereTriangleCollisionAlgorithm+2;for(e=IHEAP[a+8]&1?0:1;;)if(e==0)if(IHEAP[a+9]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+ +2;return}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 113756";} +function __ZN34btSphereTriangleCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=41;var g,h,i,j,k,l,m=f+7;g=IHEAP[a+9]!=0?0:1;a:for(;;)if(g==0){g=d;k=e;k=IHEAP[a+10]&1?g:k;g=e;j=d;g=IHEAP[a+10]&1?g:j;j=k;j=IHEAP[j+48];h=g;h=IHEAP[h+48];l=IHEAP[a+9];i=c;IHEAP[i+4]=l;i=h;h=IHEAP[a+9];l=FHEAP[h+283];var n=h=f;h=n;IHEAP[h]=__ZTV36btDiscreteCollisionDetectorInterface+2;IHEAP[n]=__ZTV22SphereTriangleDetector+2;IHEAP[n+ +4]=j;IHEAP[n+5]=i;FHEAP[n+6]=l;j=m;FHEAP[j+32]=999999984306749440;IHEAP[j+33]=0;FHEAP[m+32]=999999984306749440;j=m;k+=1;i=k;h=j;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,k+12,4,4,0);k=m+16;g+=1;h=g;j=k;_llvm_memcpy_p0i8_p0i8_i32(j,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,g+12,4,4,0);j=IHEAP[a+10]&1;g=c;k= +IHEAP[b+5];j&=1;try{__THREW__=!1,__ZN22SphereTriangleDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb(f,m,g,k,j)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}if(__THREW__)break a;for(g=IHEAP[a+8]&1?2:3;;)if(g==2)if(g=c,k=IHEAP[g+4],IHEAP[k+282]==0)g=3;else{k=IHEAP[g+4];j=IHEAP[k+280]!=IHEAP[g+37];k=IHEAP[g+4];if(j&1){j=g+21;g+=5;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(k, +j,g)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}}else{j=g+5;g+=21;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(k,j,g)}catch(p){if(ABORT)throw p;__THREW__=!0;print("Exception: "+p+" : "+p.stack+", currently at: "+Error().stack)}}if(__THREW__)break a;else g=3}else if(g==3){g=f;IHEAP[g]=__ZTV22SphereTriangleDetector+2;IHEAP[g]=__ZTV36btDiscreteCollisionDetectorInterface+2;g=1;continue a}}else if(g== +1){STACKTOP=f;return}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[f]=__ZTV22SphereTriangleDetector+2;IHEAP[f]=__ZTV36btDiscreteCollisionDetectorInterface+2;__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 114120";}function __ZN34btSphereTriangleCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZN34btSphereTriangleCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+8]&1)){d=1;continue a}g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+ +1];d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break}function __ZN23btConvexConvexAlgorithm10CreateFuncC2EP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(a,e,d){IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;IHEAP[a+1]=0;IHEAP[a]=__ZTVN23btConvexConvexAlgorithm10CreateFuncE+2;IHEAP[a+7]=0;IHEAP[a+8]=3;IHEAP[a+6]=e;IHEAP[a+5]=d} +function __ZN23btConvexConvexAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN23btConvexConvexAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)}function __ZN23btConvexConvexAlgorithm10CreateFuncD2Ev(a){IHEAP[a]=__ZTVN23btConvexConvexAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN23btConvexConvexAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolverii(a,e,d,b,c,f,g,h,i){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV23btConvexConvexAlgorithm+2;IHEAP[a+8]=f;IHEAP[a+9]=g;IHEAP[a+10]=0;IHEAP[a+11]=e;IHEAP[a+12]=0;IHEAP[a+13]=h;IHEAP[a+14]=i} +function __ZN23btConvexConvexAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN23btConvexConvexAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 114458";} +function __ZN23btConvexConvexAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV23btConvexConvexAlgorithm+2;for(e=IHEAP[a+10]&1?0:1;;)if(e==0)if(IHEAP[a+11]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+11];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e=_llvm_eh_exception(); +_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 114534";} +function __ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=646;var g,h=null,i,j,k,l,m=f+1,n=f+2,o=f+3,q=f+4,p,r,s,u,v,y,x,z,B,C,A,w=f+5,D=f+6,E=f+7,F=f+8,G=f+9,J=f+10,H=f+11,M=f+12,K,N=f+13,R=f+14,O=f+15,Q=f+16,I=f+17,L,P,S,T,U,W,Z=f+18,ca=f+19,Y=f+20,ea,ha,ba,V,aa,X,ka=f+21,da=f+22,fa=f+23,ga=f+24,ja=f+25,la=f+26,qa=f+27,pa=f+28,wa=f+29,ua=f+30,na=f+31,ya=f+32,xa,ia,ma,ta,ra,oa,Da,Ba,Oa=f+33,Fa=f+37, +Ha=f+41,La=f+45,Ea,Ca=f+49,Aa=f+50,za=f+51,Ja=f+52,Ra=f+53,Ua=f+54,Xa=f+55,Wa=f+56,Sa=f+57,Ga=f+58,Ia=f+59,Pa=f+60,Ta,Va,fb,ib=f+61,Na,Za,gb=f+62,lb=f+66;r=f+70;var $a=f+74,eb=f+78,bb=f+82,sb=f+86,Ka=f+90,Ya=f+94,jb=f+95,kb=f+96,tb=f+100,Bb=f+101,Qa=f+105,wb=f+109,mb=f+113,yb=f+117,ub=f+118,Ma=f+119,sa,va,pb,ab,db,vb=f+120,Fb=f+124,zb=f+128,Kb=f+132,nb=f+136;V=f+170;aa=f+192;var Cb=f+196,Eb=f+200,Ib=f+204;X=f+208;var Jb=f+213,Ab=f+217,qb=f+221,Nb=f+225,rb=f+229,Gb=f+233,Ob=f+237,hb=f+241,Sb=f+242, +Ub=f+258,Vb=f+274,Hb=f+275,Lb=f+291,ob=f+303,Db=f+315,xb=f+331,Qb=f+347,Wb=f+363,Tb=f+375,$b=f+387,Zb=f+403,Mb=f+419;Ea=f+435;g=IHEAP[a+11]!=0?0:1;a:for(;;)if(g==0){ab=IHEAP[a+11];db=c;IHEAP[db+4]=ab;db=e;db=IHEAP[db+48];ab=d;ab=IHEAP[ab+48];i=db;g=IHEAP[i+1]==10?2:3;break a}else g==1&&(i=IHEAP[a+1],i=FUNCTION_TABLE[IHEAP[IHEAP[i]+3]](i,e,d),IHEAP[a+11]=i,IHEAP[a+10]=1,g=0);a:for(;;)if(g==2)if(i=ab,IHEAP[i+1]==10){g=4;break a}else g=3;else if(g==3){i=nb;FHEAP[i+32]=999999984306749440;IHEAP[i+33]= +0;__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(V,db,ab,IHEAP[a+8],IHEAP[a+9]);j=db;i=V;IHEAP[i+10]=j;j=ab;i=V;IHEAP[i+11]=j;i=db;j=IHEAP[IHEAP[i]+11];var cb;try{__THREW__=!1,cb=FUNCTION_TABLE[j](i)}catch(Pb){if(ABORT)throw Pb;__THREW__=!0;print("Exception: "+Pb+" : "+Pb.stack+", currently at: "+Error().stack);cb=null}g=__THREW__?87:91;break a}a:for(;;)if(g==4){Va=db;Ta=ab;sa=Va;sa=FUNCTION_TABLE[IHEAP[IHEAP[sa]+7]](sa);_llvm_memcpy_p0i8_p0i8_i32(zb, +sa,4,4,0);sa=Ta;sa=FUNCTION_TABLE[IHEAP[IHEAP[sa]+7]](sa);_llvm_memcpy_p0i8_p0i8_i32(Kb,sa,4,4,0);sa=IHEAP[a+11];sa=FHEAP[sa+283];Na=fb=Va;fb=IHEAP[Na+52];Na+=16;fb=FHEAP[Na+fb];Na=Va;Za=(IHEAP[Na+52]+2)%3;Na+=16;Na=FHEAP[Na+Za];ia=Za=Ta;Za=IHEAP[ia+52];ia+=16;Za=FHEAP[ia+Za];ia=Ta;ma=(IHEAP[ia+52]+2)%3;ia+=16;S=FHEAP[ia+ma];T=IHEAP[Va+52];U=IHEAP[Ta+52];Ta=e;W=Ta+1;Ta=d;ra=Ta+1;ta=sa;Ta=vb;Va=Fb;ia=fb;fb=Na;ma=Za;FHEAP[ib]=S;oa=T;S=U;T=W;Na=ra;Za=ta;U=T;ta=oa;W=U;U=ta;ta=W;ra=U;W=ta;W+=ra;oa=U;ra= +ta+4;ra+=oa;ta+=8;oa=ta+U;U=gb;ta=ra;ra=oa;FHEAP[U]=FHEAP[W];FHEAP[U+1]=FHEAP[ta];FHEAP[U+2]=FHEAP[ra];FHEAP[U+3]=0;_llvm_memcpy_p0i8_p0i8_i32(lb,T+12,4,4,0);U=T=Na;W=S;T=U;T+=W;ta=S;W=U+4;W+=ta;U+=8;ta=U+S;S=r;U=W;W=ta;FHEAP[S]=FHEAP[T];FHEAP[S+1]=FHEAP[U];FHEAP[S+2]=FHEAP[W];FHEAP[S+3]=0;S=Na;_llvm_memcpy_p0i8_p0i8_i32($a,S+12,4,4,0);S=$a;T=lb;FHEAP[Z]=FHEAP[S]-FHEAP[T];FHEAP[ca]=FHEAP[S+1]-FHEAP[T+1];FHEAP[Y]=FHEAP[S+2]-FHEAP[T+2];S=eb;T=Z;U=ca;W=Y;FHEAP[S]=FHEAP[T];FHEAP[S+1]=FHEAP[U];FHEAP[S+ +2]=FHEAP[W];FHEAP[S+3]=0;ra=ia;Da=ma;ia=bb;ma=sb;S=Ka;T=Ya;U=jb;W=eb;ta=gb;ea=oa=r;xa=ta;xa=FHEAP[xa]*FHEAP[ea]+FHEAP[xa+1]*FHEAP[ea+1]+FHEAP[xa+2]*FHEAP[ea+2];ha=W;ea=ta;ea=FHEAP[ea]*FHEAP[ha]+FHEAP[ea+1]*FHEAP[ha+1]+FHEAP[ea+2]*FHEAP[ha+2];r=W;ha=oa;ha=FHEAP[ha]*FHEAP[r]+FHEAP[ha+1]*FHEAP[r+1]+FHEAP[ha+2]*FHEAP[r+2];Ba=1-xa*xa;g=Ba==0?5:6;break a}else if(g==91){i=ab;j=IHEAP[IHEAP[i]+11];var Rb;try{__THREW__=!1,Rb=FUNCTION_TABLE[j](i)}catch(dc){if(ABORT)throw dc;__THREW__=!0;print("Exception: "+ +dc+" : "+dc.stack+", currently at: "+Error().stack);Rb=null}if(__THREW__){g=87;continue a}j=cb+Rb;i=IHEAP[a+11];FHEAP[nb+32]=j+FHEAP[i+283];FHEAP[nb+32]*=FHEAP[nb+32];IHEAP[nb+33]=IHEAP[b+12];i=nb;j=e;k=j+1;j=i;l=i=k;k=j;_llvm_memcpy_p0i8_p0i8_i32(k,l,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,l+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,l+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,i+12,4,4,0);i=nb+16;j=d;k=j+1;j=i;l=i=k;k=j;_llvm_memcpy_p0i8_p0i8_i32(k,l,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,l+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+ +8,l+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,i+12,4,4,0);i=db;i=IHEAP[i+1];g=i<7?22:23;b:for(;;)if(g==22){i=ab;i=IHEAP[i+1];if(!(i<7)){g=23;continue b}i=j=i=aa;IHEAP[i]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[j]=__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+2;i=db;j=ab;k=i;g=IHEAP[k+52]!=0?25:26;c:for(;;)if(g==25)if(k=j,IHEAP[k+52]!=0){g=27;break c}else g=26;else if(g==26){k=i;g=IHEAP[k+52]!=0? +37:38;break c}c:for(;;)if(g==27){l=aa;p=IHEAP[b+5];h=V;k=nb;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(h,k,l,p)}catch(cc){if(ABORT)throw cc;__THREW__=!0;print("Exception: "+cc+" : "+cc.stack+", currently at: "+Error().stack)}if(__THREW__){g=82;break a}else{g=81;break c}}else if(g==37)if(k=j,IHEAP[k+1]==1){g=39;break c}else g=38;else if(g==38){ba=0;g=36;break c}c:for(;;)if(g==81){k=IHEAP[a+ +11];k=FHEAP[k+283];p=0;l=1;IHEAP[b+6]&1?(l=i,l=IHEAP[l+52],h=j,h=IHEAP[h+52],B=e,K=B+1,B=d,l=__ZN27btPolyhedralContactClipping18findSeparatingAxisERK18btConvexPolyhedronS2_RK11btTransformS5_R9btVector3(l,h,K,B+1,Cb)):(p=V,p+=4,h=B=h=p,h=FHEAP[h]*FHEAP[B]+FHEAP[h+1]*FHEAP[B+1]+FHEAP[h+2]*FHEAP[B+2],h=_sqrtf(h),FHEAP[I]=h,h=p,p=I,FHEAP[Q]=1/FHEAP[p],p=h,h=Q,FHEAP[N]=FHEAP[p]*FHEAP[h],FHEAP[R]=FHEAP[p+1]*FHEAP[h],FHEAP[O]=FHEAP[p+2]*FHEAP[h],p=Eb,h=N,B=R,K=O,FHEAP[p]=FHEAP[h],FHEAP[p+1]=FHEAP[B],FHEAP[p+ +2]=FHEAP[K],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Cb,Eb,4,4,0),p=V,p=FHEAP[p+17]);g=l&1?31:32;d:for(;;)if(g==31){l=i;l=IHEAP[l+52];h=j;h=IHEAP[h+52];B=e;B+=1;K=d;K+=1;var Xb=p-k,Yb=k;g=c;try{__THREW__=!1,__ZN27btPolyhedralContactClipping19clipHullAgainstHullERK9btVector3RK18btConvexPolyhedronS5_RK11btTransformS8_ffRN36btDiscreteCollisionDetectorInterface6ResultE(Cb,l,h,B,K,Xb,Yb,g)}catch(ac){if(ABORT)throw ac;__THREW__=!0;print("Exception: "+ac+" : "+ac.stack+", currently at: "+Error().stack)}if(__THREW__){g= +82;break a}else g=32}else if(g==32){g=IHEAP[a+10]&1?33:34;break d}for(;;)if(g==33)if(k=c,l=IHEAP[k+4],IHEAP[l+282]==0)g=34;else{l=IHEAP[k+4];p=IHEAP[l+280]!=IHEAP[k+37];l=IHEAP[k+4];if(p&1){p=k+21;k+=5;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(l,p,k)}catch(bc){if(ABORT)throw bc;__THREW__=!0;print("Exception: "+bc+" : "+bc.stack+", currently at: "+Error().stack)}}else{p=k+5;k+=21;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(l, +p,k)}catch(ec){if(ABORT)throw ec;__THREW__=!0;print("Exception: "+ec+" : "+ec.stack+", currently at: "+Error().stack)}}if(__THREW__){g=82;break a}else g=34}else if(g==34){ba=1;g=36;continue c}}else if(g==39){l=aa;p=IHEAP[b+5];h=V;k=nb;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(h,k,l,p)}catch(hc){if(ABORT)throw hc;__THREW__=!0;print("Exception: "+hc+" : "+hc.stack+", currently at: "+ +Error().stack)}if(__THREW__){g=82;break a}k=V;k+=4;l=p=l=k;l=FHEAP[l]*FHEAP[p]+FHEAP[l+1]*FHEAP[p+1]+FHEAP[l+2]*FHEAP[p+2];l=_sqrtf(l);FHEAP[M]=l;l=k;k=M;FHEAP[H]=1/FHEAP[k];k=l;l=H;FHEAP[F]=FHEAP[k]*FHEAP[l];FHEAP[G]=FHEAP[k+1]*FHEAP[l];FHEAP[J]=FHEAP[k+2]*FHEAP[l];k=Ib;l=F;p=G;h=J;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[p];FHEAP[k+2]=FHEAP[h];FHEAP[k+3]=0;k=X;IHEAP[k+4]=1;IHEAP[k+3]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;k=j;l=d;p=k+56;l+=1;__ZNK11btTransformclERK9btVector3(Jb,l,p);p=X;l=Jb;h=p;B=h=IHEAP[h+1]; +h=p;g=B==IHEAP[h+2]?40:41;d:for(;;)if(g==40){h=p;B=IHEAP[h+1];B!=0?(h=40,g=42):(h=40,g=43);for(;;)if(g==42){var pc=B*2,h=42;g=43}else if(g==43){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(p,h==42?pc:1);g=41;continue d}}else if(g==41){var qc=IHEAP[p+3]+4*IHEAP[p+1];g=qc==0?44:45;break d}d:for(;;)if(g==44){IHEAP[p+1]+=1;z=d;x=k+56+4;z+=1;__ZNK11btTransformclERK9btVector3(Ab,z,x);x=X;z=Ab;l=x;p=l=IHEAP[l+1];l=x;g=p==IHEAP[l+2]?46:47;break d}else g==45&&(_llvm_memcpy_p0i8_p0i8_i32(qc,l,4,4,0),g= +44);d:for(;;)if(g==46){l=x;l=IHEAP[l+1];l!=0?(h=46,g=48):(h=46,g=49);for(;;)if(g==48){var rc=l*2,h=48;g=49}else if(g==49){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(x,h==48?rc:1);g=47;continue d}}else if(g==47){var sc=IHEAP[x+3]+4*IHEAP[x+1];g=sc==0?50:51;break d}d:for(;;)if(g==50){IHEAP[x+1]+=1;y=d;v=k+56+8;y+=1;__ZNK11btTransformclERK9btVector3(qb,y,v);v=X;y=qb;k=v;l=k=IHEAP[k+1];k=v;g=l==IHEAP[k+2]?52:53;break d}else g==51&&(_llvm_memcpy_p0i8_p0i8_i32(sc,z,4,4,0),g=50);d:for(;;)if(g==52){k= +v;k=IHEAP[k+1];k!=0?(h=52,g=54):(h=52,g=55);for(;;)if(g==54){var tc=k*2,h=54;g=55}else if(g==55){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(v,h==54?tc:1);g=53;continue d}}else if(g==53){var uc=IHEAP[v+3]+4*IHEAP[v+1];g=uc==0?56:57;break d}d:for(;;)if(g==56){IHEAP[v+1]+=1;k=IHEAP[a+11];k=FHEAP[k+283];l=V;h=FHEAP[l+17];l=i;l=IHEAP[l+52];p=e;p+=1;h-=k;B=c;try{__THREW__=!1,__ZN27btPolyhedralContactClipping19clipFaceAgainstHullERK9btVector3RK18btConvexPolyhedronRK11btTransformR20btAlignedObjectArrayIS0_EffRN36btDiscreteCollisionDetectorInterface6ResultE(Ib, +l,p,X,h,k,B)}catch(fc){if(ABORT)throw fc;__THREW__=!0;print("Exception: "+fc+" : "+fc.stack+", currently at: "+Error().stack)}if(__THREW__){g=85;break a}else break d}else g==57&&(_llvm_memcpy_p0i8_p0i8_i32(uc,y,4,4,0),g=56);for(g=IHEAP[a+10]&1?58:59;;)if(g==58)if(k=c,l=IHEAP[k+4],IHEAP[l+282]==0)g=59;else{l=IHEAP[k+4];p=IHEAP[l+280]!=IHEAP[k+37];l=IHEAP[k+4];if(p&1){p=k+21;k+=5;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(l,p,k)}catch(ic){if(ABORT)throw ic; +__THREW__=!0;print("Exception: "+ic+" : "+ic.stack+", currently at: "+Error().stack)}}else{p=k+5;k+=21;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(l,p,k)}catch(gc){if(ABORT)throw gc;__THREW__=!0;print("Exception: "+gc+" : "+gc.stack+", currently at: "+Error().stack)}}if(__THREW__){g=85;break a}else g=59}else if(g==59){ba=1;k=X;__ZN20btAlignedObjectArrayI9btVector3E5clearEv(k);g=36;continue c}}else if(g==36)if(i=aa,IHEAP[i]=__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+ +2,IHEAP[i]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2,ba==0){g=23;continue b}else{g=61;break a}}else if(g==23){j=c;k=IHEAP[b+5];l=V;i=nb;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(l,i,j,k)}catch(jc){if(ABORT)throw jc;__THREW__=!0;print("Exception: "+jc+" : "+jc.stack+", currently at: "+Error().stack)}if(__THREW__){g=87;continue a}else break b}if(IHEAP[a+13]==0){g=63;break a}i= +c;i=IHEAP[i+4];if(!(IHEAP[i+282]<IHEAP[a+14])){g=63;break a}i=V;i+=4;j=k=j=i;j=FHEAP[j]*FHEAP[k]+FHEAP[j+1]*FHEAP[k+1]+FHEAP[j+2]*FHEAP[k+2];j=_sqrtf(j);FHEAP[q]=j;j=i;i=q;FHEAP[o]=1/FHEAP[i];i=j;j=o;FHEAP[f]=FHEAP[i]*FHEAP[j];FHEAP[m]=FHEAP[i+1]*FHEAP[j];FHEAP[n]=FHEAP[i+2]*FHEAP[j];i=Ob;j=f;k=m;l=n;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Gb,Ob,4,4,0);__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(Gb,Nb,rb);i=db;j=IHEAP[IHEAP[i]+4];var kc;try{__THREW__= +!1,kc=FUNCTION_TABLE[j](i)}catch(lc){if(ABORT)throw lc;__THREW__=!0;print("Exception: "+lc+" : "+lc.stack+", currently at: "+Error().stack);kc=null}if(__THREW__){g=87;continue a}i=kc;j=ab;k=IHEAP[IHEAP[j]+4];var mc;try{__THREW__=!1,mc=FUNCTION_TABLE[k](j)}catch(nc){if(ABORT)throw nc;__THREW__=!0;print("Exception: "+nc+" : "+nc.stack+", currently at: "+Error().stack);mc=null}if(__THREW__){g=87;continue a}j=mc;k=FHEAP[_gContactBreakingThreshold];if(i<j){var vc=k/i;FHEAP[hb]=vc;i=1;h=65}else{var wc= +k/j;FHEAP[hb]=wc;i=0;h=67}g=(h==67?wc:vc)>0.39269909262657166?68:69;b:for(;;)if(g==68)FHEAP[hb]=0.39269909262657166,g=69;else if(g==69){g=i&1?70:71;break b}g==70?(j=nb,k=Sb,p=j,l=k,_llvm_memcpy_p0i8_p0i8_i32(l,p,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+4,p+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+8,p+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+12,j+12,4,4,0)):g==71&&(j=nb+16,k=Sb,p=j,l=k,_llvm_memcpy_p0i8_p0i8_i32(l,p,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+4,p+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+8,p+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+ +12,j+12,4,4,0));j=0;k=a+13;l=a+13;p=nb;h=nb+16;B=nb;K=nb+16;Xb=Ea;Yb=nb+16;b:for(;;){if(!(j<IHEAP[k])){g=63;break a}g=s=g=Nb;for(g=FHEAP[g]*FHEAP[s]+FHEAP[g+1]*FHEAP[s+1]+FHEAP[g+2]*FHEAP[s+2]>1.1920928955078125E-7?75:76;;)if(g==75){s=Ub;u=Nb;g=hb;__ZN12btQuaternion11setRotationERK9btVector3RKf(s,u,g);FHEAP[Vb]=j*(6.2831854820251465/IHEAP[l]);s=Hb;u=Gb;g=Vb;__ZN12btQuaternion11setRotationERK9btVector3RKf(s,u,g);i&1?(g=Hb,FHEAP[w]=0-FHEAP[g],FHEAP[D]=0-FHEAP[g+1],FHEAP[E]=0-FHEAP[g+2],A=g+3,g=Qb,s= +w,u=D,C=E,FHEAP[g]=FHEAP[s],FHEAP[g+1]=FHEAP[u],FHEAP[g+2]=FHEAP[C],FHEAP[g+3]=FHEAP[A],__ZmlRK12btQuaternionS1_(xb,Qb,Ub),__ZmlRK12btQuaternionS1_(Db,xb,Hb),g=ob,s=Db,__ZN11btMatrix3x311setRotationERK12btQuaternion(g,s),g=e,g+=1,__ZmlRK11btMatrix3x3S1_(Lb,ob,g),g=p,s=Lb,_llvm_memcpy_p0i8_p0i8_i32(g,s,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+4,s+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+8,s+8,4,4,0),g=d,g+=1,s=h,C=g,u=s,_llvm_memcpy_p0i8_p0i8_i32(u,C,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+4,C+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+ +8,C+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(s+12,g+12,4,4,0)):(g=e,g+=1,s=p,C=g,u=s,_llvm_memcpy_p0i8_p0i8_i32(u,C,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+4,C+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(u+8,C+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(s+12,g+12,4,4,0),g=Hb,FHEAP[yb]=0-FHEAP[g],FHEAP[ub]=0-FHEAP[g+1],FHEAP[Ma]=0-FHEAP[g+2],A=g+3,g=Mb,s=yb,u=ub,C=Ma,FHEAP[g]=FHEAP[s],FHEAP[g+1]=FHEAP[u],FHEAP[g+2]=FHEAP[C],FHEAP[g+3]=FHEAP[A],__ZmlRK12btQuaternionS1_(Zb,Mb,Ub),__ZmlRK12btQuaternionS1_($b,Zb,Hb),g=Tb,s=$b, +__ZN11btMatrix3x311setRotationERK12btQuaternion(g,s),g=d,g+=1,__ZmlRK11btMatrix3x3S1_(Wb,Tb,g),g=Yb,s=Wb,_llvm_memcpy_p0i8_p0i8_i32(g,s,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+4,s+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+8,s+8,4,4,0));g=c;va=i&1;pb=IHEAP[b+5];C=Ea;A=g;u=B;s=K;g=Sb;va&=1;try{__THREW__=!1,__ZN24btPerturbedContactResultC2EP16btManifoldResultRK11btTransformS4_S4_bP12btIDebugDraw(C,A,u,s,g,va,pb)}catch(oc){if(ABORT)throw oc;__THREW__=!0;print("Exception: "+oc+" : "+oc.stack+", currently at: "+ +Error().stack)}if(__THREW__){g=87;continue a}s=IHEAP[b+5];u=V;C=nb;g=Xb;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(u,C,g,s)}catch(xc){if(ABORT)throw xc;__THREW__=!0;print("Exception: "+xc+" : "+xc.stack+", currently at: "+Error().stack)}if(__THREW__){g=90;break a}g=Ea;IHEAP[g]=__ZTV24btPerturbedContactResult+2;IHEAP[g]=__ZTV16btManifoldResult+2;IHEAP[g]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+ +2;g=76}else if(g==76){j+=1;g=73;continue b}}}else if(g==87){L=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);g=29;break a}a:for(;;){if(g==5){FHEAP[T]=0;g=7;break a}else if(g==6){FHEAP[T]=(ea-ha*xa)/Ba;g=FHEAP[T]<0-ra?8:9;break a}else if(g==82)L=r=_llvm_eh_exception(),_llvm_eh_selector(r,___gxx_personality_v0,0);else if(g==29)throw a=V,IHEAP[a]=__ZTV17btGjkPairDetector+2,IHEAP[a]=__ZTV36btDiscreteCollisionDetectorInterface+2,__Unwind_Resume_or_Rethrow(L),"Reached an unreachable! Original .ll line: 118806"; +else if(g==85)L=r=_llvm_eh_exception(),_llvm_eh_selector(r,___gxx_personality_v0,0),r=X,__ZN20btAlignedObjectArrayI9btVector3E5clearEv(r);else if(g==61){L=V;IHEAP[L]=__ZTV17btGjkPairDetector+2;IHEAP[L]=__ZTV36btDiscreteCollisionDetectorInterface+2;g=ba==1?21:78;break a}else if(g==63){ba=0;g=61;continue a}else if(g==90){L=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);r=Ea;IHEAP[r]=__ZTV24btPerturbedContactResult+2;IHEAP[r]=__ZTV16btManifoldResult+2;IHEAP[r]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+ +2;g=29;continue a}r=aa;IHEAP[r]=__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+2;IHEAP[r]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;g=29}a:for(;;)if(g==7){FHEAP[U]=FHEAP[T]*xa-ha;L=FHEAP[U]<0-Da;b:do{if(L)FHEAP[U]=0-Da;else{if(!(FHEAP[U]>Da))break b;FHEAP[U]=Da}FHEAP[T]=FHEAP[U]*xa+ea;if(FHEAP[T]<0-ra)FHEAP[T]=0-ra;else{if(!(FHEAP[T]>ra))break b;FHEAP[T]=ra}}while(0);L=ma;V=T;ba=ta;FHEAP[ka]=FHEAP[ba]* +FHEAP[V];FHEAP[da]=FHEAP[ba+1]*FHEAP[V];FHEAP[fa]=FHEAP[ba+2]*FHEAP[V];ba=Oa;V=ka;aa=da;X=fa;FHEAP[ba]=FHEAP[V];FHEAP[ba+1]=FHEAP[aa];FHEAP[ba+2]=FHEAP[X];FHEAP[ba+3]=0;_llvm_memcpy_p0i8_p0i8_i32(L,Oa,4,4,0);L=S;V=U;ba=oa;FHEAP[ga]=FHEAP[ba]*FHEAP[V];FHEAP[ja]=FHEAP[ba+1]*FHEAP[V];FHEAP[la]=FHEAP[ba+2]*FHEAP[V];ba=Fa;V=ga;aa=ja;X=la;FHEAP[ba]=FHEAP[V];FHEAP[ba+1]=FHEAP[aa];FHEAP[ba+2]=FHEAP[X];FHEAP[ba+3]=0;_llvm_memcpy_p0i8_p0i8_i32(L,Fa,4,4,0);L=ia;V=ma;ba=W;FHEAP[qa]=FHEAP[ba]-FHEAP[V];FHEAP[pa]= +FHEAP[ba+1]-FHEAP[V+1];FHEAP[wa]=FHEAP[ba+2]-FHEAP[V+2];ba=Ha;V=qa;aa=pa;X=wa;FHEAP[ba]=FHEAP[V];FHEAP[ba+1]=FHEAP[aa];FHEAP[ba+2]=FHEAP[X];FHEAP[ba+3]=0;V=S;ba=Ha;FHEAP[ua]=FHEAP[ba]+FHEAP[V];FHEAP[na]=FHEAP[ba+1]+FHEAP[V+1];FHEAP[ya]=FHEAP[ba+2]+FHEAP[V+2];ba=La;V=ua;aa=na;X=ya;FHEAP[ba]=FHEAP[V];FHEAP[ba+1]=FHEAP[aa];FHEAP[ba+2]=FHEAP[X];FHEAP[ba+3]=0;_llvm_memcpy_p0i8_p0i8_i32(L,La,4,4,0);L=ba=L=bb;L=FHEAP[L]*FHEAP[ba]+FHEAP[L+1]*FHEAP[ba+1]+FHEAP[L+2]*FHEAP[ba+2];L=_sqrtf(L)-fb-FHEAP[ib];L>Za|| +(ba=V=ba=bb,V=FHEAP[ba]*FHEAP[V]+FHEAP[ba+1]*FHEAP[V+1]+FHEAP[ba+2]*FHEAP[V+2],ba=Ta,V<=1.4210854715202004E-14?__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(gb,ba,kb):(V=0-1/_sqrtf(V),FHEAP[tb]=V,V=bb,aa=tb,FHEAP[Ca]=FHEAP[V]*FHEAP[aa],FHEAP[Aa]=FHEAP[V+1]*FHEAP[aa],FHEAP[za]=FHEAP[V+2]*FHEAP[aa],V=Bb,aa=Ca,X=Aa,Ea=za,FHEAP[V]=FHEAP[aa],FHEAP[V+1]=FHEAP[X],FHEAP[V+2]=FHEAP[Ea],FHEAP[V+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ba,Bb,4,4,0)),ba=Va,V=Na,V+=12,aa=Ka,FHEAP[Ja]=FHEAP[V]+FHEAP[aa],FHEAP[Ra]=FHEAP[V+ +1]+FHEAP[aa+1],FHEAP[Ua]=FHEAP[V+2]+FHEAP[aa+2],V=Qa,aa=Ja,X=Ra,Ea=Ua,FHEAP[V]=FHEAP[aa],FHEAP[V+1]=FHEAP[X],FHEAP[V+2]=FHEAP[Ea],FHEAP[V+3]=0,V=Ta,aa=ib,FHEAP[Xa]=FHEAP[V]*FHEAP[aa],FHEAP[Wa]=FHEAP[V+1]*FHEAP[aa],FHEAP[Sa]=FHEAP[V+2]*FHEAP[aa],V=wb,aa=Xa,X=Wa,Ea=Sa,FHEAP[V]=FHEAP[aa],FHEAP[V+1]=FHEAP[X],FHEAP[V+2]=FHEAP[Ea],FHEAP[V+3]=0,V=Qa,aa=wb,FHEAP[Ga]=FHEAP[V]+FHEAP[aa],FHEAP[Ia]=FHEAP[V+1]+FHEAP[aa+1],FHEAP[Pa]=FHEAP[V+2]+FHEAP[aa+2],V=mb,aa=Ga,X=Ia,Ea=Pa,FHEAP[V]=FHEAP[aa],FHEAP[V+1]=FHEAP[X], +FHEAP[V+2]=FHEAP[Ea],FHEAP[V+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ba,mb,4,4,0));for(g=L<sa?18:19;;)if(g==18)ba=c,FUNCTION_TABLE[IHEAP[IHEAP[ba]+4]](ba,vb,Fb,L),g=19;else if(g==19)if(P=c,L=IHEAP[P+4],IHEAP[L+282]!=0)break;else{g=21;continue a}L=IHEAP[P+4];L=IHEAP[L+280]!=IHEAP[P+37];ba=IHEAP[P+4];L&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(ba,P+21,P+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(ba,P+5,P+21);g=21}else if(g==8)FHEAP[T]=0-ra,g=7;else if(g== +9){if(!(FHEAP[T]>ra)){g=7;continue a}FHEAP[T]=ra;g=7}else if(g==21){STACKTOP=f;break}else if(g==78){if(!(IHEAP[a+10]&1)){g=21;continue a}L=c;ba=IHEAP[L+4];if(IHEAP[ba+282]==0){g=21;continue a}ba=IHEAP[L+4];ba=IHEAP[ba+280]!=IHEAP[L+37];V=IHEAP[L+4];ba&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(V,L+21,L+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(V,L+5,L+21);g=21}} +function __ZN24btPerturbedContactResultD1Ev(a){IHEAP[a]=__ZTV24btPerturbedContactResult+2;IHEAP[a]=__ZTV16btManifoldResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2} +function __ZN23btConvexConvexAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d){a=STACKTOP;STACKTOP+=402;var b,c,f=a+1;b=a+2;var g,h,i;c=a+3;var j=a+4,k=a+5,l,m,n,o,q,p,r,s,u,v=a+6;g=a+10;q=a+14;o=a+66;l=a+110;n=a+201;var y=a+208,x=a+260;p=a+304;var z=a+395;u=1;var B=e+1+12;i=e+17+12;FHEAP[c]=FHEAP[i]-FHEAP[B];FHEAP[j]=FHEAP[i+1]-FHEAP[B+1];FHEAP[k]=FHEAP[i+2]-FHEAP[B+2];FHEAP[v]=FHEAP[c];FHEAP[v+1]=FHEAP[j];FHEAP[v+2]=FHEAP[k];FHEAP[v+3]=0;i=FHEAP[v]* +FHEAP[v]+FHEAP[v+1]*FHEAP[v+1]+FHEAP[v+2]*FHEAP[v+2];j=d+1+12;c=d+17+12;FHEAP[a]=FHEAP[c]-FHEAP[j];FHEAP[f]=FHEAP[c+1]-FHEAP[j+1];FHEAP[b]=FHEAP[c+2]-FHEAP[j+2];FHEAP[g]=FHEAP[a];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[b];FHEAP[g+3]=0;f=FHEAP[g]*FHEAP[g]+FHEAP[g+1]*FHEAP[g+1]+FHEAP[g+2]*FHEAP[g+2];b=i<FHEAP[e+62]*FHEAP[e+62]?0:1;a:for(;;)if(b==0)if(b=f,g=d,b<FHEAP[g+62]*FHEAP[g+62]){b=2;break a}else b=1;else if(b==1){b=IHEAP[_disableCcd]&1?4:5;break a}a:do if(b==2)h=u;else if(b==4)h=1;else if(b==5){h= +e;h=IHEAP[h+48];f=d;__ZN13btSphereShapeC1Ef(q,FHEAP[f+61]);f=o;IHEAP[f]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[f+41]=999999984306749440;IHEAP[f+42]=0;FHEAP[f+43]=0;f=l;FHEAP[f+77]=9.999999747378752E-5;f+=79;f+=4;IHEAP[f]&=-2;IHEAP[f]&=-3;IHEAP[f]&=-5;IHEAP[f]&=-9;b=q;f=g=f=n;IHEAP[f]=__ZTV12btConvexCast+2;IHEAP[g]=__ZTV15btGjkConvexCast+2;IHEAP[g+4]=l;IHEAP[g+5]=h;IHEAP[g+6]=b;l=e;l+=1;h=e;h+=17;f=d;f+=1;b=d;b+=17;try{__THREW__=!1,m=__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(n, +l,h,f,b,o)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack);m=null}b=__THREW__?23:22;if(b==22){b=m?6:7;b:for(;;)if(b==6){m=e;b=FHEAP[m+60]>FHEAP[o+41]?8:9;c:for(;;)if(b==8)l=FHEAP[o+41],m=e,FHEAP[m+60]=l,b=9;else if(b==9){m=d;b=FHEAP[m+60]>FHEAP[o+41]?10:11;break c}for(;;)if(b==10)l=FHEAP[o+41],m=d,FHEAP[m+60]=l,b=11;else if(b==11)if(u>FHEAP[o+41])break;else{b=7;continue b}u=FHEAP[o+41];b=7}else if(b==7){IHEAP[n]=__ZTV15btGjkConvexCast+2; +IHEAP[n]=__ZTV12btConvexCast+2;IHEAP[o]=__ZTVN12btConvexCast10CastResultE+2;IHEAP[q]=__ZTV13btSphereShape+2;IHEAP[q]=__ZTV21btConvexInternalShape+2;IHEAP[q]=__ZTV13btConvexShape+2;IHEAP[q]=__ZTV16btCollisionShape+2;q=d;q=IHEAP[q+48];o=e;__ZN13btSphereShapeC1Ef(y,FHEAP[o+61]);o=x;IHEAP[o]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[o+41]=999999984306749440;IHEAP[o+42]=0;FHEAP[o+43]=0;o=p;FHEAP[o+77]=9.999999747378752E-5;o+=79;o+=4;IHEAP[o]&=-2;IHEAP[o]&=-3;IHEAP[o]&=-5;IHEAP[o]&=-9;n=y;m=q;o=z;q=n;n= +m;o=m=o;IHEAP[o]=__ZTV12btConvexCast+2;IHEAP[m]=__ZTV15btGjkConvexCast+2;IHEAP[m+4]=p;IHEAP[m+5]=q;IHEAP[m+6]=n;p=e;p+=1;q=e;q+=17;o=d;o+=1;n=d;n+=17;try{__THREW__=!1,r=__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(z,p,q,o,n,x)}catch(A){if(ABORT)throw A;__THREW__=!0;print("Exception: "+A+" : "+A.stack+", currently at: "+Error().stack);r=null}b=__THREW__?25:24;break b}if(b==24){b=r?13:14;b:for(;;)if(b==13){r=e;b=FHEAP[r+60]>FHEAP[x+41]?15:16;c:for(;;)if(b== +15)p=FHEAP[x+41],r=e,FHEAP[r+60]=p,b=16;else if(b==16){r=d;b=FHEAP[r+60]>FHEAP[x+41]?18:19;break c}for(;;)if(b==18)p=FHEAP[x+41],r=d,FHEAP[r+60]=p,b=19;else if(b==19)if(u>FHEAP[x+41])break;else{b=14;continue b}u=FHEAP[x+41];b=14}else if(b==14){s=z;IHEAP[s]=__ZTV15btGjkConvexCast+2;IHEAP[s]=__ZTV12btConvexCast+2;s=x;IHEAP[s]=__ZTVN12btConvexCast10CastResultE+2;s=y;IHEAP[s]=__ZTV13btSphereShape+2;IHEAP[s]=__ZTV21btConvexInternalShape+2;IHEAP[s]=__ZTV13btConvexShape+2;IHEAP[s]=__ZTV16btCollisionShape+ +2;h=u;break a}}else b==25&&(s=a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),a=z,IHEAP[a]=__ZTV15btGjkConvexCast+2,IHEAP[a]=__ZTV12btConvexCast+2,a=x,IHEAP[a]=__ZTVN12btConvexCast10CastResultE+2,a=y,IHEAP[a]=__ZTV13btSphereShape+2,IHEAP[a]=__ZTV21btConvexInternalShape+2,IHEAP[a]=__ZTV13btConvexShape+2,IHEAP[a]=__ZTV16btCollisionShape+2)}else b==23&&(s=a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),a=n,IHEAP[a]=__ZTV15btGjkConvexCast+2,IHEAP[a]=__ZTV12btConvexCast+ +2,a=o,IHEAP[a]=__ZTVN12btConvexCast10CastResultE+2,a=q,IHEAP[a]=__ZTV13btSphereShape+2,IHEAP[a]=__ZTV21btConvexInternalShape+2,IHEAP[a]=__ZTV13btConvexShape+2,IHEAP[a]=__ZTV16btCollisionShape+2);__Unwind_Resume_or_Rethrow(s);throw"Reached an unreachable! Original .ll line: 119928";}while(0);STACKTOP=a;return h} +function __ZN23btConvexConvexAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+11]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+10]&1)){d=1;continue a}g=a+11;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+1]; +d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __ZN23btConvexConvexAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e){var d,b=null,c,f,g,h,i,j,k,l=IHEAP[e],l=FUNCTION_TABLE[IHEAP[IHEAP[l]+14]](l,36);l==0?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==-1?0:m;else if(d==1){var m=l;d=IHEAP[e+1];g=e;b=IHEAP[a+6];i=IHEAP[a+5];j=IHEAP[a+7];k=IHEAP[a+8];h=m;c=g;g=h;f=c;c=g;IHEAP[c]=__ZTV20btCollisionAlgorithm+2;IHEAP[c+1]=IHEAP[f];IHEAP[g]=__ZTV30btActivatingCollisionAlgorithm+ +2;IHEAP[h]=__ZTV23btConvexConvexAlgorithm+2;IHEAP[h+8]=b;IHEAP[h+9]=i;IHEAP[h+10]=0;IHEAP[h+11]=d;IHEAP[h+12]=0;IHEAP[h+13]=j;IHEAP[h+14]=k;b=1;d=0}return null}function __ZN24btPerturbedContactResultD0Ev(a){IHEAP[a]=__ZTV24btPerturbedContactResult+2;IHEAP[a]=__ZTV16btManifoldResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZdlPv(a)} +function __ZN24btPerturbedContactResult15addContactPointERK9btVector3S2_f(a,e,d,b){var c=STACKTOP;STACKTOP+=170;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+9,o=c+10,q=c+11,p=c+12,r=c+13,s=c+14,u=c+15,v=c+27,y=c+31,x=c+32,z=c+33,B=c+34,C=c+35,A=c+36,w=c+37,D=c+49,E=c+53,F=c+54,G=c+55,J=c+56,H=c+57,M=c+61,K=c+65,N=c+66,R=c+70,O=c+74,Q=c+90,I=c+106,L=c+110,P=c+114,S=c+118,T=c+122,U=c+126,W=c+130,Z=c+146,ca=c+162,Y=c+166;FHEAP[J]=b;IHEAP[a+209]&1?(FHEAP[B]=FHEAP[e]*FHEAP[J],FHEAP[C]=FHEAP[e+ +1]*FHEAP[J],FHEAP[A]=FHEAP[e+2]*FHEAP[J],FHEAP[R]=FHEAP[B],FHEAP[R+1]=FHEAP[C],FHEAP[R+2]=FHEAP[A],FHEAP[R+3]=0,FHEAP[y]=FHEAP[d]+FHEAP[R],FHEAP[x]=FHEAP[d+1]+FHEAP[R+1],FHEAP[z]=FHEAP[d+2]+FHEAP[R+2],FHEAP[N]=FHEAP[y],FHEAP[N+1]=FHEAP[x],FHEAP[N+2]=FHEAP[z],FHEAP[N+3]=0,w=a+193,__ZNK11btTransform7inverseEv(O,a+161),__ZmlRK11btMatrix3x3S1_(u,w,O),__ZNK11btTransformclERK9btVector3(v,w,O+12),_llvm_memcpy_p0i8_p0i8_i32(Q,u,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Q+4,u+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Q+ +8,u+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Q+12,v,4,4,0),__ZNK11btTransformclERK9btVector3(I,Q,N),_llvm_memcpy_p0i8_p0i8_i32(H,I,4,4,0),FHEAP[p]=FHEAP[H]-FHEAP[d],FHEAP[r]=FHEAP[H+1]-FHEAP[d+1],FHEAP[s]=FHEAP[H+2]-FHEAP[d+2],FHEAP[L]=FHEAP[p],FHEAP[L+1]=FHEAP[r],FHEAP[L+2]=FHEAP[s],FHEAP[L+3]=0,FHEAP[K]=FHEAP[L]*FHEAP[e]+FHEAP[L+1]*FHEAP[e+1]+FHEAP[L+2]*FHEAP[e+2],FHEAP[n]=FHEAP[e]*FHEAP[K],FHEAP[o]=FHEAP[e+1]*FHEAP[K],FHEAP[q]=FHEAP[e+2]*FHEAP[K],FHEAP[P]=FHEAP[n],FHEAP[P+1]=FHEAP[o],FHEAP[P+2]=FHEAP[q], +FHEAP[P+3]=0,FHEAP[k]=FHEAP[H]+FHEAP[P],FHEAP[l]=FHEAP[H+1]+FHEAP[P+1],FHEAP[m]=FHEAP[H+2]+FHEAP[P+2],FHEAP[S]=FHEAP[k],FHEAP[S+1]=FHEAP[l],FHEAP[S+2]=FHEAP[m],FHEAP[S+3]=0,_llvm_memcpy_p0i8_p0i8_i32(M,S,4,4,0)):(FHEAP[h]=FHEAP[e]*FHEAP[J],FHEAP[i]=FHEAP[e+1]*FHEAP[J],FHEAP[j]=FHEAP[e+2]*FHEAP[J],FHEAP[T]=FHEAP[h],FHEAP[T+1]=FHEAP[i],FHEAP[T+2]=FHEAP[j],FHEAP[T+3]=0,FHEAP[c]=FHEAP[d]+FHEAP[T],FHEAP[f]=FHEAP[d+1]+FHEAP[T+1],FHEAP[g]=FHEAP[d+2]+FHEAP[T+2],FHEAP[U]=FHEAP[c],FHEAP[U+1]=FHEAP[f],FHEAP[U+ +2]=FHEAP[g],FHEAP[U+3]=0,_llvm_memcpy_p0i8_p0i8_i32(H,U,4,4,0),k=a+193,__ZNK11btTransform7inverseEv(W,a+177),__ZmlRK11btMatrix3x3S1_(w,k,W),__ZNK11btTransformclERK9btVector3(D,k,W+12),_llvm_memcpy_p0i8_p0i8_i32(Z,w,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Z+4,w+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Z+8,w+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(Z+12,D,4,4,0),__ZNK11btTransformclERK9btVector3(ca,Z,d),_llvm_memcpy_p0i8_p0i8_i32(M,ca,4,4,0),FHEAP[E]=FHEAP[H]-FHEAP[M],FHEAP[F]=FHEAP[H+1]-FHEAP[M+1],FHEAP[G]=FHEAP[H+ +2]-FHEAP[M+2],FHEAP[Y]=FHEAP[E],FHEAP[Y+1]=FHEAP[F],FHEAP[Y+2]=FHEAP[G],FHEAP[Y+3]=0,FHEAP[K]=FHEAP[Y]*FHEAP[e]+FHEAP[Y+1]*FHEAP[e+1]+FHEAP[Y+2]*FHEAP[e+2]);a=IHEAP[a+160];FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,e,M,FHEAP[K]);STACKTOP=c} +function __ZN24btPerturbedContactResultC2EP16btManifoldResultRK11btTransformS4_S4_bP12btIDebugDraw(a,e,d,b,c,f,g){IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[a]=__ZTV16btManifoldResult+2;IHEAP[a+39]=-1;IHEAP[a+40]=-1;IHEAP[a+41]=-1;IHEAP[a+42]=-1;IHEAP[a]=__ZTV24btPerturbedContactResult+2;IHEAP[a+160]=e;e=a+161;_llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4, +0);d=a+177;_llvm_memcpy_p0i8_p0i8_i32(d,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,b+12,4,4,0);b=a+193;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);IHEAP[a+209]=f&1;IHEAP[a+210]=g} +function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD2Ev(a){IHEAP[a]=__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2} +function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD0Ev(a){IHEAP[a]=__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+2;IHEAP[a]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;__ZdlPv(a)} +function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersAEii(){}function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersBEii(){} +function __ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult15addContactPointERK9btVector3SA_f(){}function __ZN27btConvex2dConvex2dAlgorithm10CreateFuncC2EP22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(a,e,d){IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;IHEAP[a+1]=0;IHEAP[a]=__ZTVN27btConvex2dConvex2dAlgorithm10CreateFuncE+2;IHEAP[a+7]=0;IHEAP[a+8]=3;IHEAP[a+6]=e;IHEAP[a+5]=d} +function __ZN27btConvex2dConvex2dAlgorithm10CreateFuncD0Ev(a){IHEAP[a]=__ZTVN27btConvex2dConvex2dAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2;__ZdlPv(a)}function __ZN27btConvex2dConvex2dAlgorithm10CreateFuncD2Ev(a){IHEAP[a]=__ZTVN27btConvex2dConvex2dAlgorithm10CreateFuncE+2;IHEAP[a]=__ZTV30btCollisionAlgorithmCreateFunc+2} +function __ZN27btConvex2dConvex2dAlgorithmC2EP20btPersistentManifoldRK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS6_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolverii(a,e,d,b,c,f,g,h,i){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[d];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV27btConvex2dConvex2dAlgorithm+2;IHEAP[a+8]=f;IHEAP[a+9]=g;IHEAP[a+10]=0;IHEAP[a+11]=e;IHEAP[a+12]=0;IHEAP[a+13]=h;IHEAP[a+14]=i} +function __ZN27btConvex2dConvex2dAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN27btConvex2dConvex2dAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 121690";} +function __ZN27btConvex2dConvex2dAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV27btConvex2dConvex2dAlgorithm+2;for(e=IHEAP[a+10]&1?0:1;;)if(e==0)if(IHEAP[a+11]==0)e=1;else{e=IHEAP[a+1];var d=IHEAP[IHEAP[e]+4],b=IHEAP[a+11];try{__THREW__=!1,FUNCTION_TABLE[d](e,b)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1){IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;return}e= +_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 121766";} +function __ZN27btConvex2dConvex2dAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=56;var g,h,i,j,k,l;l=f+34;g=IHEAP[a+11]!=0?0:1;a:for(;;)if(g==0){g=IHEAP[a+11];k=c;IHEAP[k+4]=g;k=e;g=IHEAP[k+48];k=d;k=IHEAP[k+48];h=f;FHEAP[h+32]=999999984306749440;IHEAP[h+33]=0;__ZN17btGjkPairDetectorC2EPK13btConvexShapeS2_P22btVoronoiSimplexSolverP30btConvexPenetrationDepthSolver(l,g,k,IHEAP[a+8],IHEAP[a+9]);i=g;h=l;IHEAP[h+10]=i;i=k; +h=l;IHEAP[h+11]=i;h=IHEAP[IHEAP[g]+11];var m;try{__THREW__=!1,m=FUNCTION_TABLE[h](g)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack);m=null}g=__THREW__?6:7;break a}else g==1&&(g=IHEAP[a+1],g=FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,e,d),IHEAP[a+11]=g,IHEAP[a+10]=1,g=0);a:for(;;)if(g==7){g=k;h=IHEAP[IHEAP[g]+11];var o;try{__THREW__=!1,o=FUNCTION_TABLE[h](g)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+ +Error().stack);o=null}if(__THREW__){g=6;continue a}h=m+o;g=IHEAP[a+11];FHEAP[f+32]=h+FHEAP[g+283];FHEAP[f+32]*=FHEAP[f+32];IHEAP[f+33]=IHEAP[b+12];g=f;h=e;i=h+1;h=g;j=g=i;i=h;_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,g+12,4,4,0);g=f+16;h=d;i=h+1;h=g;j=g=i;i=h;_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+ +12,g+12,4,4,0);h=c;i=IHEAP[b+5];j=l;g=f;try{__THREW__=!1,__ZN17btGjkPairDetector26getClosestPointsNonVirtualERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDraw(j,g,h,i)}catch(p){if(ABORT)throw p;__THREW__=!0;print("Exception: "+p+" : "+p.stack+", currently at: "+Error().stack)}if(__THREW__)g=6;else break a}else if(g==6)throw c=f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),f=l,IHEAP[f]=__ZTV17btGjkPairDetector+2,IHEAP[f]=__ZTV36btDiscreteCollisionDetectorInterface+ +2,__Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 122167";IHEAP[l]=__ZTV17btGjkPairDetector+2;IHEAP[l]=__ZTV36btDiscreteCollisionDetectorInterface+2;for(g=IHEAP[a+10]&1?2:3;;)if(g==2)l=c,a=IHEAP[l+4],IHEAP[a+282]!=0&&(a=IHEAP[l+4],a=IHEAP[a+280]!=IHEAP[l+37],e=IHEAP[l+4],a&1?__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(e,l+21,l+5):__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(e,l+5,l+21)),g=3;else if(g==3){STACKTOP=f;break}} +function __ZN27btConvex2dConvex2dAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d){a=STACKTOP;STACKTOP+=402;var b,c,f=a+1;b=a+2;var g,h;c=a+3;var i=a+4,j=a+5,k,l,m,n=a+6;g=a+10;var o=a+14,q=a+66,p;k=a+110;var r=a+201,s=a+208,u=a+260,v=a+304,y=a+395;l=1;var x=e+1+12;h=e+17+12;FHEAP[c]=FHEAP[h]-FHEAP[x];FHEAP[i]=FHEAP[h+1]-FHEAP[x+1];FHEAP[j]=FHEAP[h+2]-FHEAP[x+2];FHEAP[n]=FHEAP[c];FHEAP[n+1]=FHEAP[i];FHEAP[n+2]=FHEAP[j];FHEAP[n+3]=0;h=FHEAP[n]*FHEAP[n]+ +FHEAP[n+1]*FHEAP[n+1]+FHEAP[n+2]*FHEAP[n+2];i=d+1+12;c=d+17+12;FHEAP[a]=FHEAP[c]-FHEAP[i];FHEAP[f]=FHEAP[c+1]-FHEAP[i+1];FHEAP[b]=FHEAP[c+2]-FHEAP[i+2];FHEAP[g]=FHEAP[a];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[b];FHEAP[g+3]=0;f=FHEAP[g]*FHEAP[g]+FHEAP[g+1]*FHEAP[g+1]+FHEAP[g+2]*FHEAP[g+2];b=h<FHEAP[e+62]*FHEAP[e+62]?0:1;a:for(;;)if(b==0)if(b=f,g=d,b<FHEAP[g+62]*FHEAP[g+62]){b=2;break a}else b=1;else if(b==1){f=e;f=IHEAP[f+48];b=d;__ZN13btSphereShapeC1Ef(o,FHEAP[b+61]);b=q;IHEAP[b]=__ZTVN12btConvexCast10CastResultE+ +2;FHEAP[b+41]=999999984306749440;IHEAP[b+42]=0;FHEAP[b+43]=0;b=k;FHEAP[b+77]=9.999999747378752E-5;b+=79;b+=4;IHEAP[b]&=-2;IHEAP[b]&=-3;IHEAP[b]&=-5;IHEAP[b]&=-9;g=o;b=h=b=r;IHEAP[b]=__ZTV12btConvexCast+2;IHEAP[h]=__ZTV15btGjkConvexCast+2;IHEAP[h+4]=k;IHEAP[h+5]=f;IHEAP[h+6]=g;k=e;k+=1;f=e;f+=17;b=d;b+=1;g=d;g+=17;var z;try{__THREW__=!1,z=__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(r,k,f,b,g,q)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+ +B+" : "+B.stack+", currently at: "+Error().stack);z=null}b=__THREW__?20:19;break a}a:do if(b==2){m=l;b=3;break a}else if(b==19){b=z?4:5;b:for(;;)if(b==4){k=e;b=FHEAP[k+60]>FHEAP[q+41]?6:7;c:for(;;)if(b==6)f=FHEAP[q+41],k=e,FHEAP[k+60]=f,b=7;else if(b==7){k=d;b=FHEAP[k+60]>FHEAP[q+41]?8:9;break c}for(;;)if(b==8)f=FHEAP[q+41],k=d,FHEAP[k+60]=f,b=9;else if(b==9)if(l>FHEAP[q+41])break;else{b=5;continue b}l=FHEAP[q+41];b=5}else if(b==5){k=r;IHEAP[k]=__ZTV15btGjkConvexCast+2;IHEAP[k]=__ZTV12btConvexCast+ +2;k=q;IHEAP[k]=__ZTVN12btConvexCast10CastResultE+2;k=o;IHEAP[k]=__ZTV13btSphereShape+2;IHEAP[k]=__ZTV21btConvexInternalShape+2;IHEAP[k]=__ZTV13btConvexShape+2;IHEAP[k]=__ZTV16btCollisionShape+2;k=d;k=IHEAP[k+48];f=e;__ZN13btSphereShapeC1Ef(s,FHEAP[f+61]);f=u;IHEAP[f]=__ZTVN12btConvexCast10CastResultE+2;FHEAP[f+41]=999999984306749440;IHEAP[f+42]=0;FHEAP[f+43]=0;f=v;FHEAP[f+77]=9.999999747378752E-5;f+=79;f+=4;IHEAP[f]&=-2;IHEAP[f]&=-3;IHEAP[f]&=-5;IHEAP[f]&=-9;b=s;g=k;f=y;k=b;b=g;g=v;f=h=f;IHEAP[f]= +__ZTV12btConvexCast+2;IHEAP[h]=__ZTV15btGjkConvexCast+2;IHEAP[h+4]=g;IHEAP[h+5]=k;IHEAP[h+6]=b;k=e;k+=1;f=e;f+=17;b=d;b+=1;g=d;g+=17;var C;try{__THREW__=!1,C=__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE(y,k,f,b,g,u)}catch(A){if(ABORT)throw A;__THREW__=!0;print("Exception: "+A+" : "+A.stack+", currently at: "+Error().stack);C=null}b=__THREW__?22:21;break b}if(b==21){b=C?11:12;b:for(;;)if(b==11){k=e;b=FHEAP[k+60]>FHEAP[u+41]?13:14;c:for(;;)if(b==13)f= +FHEAP[u+41],k=e,FHEAP[k+60]=f,b=14;else if(b==14){k=d;b=FHEAP[k+60]>FHEAP[u+41]?16:17;break c}for(;;)if(b==16)f=FHEAP[u+41],k=d,FHEAP[k+60]=f,b=17;else if(b==17)if(l>FHEAP[u+41])break;else{b=12;continue b}l=FHEAP[u+41];b=12}else if(b==12){m=y;IHEAP[m]=__ZTV15btGjkConvexCast+2;IHEAP[m]=__ZTV12btConvexCast+2;m=u;IHEAP[m]=__ZTVN12btConvexCast10CastResultE+2;m=s;IHEAP[m]=__ZTV13btSphereShape+2;IHEAP[m]=__ZTV21btConvexInternalShape+2;IHEAP[m]=__ZTV13btConvexShape+2;IHEAP[m]=__ZTV16btCollisionShape+2;m= +l;b=3;break a}}else if(b==22){p=l=_llvm_eh_exception();_llvm_eh_selector(l,___gxx_personality_v0,0);l=y;IHEAP[l]=__ZTV15btGjkConvexCast+2;IHEAP[l]=__ZTV12btConvexCast+2;l=u;IHEAP[l]=__ZTVN12btConvexCast10CastResultE+2;l=s;IHEAP[l]=__ZTV13btSphereShape+2;IHEAP[l]=__ZTV21btConvexInternalShape+2;IHEAP[l]=__ZTV13btConvexShape+2;IHEAP[l]=__ZTV16btCollisionShape+2;b=15;break a}}else if(b==20){p=l=_llvm_eh_exception();_llvm_eh_selector(l,___gxx_personality_v0,0);l=r;IHEAP[l]=__ZTV15btGjkConvexCast+2;IHEAP[l]= +__ZTV12btConvexCast+2;l=q;IHEAP[l]=__ZTVN12btConvexCast10CastResultE+2;l=o;IHEAP[l]=__ZTV13btSphereShape+2;IHEAP[l]=__ZTV21btConvexInternalShape+2;IHEAP[l]=__ZTV13btConvexShape+2;IHEAP[l]=__ZTV16btCollisionShape+2;b=15;break a}while(0);if(b==3)return STACKTOP=a,m;else if(b==15)throw __Unwind_Resume_or_Rethrow(p),"Reached an unreachable! Original .ll line: 123250";return null} +function __ZN27btConvex2dConvex2dAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+11]!=0?0:1;a:for(;;)if(d==0){if(!(IHEAP[a+10]&1)){d=1;continue a}g=a+11;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?3:4;b:for(;;)if(d==3){d=f;c=IHEAP[d+1];c!=0?(b=3,d=5):(b=3,d=6);for(;;)if(d==5){var h=c*2,b=5;d=6}else if(d==6){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==5?h:1);d=4;continue b}}else if(d==4){var i=IHEAP[f+3]+IHEAP[f+ +1];d=i==0?7:8;break b}for(;;)if(d==7){IHEAP[f+1]+=1;d=1;continue a}else d==8&&(IHEAP[i]=IHEAP[g],d=7)}else if(d==1)break} +function __ZN27btConvex2dConvex2dAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e){var d,b=null,c,f,g,h,i,j,k,l=IHEAP[e],l=FUNCTION_TABLE[IHEAP[IHEAP[l]+14]](l,36);l==0?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==-1?0:m;else if(d==1){var m=l;d=IHEAP[e+1];g=e;b=IHEAP[a+6];i=IHEAP[a+5];j=IHEAP[a+7];k=IHEAP[a+8];h=m;c=g;g=h;f=c;c=g;IHEAP[c]=__ZTV20btCollisionAlgorithm+2;IHEAP[c+1]=IHEAP[f];IHEAP[g]=__ZTV30btActivatingCollisionAlgorithm+ +2;IHEAP[h]=__ZTV27btConvex2dConvex2dAlgorithm+2;IHEAP[h+8]=b;IHEAP[h+9]=i;IHEAP[h+10]=0;IHEAP[h+11]=d;IHEAP[h+12]=0;IHEAP[h+13]=j;IHEAP[h+14]=k;b=1;d=0}return null}function __ZN11btUnionFindD2Ev(a){__ZN20btAlignedObjectArrayI9btElementE5clearEv(a);__ZN20btAlignedObjectArrayI9btElementE5clearEv(a)}function __ZN11btUnionFind4FreeEv(a){__ZN20btAlignedObjectArrayI9btElementE5clearEv(a)}function __ZN11btUnionFindC2Ev(a){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0} +function __ZN11btUnionFind8allocateEi(a,e){var d=STACKTOP;STACKTOP+=2;_llvm_memset_p0i8_i32(d,0,2,4,0);__ZN20btAlignedObjectArrayI9btElementE6resizeEiRKS0_(a,e,d);STACKTOP=d} +function __ZN20btAlignedObjectArrayI9btElementE6resizeEiRKS0_(a,e,d){var b,c,f,g;f=IHEAP[a+1];var h=e<f;a:do if(h){c=e;if(!(c<f))break a;for(;;)if(c+=1,!(c<f))break a}else{c=a;b=e>IHEAP[c+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI9btElementE7reserveEi(a,e),b=3;else if(b==3)if(g=f,g<e)break b;else break a;c=a+3;b:for(;;){var i=IHEAP[c]+2*g;for(b=i==0?6:7;;)if(b==6)if(g+=1,g<e)continue b;else break a;else b==7&&(b=i,_llvm_memset_p0i8_i32(b,0,2,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,d,2,4,0),b=6)}}while(0); +IHEAP[a+1]=e}function __ZN20btAlignedObjectArrayI9btElementE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN11btUnionFind5resetEi(a,e){var d=STACKTOP;STACKTOP+=2;var b,c,f,g;_llvm_memset_p0i8_i32(d,0,2,4,0);__ZN20btAlignedObjectArrayI9btElementE6resizeEiRKS0_(a,e,d);g=0;b=g<e?0:1;a:for(;;)if(b==0)for(var h=a,i=a;;)if(f=c=g,b=h,IHEAP[IHEAP[b+3]+2*f]=c,c=g,b=i,IHEAP[IHEAP[b+3]+2*c+1]=1,g+=1,g<e)b=2;else{b=1;continue a}else if(b==1){STACKTOP=d;break}} +function __ZN11btUnionFind11sortIslandsEv(a){var e=STACKTOP;STACKTOP+=3;var d,b,c,f;c=e+1;var g,h,i=e+2;g=IHEAP[a+1];h=0;d=h<g?0:1;a:for(;;)if(d==0)for(var j=a;;){var k=__ZN11btUnionFind4findEi(a,h);b=h;d=j;IHEAP[IHEAP[d+3]+2*b]=k;h+=1;if(h<g)d=2;else{d=1;continue a}}else if(d==1){f=a;_llvm_memcpy_p0i8_p0i8_i64(c,i,1,1,0);c=f;d=IHEAP[c+1]>1?3:4;break a}for(;;)if(d==3)c=f,__ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(f,e,0,IHEAP[c+1]-1),d=4;else if(d== +4){STACKTOP=e;break}} +function __ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(a,e,d,b){e=STACKTOP;STACKTOP+=6;var c,f,g,h,i,j=e+2,k=e+4,l=e+5;h=d;i=b;_llvm_memcpy_p0i8_p0i8_i32(j,IHEAP[a+3]+2*((b+d)/2|0),2,4,0);var m=a+3,n=a+3;a:for(;;)if(c=IHEAP[m]+2*h,f=j,IHEAP[c]<IHEAP[f])h+=1;else{f=IHEAP[n]+2*i;c=j;c=IHEAP[c]<IHEAP[f]?1:2;b:for(;;)if(c==1)i+=-1,f=IHEAP[n]+2*i,c=j,c=IHEAP[c]<IHEAP[f]?1:2;else if(c==2){c=h<=i?3:4;break b}for(;;)if(c==3)f=h,g=i,c=a,_llvm_memcpy_p0i8_p0i8_i32(e, +IHEAP[c+3]+2*f,2,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[c+3]+2*f,IHEAP[c+3]+2*g,2,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[c+3]+2*g,e,2,4,0),h+=1,i+=-1,c=4;else if(c==4)if(h<=i)continue a;else break a}c=d<i?6:7;a:for(;;)if(c==6)__ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(a,k,d,i),c=7;else if(c==7){c=h<b?8:9;break a}for(;;)if(c==8)__ZN20btAlignedObjectArrayI9btElementE17quickSortInternalI31btUnionFindElementSortPredicateEEvT_ii(a,l,h,b),c=9;else if(c== +9){STACKTOP=e;break}} +function __ZN20btAlignedObjectArrayI9btElementE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*8,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=f+2*b;for(d=m==0?6:7;;)if(d==6)if(b+=1,b<c){d=5;continue c}else{d=4;continue b}else d==7&&(d=m,_llvm_memset_p0i8_i32(d,0,2,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+2*b,2,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d== +8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN28btCompoundCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_b(a,e,d,b,c){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV28btCompoundCollisionAlgorithm+2;var f=a+8;IHEAP[f+4]=1;IHEAP[f+3]=0;IHEAP[f+1]=0;IHEAP[f+2]=0;IHEAP[a+13]=c&1;IHEAP[a+14]=IHEAP[e+1];IHEAP[a+15]=0;IHEAP[a+16]=IHEAP[IHEAP[(IHEAP[a+13]&1?b:d)+48]+26];try{__THREW__=!1,__ZN28btCompoundCollisionAlgorithm26preallocateChildAlgorithmsEP17btCollisionObjectS1_(a, +d,b)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e!=0&&e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE5clearEv(a+8),IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 124652";} +function __ZN28btCompoundCollisionAlgorithm26preallocateChildAlgorithmsEP17btCollisionObjectS1_(a,e,d){var b=STACKTOP;STACKTOP+=1;var c,f,g,h,i,j,k;i=IHEAP[a+13]&1?d:e;e=IHEAP[a+13]&1?e:d;d=IHEAP[i+48];j=IHEAP[d+12+1];IHEAP[b]=0;__ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE6resizeEiRKS1_(a+8,j,b);k=0;c=k<j?0:1;a:for(;;)if(c==0)for(var l=a+8,m=a+1,n=a+14,o=a+8;;)if(c=d,IHEAP[c+25]!=0?(f=k,c=l,IHEAP[IHEAP[c+3]+f]=0):(c=i,c=IHEAP[c+48],g=k,f=d,f+=12,g=f=IHEAP[IHEAP[f+3]+20*g+16],f=i,IHEAP[f+48]= +g,f=IHEAP[m],g=FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,i,e,IHEAP[n]),h=k,f=o,IHEAP[IHEAP[f+3]+h]=g,f=c,c=i,IHEAP[c+48]=f),k+=1,k<j)c=2;else{c=1;continue a}else if(c==1){STACKTOP=b;break}} +function __ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __ZN28btCompoundCollisionAlgorithm21removeChildAlgorithmsEv(a){var e,d,b,c,f;c=IHEAP[a+8+1];f=0;e=f<c?0:1;a:for(;;)if(e==0){var g=a+8,h=a+8,i=a+1,j=a+8;b:for(;;){d=f;e=g;for(e=IHEAP[IHEAP[e+3]+d]!=0?3:4;;)if(e==3){d=f;e=h;e=IHEAP[IHEAP[e+3]+d];FUNCTION_TABLE[IHEAP[IHEAP[e]]](e);d=IHEAP[i];var k=IHEAP[IHEAP[d]+15];b=f;e=j;FUNCTION_TABLE[k](d,IHEAP[IHEAP[e+3]+b]);e=4}else if(e==4)if(f+=1,f<c){e=2;continue b}else{e=1;continue a}}}else if(e==1)break} +function __ZN28btCompoundCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN28btCompoundCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 125107";} +function __ZN28btCompoundCollisionAlgorithmD2Ev(a){var e;IHEAP[a]=__ZTV28btCompoundCollisionAlgorithm+2;try{__THREW__=!1,__ZN28btCompoundCollisionAlgorithm21removeChildAlgorithmsEv(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE5clearEv(a+8),IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2;else if(e==1)throw e=_llvm_eh_exception(), +_llvm_eh_selector(e,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE5clearEv(a+8),IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 125182";} +function __ZN28btCompoundCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=198;var g,h,i,j,k,l,m,n,o,q,p;i=f+12;var r=f+16,s=f+28,u,v,y,x,z,B,C,A,w;l=f+32;k=f+43;var D;j=f+48;o=f+49;q=f+53;var E=f+57;p=f+73;h=f+89;var F=f+105,G=f+113,J=f+118,H=f+134,M=f+150,K=f+166,N=f+170,R=f+174,O=f+178,Q=f+182;C=IHEAP[a+13]&1?d:e;A=IHEAP[a+13]&1?e:d;w=IHEAP[C+48];g=IHEAP[w+26]!=IHEAP[a+16]?0:1;a:for(;;)if(g==0)__ZN28btCompoundCollisionAlgorithm21removeChildAlgorithmsEv(a), +__ZN28btCompoundCollisionAlgorithm26preallocateChildAlgorithmsEP17btCollisionObjectS1_(a,e,d),g=1;else if(g==1){B=w;B=IHEAP[B+25];u=C;v=A;n=IHEAP[a+1];y=b;e=c;m=a+8;d=IHEAP[m+3]+0;g=IHEAP[a+14];m=l;b=n;n=y;y=e;x=d;z=g;g=u;e=v;d=b;u=y;v=x;b=z;y=n;n=m;m=g;g=e;e=d;d=y;n=y=n;IHEAP[n]=__ZTVN6btDbvt8ICollideE+2;IHEAP[y]=__ZTV22btCompoundLeafCallback+2;IHEAP[y+4]=m;IHEAP[y+5]=g;IHEAP[y+6]=e;IHEAP[y+7]=d;IHEAP[y+8]=u;IHEAP[y+9]=v;IHEAP[y+10]=b;m=k;IHEAP[m+4]=1;IHEAP[m+3]=0;IHEAP[m+1]=0;m=IHEAP[m+2]=0;n=a+ +8;u=a+8;v=a+8;g=2;break a}a:for(;;){g=m;b=n;if(!(g<IHEAP[b+1])){g=4;break a}g=m;b=u;g=IHEAP[IHEAP[b+3]+g]!=0?5:6;for(;;)if(g==5){g=m;b=v;b=IHEAP[IHEAP[b+3]+g];g=IHEAP[IHEAP[b]+4];try{__THREW__=!1,FUNCTION_TABLE[g](b,k)}catch(I){if(ABORT)throw I;__THREW__=!0;print("Exception: "+I+" : "+I.stack+", currently at: "+Error().stack)}if(__THREW__){g=25;break a}b=0;c:for(;;){e=b;g=k;if(!(e<IHEAP[g+1]))break c;e=b;g=k;g=IHEAP[IHEAP[g+3]+e];g=IHEAP[g+282]!=0?10:11;d:for(;;)if(g==10){g=c;d=b;e=k;e=IHEAP[IHEAP[e+ +3]+d];IHEAP[g+4]=e;e=g=c;g=IHEAP[e+4];for(g=IHEAP[g+282]!=0?12:13;;)if(g==12){g=IHEAP[e+4];d=IHEAP[g+280]!=IHEAP[e+37];g=IHEAP[e+4];if(d&1){d=e+21;y=e+5;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(g,d,y)}catch(L){if(ABORT)throw L;__THREW__=!0;print("Exception: "+L+" : "+L.stack+", currently at: "+Error().stack)}}else{d=e+5;y=e+21;try{__THREW__=!1,__ZN20btPersistentManifold20refreshContactPointsERK11btTransformS2_(g,d,y)}catch(P){if(ABORT)throw P;__THREW__= +!0;print("Exception: "+P+" : "+P.stack+", currently at: "+Error().stack)}}if(__THREW__){g=25;break a}else g=13}else if(g==13){g=c;IHEAP[g+4]=0;g=11;continue d}}else if(g==11){b+=1;continue c}}IHEAP[j]=0;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE6resizeEiRKS1_(k,0,j);g=6}else if(g==6){m+=1;g=2;continue a}}if(g==4){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(k);k=B!=0;a:do if(k){k=C;__ZNK11btTransform7inverseEv(h,k+1);k=A;k+=1;__ZmlRK11btMatrix3x3S1_(f,h,k);__ZNK11btTransformclERK9btVector3(i, +h,k+12);h=p;k=f;c=i;k=i=k;i=c;c=k;k=h;_llvm_memcpy_p0i8_p0i8_i32(k,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,i,4,4,0);i=E;k=p;h=i;_llvm_memcpy_p0i8_p0i8_i32(h,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,p+12,4,4,0);p=A;p=IHEAP[p+48];i=IHEAP[IHEAP[p]+2];try{__THREW__=!1,FUNCTION_TABLE[i](p,E,o,q)}catch(S){if(ABORT)throw S;__THREW__=!0;print("Exception: "+ +S+" : "+S.stack+", currently at: "+Error().stack)}if(__THREW__){g=27;break a}_llvm_memcpy_p0i8_p0i8_i32(F,o,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(F+4,q,4,4,0);q=B;B=IHEAP[B];o=l;try{__THREW__=!1,__ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(q,B,F,o)}catch(T){if(ABORT)throw T;__THREW__=!0;print("Exception: "+T+" : "+T.stack+", currently at: "+Error().stack)}g=__THREW__?27:17;break a}else{c=a+8;c=IHEAP[c+1];for(j=0;;){if(!(j<c)){g=17;break a}n=j;m=w;m+=12;m=IHEAP[IHEAP[m+3]+20*n+16]; +n=j;try{__THREW__=!1,__ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(l,m,n)}catch(U){if(ABORT)throw U;__THREW__=!0;print("Exception: "+U+" : "+U.stack+", currently at: "+Error().stack)}if(__THREW__){g=27;break a}j+=1;g=15}}while(0);if(g==17){F=IHEAP[a+8+1];IHEAP[G+4]=1;IHEAP[G+3]=0;IHEAP[G+1]=0;B=IHEAP[G+2]=0;q=a+8;o=a+8;E=a+1;p=a+8;a+=8;a:for(;;){if(!(B<F)){g=20;break a}h=B;i=q;for(g=IHEAP[IHEAP[i+3]+h]!=0?21:22;;)if(g==21){h=B;i=w;i+=12;i=IHEAP[IHEAP[i+3]+20*h+16];h=C;h+=1; +k=J;j=h;c=k;_llvm_memcpy_p0i8_p0i8_i32(c,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,h+12,4,4,0);h=C;h+=17;k=H;j=h;c=k;_llvm_memcpy_p0i8_p0i8_i32(c,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,h+12,4,4,0);k=B;h=w;h+=12;k=h=IHEAP[h+3]+20*k;h=J;__ZmlRK11btMatrix3x3S1_(r,h,k);__ZNK11btTransformclERK9btVector3(s,h,k+12);h=Q;c=r;j=k=s;k=h;h=j; +j=c;c=k;_llvm_memcpy_p0i8_p0i8_i32(c,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,h,4,4,0);k=M;j=h=Q;c=k;_llvm_memcpy_p0i8_p0i8_i32(c,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,h+12,4,4,0);h=IHEAP[IHEAP[i]+2];try{__THREW__=!1,FUNCTION_TABLE[h](i,M,K,N)}catch(W){if(ABORT)throw W;__THREW__=!0;print("Exception: "+W+" : "+W.stack+", currently at: "+ +Error().stack)}if(__THREW__){g=30;break a}i=A;i=IHEAP[i+48];h=IHEAP[IHEAP[i]+2];k=A;k+=1;try{__THREW__=!1,FUNCTION_TABLE[h](i,k,R,O)}catch(Z){if(ABORT)throw Z;__THREW__=!0;print("Exception: "+Z+" : "+Z.stack+", currently at: "+Error().stack)}if(__THREW__){g=30;break a}if(!__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(K,N,R,O)){h=B;i=o;i=IHEAP[IHEAP[i+3]+h];h=IHEAP[IHEAP[i]];try{__THREW__=!1,FUNCTION_TABLE[h](i)}catch(ca){if(ABORT)throw ca;__THREW__=!0;print("Exception: "+ca+" : "+ca.stack+", currently at: "+ +Error().stack)}if(__THREW__){g=30;break a}i=IHEAP[E];h=IHEAP[IHEAP[i]+15];c=B;k=p;k=IHEAP[IHEAP[k+3]+c];try{__THREW__=!1,FUNCTION_TABLE[h](i,k)}catch(Y){if(ABORT)throw Y;__THREW__=!0;print("Exception: "+Y+" : "+Y.stack+", currently at: "+Error().stack)}if(__THREW__){g=30;break a}h=B;i=a;IHEAP[IHEAP[i+3]+h]=0}g=22}else if(g==22){B+=1;g=18;continue a}}if(g==20){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(G);IHEAP[l]=__ZTV22btCompoundLeafCallback+2;IHEAP[l]=__ZTVN6btDbvt8ICollideE+2; +STACKTOP=f;return}else g==30&&(D=f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(G))}else g==27&&(D=G=_llvm_eh_exception(),_llvm_eh_selector(G,___gxx_personality_v0,0))}else g==25&&(D=G=_llvm_eh_exception(),_llvm_eh_selector(G,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(k));IHEAP[l]=__ZTV22btCompoundLeafCallback+2;IHEAP[l]=__ZTVN6btDbvt8ICollideE+2;__Unwind_Resume_or_Rethrow(D); +throw"Reached an unreachable! Original .ll line: 126424";} +function __ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(a,e,d,b){var c=STACKTOP;STACKTOP+=17;var f,g=null,h,i,j,k,l,m=c+1,a=c+9,n=c+14,o=c+15,q=c+16;IHEAP[c]=e;f=IHEAP[c]!=0?0:1;a:for(;;)if(f==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,8,4,0);e=a;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[n]=0;__ZN20btAlignedObjectArrayIPK10btDbvtNodeE6resizeEiRKS2_(a,0,n);__ZN20btAlignedObjectArrayIPK10btDbvtNodeE7reserveEi(a,64);i=a;e=c;g=i;l=g=IHEAP[g+1];g=i;f=l==IHEAP[g+2]?2:3;b:for(;;)if(f== +2){g=i;l=IHEAP[g+1];l!=0?(g=2,f=4):(g=2,f=5);for(;;)if(f==4){var p=l*2,g=4;f=5}else if(f==5){__ZN20btAlignedObjectArrayIPK10btDbvtNodeE7reserveEi(i,g==4?p:1);f=3;continue b}}else if(f==3){var r=IHEAP[i+3]+IHEAP[i+1];f=r==0?6:7;break b}b:for(;;)if(f==6){IHEAP[i+1]+=1;break b}else f==7&&(IHEAP[r]=IHEAP[e],f=6);b:for(;;){e=a;i=IHEAP[e+1]-1;e=a;e=IHEAP[IHEAP[e+3]+i];i=a;IHEAP[i+1]+=-1;f=__Z9IntersectRK12btDbvtAabbMmS1_(e,m)?9:10;c:for(;;)if(f==9)if(i=e,IHEAP[i+9+1]==0^1){IHEAP[o]=IHEAP[e+9];g=a;i=o;g= +l=g;f=g=IHEAP[g+1];g=l;f=f==IHEAP[g+2]?11:12;d:for(;;)if(f==11){g=l;h=IHEAP[g+1];h!=0?(g=11,f=13):(g=11,f=14);for(;;)if(f==13){var s=h*2,g=13;f=14}else if(f==14){__ZN20btAlignedObjectArrayIPK10btDbvtNodeE7reserveEi(l,g==13?s:1);f=12;continue d}}else if(f==12){var u=IHEAP[l+3]+IHEAP[l+1];f=u==0?15:16;break d}d:for(;;)if(f==15){IHEAP[l+1]+=1;IHEAP[q]=IHEAP[e+9+1];j=a;k=q;i=j;g=i=IHEAP[i+1];i=j;f=g==IHEAP[i+2]?17:18;break d}else f==16&&(IHEAP[u]=IHEAP[i],f=15);d:for(;;)if(f==17){i=j;i=IHEAP[i+1];i!= +0?(g=17,f=19):(g=17,f=20);for(;;)if(f==19){var v=i*2,g=19;f=20}else if(f==20){__ZN20btAlignedObjectArrayIPK10btDbvtNodeE7reserveEi(j,g==19?v:1);f=18;continue d}}else if(f==18){var y=IHEAP[j+3]+IHEAP[j+1];f=y==0?21:22;break d}for(;;)if(f==21){IHEAP[j+1]+=1;f=10;continue c}else f==22&&(IHEAP[y]=IHEAP[k],f=21)}else{i=b;g=IHEAP[IHEAP[i]+3];l=e;try{__THREW__=!1,FUNCTION_TABLE[g](i,l)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack)}if(__THREW__)break a; +else f=10}else if(f==10)if(e=a,IHEAP[e+1]>0)continue b;else break b}e=a;__ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(e);f=1}else if(f==1){STACKTOP=c;return}d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);__ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(a);__Unwind_Resume_or_Rethrow(d);throw"Reached an unreachable! Original .ll line: 126874";} +function __ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(a,e,d){var b=STACKTOP;STACKTOP+=94;var c,f,g,h,i,j,k;h=b+12;var l=b+16,m=b+32,n=b+48,o=b+64,q=b+68,p=b+72,r=b+76,s=b+80,u=b+84,v=b+85,y=b+86,x=b+87,z=b+91,B=b+92,C=b+93;c=IHEAP[IHEAP[a+4]+48];f=IHEAP[a+4]+1;_llvm_memcpy_p0i8_p0i8_i32(l,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+4,f+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+8,f+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,f+12,4,4,0);f=IHEAP[a+4]+17;_llvm_memcpy_p0i8_p0i8_i32(m,f,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(m+4,f+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,f+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+12,f+12,4,4,0);c=IHEAP[c+12+3]+20*d;__ZmlRK11btMatrix3x3S1_(b,l,c);__ZNK11btTransformclERK9btVector3(h,l,c+12);_llvm_memcpy_p0i8_p0i8_i32(n,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+12,h,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[e]+2]](e,n,o,q);h=IHEAP[IHEAP[a+5]+48];FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,IHEAP[a+5]+ +1,p,r);c=__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(o,q,p,r)?0:1;a:for(;;)if(c==0){h=IHEAP[a+4];f=c=n;c=h+1;g=h=f;f=c;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,h+12,4,4,0);h=IHEAP[a+4];f=c=n;c=h+17;g=h=f;f=c;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,h+12,4,4,0);h=IHEAP[a+4]; +h=IHEAP[h+48];f=e;c=IHEAP[a+4];IHEAP[c+48]=f;c=IHEAP[IHEAP[a+9]+d]!=0?2:3;b:for(;;)if(c==2){c=IHEAP[a+8];var A=IHEAP[a+8],w=IHEAP[A];c=IHEAP[c+37]==IHEAP[a+4]?4:5;break b}else c==3&&(c=IHEAP[a+6],c=FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,IHEAP[a+4],IHEAP[a+5],IHEAP[a+10]),IHEAP[IHEAP[a+9]+d]=c,c=2);if(c==4)FUNCTION_TABLE[IHEAP[w+2]](A,-1,d);else if(c==5)FUNCTION_TABLE[IHEAP[w+3]](A,-1,d);c=IHEAP[IHEAP[a+9]+d];FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,IHEAP[a+4],IHEAP[a+5],IHEAP[a+7],IHEAP[a+8]);for(c=IHEAP[IHEAP[a+ +7]+5]!=0?7:8;;)if(c==7)c=IHEAP[IHEAP[a+7]+5],(FUNCTION_TABLE[IHEAP[IHEAP[c]+12]](c)&2)!=0&&(c=IHEAP[IHEAP[a+7]+5],f=IHEAP[IHEAP[c]+13],FHEAP[u]=1,FHEAP[v]=1,FHEAP[y]=1,g=s,i=u,j=v,k=y,FHEAP[g]=FHEAP[i],FHEAP[g+1]=FHEAP[j],FHEAP[g+2]=FHEAP[k],FHEAP[g+3]=0,FUNCTION_TABLE[f](c,o,q,s),c=IHEAP[IHEAP[a+7]+5],f=IHEAP[IHEAP[c]+13],FHEAP[z]=1,FHEAP[B]=1,FHEAP[C]=1,g=x,i=z,j=B,k=C,FHEAP[g]=FHEAP[i],FHEAP[g+1]=FHEAP[j],FHEAP[g+2]=FHEAP[k],FHEAP[g+3]=0,FUNCTION_TABLE[f](c,p,r,x)),c=8;else if(c==8){c=h;h=IHEAP[a+ +4];IHEAP[h+48]=c;h=IHEAP[a+4];f=c=l;c=h+1;g=h=f;f=c;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,h+12,4,4,0);h=IHEAP[a+4];f=c=m;c=h+17;g=h=f;f=c;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,h+12,4,4,0);c=1;continue a}}else if(c==1){STACKTOP=b;break}} +function __Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(a,e,d,b){var c,f=null,g,h;h=1;FHEAP[a]>FHEAP[b]?(f=-1,c=0):(f=-1,c=1);a:for(;;)if(c==0){h=f==2?g:f==1?0:0;g=a;c=FHEAP[g+2];g=b;c>FHEAP[g+2]?(f=0,c=3):(f=0,c=4);break a}else if(c==1){c=e;f=FHEAP[c];c=d;if(f<FHEAP[c]){f=1;c=0;continue a}g=h&1;f=2;c=0}a:for(;;)if(c==3){h=f==5?i:f==4?0:0;a=FHEAP[a+1];a>FHEAP[b+1]?(f=3,c=6):(f=3,c=7);break a}else if(c==4){g=e;c=FHEAP[g+2];g=d;if(c<FHEAP[g+2]){f=4;c=3;continue a}var i=h&1,f=5;c=3}for(;;)if(c==6)return h= +f==8?j:f==7?0:0,h&1;else if(c==7){b=e;a=FHEAP[b+1];b=d;if(a<FHEAP[b+1])f=7;else var j=h&1,f=8;c=6}return null}function __ZN22btCompoundLeafCallbackD1Ev(a){IHEAP[a]=__ZTV22btCompoundLeafCallback+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2} +function __ZN28btCompoundCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f=STACKTOP;STACKTOP+=48;var g,h,i,j,k,l,m=f+12,n,o,q,p,r=f+16,s=f+32;n=IHEAP[a+13]&1?d:e;e=IHEAP[a+13]&1?e:d;d=IHEAP[n+48];o=1;q=IHEAP[a+8+1];p=0;g=p<q?0:1;a:for(;;)if(g==0){var u=a+8;b:for(;;){i=p;g=d;g+=12;g=IHEAP[IHEAP[g+3]+20*i+16];i=n;i+=1;h=r;k=i;j=h;_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+ +8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,i+12,4,4,0);h=p;i=d;i+=12;h=IHEAP[i+3]+20*h;i=n;j=h;h=r;__ZmlRK11btMatrix3x3S1_(f,h,j);__ZNK11btTransformclERK9btVector3(m,h,j+12);h=s;k=f;l=j=m;j=h;h=l;l=k;k=j;_llvm_memcpy_p0i8_p0i8_i32(k,l,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,l+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,l+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,h,4,4,0);j=h=s;h=i+1;k=i=j;j=h;_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8, +k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,i+12,4,4,0);i=n;i=IHEAP[i+48];h=g;g=n;IHEAP[g+48]=h;h=p;g=u;g=IHEAP[IHEAP[g+3]+h];h=FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,n,e,b,c);for(g=h<o?3:4;;)if(g==3)o=h,g=4;else if(g==4)if(g=n,IHEAP[g+48]=i,g=n,h=i=r,i=g+1,j=g=h,h=i,_llvm_memcpy_p0i8_p0i8_i32(h,j,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+4,j+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+8,j+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i+12,g+12,4,4,0),p+=1,p<q){g=2;continue b}else{g=1;continue a}}}else if(g==1)return a=o, +STACKTOP=f,a;return null}function __ZN28btCompoundCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b,c;c=0;var f=a+8;d=c<IHEAP[f+1]?0:1;a:for(;;)if(d==0){var g=a+8,h=a+8;b:for(;;){b=c;d=g;for(d=IHEAP[IHEAP[d+3]+b]!=0?3:4;;)if(d==3)b=c,d=h,d=IHEAP[IHEAP[d+3]+b],FUNCTION_TABLE[IHEAP[IHEAP[d]+4]](d,e),d=4;else if(d==4)if(c+=1,b=c,d=f,b<IHEAP[d+1]){d=2;continue b}else{d=1;continue a}}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+ +3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP20btCollisionAlgorithmE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN22btCompoundLeafCallbackD0Ev(a){IHEAP[a]=__ZTV22btCompoundLeafCallback+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2;__ZdlPv(a)} +function __ZN22btCompoundLeafCallback7ProcessEPK10btDbvtNode(a,e){var d=STACKTOP;STACKTOP+=31;var b,c,f,g,h,i,j,k,l=d+4,m=d+8,n=d+24,o=d+28,q=d+29,p=d+30;j=IHEAP[e+9];k=IHEAP[IHEAP[IHEAP[IHEAP[a+4]+48]+12+3]+20*j+16];for(b=IHEAP[IHEAP[a+7]+5]!=0?0:1;;)if(b==0)b=IHEAP[IHEAP[a+7]+5],(FUNCTION_TABLE[IHEAP[IHEAP[b]+12]](b)&2)!=0&&(b=IHEAP[a+4],g=b+1,b=m,c=g,g=b,f=b=c,c=g,_llvm_memcpy_p0i8_p0i8_i32(c,f,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(c+4,f+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(c+8,f+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+ +12,b+12,4,4,0),b=g=b=e,__Z15btTransformAabbRK9btVector3S1_fRK11btTransformRS_S5_(g,b+4,0,m,d,l),b=IHEAP[IHEAP[a+7]+5],g=IHEAP[IHEAP[b]+13],FHEAP[o]=1,FHEAP[q]=0,FHEAP[p]=0,c=n,f=o,h=q,i=p,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[h],FHEAP[c+2]=FHEAP[i],FHEAP[c+3]=0,FUNCTION_TABLE[g](b,d,l,n)),b=1;else if(b==1){__ZN22btCompoundLeafCallback17ProcessChildShapeEP16btCollisionShapei(a,k,j);STACKTOP=d;break}} +function __Z15btTransformAabbRK9btVector3S1_fRK11btTransformRS_S5_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=72;var h=g+1,i=g+2,j=g+3,k=g+4,l=g+5,m=g+6,n=g+7,o=g+8,q,p=g+9,r=g+10,s=g+11,u=g+12,v=g+13,y=g+14,x=g+15,z=g+16,B=g+17,C=g+18,A=g+19,w=g+23,D=g+24,E=g+28,F=g+32,G=g+36,J=g+37;q=g+41;var H=g+53,M=g+57,K=g+61,N=g+62,R=g+63,O=g+64,Q=g+68;FHEAP[C]=d;FHEAP[w]=0.5;FHEAP[x]=FHEAP[e]-FHEAP[a];FHEAP[z]=FHEAP[e+1]-FHEAP[a+1];FHEAP[B]=FHEAP[e+2]-FHEAP[a+2];FHEAP[D]=FHEAP[x];FHEAP[D+1]=FHEAP[z];FHEAP[D+2]= +FHEAP[B];FHEAP[D+3]=0;FHEAP[m]=FHEAP[D]*FHEAP[w];FHEAP[n]=FHEAP[D+1]*FHEAP[w];FHEAP[o]=FHEAP[D+2]*FHEAP[w];FHEAP[A]=FHEAP[m];FHEAP[A+1]=FHEAP[n];FHEAP[A+2]=FHEAP[o];FHEAP[A+3]=0;FHEAP[E]=FHEAP[C];FHEAP[E+1]=FHEAP[C];FHEAP[E+2]=FHEAP[C];FHEAP[E+3]=0;FHEAP[A]+=FHEAP[E];FHEAP[A+1]+=FHEAP[E+1];FHEAP[A+2]+=FHEAP[E+2];FHEAP[G]=0.5;FHEAP[g]=FHEAP[e]+FHEAP[a];FHEAP[h]=FHEAP[e+1]+FHEAP[a+1];FHEAP[i]=FHEAP[e+2]+FHEAP[a+2];FHEAP[J]=FHEAP[g];FHEAP[J+1]=FHEAP[h];FHEAP[J+2]=FHEAP[i];FHEAP[J+3]=0;FHEAP[j]=FHEAP[J]* +FHEAP[G];FHEAP[k]=FHEAP[J+1]*FHEAP[G];FHEAP[l]=FHEAP[J+2]*FHEAP[G];FHEAP[F]=FHEAP[j];FHEAP[F+1]=FHEAP[k];FHEAP[F+2]=FHEAP[l];FHEAP[F+3]=0;__ZNK11btMatrix3x38absoluteEv(q,b);__ZNK11btTransformclERK9btVector3(H,b,F);a=q+0;FHEAP[K]=FHEAP[a]*FHEAP[A]+FHEAP[a+1]*FHEAP[A+1]+FHEAP[a+2]*FHEAP[A+2];a=q+4;FHEAP[N]=FHEAP[a]*FHEAP[A]+FHEAP[a+1]*FHEAP[A+1]+FHEAP[a+2]*FHEAP[A+2];q+=8;FHEAP[R]=FHEAP[q]*FHEAP[A]+FHEAP[q+1]*FHEAP[A+1]+FHEAP[q+2]*FHEAP[A+2];FHEAP[M]=FHEAP[K];FHEAP[M+1]=FHEAP[N];FHEAP[M+2]=FHEAP[R]; +FHEAP[M+3]=0;FHEAP[p]=FHEAP[H]-FHEAP[M];FHEAP[r]=FHEAP[H+1]-FHEAP[M+1];FHEAP[s]=FHEAP[H+2]-FHEAP[M+2];FHEAP[O]=FHEAP[p];FHEAP[O+1]=FHEAP[r];FHEAP[O+2]=FHEAP[s];FHEAP[O+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c,O,4,4,0);FHEAP[u]=FHEAP[H]+FHEAP[M];FHEAP[v]=FHEAP[H+1]+FHEAP[M+1];FHEAP[y]=FHEAP[H+2]+FHEAP[M+2];FHEAP[Q]=FHEAP[u];FHEAP[Q+1]=FHEAP[v];FHEAP[Q+2]=FHEAP[y];FHEAP[Q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f,Q,4,4,0);STACKTOP=g} +function __ZNK11btMatrix3x38absoluteEv(a,e){var d=STACKTOP;STACKTOP+=9;var b=d+1,c=d+2,f=d+3,g=d+4,h=d+5,i=d+6,j=d+7,k=d+8,l=_fabsf(FHEAP[e]);FHEAP[d]=l;l=_fabsf(FHEAP[e+1]);FHEAP[b]=l;l=_fabsf(FHEAP[e+2]);FHEAP[c]=l;l=_fabsf(FHEAP[e+4]);FHEAP[f]=l;l=_fabsf(FHEAP[e+4+1]);FHEAP[g]=l;l=_fabsf(FHEAP[e+4+2]);FHEAP[h]=l;l=_fabsf(FHEAP[e+8]);FHEAP[i]=l;l=_fabsf(FHEAP[e+8+1]);FHEAP[j]=l;l=_fabsf(FHEAP[e+8+2]);FHEAP[k]=l;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,d,b,c,f,g,h,i,j,k);STACKTOP= +d}function __Z9IntersectRK12btDbvtAabbMmS1_(a,e){var d,b=null,c;FHEAP[a]<=FHEAP[e+4]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)d=a+4,b=FHEAP[d],d=e,b>=FHEAP[d]?(d=a,b=FHEAP[d+1],d=e+4,b<=FHEAP[d+1]?(d=a+4,b=FHEAP[d+1],d=e,b>=FHEAP[d+1]?(d=a,b=FHEAP[d+2],d=e+4,b<=FHEAP[d+2]?(c=a+4,d=FHEAP[c+2],c=e,c=d>=FHEAP[c+2],b=5):b=4):b=3):b=2):b=0,d=1;else if(d==1)return b==4?0:b==3?0:b==2?0:b==0?0:b==-1?0:c;return null} +function __ZN16btBU_Simplex1to4C2Ev(a){__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a+89]=0;IHEAP[a+1]=2} +function __ZN16btBU_Simplex1to4C2ERK9btVector3(a,e){var d;__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a+89]=0;IHEAP[a+1]=2;d=a+89;var b=IHEAP[d];IHEAP[d]=b+1;_llvm_memcpy_p0i8_p0i8_i32(a+90+b*4,e,4,4,0);try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}d=__THREW__?1:0;if(d!=0&&d==1){b=_llvm_eh_exception();_llvm_eh_selector(b, +___gxx_personality_v0,0);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}d=__THREW__?3:2;if(d==2)throw __Unwind_Resume_or_Rethrow(b),"Reached an unreachable! Original .ll line: 130224";else if(d==3)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 130230"; +}}function __ZN16btBU_Simplex1to49addVertexERK9btVector3(a,e){var d=a+89,b=IHEAP[d];IHEAP[d]=b+1;_llvm_memcpy_p0i8_p0i8_i32(a+90+b*4,e,4,4,0);__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)} +function __ZN16btBU_Simplex1to4C2ERK9btVector3S2_(a,e,d){var b,c;__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a+89]=0;IHEAP[a+1]=2;b=a+89;var f=IHEAP[b];IHEAP[b]=f+1;_llvm_memcpy_p0i8_p0i8_i32(a+90+f*4,e,4,4,0);try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}for(e=__THREW__?1:0;;)if(e==0){e=d;b=a;var f=b+89,h=IHEAP[f]; +IHEAP[f]=h+1;_llvm_memcpy_p0i8_p0i8_i32(b+90+h*4,e,4,4,0);e=b;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else{e=4;break}}else if(e==1){c=d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(j){if(ABORT)throw j; +__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}e=__THREW__?3:2;break}if(e==2)throw __Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 130356";else if(e==3)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 130362";} +function __ZN16btBU_Simplex1to4C2ERK9btVector3S2_S2_(a,e,d,b){var c,f;__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a+89]=0;IHEAP[a+1]=2;c=a+89;var g=IHEAP[c];IHEAP[c]=g+1;_llvm_memcpy_p0i8_p0i8_i32(a+90+g*4,e,4,4,0);try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}for(e=__THREW__?1:0;;)if(e==0){e=d;c=a;var g=c+89,i= +IHEAP[g];IHEAP[g]=i+1;_llvm_memcpy_p0i8_p0i8_i32(c+90+i*4,e,4,4,0);e=c;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else{e=b;c=a;g=c+89;i=IHEAP[g];IHEAP[g]=i+1;_llvm_memcpy_p0i8_p0i8_i32(c+90+i*4,e,4,4,0);e=c;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+ +k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else{e=5;break}}}else if(e==1){f=d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}e=__THREW__?3:2;break}if(e==2)throw __Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 130489"; +else if(e==3)throw f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 130495";} +function __ZN16btBU_Simplex1to4C2ERK9btVector3S2_S2_S2_(a,e,d,b,c){var f,g;__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a+89]=0;IHEAP[a+1]=2;f=a+89;var h=IHEAP[f];IHEAP[f]=h+1;_llvm_memcpy_p0i8_p0i8_i32(a+90+h*4,e,4,4,0);try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}for(e=__THREW__?1:0;;)if(e==0){e=d;f=a;var h=f+ +89,j=IHEAP[h];IHEAP[h]=j+1;_llvm_memcpy_p0i8_p0i8_i32(f+90+j*4,e,4,4,0);e=f;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else{e=b;f=a;h=f+89;j=IHEAP[h];IHEAP[h]=j+1;_llvm_memcpy_p0i8_p0i8_i32(f+90+j*4,e,4,4,0);e=f;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+ +l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else{e=c;f=a;h=f+89;j=IHEAP[h];IHEAP[h]=j+1;_llvm_memcpy_p0i8_p0i8_i32(f+90+j*4,e,4,4,0);e=f;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else{e=6;break}}}}else if(e==1){g=d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+ +2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}e=__THREW__?3:2;break}if(e==2)throw __Unwind_Resume_or_Rethrow(g),"Reached an unreachable! Original .ll line: 130648";else if(e==3)throw g=_llvm_eh_exception(),_llvm_eh_selector(g,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 130654";} +function __ZNK16btBU_Simplex1to47getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);__Z15btTransformAabbRK9btVector3S1_fRK11btTransformRS_S5_(a+56,a+60,c,e,d,b)}function __ZNK16btBU_Simplex1to414getNumVerticesEv(a){return IHEAP[a+89]}function __ZNK16btBU_Simplex1to411getNumEdgesEv(a){var e,a=IHEAP[a+89],a=a==0?1:a==1?2:a==2?3:a==3?4:a==4?5:6;a==6?e=0:a==1?e=0:a==2?e=0:a==3?e=1:a==4?e=3:a==5&&(e=6);return e} +function __ZNK16btBU_Simplex1to47getEdgeEiR9btVector3S1_(a,e,d,b){var c;c=IHEAP[a+89];for(c=c==2?1:c==3?2:c==4?3:0;;)if(c==0)break;else if(c==1)_llvm_memcpy_p0i8_p0i8_i32(d,a+90,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+4,4,4,0),c=0;else if(c==2){c=e;if(c==0)c=4;else if(c==1)c=5;else if(c==2)c=6;else{c=0;continue}c==4?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+4,4,4,0),c=0):c==5?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+8,4,4,0), +c=0):c==6&&(_llvm_memcpy_p0i8_p0i8_i32(d,a+90+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90,4,4,0),c=0)}else if(c==3){c=e;if(c==0)c=7;else if(c==1)c=8;else if(c==2)c=9;else if(c==3)c=10;else if(c==4)c=11;else if(c==5)c=12;else{c=0;continue}c==7?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+4,4,4,0),c=0):c==8?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+8,4,4,0),c=0):c==9?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b, +a+90,4,4,0),c=0):c==10?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+12,4,4,0),c=0):c==11?(_llvm_memcpy_p0i8_p0i8_i32(d,a+90+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+12,4,4,0),c=0):c==12&&(_llvm_memcpy_p0i8_p0i8_i32(d,a+90+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,a+90+12,4,4,0),c=0)}}function __ZNK16btBU_Simplex1to49getVertexEiR9btVector3(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(d,a+90+e*4,4,4,0)} +function __ZNK16btBU_Simplex1to412getNumPlanesEv(a){var e,a=IHEAP[a+89],a=a==0?1:a==1?2:a==2?3:a==3?4:a==4?5:6;a==6?e=0:a==1?e=0:a==2?e=0:a==3?e=0:a==4?e=2:a==5&&(e=4);return e}function __ZNK16btBU_Simplex1to48getPlaneER9btVector3S1_i(){}function __ZNK16btBU_Simplex1to48getIndexEi(){return 0}function __ZNK16btBU_Simplex1to48isInsideERK9btVector3f(){return 0} +function __ZN16btBU_Simplex1to4D1Ev(a){IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN16btBU_Simplex1to4D0Ev(a){var e,d;IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0, +0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 131223";}}function __ZNK16btBU_Simplex1to47getNameEv(){return __str150}function __ZNK21btConvexInternalShape36getNumPreferredPenetrationDirectionsEv(){return 0}function __ZNK21btConvexInternalShape32getPreferredPenetrationDirectionEiR9btVector3(){} +function __ZN11btShapeHullC2EPK13btConvexShape(a,e){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;var d=a+5;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;IHEAP[a+11]=e;__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a);__ZN20btAlignedObjectArrayIjE5clearEv(a+5);IHEAP[a+10]=0} +function __ZN20btAlignedObjectArrayIjE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN11btShapeHullD2Ev(a){__ZN20btAlignedObjectArrayIjE5clearEv(a+5);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a);__ZN20btAlignedObjectArrayIjE5clearEv(a+5);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a)} +function __ZN19btMinkowskiSumShapeC2EPK13btConvexShapeS2_(a,e,d){var b=STACKTOP;STACKTOP+=27;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+19,z=b+20,B=b+21,C=b+22,A=b+23,w=b+24,D=b+25,E=b+26;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var F=a+12;FHEAP[w]=1;FHEAP[D]=1;FHEAP[E]=1;FHEAP[F]=FHEAP[w];FHEAP[F+1]=FHEAP[D];FHEAP[F+2]=FHEAP[E]; +FHEAP[F+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV19btMinkowskiSumShape+2;IHEAP[a+84]=e;IHEAP[a+85]=d;IHEAP[a+1]=16;e=a+52;FHEAP[b]=1;FHEAP[c]=0;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(e,b,c,f,g,h,i,j,k,l);c=e+12;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[c]=FHEAP[m];FHEAP[c+1]=FHEAP[n];FHEAP[c+2]=FHEAP[o];FHEAP[c+3]=0;a+=68;FHEAP[q]=1;FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=0;FHEAP[u]=1;FHEAP[v]=0;FHEAP[y]=0; +FHEAP[x]=0;FHEAP[z]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,q,p,r,s,u,v,y,x,z);q=a+12;FHEAP[B]=0;FHEAP[C]=0;FHEAP[A]=0;FHEAP[q]=FHEAP[B];FHEAP[q+1]=FHEAP[C];FHEAP[q+2]=FHEAP[A];FHEAP[q+3]=0;STACKTOP=b} +function __ZNK19btMinkowskiSumShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=34;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+10,l=b+14,m=b+18,n=b+22,o=b+26,q=b+30,p=e+52,r=IHEAP[e+84],s=IHEAP[IHEAP[r]+16];__ZmlRK9btVector3RK11btMatrix3x3(l,d,e+52);FUNCTION_TABLE[s](k,r,l);__ZNK11btTransformclERK9btVector3(j,p,k);k=e+68;l=IHEAP[e+85];p=IHEAP[IHEAP[l]+16];FHEAP[b]=0-FHEAP[d];FHEAP[c]=0-FHEAP[d+1];FHEAP[f]=0-FHEAP[d+2];FHEAP[q]=FHEAP[b];FHEAP[q+1]=FHEAP[c];FHEAP[q+ +2]=FHEAP[f];FHEAP[q+3]=0;__ZmlRK9btVector3RK11btMatrix3x3(o,q,e+68);FUNCTION_TABLE[p](n,l,o);__ZNK11btTransformclERK9btVector3(m,k,n);FHEAP[g]=FHEAP[j]-FHEAP[m];FHEAP[h]=FHEAP[j+1]-FHEAP[m+1];FHEAP[i]=FHEAP[j+2]-FHEAP[m+2];FHEAP[a]=FHEAP[g];FHEAP[a+1]=FHEAP[h];FHEAP[a+2]=FHEAP[i];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK19btMinkowskiSumShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=4;var f,g;g=0;f=g<b?0:1;a:for(;;)if(f==0)for(var h=a,i=c;;)if(f=d+4*g,FUNCTION_TABLE[IHEAP[IHEAP[h]+16]](c,a,e+4*g),_llvm_memcpy_p0i8_p0i8_i32(f,i,4,4,0),g+=1,g<b)f=2;else{f=1;continue a}else if(f==1){STACKTOP=c;break}} +function __ZNK19btMinkowskiSumShape9getMarginEv(a){var e=IHEAP[a+84],e=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e),a=IHEAP[a+85],a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);return e+a}function __ZNK19btMinkowskiSumShape21calculateLocalInertiaEfR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=3;var e=a+1,b=a+2;FHEAP[a]=0;FHEAP[e]=0;FHEAP[b]=0;FHEAP[d]=FHEAP[a];FHEAP[d+1]=FHEAP[e];FHEAP[d+2]=FHEAP[b];FHEAP[d+3]=0;STACKTOP=a} +function __ZN19btMinkowskiSumShapeD1Ev(a){IHEAP[a]=__ZTV19btMinkowskiSumShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2}function __ZN19btMinkowskiSumShapeD0Ev(a){var e;IHEAP[a]=__ZTV19btMinkowskiSumShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZNK21btConvexInternalShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){FUNCTION_TABLE[IHEAP[IHEAP[a]+18]](a,e,d,b)}function __ZNK19btMinkowskiSumShape7getNameEv(){return __str152} +function __ZN15btCompoundShapeC2Eb(a,e){var d=STACKTOP;STACKTOP+=9;var b,c=null,f,g=d+1,h=d+2,i=d+3,j=d+4,k=d+5;f=d+6;b=d+7;c=d+8;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV15btCompoundShape+2;var l=a+12;IHEAP[l+4]=1;IHEAP[l+3]=0;IHEAP[l+1]=0;IHEAP[l+2]=0;l=a+17;FHEAP[d]=999999984306749440;FHEAP[g]=999999984306749440;FHEAP[h]=999999984306749440;FHEAP[l]=FHEAP[d];FHEAP[l+1]=FHEAP[g];FHEAP[l+2]=FHEAP[h];FHEAP[l+3]=0;g=a+21;FHEAP[i]=-999999984306749440;FHEAP[j]=-999999984306749440; +FHEAP[k]=-999999984306749440;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[k];FHEAP[g+3]=0;IHEAP[a+25]=0;IHEAP[a+26]=1;FHEAP[a+27]=0;i=a+28;FHEAP[f]=1;FHEAP[b]=1;FHEAP[c]=1;FHEAP[i]=FHEAP[f];FHEAP[i+1]=FHEAP[b];FHEAP[i+2]=FHEAP[c];FHEAP[i+3]=0;IHEAP[a+1]=31;b=e&1?0:1;a:for(;;)if(b==0){f=__Z22btAlignedAllocInternalji(40,16);f==0?(c=0,b=2):(c=0,b=3);for(;;)if(b==2){IHEAP[a+25]=c==0?0:m;b=1;continue a}else if(b==3){var m=f;b=m;c=b+5;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[b]= +0;IHEAP[b+1]=0;IHEAP[b+2]=-1;IHEAP[b+3]=0;IHEAP[b+4]=0;c=3;b=2}}else if(b==1){STACKTOP=d;break}} +function __ZN15btCompoundShapeD0Ev(a){var e,d;try{__THREW__=!1,__ZN15btCompoundShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)), +e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 132583";}} +function __ZN15btCompoundShapeD2Ev(a){var e;IHEAP[a]=__ZTV15btCompoundShape+2;for(e=IHEAP[a+25]!=0?0:1;;)if(e==0)e=IHEAP[a+25],__ZN6btDbvt5clearEv(e),e+=5,__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE5clearEv(e),e=IHEAP[a+25],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=1;else if(e==1){e=a+12;__ZN20btAlignedObjectArrayI20btCompoundShapeChildE5clearEv(e);IHEAP[a]=__ZTV16btCollisionShape+2;break}} +function __ZN15btCompoundShape20updateChildTransformEiRK11btTransformb(a,e,d,b){var c=STACKTOP;STACKTOP+=16;var f,g,h,i=c+4,j=c+8;f=IHEAP[a+12+3]+20*e;_llvm_memcpy_p0i8_p0i8_i32(f,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,d+12,4,4,0);f=IHEAP[a+25]!=0?0:1;a:for(;;)if(f==0)h=e,f=a+12,f=IHEAP[IHEAP[f+3]+20*h+16],FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,d,c,i),f=c,h=i,_llvm_memcpy_p0i8_p0i8_i32(j,f,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+ +4,h,4,4,0),h=IHEAP[a+25],g=e,f=a+12,__ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMm(h,IHEAP[IHEAP[f+3]+20*g+19],j),f=1;else if(f==1){f=b&1?2:3;break a}for(;;)if(f==2)FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](a),f=3;else if(f==3){STACKTOP=c;break}} +function __ZN15btCompoundShape23removeChildShapeByIndexEi(a,e){var d,b;IHEAP[a+26]+=1;d=IHEAP[a+25]!=0?0:1;a:for(;;)if(d==0){var c=IHEAP[a+25];b=e;d=a+12;__ZN6btDbvt6removeEP10btDbvtNode(c,IHEAP[IHEAP[d+3]+20*b+19]);d=1}else if(d==1){c=a+12;b=e;d=a+12;__ZN20btAlignedObjectArrayI20btCompoundShapeChildE4swapEii(c,b,IHEAP[d+1]-1);d=IHEAP[a+25]!=0?2:3;break a}for(;;)if(d==2)b=c=e,d=a+12,IHEAP[IHEAP[IHEAP[d+3]+20*b+19]+9]=c,d=3;else if(d==3){d=a+12;IHEAP[d+1]+=-1;break}} +function __ZN20btAlignedObjectArrayI20btCompoundShapeChildE4swapEii(a,e,d){var b=STACKTOP;STACKTOP+=20;var c;c=IHEAP[a+3]+20*e;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);IHEAP[b+16]=IHEAP[c+16];IHEAP[b+17]=IHEAP[c+17];FHEAP[b+18]=FHEAP[c+18];IHEAP[b+19]=IHEAP[c+19];c=IHEAP[a+3]+20*d;e=IHEAP[a+3]+20*e;_llvm_memcpy_p0i8_p0i8_i32(e,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,c+4,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(e+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,c+12,4,4,0);IHEAP[e+16]=IHEAP[c+16];IHEAP[e+17]=IHEAP[c+17];FHEAP[e+18]=FHEAP[c+18];IHEAP[e+19]=IHEAP[c+19];a=IHEAP[a+3]+20*d;_llvm_memcpy_p0i8_p0i8_i32(a,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,b+12,4,4,0);IHEAP[a+16]=IHEAP[b+16];IHEAP[a+17]=IHEAP[b+17];FHEAP[a+18]=FHEAP[b+18];IHEAP[a+19]=IHEAP[b+19];STACKTOP=b} +function __ZN15btCompoundShape16removeChildShapeEP16btCollisionShape(a,e){var d,b,c;IHEAP[a+26]+=1;var f=IHEAP[a+12+1]-1;c=f;d=f>=0?0:1;a:for(;;)if(d==0){f=a+12;b:for(;;){b=c;d=f;for(d=IHEAP[IHEAP[d+3]+20*b+16]==e?3:4;;)if(d==3)__ZN15btCompoundShape23removeChildShapeByIndexEi(a,c),d=4;else if(d==4)if(c=d=c+-1,d>=0){d=2;continue b}else{d=1;continue a}}}else if(d==1){FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](a);break}} +function __ZN15btCompoundShape20recalculateLocalAabbEv(a){var e=STACKTOP;STACKTOP+=22;var d,b,c,f=e+4,g=e+5,h=e+6,i=e+7,j=e+11,k=e+12,l=e+13,m=e+14,n=e+18;FHEAP[f]=999999984306749440;FHEAP[g]=999999984306749440;FHEAP[h]=999999984306749440;FHEAP[e]=FHEAP[f];FHEAP[e+1]=FHEAP[g];FHEAP[e+2]=FHEAP[h];FHEAP[e+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+17,e,4,4,0);FHEAP[j]=-999999984306749440;FHEAP[k]=-999999984306749440;FHEAP[l]=-999999984306749440;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+ +3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+21,i,4,4,0);f=0;g=a+12;d=f<IHEAP[g+1]?0:1;a:for(;;)if(d==0){var h=a+12,i=a+12,j=a+17,k=a+17,l=a+21,o=a+21;for(;;){d=f;b=h;d=IHEAP[IHEAP[b+3]+20*d+16];var q=IHEAP[IHEAP[d]+2];c=f;b=i;FUNCTION_TABLE[q](d,IHEAP[b+3]+20*c,m,n);b=0;c:for(;;){q=b;d=j;q=FHEAP[d+q];c=b;d=m;d=q>FHEAP[d+c]?4:5;d:for(;;)if(d==4)q=b,d=m,q=FHEAP[d+q],c=b,d=k,FHEAP[d+c]=q,d=5;else if(d==5){q=b;d=l;q=FHEAP[d+q];c=b;d=n;d=q<FHEAP[d+c]?6:7;break d}for(;;)if(d==6)q=b,d=n,q=FHEAP[d+q],c=b,d=o,FHEAP[d+ +c]=q,d=7;else if(d==7)if(b=d=b+1,d<3)continue c;else break c}f+=1;d=f;b=g;if(d<IHEAP[b+1])d=2;else{d=1;continue a}}}else if(d==1){STACKTOP=e;break}} +function __ZNK15btCompoundShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=80;var f,g,h,i;f=c+1;h=c+2;var j,k,l,m,n,o;i=c+3;g=c+4;var q=c+5;o=c+6;var p=c+7,r=c+8,s,u,v,y,x,z,B,C,A;A=c+9;C=c+10;B=c+11;var w,D,E,F,G;E=c+12;D=c+13;w=c+14;var J,H=c+15,M=c+16,K=c+17;v=c+18;var N=c+22,R=c+23;s=c+27;var O=c+31,Q=c+32;m=c+36;var I=c+37,L=c+38,P=c+39,S=c+40,T=c+41;n=c+42;l=c+46;k=c+47;j=c+48;u=c+49;G=c+61;F=c+65;z=c+69;x=c+70;y=c+71;var U=c+72,W=c+76;FHEAP[N]=0.5;var Z=a+17;J= +a+21;FHEAP[H]=FHEAP[J]-FHEAP[Z];FHEAP[M]=FHEAP[J+1]-FHEAP[Z+1];FHEAP[K]=FHEAP[J+2]-FHEAP[Z+2];FHEAP[R]=FHEAP[H];FHEAP[R+1]=FHEAP[M];FHEAP[R+2]=FHEAP[K];FHEAP[R+3]=0;FHEAP[o]=FHEAP[R]*FHEAP[N];FHEAP[p]=FHEAP[R+1]*FHEAP[N];FHEAP[r]=FHEAP[R+2]*FHEAP[N];FHEAP[v]=FHEAP[o];FHEAP[v+1]=FHEAP[p];FHEAP[v+2]=FHEAP[r];FHEAP[v+3]=0;FHEAP[O]=0.5;p=a+17;o=a+21;FHEAP[i]=FHEAP[o]+FHEAP[p];FHEAP[g]=FHEAP[o+1]+FHEAP[p+1];FHEAP[q]=FHEAP[o+2]+FHEAP[p+2];FHEAP[Q]=FHEAP[i];FHEAP[Q+1]=FHEAP[g];FHEAP[Q+2]=FHEAP[q];FHEAP[Q+ +3]=0;FHEAP[c]=FHEAP[Q]*FHEAP[O];FHEAP[f]=FHEAP[Q+1]*FHEAP[O];FHEAP[h]=FHEAP[Q+2]*FHEAP[O];FHEAP[s]=FHEAP[c];FHEAP[s+1]=FHEAP[f];FHEAP[s+2]=FHEAP[h];FHEAP[s+3]=0;for(f=IHEAP[a+12+1]!=0?0:1;;)if(f==0){m=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[l]=m;m=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[k]=m;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[j]=a;a=n;m=k;k=l;l=m;m=j;j=a;a=m;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[a];FHEAP[j+3]=0;j=v;FHEAP[j]+=FHEAP[n];FHEAP[j+1]+=FHEAP[n+1];FHEAP[j+ +2]+=FHEAP[n+2];n=e;__ZNK11btMatrix3x38absoluteEv(u,n);__ZNK11btTransformclERK9btVector3(G,e,s);e=u;s=e+0;e=v;FHEAP[z]=FHEAP[s]*FHEAP[e]+FHEAP[s+1]*FHEAP[e+1]+FHEAP[s+2]*FHEAP[e+2];e=u;s=e+4;e=v;FHEAP[x]=FHEAP[s]*FHEAP[e]+FHEAP[s+1]*FHEAP[e+1]+FHEAP[s+2]*FHEAP[e+2];u+=8;FHEAP[y]=FHEAP[u]*FHEAP[v]+FHEAP[u+1]*FHEAP[v+1]+FHEAP[u+2]*FHEAP[v+2];v=F;u=x;x=z;z=u;u=y;y=v;v=u;FHEAP[y]=FHEAP[x];FHEAP[y+1]=FHEAP[z];FHEAP[y+2]=FHEAP[v];FHEAP[y+3]=0;y=G;x=F;FHEAP[A]=FHEAP[y]-FHEAP[x];FHEAP[C]=FHEAP[y+1]-FHEAP[x+ +1];FHEAP[B]=FHEAP[y+2]-FHEAP[x+2];y=U;x=C;C=A;A=x;x=B;B=y;y=x;FHEAP[B]=FHEAP[C];FHEAP[B+1]=FHEAP[A];FHEAP[B+2]=FHEAP[y];FHEAP[B+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,U,4,4,0);FHEAP[E]=FHEAP[G]+FHEAP[F];FHEAP[D]=FHEAP[G+1]+FHEAP[F+1];FHEAP[w]=FHEAP[G+2]+FHEAP[F+2];F=W;G=D;D=E;E=G;G=w;w=F;F=G;FHEAP[w]=FHEAP[D];FHEAP[w+1]=FHEAP[E];FHEAP[w+2]=FHEAP[F];FHEAP[w+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,W,4,4,0);STACKTOP=c;break}else f==1&&(FHEAP[m]=0,FHEAP[I]=0,FHEAP[L]=0,g=v,f=m,h=I,i=L,FHEAP[g]=FHEAP[f],FHEAP[g+ +1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],FHEAP[g+3]=0,FHEAP[P]=0,FHEAP[S]=0,FHEAP[T]=0,g=s,f=P,h=S,i=T,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],f=FHEAP[g+3]=0)} +function __ZNK15btCompoundShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=51;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+34,z=b+38,B=b+42,C=b+46,A=b+50;FHEAP[b]=1;FHEAP[c]=0;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(y,b,c,f,g,h,i,j,k,l);c=y+12;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[c]=FHEAP[m];FHEAP[c+1]= +FHEAP[n];FHEAP[c+2]=FHEAP[o];FHEAP[c+3]=0;FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,y,x,z);FHEAP[q]=FHEAP[z]-FHEAP[x];FHEAP[p]=FHEAP[z+1]-FHEAP[x+1];FHEAP[r]=FHEAP[z+2]-FHEAP[x+2];FHEAP[C]=FHEAP[q];FHEAP[C+1]=FHEAP[p];FHEAP[C+2]=FHEAP[r];FHEAP[C+3]=0;FHEAP[A]=0.5;FHEAP[s]=FHEAP[C]*FHEAP[A];FHEAP[u]=FHEAP[C+1]*FHEAP[A];FHEAP[v]=FHEAP[C+2]*FHEAP[A];FHEAP[B]=FHEAP[s];FHEAP[B+1]=FHEAP[u];FHEAP[B+2]=FHEAP[v];FHEAP[B+3]=0;a=2*FHEAP[B];m=2*FHEAP[B+1];B=2*FHEAP[B+2];FHEAP[d]=e/12*(m*m+B*B);FHEAP[d+1]=e/12*(a*a+ +B*B);FHEAP[d+2]=e/12*(a*a+m*m);STACKTOP=b} +function __ZN15btCompoundShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=41;var b,c,f,g,h=d+1,i=d+2,j=d+3,k=d+4,l=d+5,m=d+6,n=d+7,o=d+8,q,p=d+9,r=d+25,s=d+29,u=d+33,v=d+37;q=0;var y=a+12;b=q<IHEAP[y+1]?0:1;a:for(;;)if(b==0)for(var x=a+12,z=r,B=a+28,C=r,A=u,w=a+12;;)if(c=q,b=a,b+=12,c=IHEAP[b+3]+20*c,b=p,f=c,c=b,g=b=f,f=c,_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(c+12,b+12,4, +4,0),c=q,b=x,b=IHEAP[IHEAP[b+3]+20*c+16],b=FUNCTION_TABLE[IHEAP[IHEAP[b]+7]](b),_llvm_memcpy_p0i8_p0i8_i32(z,b,4,4,0),c=e,b=r,FHEAP[m]=FHEAP[b]*FHEAP[c],FHEAP[n]=FHEAP[b+1]*FHEAP[c+1],FHEAP[o]=FHEAP[b+2]*FHEAP[c+2],b=s,c=m,f=n,g=o,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,b=s,c=B,FHEAP[j]=FHEAP[b]/FHEAP[c],FHEAP[k]=FHEAP[b+1]/FHEAP[c+1],FHEAP[l]=FHEAP[b+2]/FHEAP[c+2],b=u,c=j,f=k,g=l,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,_llvm_memcpy_p0i8_p0i8_i32(C, +A,4,4,0),c=q,b=w,b=IHEAP[IHEAP[b+3]+20*c+16],FUNCTION_TABLE[IHEAP[IHEAP[b]+6]](b,r),b=p,c=e,b+=12,FHEAP[d]=FHEAP[b]*FHEAP[c],FHEAP[h]=FHEAP[b+1]*FHEAP[c+1],FHEAP[i]=FHEAP[b+2]*FHEAP[c+2],b=v,c=d,f=h,g=i,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,b=p,c=v,_llvm_memcpy_p0i8_p0i8_i32(b+12,c,4,4,0),__ZN15btCompoundShape20updateChildTransformEiRK11btTransformb(a,q,p,0),q+=1,c=q,b=y,c<IHEAP[b+1])b=2;else{b=1;continue a}else if(b==1){_llvm_memcpy_p0i8_p0i8_i32(a+28,e,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[a]+ +16]](a);STACKTOP=d;break}} +function __ZNK15btCompoundShape9serializeEPvP12btSerializer(a,e,d){var b,c,f,g,h,i,j,k,l,m,n,o;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);FHEAP[e+8]=FHEAP[a+27];IHEAP[e+7]=IHEAP[a+12+1];IHEAP[e+6]=0;b=IHEAP[e+7]!=0?0:1;a:for(;;)if(b==0){m=d;m=FUNCTION_TABLE[IHEAP[IHEAP[m]+4]](m,76,IHEAP[e+7]);n=IHEAP[m+2];o=d;o=FUNCTION_TABLE[IHEAP[IHEAP[o]+7]](o,n);IHEAP[e+6]=o;o=0;b=o<IHEAP[e+7]?2:3;b:for(;;)if(b==2){var q=a+12,p=a+12,r=a+12,s=a+12,u=a+12,v=a+12,y=a+12,x=a+12;for(;;){g=o;b=q;FHEAP[n+ +18]=FHEAP[IHEAP[b+3]+20*g+18];g=d;c=IHEAP[IHEAP[g]+7];f=o;b=p;b=FUNCTION_TABLE[c](g,IHEAP[IHEAP[b+3]+20*f+16]);IHEAP[n+16]=b;g=d;c=IHEAP[IHEAP[g]+6];f=o;b=r;b=FUNCTION_TABLE[c](g,IHEAP[IHEAP[b+3]+20*f+16])!=0?5:6;d:for(;;)if(b==5){j=o;i=s;IHEAP[n+17]=IHEAP[IHEAP[i+3]+20*j+17];j=o;i=u;k=j;j=n;k=IHEAP[i+3]+20*k;i=j;j=k;k=i;var z=l=j;l=0;break d}else if(b==6){b=d;g=IHEAP[IHEAP[b]+4];f=o;c=v;c=IHEAP[IHEAP[c+3]+20*f+16];c=FUNCTION_TABLE[IHEAP[IHEAP[c]+12]](c);c=FUNCTION_TABLE[g](b,c,1);g=o;b=y;b=IHEAP[IHEAP[b+ +3]+20*g+16];f=FUNCTION_TABLE[IHEAP[IHEAP[b]+13]](b,IHEAP[c+2],d);b=d;g=IHEAP[IHEAP[b]+5];var B=f;h=o;f=x;FUNCTION_TABLE[g](b,c,B,1346455635,IHEAP[IHEAP[f+3]+20*h+16]);b=5}d:for(;;){b=k+l*4;c=g=z+l*4;for(g=0;;)if(FHEAP[b+g]=FHEAP[c+g],g=f=g+1,!(f<4))break;l=b=l+1;if(!(b<3))break d}b=i+12;c=g=j+12;for(g=0;;)if(FHEAP[b+g]=FHEAP[c+g],g=f=g+1,!(f<4))break;o+=1;n+=19;if(o<IHEAP[e+7])b=4;else{b=3;continue b}}}else if(b==3){n=d;FUNCTION_TABLE[IHEAP[IHEAP[n]+5]](n,m,__str53,1497453121,IHEAP[m+2]);b=1;continue a}}else if(b== +1)return __str154;return null}function __ZNK15btCompoundShape15getLocalScalingEv(a){return a+28}function __ZNK15btCompoundShape7getNameEv(){return __str255}function __ZN15btCompoundShape9setMarginEf(a,e){FHEAP[a+27]=e}function __ZNK15btCompoundShape9getMarginEv(a){return FHEAP[a+27]}function __ZNK15btCompoundShape28calculateSerializeBufferSizeEv(){return 24} +function __ZN20btAlignedObjectArrayI20btCompoundShapeChildE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN11btConeShapeC2Eff(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var g=a+12;FHEAP[b]=1;FHEAP[c]=1;FHEAP[f]=1;FHEAP[g]=FHEAP[b];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV11btConeShape+2;FHEAP[a+53]=e;FHEAP[a+54]=d;IHEAP[a+1]=11;for(e=2;;)if(e==0){e=FHEAP[a+53];d=FHEAP[a+53]*FHEAP[a+53]+FHEAP[a+ +54]*FHEAP[a+54];d=_sqrtf(d);FHEAP[a+52]=e/d;STACKTOP=b;break}else e==1?(IHEAP[a+55]=1,IHEAP[a+55+1]=0,IHEAP[a+55+2]=2,e=0):e==2?(IHEAP[a+55]=0,IHEAP[a+55+1]=1,IHEAP[a+55+2]=2,e=0):e==3&&(IHEAP[a+55]=0,IHEAP[a+55+1]=2,IHEAP[a+55+2]=1,e=0)} +function __ZN11btConeShape14setConeUpIndexEi(a,e){var d;for(d=e==0?1:e==1?2:e==2?3:0;;)if(d==0)break;else d==1?(IHEAP[a+55]=1,IHEAP[a+55+1]=0,IHEAP[a+55+2]=2,d=0):d==2?(IHEAP[a+55]=0,IHEAP[a+55+1]=1,IHEAP[a+55+2]=2,d=0):d==3&&(IHEAP[a+55]=0,IHEAP[a+55+1]=2,IHEAP[a+55+2]=1,d=0)} +function __ZN12btConeShapeZC2Eff(a,e,d){__ZN11btConeShapeC2Eff(a,e,d);IHEAP[a]=__ZTV12btConeShapeZ+2;for(e=3;;)if(e==0)break;else e==1?(IHEAP[a+55]=1,IHEAP[a+55+1]=0,IHEAP[a+55+2]=2,e=0):e==2?(IHEAP[a+55]=0,IHEAP[a+55+1]=1,IHEAP[a+55+2]=2,e=0):e==3&&(IHEAP[a+55]=0,IHEAP[a+55+1]=2,IHEAP[a+55+2]=1,e=0)} +function __ZN12btConeShapeXC2Eff(a,e,d){__ZN11btConeShapeC2Eff(a,e,d);IHEAP[a]=__ZTV12btConeShapeX+2;for(e=1;;)if(e==0)break;else e==1?(IHEAP[a+55]=1,IHEAP[a+55+1]=0,IHEAP[a+55+2]=2,e=0):e==2?(IHEAP[a+55]=0,IHEAP[a+55+1]=1,IHEAP[a+55+2]=2,e=0):e==3&&(IHEAP[a+55]=0,IHEAP[a+55+1]=2,IHEAP[a+55+2]=1,e=0)} +function __ZNK11btConeShape16coneLocalSupportERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=12;var c,f,g,h=b+4;g=b+8;f=FHEAP[e+54]*0.5;c=FHEAP[d+IHEAP[e+55+1]];var i=_sqrtf(FHEAP[d]*FHEAP[d]+FHEAP[d+1]*FHEAP[d+1]+FHEAP[d+2]*FHEAP[d+2]),j=IHEAP[e+55];c>i*FHEAP[e+52]?(FHEAP[b+j]=0,FHEAP[b+IHEAP[e+55+1]]=f,FHEAP[b+IHEAP[e+55+2]]=0,_llvm_memcpy_p0i8_p0i8_i32(a,b,4,4,0)):(c=FHEAP[d+j]*FHEAP[d+IHEAP[e+55]]+FHEAP[d+IHEAP[e+55+2]]*FHEAP[d+IHEAP[e+55+2]],c=_sqrtf(c),c>1.1920928955078125E-7?(g=FHEAP[e+53]/c, +FHEAP[h+IHEAP[e+55]]=FHEAP[d+IHEAP[e+55]]*g,FHEAP[h+IHEAP[e+55+1]]=0-f,FHEAP[h+IHEAP[e+55+2]]=FHEAP[d+IHEAP[e+55+2]]*g,_llvm_memcpy_p0i8_p0i8_i32(a,h,4,4,0)):(FHEAP[g+IHEAP[e+55]]=0,FHEAP[g+IHEAP[e+55+1]]=0-f,FHEAP[g+IHEAP[e+55+2]]=0,_llvm_memcpy_p0i8_p0i8_i32(a,g,4,4,0)));STACKTOP=b}function __ZNK11btConeShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){__ZNK11btConeShape16coneLocalSupportERK9btVector3(a,e,d)} +function __ZNK11btConeShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=4;var f,g;g=0;f=g<b?0:1;a:for(;;)if(f==0)for(var h=c;;){f=e+4*g;var i=d+4*g;__ZNK11btConeShape16coneLocalSupportERK9btVector3(c,a,f);_llvm_memcpy_p0i8_p0i8_i32(i,h,4,4,0);g+=1;if(g<b)f=2;else{f=1;continue a}}else if(f==1){STACKTOP=c;break}} +function __ZNK11btConeShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=17;var c,f,g,h=b+1,i,j=b+2,k=b+3,l=b+4,m=b+5,n=b+9,o=b+10,q=b+11,p=b+12,r=b+16;__ZNK11btConeShape16coneLocalSupportERK9btVector3(a,e,d);c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)!=0?0:1;a:for(;;)if(c==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);c=f=c=m;for(c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2]<1.4210854715202004E-14?2:3;;)if(c==2)FHEAP[n]=-1,FHEAP[o]=-1,FHEAP[q]=-1,i=m,c=n,f=o,g= +q,FHEAP[i]=FHEAP[c],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[g],FHEAP[i+3]=0,c=3;else if(c==3){f=g=f=c=m;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[h]=f;f=c;c=h;FHEAP[b]=1/FHEAP[c];c=b;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+2]*=FHEAP[c];c=e;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+11]](c);FHEAP[r]=c;f=r;c=m;FHEAP[j]=FHEAP[c]*FHEAP[f];FHEAP[k]=FHEAP[c+1]*FHEAP[f];FHEAP[l]=FHEAP[c+2]*FHEAP[f];c=p;f=j;g=k;i=l;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[i]; +FHEAP[c+3]=0;f=a;c=p;FHEAP[f]+=FHEAP[c];FHEAP[f+1]+=FHEAP[c+1];FHEAP[f+2]+=FHEAP[c+2];c=1;continue a}}else if(c==1){STACKTOP=b;break}} +function __ZN11btConeShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+1,c=d+2,f=d+3,g,h,i;g=IHEAP[a+55+1];h=IHEAP[a+55];i=IHEAP[a+55+2];FHEAP[a+54]*=FHEAP[e+g]/FHEAP[a+12+g];FHEAP[a+53]*=(FHEAP[e+h]/FHEAP[a+12+h]+FHEAP[e+i]/FHEAP[a+12+i])/2;g=FHEAP[a+53];h=_sqrtf(FHEAP[a+53]*FHEAP[a+53]+FHEAP[a+54]*FHEAP[a+54]);FHEAP[a+52]=g/h;g=a+12;h=_fabsf(FHEAP[e]);FHEAP[d]=h;h=_fabsf(FHEAP[e+1]);FHEAP[b]=h;h=_fabsf(FHEAP[e+2]);FHEAP[c]=h;FHEAP[f]=FHEAP[d];FHEAP[f+1]=FHEAP[b];FHEAP[f+ +2]=FHEAP[c];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,f,4,4,0);STACKTOP=d}function __ZN11btConeShapeD1Ev(a){IHEAP[a]=__ZTV11btConeShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN11btConeShapeD0Ev(a){var e;IHEAP[a]=__ZTV11btConeShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZNK11btConeShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=66;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+19,z=b+20,B=b+21,C=b+37,A=b+41,w=b+45,D=b+49,E=b+53,F=b+54,G=b+55,J=b+59,H=b+60,M=b+61,K=b+62;FHEAP[j]=1;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=1;FHEAP[o]=0;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(B,j,k,l,m,n,o,q,p,r);j=B+12;FHEAP[s]= +0;FHEAP[u]=0;FHEAP[v]=0;FHEAP[j]=FHEAP[s];FHEAP[j+1]=FHEAP[u];FHEAP[j+2]=FHEAP[v];FHEAP[j+3]=0;FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,B,C,A);FHEAP[b]=FHEAP[A]-FHEAP[C];FHEAP[c]=FHEAP[A+1]-FHEAP[C+1];FHEAP[f]=FHEAP[A+2]-FHEAP[C+2];FHEAP[D]=FHEAP[b];FHEAP[D+1]=FHEAP[c];FHEAP[D+2]=FHEAP[f];FHEAP[D+3]=0;FHEAP[E]=0.5;FHEAP[g]=FHEAP[D]*FHEAP[E];FHEAP[h]=FHEAP[D+1]*FHEAP[E];FHEAP[i]=FHEAP[D+2]*FHEAP[E];FHEAP[w]=FHEAP[g];FHEAP[w+1]=FHEAP[h];FHEAP[w+2]=FHEAP[i];FHEAP[w+3]=0;f=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a); +c=2*(FHEAP[w]+f);a=2*(FHEAP[w+1]+f);w=2*(FHEAP[w+2]+f);c*=c;a*=a;w*=w;FHEAP[F]=e*0.0833333283662796;FHEAP[J]=a+w;FHEAP[H]=c+w;FHEAP[M]=c+a;FHEAP[G]=FHEAP[J];FHEAP[G+1]=FHEAP[H];FHEAP[G+2]=FHEAP[M];FHEAP[G+3]=0;FHEAP[y]=FHEAP[G]*FHEAP[F];FHEAP[x]=FHEAP[G+1]*FHEAP[F];FHEAP[z]=FHEAP[G+2]*FHEAP[F];FHEAP[K]=FHEAP[y];FHEAP[K+1]=FHEAP[x];FHEAP[K+2]=FHEAP[z];FHEAP[K+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,K,4,4,0);STACKTOP=b}function __ZNK11btConeShape7getNameEv(){return __str157} +function __ZN12btConeShapeXD1Ev(a){IHEAP[a]=__ZTV12btConeShapeX+2;IHEAP[a]=__ZTV11btConeShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN12btConeShapeXD0Ev(a){var e;IHEAP[a]=__ZTV12btConeShapeX+2;IHEAP[a]=__ZTV11btConeShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN12btConeShapeZD1Ev(a){IHEAP[a]=__ZTV12btConeShapeZ+2;IHEAP[a]=__ZTV11btConeShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN12btConeShapeZD0Ev(a){var e;IHEAP[a]=__ZTV12btConeShapeZ+2;IHEAP[a]=__ZTV11btConeShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN18btConvexPolyhedronC2Ev(a){IHEAP[a]=__ZTV18btConvexPolyhedron+2;var e=a+1;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+6;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;a+=11;IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0} +function __ZN18btConvexPolyhedronD0Ev(a){var e;try{__THREW__=!1,__ZN18btConvexPolyhedronD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 138037";} +function __ZN18btConvexPolyhedronD2Ev(a){var e;IHEAP[a]=__ZTV18btConvexPolyhedron+2;__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+11);e=a+6;try{__THREW__=!1,__ZN20btAlignedObjectArrayI6btFaceE5clearEv(e)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+1);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+ +1),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 138103";} +function __ZN18btConvexPolyhedron10initializeEv(a){var e=STACKTOP;STACKTOP+=107;var d,b=null,c,f,g,h=e+1,i=e+2,j,k=e+3,l=e+4,m=e+5,n,o=e+6,q=e+7,p=e+8,r=e+9,s=e+10,u,v,y,x,z,B,C,A,w=e+11,D=e+12,E=e+13,F=e+14,G=e+15,J=e+16,H=e+17,M=e+18,K=e+19,N=e+20,R=e+21,O=e+22,Q=e+23,I=e+24,L=e+25,P=e+26,S=e+27,T=e+28,U=e+29,W=e+30,Z=e+31,ca=e+32,Y,ea;ea=e+33;var ha,ba,V;V=e+34;Y=e+54;var aa=e+55,X=e+56,ka=e+57,da;z=e+58;var fa=e+60,ga=e+64,ja=e+68,la=e+72,qa,pa=e+74,wa=e+75,ua,na=e+77,ya=e+78,xa=e+82,ia=e+86, +ma=e+90,ta=e+94,ra=e+98,oa=e+102,Da=e+103;IHEAP[V+4]=1;IHEAP[V+3]=0;IHEAP[V+1]=0;IHEAP[V+2]=0;var Ba=V+5;IHEAP[Ba+4]=1;IHEAP[Ba+3]=0;IHEAP[Ba+1]=0;IHEAP[Ba+2]=0;Ba=V+10;IHEAP[Ba+4]=1;IHEAP[Ba+3]=0;IHEAP[Ba+1]=0;IHEAP[Ba+2]=0;Ba=V+15;IHEAP[Ba+4]=1;IHEAP[Ba+3]=0;IHEAP[Ba+1]=0;IHEAP[Ba+2]=0;FHEAP[Y]=0;Ba=a+16;FHEAP[aa]=0;FHEAP[X]=0;FHEAP[ka]=0;FHEAP[Ba]=FHEAP[aa];FHEAP[Ba+1]=FHEAP[X];FHEAP[Ba+2]=FHEAP[ka];aa=FHEAP[Ba+3]=0;X=a+6;d=aa<IHEAP[X+1]?0:1;a:for(;;)if(d==0){var ka=a+6,Ba=a+6,Oa=a+6,Fa=a+1,Ha= +z+1,La=a+1,Ea=z,Ca=a+11,Aa=a+11,za=a+11,Ja=la,Ra=a+11;b:for(;;){ba=aa;ha=ka;ha=IHEAP[ha+3]+14*ba;ba=ha=IHEAP[ha+1];da=0;d=da<ba?3:4;for(;;)if(d==3){v=(da+1)%ha;b=aa;d=Ba;n=b;b=da;d=IHEAP[d+3]+14*n;d=IHEAP[IHEAP[d+3]+b]&65535;n=aa;b=Oa;b=IHEAP[b+3]+14*n;b=IHEAP[IHEAP[b+3]+v]&65535;v=z;IHEAP[v]=d;IHEAP[v+1]=b;d=IHEAP[v+1]>IHEAP[v]?5:6;d:for(;;)if(d==5)b=v+1,d=v,n=IHEAP[d],IHEAP[d]=IHEAP[b],IHEAP[b]=n,d=6;else if(d==6){y=V;x=z;x=v=__ZNK9btHashMapI20btInternalVertexPair14btInternalEdgeE9findIndexERKS0_(y, +x);d=v==-1?7:8;break d}d==7?u=0:d==8&&(v=x,u=y+10,u=IHEAP[u+3]+2*v);v=u;n=IHEAP[Ha];b=Fa;b=IHEAP[b+3]+4*n;c=IHEAP[Ea];n=La;n=IHEAP[n+3]+4*c;FHEAP[p]=FHEAP[b]-FHEAP[n];FHEAP[r]=FHEAP[b+1]-FHEAP[n+1];FHEAP[s]=FHEAP[b+2]-FHEAP[n+2];b=fa;n=p;c=r;f=s;FHEAP[b]=FHEAP[n];FHEAP[b+1]=FHEAP[c];FHEAP[b+2]=FHEAP[f];FHEAP[b+3]=0;n=c=n=b=fa;n=FHEAP[n]*FHEAP[c]+FHEAP[n+1]*FHEAP[c+1]+FHEAP[n+2]*FHEAP[c+2];n=_sqrtf(n);FHEAP[q]=n;n=b;b=q;FHEAP[o]=1/FHEAP[b];b=o;FHEAP[n]*=FHEAP[b];FHEAP[n+1]*=FHEAP[b];FHEAP[n+2]*=FHEAP[b]; +n=b=0;d:for(;;){c=n;d=Ca;if(!(c<IHEAP[d+1])){d=12;break d}c=n;d=Aa;d=IHEAP[d+3]+4*c;c=fa;FHEAP[e]=FHEAP[d]-FHEAP[c];FHEAP[h]=FHEAP[d+1]-FHEAP[c+1];FHEAP[i]=FHEAP[d+2]-FHEAP[c+2];d=ga;c=e;f=h;g=i;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;d=c=ga;d=_fabsf(FHEAP[d])>1.0E-6?13:14;e:for(;;)if(d==13){d=n;j=za;j=IHEAP[j+3]+4*d;d=fa;FHEAP[k]=FHEAP[j]+FHEAP[d];FHEAP[l]=FHEAP[j+1]+FHEAP[d+1];FHEAP[m]=FHEAP[j+2]+FHEAP[d+2];j=ja;d=k;c=l;f=m;FHEAP[j]=FHEAP[d];FHEAP[j+1]=FHEAP[c];FHEAP[j+ +2]=FHEAP[f];FHEAP[j+3]=0;d=j=ja;d=_fabsf(FHEAP[d])>1.0E-6?18:19;break e}else if(d==14){d=c;if(_fabsf(FHEAP[d+1])>1.0E-6){d=13;continue e}d=c;if(_fabsf(FHEAP[d+2])>1.0E-6)d=13;else{d=16;break d}}for(;;)if(d==18){n+=1;d=10;continue d}else if(d==19)if(d=j,_fabsf(FHEAP[d+1])>1.0E-6)d=18;else if(d=j,_fabsf(FHEAP[d+2])>1.0E-6)d=18;else{d=21;break d}}d:for(;;){if(d==12){d=b&1?22:23;break d}b=1;d=12}d:for(;;)if(d==22){d=v!=0?30:31;break d}else if(d==23){d=Ra;n=fa;d=c=d;b=d=IHEAP[d+1];d=c;d=b==IHEAP[d+2]? +24:25;e:for(;;)if(d==24){d=c;f=IHEAP[d+1];f!=0?(b=24,d=26):(b=24,d=27);for(;;)if(d==26){var Ua=f*2,b=26;d=27}else if(d==27){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(c,b==26?Ua:1);d=25;continue e}}else if(d==25){var Xa=IHEAP[c+3]+4*IHEAP[c+1];d=Xa==0?28:29;break e}for(;;)if(d==28){IHEAP[c+1]+=1;d=22;continue d}else d==29&&(_llvm_memcpy_p0i8_p0i8_i32(Xa,n,4,4,0),d=28)}d==30?IHEAP[v+1]=aa&65535:d==31&&(v=la,IHEAP[v]=-1,IHEAP[v+1]=-1,IHEAP[Ja]=aa&65535,__ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE6insertERKS0_RKS1_(V, +z,la));da+=1;d=da<ba?3:4}else if(d==4)if(aa+=1,ba=aa,ha=X,ba<IHEAP[ha+1]){d=2;continue b}else{d=1;continue a}}}else if(d==1){var h=qa=0,Wa=a+6,o=Wa;d=h<IHEAP[o+1]?33:34;break a}a:for(;;)if(d==33){h=a+6;i=a+6;k=a+6;l=a+6;m=a+6;b:for(;;){q=qa;o=h;o=IHEAP[o+3]+14*q;o=IHEAP[o+1];p=qa;q=i;q=IHEAP[q+3]+14*p+5;p=o;IHEAP[pa]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(q,p,pa);q=0;d=q<o?36:37;for(;;)if(d==36){p=(q+1)%o;s=qa;r=k;z=s;s=q;r=IHEAP[r+3]+14*z;r=IHEAP[IHEAP[r+3]+s]&65535;z=qa;s=l;s=IHEAP[s+3]+14* +z;s=IHEAP[IHEAP[s+3]+p]&65535;p=wa;IHEAP[p]=r;IHEAP[p+1]=s;for(d=IHEAP[p+1]>IHEAP[p]?38:39;;)if(d==38)s=p+1,r=p,z=IHEAP[r],IHEAP[r]=IHEAP[s],IHEAP[s]=z,d=39;else if(d==39){C=V;A=wa;A=p=__ZNK9btHashMapI20btInternalVertexPair14btInternalEdgeE9findIndexERKS0_(C,A);d=p==-1?40:41;break}d==40?B=0:d==41&&(p=A,B=C+10,B=IHEAP[B+3]+2*p);r=p=B;if(IHEAP[p]==qa)var Sa=IHEAP[r+1],b=43;else var Ga=IHEAP[r],b=45;p=b==43?Sa:Ga;s=qa;r=m;z=s;s=q;r=IHEAP[r+3]+14*z+5;IHEAP[IHEAP[r+3]+s]=p;q+=1;d=q<o?36:37}else if(d== +37)if(qa+=1,q=qa,o=Wa,q<IHEAP[o+1]){d=35;continue b}else{d=34;continue a}}}else if(d==34){qa=ua=0;var Ia=a+6;B=Ia;d=qa<IHEAP[B+1]?46:47;break a}a:for(;;)if(d==46){qa=a+6;pa=a+1;wa=a+6;Wa=a+1;Sa=a+6;Ga=a+1;C=a+6;A=a+16;b:for(;;){h=ua;B=qa;B=IHEAP[B+3]+14*h;B=IHEAP[B+1];h=B-2;k=ua;i=wa;i=IHEAP[i+3]+14*k;k=IHEAP[IHEAP[i+3]+0];i=pa;i=IHEAP[i+3]+4*k;k=1;for(d=k<=h?49:50;;)if(d==49)l=(k+1)%B,o=ua,m=Sa,q=o,o=k,m=IHEAP[m+3]+14*q,o=IHEAP[IHEAP[m+3]+o],m=Wa,m=IHEAP[m+3]+4*o,q=ua,o=C,o=IHEAP[o+3]+14*q,o=IHEAP[IHEAP[o+ +3]+l],l=Ga,l=IHEAP[l+3]+4*o,q=m,o=i,FHEAP[w]=FHEAP[o]-FHEAP[q],FHEAP[D]=FHEAP[o+1]-FHEAP[q+1],FHEAP[E]=FHEAP[o+2]-FHEAP[q+2],o=ya,q=w,p=D,r=E,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[p],FHEAP[o+2]=FHEAP[r],FHEAP[o+3]=0,q=l,o=i,FHEAP[F]=FHEAP[o]-FHEAP[q],FHEAP[G]=FHEAP[o+1]-FHEAP[q+1],FHEAP[J]=FHEAP[o+2]-FHEAP[q+2],o=xa,q=F,p=G,r=J,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[p],FHEAP[o+2]=FHEAP[r],FHEAP[o+3]=0,q=ya,o=xa,FHEAP[H]=FHEAP[q+1]*FHEAP[o+2]-FHEAP[q+2]*FHEAP[o+1],FHEAP[M]=FHEAP[q+2]*FHEAP[o]-FHEAP[q]*FHEAP[o+ +2],FHEAP[K]=FHEAP[q]*FHEAP[o+1]-FHEAP[q+1]*FHEAP[o],o=ia,q=H,p=M,r=K,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[p],FHEAP[o+2]=FHEAP[r],FHEAP[o+3]=0,o=q=o=ia,o=FHEAP[o]*FHEAP[q]+FHEAP[o+1]*FHEAP[q+1]+FHEAP[o+2]*FHEAP[q+2],o=_sqrtf(o)*0.5,FHEAP[na]=o,o=m,m=i,FHEAP[N]=FHEAP[m]+FHEAP[o],FHEAP[R]=FHEAP[m+1]+FHEAP[o+1],FHEAP[O]=FHEAP[m+2]+FHEAP[o+2],m=ra,o=N,q=R,p=O,FHEAP[m]=FHEAP[o],FHEAP[m+1]=FHEAP[q],FHEAP[m+2]=FHEAP[p],FHEAP[m+3]=0,m=l,l=ra,FHEAP[Q]=FHEAP[l]+FHEAP[m],FHEAP[I]=FHEAP[l+1]+FHEAP[m+1],FHEAP[L]= +FHEAP[l+2]+FHEAP[m+2],l=ta,m=Q,o=I,q=L,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[o],FHEAP[l+2]=FHEAP[q],FHEAP[l+3]=0,FHEAP[oa]=3,m=ta,l=oa,FHEAP[U]=1/FHEAP[l],l=m,m=U,FHEAP[P]=FHEAP[l]*FHEAP[m],FHEAP[S]=FHEAP[l+1]*FHEAP[m],FHEAP[T]=FHEAP[l+2]*FHEAP[m],l=ma,m=P,o=S,q=T,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[o],FHEAP[l+2]=FHEAP[q],FHEAP[l+3]=0,m=na,l=ma,FHEAP[W]=FHEAP[l]*FHEAP[m],FHEAP[Z]=FHEAP[l+1]*FHEAP[m],FHEAP[ca]=FHEAP[l+2]*FHEAP[m],l=Da,m=W,o=Z,q=ca,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[o],FHEAP[l+2]=FHEAP[q], +FHEAP[l+3]=0,m=A,l=Da,FHEAP[m]+=FHEAP[l],FHEAP[m+1]+=FHEAP[l+1],FHEAP[m+2]+=FHEAP[l+2],FHEAP[Y]+=FHEAP[na],k+=1,d=k<=h?49:50;else if(d==50)if(ua+=1,h=ua,B=Ia,h<IHEAP[B+1]){d=48;continue b}else{d=47;continue a}}}else if(d==47){a+=16;FHEAP[ea]=1/FHEAP[Y];Y=a;FHEAP[Y]*=FHEAP[ea];FHEAP[Y+1]*=FHEAP[ea];FHEAP[Y+2]*=FHEAP[ea];ea=V+15;__ZN20btAlignedObjectArrayI20btInternalVertexPairE5clearEv(ea);ea=V+10;__ZN20btAlignedObjectArrayI14btInternalEdgeE5clearEv(ea);ea=V+5;__ZN20btAlignedObjectArrayIiE5clearEv(ea); +__ZN20btAlignedObjectArrayIiE5clearEv(V);STACKTOP=e;break}} +function __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE6insertERKS0_RKS1_(a,e,d){var b,c=null,f,g,h,i,j,k,l,m,n;m=IHEAP[e+1]*65536+IHEAP[e]&IHEAP[a+10+2]-1;n=__ZNK9btHashMapI20btInternalVertexPair14btInternalEdgeE9findIndexERKS0_(a,e);var o=n!=-1,q=a+10;a:do if(o)f=n,j=q,_llvm_memcpy_p0i8_p0i8_i32(IHEAP[j+3]+2*f,d,2,2,0);else{j=q;j=IHEAP[j+1];f=a+10;f=IHEAP[f+2];i=d;b=h=a+10;c=b=IHEAP[b+1];b=h;b=c==IHEAP[b+2]?1:2;b:for(;;)if(b==1){b=h;g=IHEAP[b+1];g!=0?(c=1,b=3):(c=1,b=4);for(;;)if(b==3){var p= +g*2,c=3;b=4}else if(b==4){__ZN20btAlignedObjectArrayI14btInternalEdgeE7reserveEi(h,c==3?p:1);b=2;continue b}}else if(b==2){var r=IHEAP[h+3]+2*IHEAP[h+1];b=r==0?5:6;break b}b:for(;;)if(b==5){IHEAP[h+1]+=1;l=e;i=k=a+15;h=i=IHEAP[i+1];i=k;b=h==IHEAP[i+2]?7:8;break b}else b==6&&(_llvm_memcpy_p0i8_p0i8_i32(r,i,2,2,0),b=5);b:for(;;)if(b==7){i=k;i=IHEAP[i+1];i!=0?(c=7,b=9):(c=7,b=10);for(;;)if(b==9){var s=i*2,c=9;b=10}else if(b==10){__ZN20btAlignedObjectArrayI20btInternalVertexPairE7reserveEi(k,c==9?s:1); +b=8;continue b}}else if(b==8){var u=IHEAP[k+3]+2*IHEAP[k+1];b=u==0?11:12;break b}b:for(;;)if(b==11){IHEAP[k+1]+=1;i=a+10;i=IHEAP[i+2];b=f<i?13:14;break b}else b==12&&(_llvm_memcpy_p0i8_p0i8_i32(u,l,2,2,0),b=11);for(;;)if(b==13)__ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE10growTablesERKS0_(a,e),m=e,f=IHEAP[m+1]*65536+IHEAP[m],m=a+10,m=f&IHEAP[m+2]-1,b=14;else if(b==14){d=m;e=a;d=IHEAP[IHEAP[e+3]+d];n=j;e=a+5;IHEAP[IHEAP[e+3]+n]=d;IHEAP[IHEAP[a+3]+m]=j;break a}}while(0)} +function __ZNK18btConvexPolyhedron7projectERK11btTransformRK9btVector3RfS6_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=4;var g,h,i,j,k;FHEAP[b]=3.4028234663852886E38;FHEAP[c]=-3.4028234663852886E38;j=IHEAP[a+1+1];k=0;g=k<j?0:1;a:for(;;)if(g==0){var l=a+1;b:for(;;){g=e;i=k;h=l;h=IHEAP[h+3]+4*i;__ZNK11btTransformclERK9btVector3(f,g,h);h=d;g=f;h=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];g=h<FHEAP[b]?3:4;c:for(;;)if(g==3)FHEAP[b]=h,g=4;else if(g==4){g=h>FHEAP[c]?5:6;break c}for(;;)if(g== +5)FHEAP[c]=h,g=6;else if(g==6)if(k+=1,k<j){g=2;continue b}else{g=1;continue a}}}else if(g==1){g=FHEAP[b]>FHEAP[c]?7:8;break a}for(;;)if(g==7)a=FHEAP[b],FHEAP[b]=FHEAP[c],FHEAP[c]=a,g=8;else if(g==8){STACKTOP=f;break}} +function __ZNK9btHashMapI20btInternalVertexPair14btInternalEdgeE9findIndexERKS0_(a,e){var d,b=null,c,f,g,h;h=IHEAP[e+1]*65536+IHEAP[e]&IHEAP[a+10+2]-1;if(h>=IHEAP[a+1])g=-1;else{f=h=IHEAP[IHEAP[a+3]+h];var i=a+15,j=a+5,b=1;a:for(;;){if((b==7?c:h)==-1)break a;b=e;d=f;c=i;c=IHEAP[c+3]+2*d;var k=b;IHEAP[k]==IHEAP[c]?(b=3,d=5):(b=3,d=6);for(;;)if(d==5)g=IHEAP[k+1]==IHEAP[c+1],b=5,d=6;else if(d==6)if((b==3?0:g)==0)break;else break a;b=f;f=j;f=c=IHEAP[IHEAP[f+3]+b];b=7}g=f}return g} +function __ZN9btHashMapI20btInternalVertexPair14btInternalEdgeE10growTablesERKS0_(a){var e=STACKTOP;STACKTOP+=2;var d,b,c,f,g,h,i,j,k=e+1,l;j=IHEAP[a+10+2];d=IHEAP[a+1]<j?0:1;a:for(;;)if(d==0){b=a;b=IHEAP[b+1];l=a;var m=j;IHEAP[e]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(l,m,e);l=a+5;m=j;IHEAP[k]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(l,m,k);l=0;d=l<j?2:3;b:for(;;)if(d==2)for(m=a;;)if(f=l,c=m,IHEAP[IHEAP[c+3]+f]=-1,l+=1,l<j)d=4;else{d=3;continue b}else if(d==3){l=0;d=l<j?5:6;break b}b:for(;;)if(d== +5)for(m=a+5;;)if(f=l,c=m,IHEAP[IHEAP[c+3]+f]=-1,l+=1,l<j)d=7;else{d=6;continue b}else if(d==6)if(l=0,l<b){d=8;break b}else{d=1;continue a}m=a+15;c=a+10;f=a;for(var n=a+5,o=a;;)if(g=l,d=m,d=IHEAP[d+3]+2*g,g=IHEAP[d+1]*65536+IHEAP[d],d=c,h=d=g&IHEAP[d+2]-1,g=f,h=IHEAP[IHEAP[g+3]+h],i=l,g=n,IHEAP[IHEAP[g+3]+i]=h,g=l,h=d,d=o,IHEAP[IHEAP[d+3]+h]=g,l+=1,l<b)d=9;else{d=1;continue a}}else if(d==1){STACKTOP=e;break}} +function __ZN20btAlignedObjectArrayI20btInternalVertexPairE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+2*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+2*f,2,2,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8: +9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI14btInternalEdgeE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+2*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+2*f,2,2,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI6btFaceE5clearEv(a){var e,d,b,c,f=IHEAP[a+1];b=0;e=b<f?0:1;a:for(;;)if(e==0)for(var g=a+3;;)if(e=IHEAP[g]+14*b,d=e+5,__ZN20btAlignedObjectArrayIiE5clearEv(d),__ZN20btAlignedObjectArrayIiE5clearEv(e),b+=1,b<f)e=2;else{e=1;continue a}else if(e==1){c=a;e=IHEAP[c+3]!=0?3:4;break a}a:for(;;)if(e==3)for(e=IHEAP[c+4]&1?5:6;;)if(e==5)b=IHEAP[c+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),e=6;else{if(e==6){IHEAP[c+3]=0;e=4;continue a}}else if(e== +4){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}}function __ZN20btAlignedObjectArrayI14btInternalEdgeE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayI20btInternalVertexPairE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN18btMultiSphereShapeC2EPK9btVector3PKfi(a,e,d,b){var c=STACKTOP;STACKTOP+=5;var f,g,h,i=c+4;__ZN32btConvexInternalAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV18btMultiSphereShape+2;var j=a+85;IHEAP[j+4]=1;IHEAP[j+3]=0;IHEAP[j+1]=0;IHEAP[j+2]=0;j=a+90;IHEAP[j+4]=1;IHEAP[j+3]=0;IHEAP[j+1]=0;IHEAP[j+2]=0;IHEAP[a+1]=9;__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a+85,b,c);FHEAP[i]=0;__ZN20btAlignedObjectArrayIfE6resizeEiRKf(a+90,b,i);i=0;f=i<b?0:1;a:for(;;)if(f==0)for(var j=a+85,k=a+90;;)if(h= +i,f=j,_llvm_memcpy_p0i8_p0i8_i32(IHEAP[f+3]+4*h,e+4*i,4,4,0),h=FHEAP[d+i],g=i,f=k,FHEAP[IHEAP[f+3]+g]=h,i+=1,i<b)f=2;else{f=1;continue a}else if(f==1){e=a;try{__THREW__=!1,__ZN32btConvexInternalAabbCachingShape15recalcLocalAabbEv(e)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}f=__THREW__?4:3;break a}if(f==3)STACKTOP=c;else if(f==4)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIfE5clearEv(a+ +90),__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+85),IHEAP[a]=__ZTV32btConvexInternalAabbCachingShape+2,IHEAP[a]=__ZTV21btConvexInternalShape+2,IHEAP[a]=__ZTV13btConvexShape+2,IHEAP[a]=__ZTV16btCollisionShape+2,__Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 142454";} +function __ZN20btAlignedObjectArrayIfE6resizeEiRKf(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIfE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(FHEAP[i]=FHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __ZNK18btMultiSphereShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=51;var c,f,g,h,i,j=b+1,k=b+2,l=b+3,m=b+4,n=b+5,o=b+6,q=b+7,p=b+8,r=b+9,s=b+10,u=b+11,v=b+12,y=b+13,x=b+14,z,B=b+15,C=b+16,A=b+17,w=b+18,D=b+22,E=b+23,F=b+24;z=b+25;var G=b+26,J=b+30,H=b+34,M=b+38,K=b+42,N=b+46,R=b+47;FHEAP[B]=0;FHEAP[C]=0;FHEAP[A]=0;FHEAP[a]=FHEAP[B];FHEAP[a+1]=FHEAP[C];FHEAP[a+2]=FHEAP[A];FHEAP[a+3]=0;B=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(w,d,4,4,0);d= +FHEAP[w]*FHEAP[w]+FHEAP[w+1]*FHEAP[w+1]+FHEAP[w+2]*FHEAP[w+2];d<1.4210854715202004E-14?(FHEAP[D]=1,FHEAP[E]=0,FHEAP[F]=0,FHEAP[w]=FHEAP[D],FHEAP[w+1]=FHEAP[E],FHEAP[w+2]=FHEAP[F],FHEAP[w+3]=0):(D=1/_sqrtf(d),FHEAP[z]=D,FHEAP[w]*=FHEAP[z],FHEAP[w+1]*=FHEAP[z],FHEAP[w+2]*=FHEAP[z]);D=IHEAP[e+85+3]+0;E=IHEAP[e+90+3]+0;F=IHEAP[e+85+1];z=0;c=z<F?1:2;a:for(;;)if(c==1){var d=e+12,A=C=e,O=G,Q=R,I=a,L=G;b:for(;;){c=D;f=w;g=d;FHEAP[b]=FHEAP[f]*FHEAP[g];FHEAP[j]=FHEAP[f+1]*FHEAP[g+1];FHEAP[k]=FHEAP[f+2]*FHEAP[g+ +2];f=M;g=b;h=j;i=k;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;g=E;f=M;FHEAP[l]=FHEAP[f]*FHEAP[g];FHEAP[m]=FHEAP[f+1]*FHEAP[g];FHEAP[n]=FHEAP[f+2]*FHEAP[g];f=H;g=l;h=m;i=n;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=H;FHEAP[o]=FHEAP[c]+FHEAP[f];FHEAP[q]=FHEAP[c+1]+FHEAP[f+1];FHEAP[p]=FHEAP[c+2]+FHEAP[f+2];c=J;f=o;g=q;h=p;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;c=FUNCTION_TABLE[IHEAP[IHEAP[A]+11]](C);FHEAP[N]=c; +c=w;f=N;FHEAP[r]=FHEAP[c]*FHEAP[f];FHEAP[s]=FHEAP[c+1]*FHEAP[f];FHEAP[u]=FHEAP[c+2]*FHEAP[f];c=K;f=r;g=s;h=u;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;c=J;f=K;FHEAP[v]=FHEAP[c]-FHEAP[f];FHEAP[y]=FHEAP[c+1]-FHEAP[f+1];FHEAP[x]=FHEAP[c+2]-FHEAP[f+2];c=R;f=v;g=y;h=x;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(O,Q,4,4,0);D+=4;E+=1;f=w;c=G;f=FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2];for(c=f>B?4:5;;)if(c== +4)B=f,_llvm_memcpy_p0i8_p0i8_i32(I,L,4,4,0),c=5;else if(c==5)if(z+=1,z<F){c=3;continue b}else{c=2;continue a}}}else if(c==2){STACKTOP=b;break}} +function __ZNK18btMultiSphereShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=40;var f,g,h,i,j,k,l,m=c+1,n=c+2,o=c+3,q=c+4,p=c+5,r=c+6,s=c+7,u=c+8,v,y=c+9,x=c+10,z=c+11,B=c+12,C=c+13,A=c+14,w,D,E,F=c+15,G,J=c+19,H=c+23,M=c+27,K=c+31,N=c+35,R=c+36;w=0;f=w<b?0:1;a:for(;;)if(f==0){var O=a+85,Q=a+90,I=a+85,L=a+12,P=a,S=P,T=F,U=R,W=F;b:for(;;){D=-999999984306749440;E=e+4*w;v=O;v=IHEAP[v+3]+0;g=Q;g=IHEAP[g+3]+0;h=I;h=IHEAP[h+1];G=0;f=G<h?3:4;c:for(;;)if(f== +3){f=v;i=E;j=L;FHEAP[c]=FHEAP[i]*FHEAP[j];FHEAP[m]=FHEAP[i+1]*FHEAP[j+1];FHEAP[n]=FHEAP[i+2]*FHEAP[j+2];i=M;j=c;k=m;l=n;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;j=g;i=M;FHEAP[o]=FHEAP[i]*FHEAP[j];FHEAP[q]=FHEAP[i+1]*FHEAP[j];FHEAP[p]=FHEAP[i+2]*FHEAP[j];i=H;j=o;k=q;l=p;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;i=H;FHEAP[r]=FHEAP[f]+FHEAP[i];FHEAP[s]=FHEAP[f+1]+FHEAP[i+1];FHEAP[u]=FHEAP[f+2]+FHEAP[i+2];f=J;i=r;j=s;k=u;FHEAP[f]=FHEAP[i];FHEAP[f+ +1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;f=E;i=FUNCTION_TABLE[IHEAP[IHEAP[S]+11]](P);FHEAP[N]=i;i=N;FHEAP[y]=FHEAP[f]*FHEAP[i];FHEAP[x]=FHEAP[f+1]*FHEAP[i];FHEAP[z]=FHEAP[f+2]*FHEAP[i];f=K;i=y;j=x;k=z;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;f=J;i=K;FHEAP[B]=FHEAP[f]-FHEAP[i];FHEAP[C]=FHEAP[f+1]-FHEAP[i+1];FHEAP[A]=FHEAP[f+2]-FHEAP[i+2];f=R;i=B;j=C;k=A;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(T,U,4,4,0);v+= +4;g+=1;i=E;f=F;i=FHEAP[i]*FHEAP[f]+FHEAP[i+1]*FHEAP[f+1]+FHEAP[i+2]*FHEAP[f+2];for(f=i>D?5:6;;)if(f==5)D=i,_llvm_memcpy_p0i8_p0i8_i32(d+4*w,W,4,4,0),f=6;else if(f==6){G+=1;f=G<h?3:4;continue c}}else if(f==4)if(w+=1,w<b){f=2;continue b}else{f=1;continue a}}}else if(f==1){STACKTOP=c;break}} +function __ZNK18btMultiSphereShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=26;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+10,l=b+14,m=b+18,n=b+22,o=b+23,q=b+24,p=b+25;_llvm_memcpy_p0i8_p0i8_i32(j,a+52,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k,a+56,4,4,0);FHEAP[b]=FHEAP[k]-FHEAP[j];FHEAP[c]=FHEAP[k+1]-FHEAP[j+1];FHEAP[f]=FHEAP[k+2]-FHEAP[j+2];FHEAP[m]=FHEAP[b];FHEAP[m+1]=FHEAP[c];FHEAP[m+2]=FHEAP[f];FHEAP[m+3]=0;FHEAP[n]=0.5;FHEAP[g]=FHEAP[m]*FHEAP[n];FHEAP[h]=FHEAP[m+1]*FHEAP[n]; +FHEAP[i]=FHEAP[m+2]*FHEAP[n];FHEAP[l]=FHEAP[g];FHEAP[l+1]=FHEAP[h];FHEAP[l+2]=FHEAP[i];FHEAP[l+3]=0;a=2*FHEAP[l];c=2*FHEAP[l+1];l=2*FHEAP[l+2];FHEAP[o]=e/12*(c*c+l*l);FHEAP[q]=e/12*(a*a+l*l);FHEAP[p]=e/12*(a*a+c*c);FHEAP[d]=FHEAP[o];FHEAP[d+1]=FHEAP[q];FHEAP[d+2]=FHEAP[p];FHEAP[d+3]=0;STACKTOP=b} +function __ZNK18btMultiSphereShape9serializeEPvP12btSerializer(a,e,d){var b,c=null,f,g,h,i;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);var j=e+10;i=a+16;c=0;a:for(;;){FHEAP[j+c]=FHEAP[i+c];var k=c+1,c=k;if(!(k<4))break a}j=e+6;i=a+12;c=0;a:for(;;)if(FHEAP[j+c]=FHEAP[i+c],c=k=c+1,!(k<4))break a;FHEAP[e+14]=FHEAP[a+20];i=IHEAP[a+85+1];i!=0?(c=3,b=4):(c=3,b=5);a:for(;;)if(b==4)c=d,j=IHEAP[IHEAP[c]+7],h=a+85,h=FUNCTION_TABLE[j](c,IHEAP[h+3]+0),c=4,b=5;else if(b==5){IHEAP[e+16]=c==4?h:0; +IHEAP[e+17]=i;b=i!=0?6:7;break a}a:for(;;)if(b==6){e=d;e=FUNCTION_TABLE[IHEAP[IHEAP[e]+4]](e,20,i);h=IHEAP[e+2];c=0;b=c<i?8:9;b:for(;;)if(b==8){j=a+85;k=a+90;for(;;){g=c;b=j;f=g;g=h;f=IHEAP[b+3]+4*f;b=g;for(g=0;;){FHEAP[b+g]=FHEAP[f+g];var l=g+1;g=l;if(!(l<4))break}g=c;b=k;FHEAP[h+4]=FHEAP[IHEAP[b+3]+g];c+=1;h+=5;if(c<i)b=10;else{b=9;continue b}}}else if(b==9){h=d;c=IHEAP[IHEAP[h]+5];j=e;e=a+85;FUNCTION_TABLE[c](h,j,__str59,1497453121,IHEAP[e+3]+0);b=7;continue a}}else if(b==7)return __str160;return null} +function __ZN18btMultiSphereShapeD1Ev(a){IHEAP[a]=__ZTV18btMultiSphereShape+2;__ZN20btAlignedObjectArrayIfE5clearEv(a+90);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+85);IHEAP[a]=__ZTV32btConvexInternalAabbCachingShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN18btMultiSphereShapeD0Ev(a){var e;IHEAP[a]=__ZTV18btMultiSphereShape+2;__ZN20btAlignedObjectArrayIfE5clearEv(a+90);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+85);IHEAP[a]=__ZTV32btConvexInternalAabbCachingShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZNK18btMultiSphereShape7getNameEv(){return __str261}function __ZNK18btMultiSphereShape28calculateSerializeBufferSizeEv(){return 64} +function __ZN20btAlignedObjectArrayIfE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(FHEAP[m]=FHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d== +10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIfE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN21btUniformScalingShapeC2EP13btConvexShapef(a,e,d){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btUniformScalingShape+2;IHEAP[a+12]=e;FHEAP[a+13]=d;IHEAP[a+1]=14} +function __ZN21btUniformScalingShapeD0Ev(a){var e;IHEAP[a]=__ZTV21btUniformScalingShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZN21btUniformScalingShapeD2Ev(a){IHEAP[a]=__ZTV21btUniformScalingShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK21btUniformScalingShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=11;var c=b+1,f=b+2,g=b+3,h=b+7,i=IHEAP[e+12];FUNCTION_TABLE[IHEAP[IHEAP[i]+16]](h,i,d);_llvm_memcpy_p0i8_p0i8_i32(g,h,4,4,0);e+=13;FHEAP[b]=FHEAP[g]*FHEAP[e];FHEAP[c]=FHEAP[g+1]*FHEAP[e];FHEAP[f]=FHEAP[g+2]*FHEAP[e];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK21btUniformScalingShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=7;var f,g,h,i,j,k=c+1,l=c+2,m=c+3,n=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[n]+17]](n,e,d,b);e=0;f=e<b?0:1;a:for(;;)if(f==0)for(var n=a+13,o=m;;)if(f=d+4*e,g=d+4*e,h=n,FHEAP[c]=FHEAP[g]*FHEAP[h],FHEAP[k]=FHEAP[g+1]*FHEAP[h],FHEAP[l]=FHEAP[g+2]*FHEAP[h],g=m,h=c,i=k,j=l,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(f, +o,4,4,0),e+=1,e<b)f=2;else{f=1;continue a}else if(f==1){STACKTOP=c;break}}function __ZNK21btUniformScalingShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=11;var c=b+1,f=b+2,g=b+3,h=b+7,i=IHEAP[e+12];FUNCTION_TABLE[IHEAP[IHEAP[i]+15]](h,i,d);_llvm_memcpy_p0i8_p0i8_i32(g,h,4,4,0);e+=13;FHEAP[b]=FHEAP[g]*FHEAP[e];FHEAP[c]=FHEAP[g+1]*FHEAP[e];FHEAP[f]=FHEAP[g+2]*FHEAP[e];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK21btUniformScalingShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=11;var c=b+1,f=b+2,g=b+3,h=b+7,i=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[i]+8]](i,e,g);a+=13;FHEAP[b]=FHEAP[g]*FHEAP[a];FHEAP[c]=FHEAP[g+1]*FHEAP[a];FHEAP[f]=FHEAP[g+2]*FHEAP[a];FHEAP[h]=FHEAP[b];FHEAP[h+1]=FHEAP[c];FHEAP[h+2]=FHEAP[f];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,h,4,4,0);STACKTOP=b} +function __ZNK21btUniformScalingShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){FUNCTION_TABLE[IHEAP[IHEAP[a]+18]](a,e,d,b)} +function __ZNK21btUniformScalingShape11getAabbSlowERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=131;var f,g,h=c+1,i=c+2,j=c+3,k=c+4,l=c+5,m=c+6,n=c+30,o=c+31,q=c+32,p=c+33,r=c+34,s=c+35,u=c+36,v=c+37,y=c+38,x=c+39,z=c+40,B=c+41,C=c+42,A=c+43,w=c+44,D=c+45,E=c+46,F=c+47,G=c+48,J=c+72,H=c+73,M=c+74,K=c+75,N=c+76,R=c+77,O=c+78,Q=c+79,I=c+80,L=c+81,P=c+82,S=c+83,T=c+84,U=c+85,W=c+86,Z=c+87;f=c+88;var ca=c+89;g=c+90;var Y=c+94,ea=c+98,ha=c+99,ba=c+100,V=c+101,aa=c+105,X=c+106,ka=c+107, +da=c+108,fa=c+112,ga=c+116,ja=c+120,la=c+121,qa=c+122,pa=c+123,wa=c+127;FHEAP[n]=1;FHEAP[o]=0;FHEAP[q]=0;FHEAP[m]=FHEAP[n];FHEAP[m+1]=FHEAP[o];FHEAP[m+2]=FHEAP[q];FHEAP[m+3]=0;n=m+4;FHEAP[p]=0;FHEAP[r]=1;FHEAP[s]=0;FHEAP[n]=FHEAP[p];FHEAP[n+1]=FHEAP[r];FHEAP[n+2]=FHEAP[s];FHEAP[n+3]=0;p=m+8;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=1;FHEAP[p]=FHEAP[u];FHEAP[p+1]=FHEAP[v];FHEAP[p+2]=FHEAP[y];FHEAP[p+3]=0;u=m+12;FHEAP[x]=-1;FHEAP[z]=0;FHEAP[B]=0;FHEAP[u]=FHEAP[x];FHEAP[u+1]=FHEAP[z];FHEAP[u+2]=FHEAP[B];FHEAP[u+ +3]=0;x=m+16;FHEAP[C]=0;FHEAP[A]=-1;FHEAP[w]=0;FHEAP[x]=FHEAP[C];FHEAP[x+1]=FHEAP[A];FHEAP[x+2]=FHEAP[w];FHEAP[x+3]=0;C=m+20;FHEAP[D]=0;FHEAP[E]=0;FHEAP[F]=-1;FHEAP[C]=FHEAP[D];FHEAP[C+1]=FHEAP[E];FHEAP[C+2]=FHEAP[F];FHEAP[C+3]=0;FHEAP[J]=0;FHEAP[H]=0;FHEAP[M]=0;FHEAP[G]=FHEAP[J];FHEAP[G+1]=FHEAP[H];FHEAP[G+2]=FHEAP[M];FHEAP[G+3]=0;D=G+4;FHEAP[K]=0;FHEAP[N]=0;FHEAP[R]=0;FHEAP[D]=FHEAP[K];FHEAP[D+1]=FHEAP[N];FHEAP[D+2]=FHEAP[R];FHEAP[D+3]=0;K=G+8;FHEAP[O]=0;FHEAP[Q]=0;FHEAP[I]=0;FHEAP[K]=FHEAP[O];FHEAP[K+ +1]=FHEAP[Q];FHEAP[K+2]=FHEAP[I];FHEAP[K+3]=0;O=G+12;FHEAP[L]=0;FHEAP[P]=0;FHEAP[S]=0;FHEAP[O]=FHEAP[L];FHEAP[O+1]=FHEAP[P];FHEAP[O+2]=FHEAP[S];FHEAP[O+3]=0;L=G+16;FHEAP[T]=0;FHEAP[U]=0;FHEAP[W]=0;FHEAP[L]=FHEAP[T];FHEAP[L+1]=FHEAP[U];FHEAP[L+2]=FHEAP[W];FHEAP[L+3]=0;T=G+20;FHEAP[Z]=0;FHEAP[f]=0;FHEAP[ca]=0;FHEAP[T]=FHEAP[Z];FHEAP[T+1]=FHEAP[f];FHEAP[T+2]=FHEAP[ca];Z=FHEAP[T+3]=0;a:for(;;)if(ca=m+Z*4,T=m+Z*4,f=e,__ZmlRK9btVector3RK11btMatrix3x3(g,T,f),_llvm_memcpy_p0i8_p0i8_i32(ca,g,4,4,0),Z=f=Z+1, +!(f<6))break a;FUNCTION_TABLE[IHEAP[IHEAP[a]+17]](a,m,G,6);FHEAP[ea]=0;FHEAP[ha]=0;FHEAP[ba]=0;FHEAP[Y]=FHEAP[ea];FHEAP[Y+1]=FHEAP[ha];FHEAP[Y+2]=FHEAP[ba];FHEAP[Y+3]=0;FHEAP[aa]=0;FHEAP[X]=0;FHEAP[ka]=0;FHEAP[V]=FHEAP[aa];FHEAP[V+1]=FHEAP[X];FHEAP[V+2]=FHEAP[ka];for(m=FHEAP[V+3]=0;;)if(ea=m,__ZNK11btTransformclERK9btVector3(da,e,G+m*4),g=da,ea=FHEAP[g+ea],ha=m,g=V,FHEAP[g+ha]=ea,ea=m,__ZNK11btTransformclERK9btVector3(fa,e,G+(m+3)*4),g=fa,ea=FHEAP[g+ea],ha=m,g=Y,FHEAP[g+ha]=ea,m=g=m+1,!(g<3))break; +e=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[ja]=e;e=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[la]=e;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[qa]=a;FHEAP[ga]=FHEAP[ja];FHEAP[ga+1]=FHEAP[la];FHEAP[ga+2]=FHEAP[qa];FHEAP[ga+3]=0;FHEAP[c]=FHEAP[Y]-FHEAP[ga];FHEAP[h]=FHEAP[Y+1]-FHEAP[ga+1];FHEAP[i]=FHEAP[Y+2]-FHEAP[ga+2];FHEAP[pa]=FHEAP[c];FHEAP[pa+1]=FHEAP[h];FHEAP[pa+2]=FHEAP[i];FHEAP[pa+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,pa,4,4,0);FHEAP[j]=FHEAP[V]+FHEAP[ga];FHEAP[k]=FHEAP[V+1]+FHEAP[ga+1];FHEAP[l]= +FHEAP[V+2]+FHEAP[ga+2];FHEAP[wa]=FHEAP[j];FHEAP[wa+1]=FHEAP[k];FHEAP[wa+2]=FHEAP[l];FHEAP[wa+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,wa,4,4,0);STACKTOP=c}function __ZN21btUniformScalingShape15setLocalScalingERK9btVector3(a,e){var d=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[d]+6]](d,e)}function __ZNK21btUniformScalingShape15getLocalScalingEv(a){a=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[a]+7]](a)} +function __ZN21btUniformScalingShape9setMarginEf(a,e){var d=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,e)}function __ZNK21btUniformScalingShape9getMarginEv(a){var e=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)*FHEAP[a+13]}function __ZNK21btUniformScalingShape36getNumPreferredPenetrationDirectionsEv(a){a=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[a]+19]](a)} +function __ZNK21btUniformScalingShape32getPreferredPenetrationDirectionEiR9btVector3(a,e,d){a=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[a]+20]](a,e,d)}function __ZNK21btUniformScalingShape7getNameEv(){return __str63}function __ZNK16btCollisionShape28calculateSerializeBufferSizeEv(){return 12} +function __ZNK13btSphereShape37localGetSupportingVertexWithoutMarginERK9btVector3(a){var e=STACKTOP;STACKTOP+=3;var d=e+1,b=e+2;FHEAP[e]=0;FHEAP[d]=0;FHEAP[b]=0;FHEAP[a]=FHEAP[e];FHEAP[a+1]=FHEAP[d];FHEAP[a+2]=FHEAP[b];FHEAP[a+3]=0;STACKTOP=e} +function __ZNK13btSphereShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){a=STACKTOP;STACKTOP+=3;var c,f,g,h,i=a+1,j=a+2,e=0;for(c=e<b?0:1;;)if(c==0)c=d+4*e,FHEAP[a]=0,FHEAP[i]=0,FHEAP[j]=0,f=c,c=a,g=i,h=j,FHEAP[f]=FHEAP[c],FHEAP[f+1]=FHEAP[g],FHEAP[f+2]=FHEAP[h],FHEAP[f+3]=0,e+=1,c=e<b?0:1;else if(c==1){STACKTOP=a;break}} +function __ZNK13btSphereShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=21;var c,f,g,h,i,j,k;i=b+1;var l,m,n,o,q;n=b+2;m=b+3;l=b+4;var p;f=b+5;o=b+9;h=b+13;j=b+14;k=b+15;p=b+16;q=b+20;FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](f,e,d);_llvm_memcpy_p0i8_p0i8_i32(a,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o,d,4,4,0);for(d=FHEAP[o]*FHEAP[o]+FHEAP[o+1]*FHEAP[o+1]+FHEAP[o+2]*FHEAP[o+2]<1.4210854715202004E-14?0:1;;)if(d==0)FHEAP[h]=-1,FHEAP[j]=-1,FHEAP[k]=-1,c=o,d=h,f=j,g=k,FHEAP[c]=FHEAP[d], +FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,d=1;else if(d==1){j=k=j=h=o;j=FHEAP[j]*FHEAP[k]+FHEAP[j+1]*FHEAP[k+1]+FHEAP[j+2]*FHEAP[k+2];j=_sqrtf(j);FHEAP[i]=j;FHEAP[b]=1/FHEAP[i];i=b;FHEAP[h]*=FHEAP[i];FHEAP[h+1]*=FHEAP[i];FHEAP[h+2]*=FHEAP[i];e=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[q]=e;FHEAP[n]=FHEAP[o]*FHEAP[q];FHEAP[m]=FHEAP[o+1]*FHEAP[q];FHEAP[l]=FHEAP[o+2]*FHEAP[q];o=p;q=m;m=n;n=q;q=l;l=o;o=q;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;FHEAP[a]+=FHEAP[p]; +FHEAP[a+1]+=FHEAP[p+1];FHEAP[a+2]+=FHEAP[p+2];STACKTOP=b;break}} +function __ZNK13btSphereShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=21;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+10,m=c+11,n=c+12,o=c+13,q=c+17;e+=12;var p=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[l]=p;p=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[m]=p;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[n]=a;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0;FHEAP[c]=FHEAP[e]-FHEAP[k];FHEAP[f]=FHEAP[e+1]-FHEAP[k+1];FHEAP[g]=FHEAP[e+2]-FHEAP[k+2]; +FHEAP[o]=FHEAP[c];FHEAP[o+1]=FHEAP[f];FHEAP[o+2]=FHEAP[g];FHEAP[o+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,o,4,4,0);FHEAP[h]=FHEAP[e]+FHEAP[k];FHEAP[i]=FHEAP[e+1]+FHEAP[k+1];FHEAP[j]=FHEAP[e+2]+FHEAP[k+2];FHEAP[q]=FHEAP[h];FHEAP[q+1]=FHEAP[i];FHEAP[q+2]=FHEAP[j];FHEAP[q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,q,4,4,0);STACKTOP=c} +function __ZNK13btSphereShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=1;e*=0.4000000059604645;var c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);e*=c;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[b]=e*a;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[b];FHEAP[d+2]=FHEAP[b];FHEAP[d+3]=0;STACKTOP=b} +function __ZN13btSphereShapeD0Ev(a){var e;IHEAP[a]=__ZTV13btSphereShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZNK13btSphereShape7getNameEv(){return __str166}function __ZNK13btSphereShape9getMarginEv(a){return FHEAP[a+16]*FHEAP[a+12]} +function __ZN26btTriangleIndexVertexArrayC2EiPiiiPfi(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=11;var i=h+1,j=h+2,k=h+3;IHEAP[a]=__ZTV23btStridingMeshInterface+2;var l=a+1;FHEAP[h]=1;FHEAP[i]=1;FHEAP[j]=1;FHEAP[l]=FHEAP[h];FHEAP[l+1]=FHEAP[i];FHEAP[l+2]=FHEAP[j];FHEAP[l+3]=0;IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;i=a+20;IHEAP[i+4]=1;IHEAP[i+3]=0;IHEAP[i+1]=0;IHEAP[i+2]=0;IHEAP[a+27]=0;IHEAP[k+6]=2;IHEAP[k+7]=0;IHEAP[k]=e;IHEAP[k+1]=d;IHEAP[k+2]=b;IHEAP[k+3]=c;IHEAP[k+4]=f;IHEAP[k+5]=g;__ZN26btTriangleIndexVertexArray14addIndexedMeshERK13btIndexedMesh14PHY_ScalarType(a, +k,2);STACKTOP=h} +function __ZN26btTriangleIndexVertexArray14addIndexedMeshERK13btIndexedMesh14PHY_ScalarType(a,e,d){var b,c=null,f,g,h=a+20;b=IHEAP[h+1]==IHEAP[h+2]?0:1;a:for(;;)if(b==0){b=h;f=IHEAP[b+1];f!=0?(c=0,b=2):(c=0,b=3);for(;;)if(b==2)g=f*2,c=2,b=3;else if(b==3){__ZN20btAlignedObjectArrayI13btIndexedMeshE7reserveEi(h,c==2?g:1);b=1;continue a}}else if(b==1){g=IHEAP[h+3]+8*IHEAP[h+1];_llvm_memcpy_p0i8_p0i8_i32(g,e,8,4,0);IHEAP[h+1]+=1;e=d;d=a+20;a+=20;h=IHEAP[a+1]-1;a=d;d=h;IHEAP[IHEAP[a+3]+8*d+6]=e;break}} +function __ZN26btTriangleIndexVertexArrayD0Ev(a){var e;IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;__ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a+20);IHEAP[a]=__ZTV23btStridingMeshInterface+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN26btTriangleIndexVertexArrayD2Ev(a){IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;__ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a+20);IHEAP[a]=__ZTV23btStridingMeshInterface+2}function __ZN26btTriangleIndexVertexArray24getLockedVertexIndexBaseEPPhRiR14PHY_ScalarTypeS2_S1_S2_S2_S4_i(a,e,d,b,c,f,g,h,i,j){a=IHEAP[a+20+3]+8*j;IHEAP[d]=IHEAP[a+3];IHEAP[e]=IHEAP[a+4];IHEAP[b]=IHEAP[a+7];IHEAP[c]=IHEAP[a+5];IHEAP[h]=IHEAP[a];IHEAP[f]=IHEAP[a+1];IHEAP[g]=IHEAP[a+2];IHEAP[i]=IHEAP[a+6]} +function __ZNK26btTriangleIndexVertexArray32getLockedReadOnlyVertexIndexBaseEPPKhRiR14PHY_ScalarTypeS3_S2_S3_S3_S5_i(a,e,d,b,c,f,g,h,i,j){a=IHEAP[a+20+3]+8*j;IHEAP[d]=IHEAP[a+3];IHEAP[e]=IHEAP[a+4];IHEAP[b]=IHEAP[a+7];IHEAP[c]=IHEAP[a+5];IHEAP[h]=IHEAP[a];IHEAP[f]=IHEAP[a+1];IHEAP[g]=IHEAP[a+2];IHEAP[i]=IHEAP[a+6]}function __ZNK26btTriangleIndexVertexArray14hasPremadeAabbEv(a){return IHEAP[a+27]==1} +function __ZNK26btTriangleIndexVertexArray14setPremadeAabbERK9btVector3S2_(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(a+28,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+32,d,4,4,0);IHEAP[a+27]=1}function __ZNK26btTriangleIndexVertexArray14getPremadeAabbEP9btVector3S1_(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(e,a+28,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,a+32,4,4,0)}function __ZN26btTriangleIndexVertexArray16unLockVertexBaseEi(){}function __ZNK26btTriangleIndexVertexArray24unLockReadOnlyVertexBaseEi(){} +function __ZNK26btTriangleIndexVertexArray14getNumSubPartsEv(a){return IHEAP[a+20+1]}function __ZN26btTriangleIndexVertexArray19preallocateVerticesEi(){}function __ZN26btTriangleIndexVertexArray18preallocateIndicesEi(){}function __ZNK23btStridingMeshInterface28calculateSerializeBufferSizeEv(){return 28} +function __ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayI13btIndexedMeshE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*32,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3)for(var l=k+3;;)if(d=f+8*b,_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+8*b,8,4,0),b+=1,b<c)d=5;else{d=4;continue b}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?6:7;break b}b:for(;;)if(d==6)h+=1,d=h<g?6:7;else if(d==7){j=a;d=IHEAP[j+3]!=0?8:9;break b}b:for(;;)if(d==8)for(d= +IHEAP[j+4]&1?10:11;;)if(d==10)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=11;else{if(d==11){IHEAP[j+3]=0;d=9;continue b}}else if(d==9){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN22btBvhTriangleMeshShapeC2EP23btStridingMeshInterfacebb(a,e,d,b){__ZN19btTriangleMeshShapeC2EP23btStridingMeshInterface(a,e);IHEAP[a]=__ZTV22btBvhTriangleMeshShape+2;IHEAP[a+52]=0;IHEAP[a+53]=0;IHEAP[a+54]=d&1;IHEAP[a+55]=0;IHEAP[a+1]=21;for(e=b&1?0:1;;)if(e==0){try{__THREW__=!1,__ZN22btBvhTriangleMeshShape17buildOptimizedBvhEv(a)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1)return; +e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 148738";} +function __ZN22btBvhTriangleMeshShape17buildOptimizedBvhEv(a){var e,d,b;for(e=IHEAP[a+55]&1?0:1;;)if(e==0)e=IHEAP[a+52],FUNCTION_TABLE[IHEAP[IHEAP[e]]](e),e=IHEAP[a+52],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=1;else if(e==1){e=d=b=__Z22btAlignedAllocInternalji(172,16);try{__THREW__=!1,__ZN14btQuantizedBvhC2Ev(e)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}e=__THREW__?5:4;break}if(e==4)IHEAP[d]=__ZTV14btOptimizedBvh+ +2,IHEAP[a+52]=b,__ZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_(IHEAP[a+52],IHEAP[a+24],IHEAP[a+54]&1,a+16,a+20),IHEAP[a+55]=1;else if(e==5)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 148851";} +function __ZN22btBvhTriangleMeshShapeC2EP23btStridingMeshInterfacebRK9btVector3S4_b(a,e,d,b,c,f){var g;__ZN19btTriangleMeshShapeC2EP23btStridingMeshInterface(a,e);IHEAP[a]=__ZTV22btBvhTriangleMeshShape+2;IHEAP[a+52]=0;IHEAP[a+53]=0;IHEAP[a+54]=d&1;IHEAP[a+55]=0;IHEAP[a+1]=21;for(d=f&1?0:1;;)if(d==0){var h=f=d=__Z22btAlignedAllocInternalji(172,16);try{__THREW__=!1,__ZN14btQuantizedBvhC2Ev(h)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__){d= +4;break}IHEAP[f]=__ZTV14btOptimizedBvh+2;IHEAP[a+52]=d;var d=IHEAP[a+52],f=e,h=IHEAP[a+54]&1,j=b,k=c;try{__THREW__=!1,__ZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_(d,f,h,j,k)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__){d=6;break}d=IHEAP[a+55]=1}else if(d==1)return;d==4?(g=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0)):d==6&&(g=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0, +0));IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__Unwind_Resume_or_Rethrow(g);throw"Reached an unreachable! Original .ll line: 148986";} +function __ZN22btBvhTriangleMeshShapeD0Ev(a){var e,d;try{__THREW__=!1,__ZN22btBvhTriangleMeshShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+ +-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 149093";}} +function __ZN22btBvhTriangleMeshShapeD2Ev(a){var e;IHEAP[a]=__ZTV22btBvhTriangleMeshShape+2;for(e=IHEAP[a+55]&1?0:1;;)if(e==0){e=IHEAP[a+52];var d=IHEAP[IHEAP[e]];try{__THREW__=!1,FUNCTION_TABLE[d](e)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}if(__THREW__)break;e=IHEAP[a+52];e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e)));e=1}else if(e==1){IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]= +__ZTV16btCollisionShape+2;return}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 149213";} +function __ZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=6;var f=IHEAP[a+24];IHEAP[c]=__ZTV21btNodeOverlapCallback+2;IHEAP[c]=__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2;IHEAP[c+4]=f;IHEAP[c+5]=e;a=IHEAP[a+52];try{__THREW__=!1,__ZNK14btQuantizedBvh25reportRayOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(a,c,d,b)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+ +g+" : "+g.stack+", currently at: "+Error().stack)}d=__THREW__?1:0;if(d==0)IHEAP[c]=__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2,IHEAP[c]=__ZTV21btNodeOverlapCallback+2,STACKTOP=c;else if(d==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[c]=__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2,IHEAP[c]=__ZTV21btNodeOverlapCallback+2,__Unwind_Resume_or_Rethrow(d), +"Reached an unreachable! Original .ll line: 149310";} +function __ZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=6;var h=IHEAP[a+24];IHEAP[g]=__ZTV21btNodeOverlapCallback+2;IHEAP[g]=__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+2;IHEAP[g+4]=h;IHEAP[g+5]=e;a=IHEAP[a+52];try{__THREW__=!1,__ZNK14btQuantizedBvh29reportBoxCastOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_(a,g,d,b,c,f)}catch(i){if(ABORT)throw i; +__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}d=__THREW__?1:0;if(d==0)IHEAP[g]=__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+2,IHEAP[g]=__ZTV21btNodeOverlapCallback+2,STACKTOP=g;else if(d==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[g]=__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+ +2,IHEAP[g]=__ZTV21btNodeOverlapCallback+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 149415";} +function __ZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=18;var f=IHEAP[a+24];IHEAP[c]=__ZTV21btNodeOverlapCallback+2;IHEAP[c]=__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2;IHEAP[c+4]=f;IHEAP[c+5]=e;a=IHEAP[a+52];try{__THREW__=!1,__ZNK14btQuantizedBvh26reportAabbOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(a,c,d,b)}catch(g){if(ABORT)throw g;__THREW__= +!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}d=__THREW__?1:0;if(d==0)IHEAP[c]=__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2,IHEAP[c]=__ZTV21btNodeOverlapCallback+2,STACKTOP=c;else if(d==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[c]=__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2,IHEAP[c]=__ZTV21btNodeOverlapCallback+ +2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 149512";} +function __ZN22btBvhTriangleMeshShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b,c,f;c=d+1;f=d+2;var g=d+3;b=FUNCTION_TABLE[IHEAP[IHEAP[a]+7]](a);FHEAP[d]=FHEAP[b]-FHEAP[e];FHEAP[c]=FHEAP[b+1]-FHEAP[e+1];FHEAP[f]=FHEAP[b+2]-FHEAP[e+2];FHEAP[g]=FHEAP[d];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;for(b=FHEAP[g]*FHEAP[g]+FHEAP[g+1]*FHEAP[g+1]+FHEAP[g+2]*FHEAP[g+2]>1.1920928955078125E-7?0:1;;)if(b==0)c=e,b=a,f=c,c=IHEAP[b+24],_llvm_memcpy_p0i8_p0i8_i32(c+1,f,4,4,0), +__ZN19btTriangleMeshShape15recalcLocalAabbEv(b),__ZN22btBvhTriangleMeshShape17buildOptimizedBvhEv(a),b=1;else if(b==1){STACKTOP=d;break}} +function __ZNK22btBvhTriangleMeshShape9serializeEPvP12btSerializer(a,e,d){var b,c;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);b=IHEAP[a+24];FUNCTION_TABLE[IHEAP[IHEAP[b]+14]](b,e+6,d);FHEAP[e+19]=FHEAP[a+12];b=IHEAP[a+52]!=0?0:1;a:for(;;)if(b==0)if(b=d,(FUNCTION_TABLE[IHEAP[IHEAP[b]+13]](b)&1)!=0)b=1;else{b=2;break a}else if(b==1){IHEAP[e+16]=0;IHEAP[e+17]=0;b=3;break a}a:for(;;)if(b==2){b=d;b=FUNCTION_TABLE[IHEAP[IHEAP[b]+6]](b,IHEAP[a+52]);if(b!=0)IHEAP[e+16]=b,IHEAP[e+17]=0;else{b= +d;b=FUNCTION_TABLE[IHEAP[IHEAP[b]+7]](b,IHEAP[a+52]);IHEAP[e+16]=b;IHEAP[e+17]=0;b=IHEAP[a+52];b=FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b);c=d;b=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,b,1);c=IHEAP[a+52];c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,IHEAP[b+2],d);var f=d;FUNCTION_TABLE[IHEAP[IHEAP[f]+5]](f,b,c,1213612625,IHEAP[a+52])}b=3}else if(b==3){b=IHEAP[a+53]!=0?4:5;break a}a:for(;;)if(b==4)if(b=d,(FUNCTION_TABLE[IHEAP[IHEAP[b]+13]](b)&2)!=0)b=5;else{b=6;break a}else if(b==5){IHEAP[e+18]=0;b=7;break a}for(;;)if(b== +6)b=d,b=FUNCTION_TABLE[IHEAP[IHEAP[b]+6]](b,IHEAP[a+53]),b!=0?IHEAP[e+18]=b:(b=d,b=FUNCTION_TABLE[IHEAP[IHEAP[b]+7]](b,IHEAP[a+53]),IHEAP[e+18]=b,b=IHEAP[a+53],b=FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b),c=d,b=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,b,1),c=IHEAP[a+53],c=FUNCTION_TABLE[IHEAP[IHEAP[c]+3]](c,IHEAP[b+2],d),f=d,FUNCTION_TABLE[IHEAP[IHEAP[f]+5]](f,b,c,1346456916,IHEAP[a+53])),b=7;else if(b==7)return __str67;return null} +function __ZNK22btBvhTriangleMeshShape18serializeSingleBvhEP12btSerializer(a,e){var d,b;for(d=IHEAP[a+52]!=0?0:1;;)if(d==0){d=IHEAP[a+52];d=FUNCTION_TABLE[IHEAP[IHEAP[d]+3]](d);b=e;d=FUNCTION_TABLE[IHEAP[IHEAP[b]+4]](b,d,1);b=IHEAP[a+52];b=FUNCTION_TABLE[IHEAP[IHEAP[b]+4]](b,IHEAP[d+2],e);var c=e;FUNCTION_TABLE[IHEAP[IHEAP[c]+5]](c,d,b,1213612625,IHEAP[a+52]);d=1}else if(d==1)break} +function __ZNK22btBvhTriangleMeshShape30serializeSingleTriangleInfoMapEP12btSerializer(a,e){var d,b;for(d=IHEAP[a+53]!=0?0:1;;)if(d==0){d=IHEAP[a+53];d=FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d);b=e;d=FUNCTION_TABLE[IHEAP[IHEAP[b]+4]](b,d,1);b=IHEAP[a+53];b=FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,IHEAP[d+2],e);var c=e;FUNCTION_TABLE[IHEAP[IHEAP[c]+5]](c,d,b,1346456916,IHEAP[a+53]);d=1}else if(d==1)break}function __ZNK22btBvhTriangleMeshShape7getNameEv(){return __str168} +function __ZN14btConcaveShape9setMarginEf(a,e){FHEAP[a+12]=e}function __ZNK14btConcaveShape9getMarginEv(a){return FHEAP[a+12]}function __ZNK22btBvhTriangleMeshShape28calculateSerializeBufferSizeEv(){return 60}function __ZNK19btTriangleMeshShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d)} +function __ZZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD2Ev(a){IHEAP[a]=__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2} +function __ZZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD0Ev(a){IHEAP[a]=__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2;__ZdlPv(a)} +function __ZZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallback11processNodeEii(a,e,d){var b=STACKTOP;STACKTOP+=22;var c=null,f,g,h,i,j=b+2,k=b+3,l=b+4,m=b+5,n=b+7,o,q=b+8,p=b+12,r=b+13,s=b+14,u=b+15,v=b+19,y=b+20,x=b+21;o=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[o]+4]](o,b,b+1,j,k,l,m,b+6,n,e);l=IHEAP[l]+IHEAP[m]*d;m=IHEAP[a+4]+1;o=2;for(var z=a+6,B=a+6;;){if(IHEAP[n]==3)var C=IHEAP[l+o],c=1;else if(c=o,f=l,IHEAP[n]==2)var A=IHEAP[f+c],c=3; +else var w=IHEAP[f+c],c=4;c=c==1?C:c==3?A:w;c=IHEAP[b]+IHEAP[k]*c;IHEAP[j]==0?(f=c,c=z+o*4,h=FHEAP[f],g=m,FHEAP[p]=h*FHEAP[g],h=FHEAP[f+1],g=m,FHEAP[r]=h*FHEAP[g+1],g=FHEAP[f+2],f=m,FHEAP[s]=g*FHEAP[f+2],f=q,g=p,h=r,i=s,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c,q,4,4,0)):(f=c,c=B+o*4,h=FHEAP[f],g=m,FHEAP[v]=h*FHEAP[g],h=FHEAP[f+1],g=m,FHEAP[y]=h*FHEAP[g+1],g=FHEAP[f+2],f=m,FHEAP[x]=g*FHEAP[f+2],f=u,g=v,h=y,i=x,FHEAP[f]=FHEAP[g],FHEAP[f+1]= +FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c,u,4,4,0));o=c=o+-1;if(!(c>=0))break}j=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[j]+2]](j,a+6,e,d);a=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[a]+6]](a,e);STACKTOP=b}function __ZN21btNodeOverlapCallbackD1Ev(a){IHEAP[a]=__ZTV21btNodeOverlapCallback+2}function __ZN21btNodeOverlapCallbackD0Ev(a){IHEAP[a]=__ZTV21btNodeOverlapCallback+2;__ZdlPv(a)} +function __ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD2Ev(a){IHEAP[a]=__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2} +function __ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD0Ev(a){IHEAP[a]=__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2;__ZdlPv(a)} +function __ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallback11processNodeEii(a,e,d){var b=STACKTOP;STACKTOP+=34;var c=null,f,g,h,i,j=b+12,k=b+14,l=b+15,m=b+16,n=b+17,o=b+19,q,p=b+20,r=b+24,s=b+25,u=b+26,v=b+27,y=b+31,x=b+32,z=b+33;q=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[q]+4]](q,j,b+13,k,l,m,n,b+18,o,e);m=IHEAP[m]+IHEAP[n]*d;n=IHEAP[a+4]+1;for(q=2;;){c=q;g=m;if(IHEAP[o]==3)var B=IHEAP[g+c],c=1;else var C=IHEAP[g+c],c=3;c=c==1?B:C;c= +IHEAP[j]+IHEAP[l]*c;IHEAP[k]==0?(g=c,c=b+q*4,h=FHEAP[g],f=n,FHEAP[r]=h*FHEAP[f],h=FHEAP[g+1],f=n,FHEAP[s]=h*FHEAP[f+1],f=FHEAP[g+2],g=n,FHEAP[u]=f*FHEAP[g+2],g=p,f=r,h=s,i=u,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c,p,4,4,0)):(g=c,c=b+q*4,h=FHEAP[g],f=n,FHEAP[y]=h*FHEAP[f],h=FHEAP[g+1],f=n,FHEAP[x]=h*FHEAP[f+1],f=FHEAP[g+2],g=n,FHEAP[z]=f*FHEAP[g+2],g=v,f=y,h=x,i=z,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c, +v,4,4,0));q=c=q+-1;if(!(c>=0))break}j=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[j]+2]](j,b,e,d);a=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[a]+6]](a,e);STACKTOP=b}function __ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD2Ev(a){IHEAP[a]=__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2} +function __ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD0Ev(a){IHEAP[a]=__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2;__ZdlPv(a)} +function __ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallback11processNodeEii(a,e,d){var b=STACKTOP;STACKTOP+=34;var c=null,f,g,h,i,j=b+12,k=b+14,l=b+15,m=b+16,n=b+17,o=b+19,q,p=b+20,r=b+24,s=b+25,u=b+26,v=b+27,y=b+31,x=b+32,z=b+33;q=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[q]+4]](q,j,b+13,k,l,m,n,b+18,o,e);m=IHEAP[m]+IHEAP[n]*d;n=IHEAP[a+4]+1;for(q=2;;){c=q;g=m;if(IHEAP[o]==3)var B=IHEAP[g+c],c=1;else var C=IHEAP[g+c],c=3;c=c==1?B:C;c=IHEAP[j]+ +IHEAP[l]*c;IHEAP[k]==0?(g=c,c=b+q*4,h=FHEAP[g],f=n,FHEAP[r]=h*FHEAP[f],h=FHEAP[g+1],f=n,FHEAP[s]=h*FHEAP[f+1],f=FHEAP[g+2],g=n,FHEAP[u]=f*FHEAP[g+2],g=p,f=r,h=s,i=u,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c,p,4,4,0)):(g=c,c=b+q*4,h=FHEAP[g],f=n,FHEAP[y]=h*FHEAP[f],h=FHEAP[g+1],f=n,FHEAP[x]=h*FHEAP[f+1],f=FHEAP[g+2],g=n,FHEAP[z]=f*FHEAP[g+2],g=v,f=y,h=x,i=z,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c, +v,4,4,0));q=c=q+-1;if(!(c>=0))break}j=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[j]+2]](j,b,e,d);a=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[a]+6]](a,e);STACKTOP=b} +function __ZN19btTriangleMeshShapeC2EP23btStridingMeshInterface(a,e){var d,b;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0;IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a+24]=e;IHEAP[a+1]=21;d=IHEAP[IHEAP[e]+10];try{__THREW__=!1,b=FUNCTION_TABLE[d](e)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack);b=null}for(d=__THREW__?1:2;;)if(d==2){if(b){d=e;var f=IHEAP[IHEAP[d]+12],g=a+16, +h=a+20;try{__THREW__=!1,FUNCTION_TABLE[f](d,g,h)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}}else try{__THREW__=!1,__ZN19btTriangleMeshShape15recalcLocalAabbEv(a)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__)d=1;else break}else if(d==1)throw b=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),d=a,IHEAP[d]=__ZTV14btConcaveShape+2,IHEAP[d]= +__ZTV16btCollisionShape+2,__Unwind_Resume_or_Rethrow(b),"Reached an unreachable! Original .ll line: 151374";} +function __ZN19btTriangleMeshShape15recalcLocalAabbEv(a){var e=STACKTOP;STACKTOP+=15;var d,b,c,f,g,h=e+4,i=e+5,j=e+6,k=e+7,l=e+11;g=0;for(var m=a+12,n=a+20,o=a+12,q=a+16;;)if(FHEAP[h]=0,FHEAP[i]=0,FHEAP[j]=0,d=e,b=h,c=i,f=j,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,b=g,d=e,FHEAP[d+b]=1,FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](k,a,e),b=g,d=k,b=FHEAP[d+b]+FHEAP[m],c=g,d=n,FHEAP[d+c]=b,b=g,d=e,FHEAP[d+b]=-1,FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](l,a,e),_llvm_memcpy_p0i8_p0i8_i32(k, +l,4,4,0),b=g,d=k,b=FHEAP[d+b]-FHEAP[o],c=g,d=q,FHEAP[d+c]=b,g=d=g+1,!(d<3))break;STACKTOP=e}function __ZN19btTriangleMeshShapeD0Ev(a){IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)}function __ZN19btTriangleMeshShapeD2Ev(a){IHEAP[a]=__ZTV19btTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK19btTriangleMeshShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=74;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n,o=c+9,q=c+10,p=c+11,r=c+12,s=c+13,u=c+14,v,y=c+15,x=c+16,z=c+17,B=c+18,C=c+22,A=c+23,w=c+27,D=c+31,E=c+32,F=c+33,G=c+34,J=c+38,H=c+39;n=c+43;var M=c+55,K=c+59,N=c+63,R=c+64,O=c+65,Q=c+66,I=c+70;FHEAP[C]=0.5;var L=a+16;v=a+20;FHEAP[y]=FHEAP[v]-FHEAP[L];FHEAP[x]=FHEAP[v+1]-FHEAP[L+1];FHEAP[z]=FHEAP[v+2]-FHEAP[L+2];FHEAP[A]=FHEAP[y];FHEAP[A+ +1]=FHEAP[x];FHEAP[A+2]=FHEAP[z];FHEAP[A+3]=0;FHEAP[k]=FHEAP[A]*FHEAP[C];FHEAP[l]=FHEAP[A+1]*FHEAP[C];FHEAP[m]=FHEAP[A+2]*FHEAP[C];FHEAP[B]=FHEAP[k];FHEAP[B+1]=FHEAP[l];FHEAP[B+2]=FHEAP[m];FHEAP[B+3]=0;k=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[D]=k;k=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[E]=k;k=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[F]=k;FHEAP[w]=FHEAP[D];FHEAP[w+1]=FHEAP[E];FHEAP[w+2]=FHEAP[F];FHEAP[w+3]=0;FHEAP[B]+=FHEAP[w];FHEAP[B+1]+=FHEAP[w+1];FHEAP[B+2]+=FHEAP[w+2];FHEAP[J]=0.5; +w=a+16;a+=20;FHEAP[c]=FHEAP[a]+FHEAP[w];FHEAP[f]=FHEAP[a+1]+FHEAP[w+1];FHEAP[g]=FHEAP[a+2]+FHEAP[w+2];FHEAP[H]=FHEAP[c];FHEAP[H+1]=FHEAP[f];FHEAP[H+2]=FHEAP[g];FHEAP[H+3]=0;FHEAP[h]=FHEAP[H]*FHEAP[J];FHEAP[i]=FHEAP[H+1]*FHEAP[J];FHEAP[j]=FHEAP[H+2]*FHEAP[J];FHEAP[G]=FHEAP[h];FHEAP[G+1]=FHEAP[i];FHEAP[G+2]=FHEAP[j];FHEAP[G+3]=0;__ZNK11btMatrix3x38absoluteEv(n,e);__ZNK11btTransformclERK9btVector3(M,e,G);e=n+0;FHEAP[N]=FHEAP[e]*FHEAP[B]+FHEAP[e+1]*FHEAP[B+1]+FHEAP[e+2]*FHEAP[B+2];e=n+4;FHEAP[R]=FHEAP[e]* +FHEAP[B]+FHEAP[e+1]*FHEAP[B+1]+FHEAP[e+2]*FHEAP[B+2];n+=8;FHEAP[O]=FHEAP[n]*FHEAP[B]+FHEAP[n+1]*FHEAP[B+1]+FHEAP[n+2]*FHEAP[B+2];FHEAP[K]=FHEAP[N];FHEAP[K+1]=FHEAP[R];FHEAP[K+2]=FHEAP[O];FHEAP[K+3]=0;FHEAP[o]=FHEAP[M]-FHEAP[K];FHEAP[q]=FHEAP[M+1]-FHEAP[K+1];FHEAP[p]=FHEAP[M+2]-FHEAP[K+2];FHEAP[Q]=FHEAP[o];FHEAP[Q+1]=FHEAP[q];FHEAP[Q+2]=FHEAP[p];FHEAP[Q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,Q,4,4,0);FHEAP[r]=FHEAP[M]+FHEAP[K];FHEAP[s]=FHEAP[M+1]+FHEAP[K+1];FHEAP[u]=FHEAP[M+2]+FHEAP[K+2];FHEAP[I]=FHEAP[r]; +FHEAP[I+1]=FHEAP[s];FHEAP[I+2]=FHEAP[u];FHEAP[I+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,I,4,4,0);STACKTOP=c}function __ZN19btTriangleMeshShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a+24]+1,e,4,4,0);__ZN19btTriangleMeshShape15recalcLocalAabbEv(a)}function __ZNK19btTriangleMeshShape15getLocalScalingEv(a){return IHEAP[a+24]+1} +function __ZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=13;IHEAP[c]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[c]=__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+2;IHEAP[c+4]=e;_llvm_memcpy_p0i8_p0i8_i32(c+5,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+9,b,4,4,0);a=IHEAP[a+24];e=IHEAP[IHEAP[a]+2];try{__THREW__=!1,FUNCTION_TABLE[e](a,c,d,b)}catch(f){if(ABORT)throw f;__THREW__= +!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}d=__THREW__?1:0;if(d==0)IHEAP[c]=__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+2,IHEAP[c]=__ZTV31btInternalTriangleIndexCallback+2,STACKTOP=c;else if(d==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[c]=__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+2,IHEAP[c]=__ZTV31btInternalTriangleIndexCallback+ +2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 152529";}function __ZNK19btTriangleMeshShape21calculateLocalInertiaEfR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=3;var e=a+1,b=a+2;FHEAP[a]=0;FHEAP[e]=0;FHEAP[b]=0;FHEAP[d]=FHEAP[a];FHEAP[d+1]=FHEAP[e];FHEAP[d+2]=FHEAP[b];FHEAP[d+3]=0;STACKTOP=a} +function __ZNK19btTriangleMeshShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=75;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+31,v=b+60,y=b+64,x=b+65,z=b+66,B=b+67,C=b+71;FHEAP[g]=1;FHEAP[h]=0;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=1;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(s,g,h,i,j,k,l,m,n,o);g=s+12;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[g]=FHEAP[q];FHEAP[g+1]= +FHEAP[p];FHEAP[g+2]=FHEAP[r];FHEAP[g+3]=0;__ZN21SupportVertexCallbackC2ERK9btVector3RK11btTransform(u,d,s);FHEAP[y]=999999984306749440;FHEAP[x]=999999984306749440;FHEAP[z]=999999984306749440;FHEAP[v]=FHEAP[y];FHEAP[v+1]=FHEAP[x];FHEAP[v+2]=FHEAP[z];FHEAP[v+3]=0;d=IHEAP[IHEAP[e]+15];FHEAP[b]=0-FHEAP[v];FHEAP[c]=0-FHEAP[v+1];FHEAP[f]=0-FHEAP[v+2];FHEAP[B]=FHEAP[b];FHEAP[B+1]=FHEAP[c];FHEAP[B+2]=FHEAP[f];FHEAP[B+3]=0;try{__THREW__=!1,FUNCTION_TABLE[d](e,u,B,v)}catch(A){if(ABORT)throw A;__THREW__=!0; +print("Exception: "+A+" : "+A.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)e=u+4,_llvm_memcpy_p0i8_p0i8_i32(C,e,4,4,0),_llvm_memmove_p0i8_p0i8_i32(a,e,4,4,0),IHEAP[u]=__ZTV21SupportVertexCallback+2,IHEAP[u]=__ZTV18btTriangleCallback+2,STACKTOP=b;else if(e==1)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[u]=__ZTV21SupportVertexCallback+2,IHEAP[u]=__ZTV18btTriangleCallback+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 152847"; +}function __ZN21SupportVertexCallbackD1Ev(a){IHEAP[a]=__ZTV21SupportVertexCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2}function __ZNK19btTriangleMeshShape7getNameEv(){return __str75}function __ZN21SupportVertexCallbackD0Ev(a){IHEAP[a]=__ZTV21SupportVertexCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN21SupportVertexCallback15processTriangleEP9btVector3ii(a,e){var d,b,c;c=0;var f=a+25,g=a+24,h=a+24,i=a+4;a:for(;;){b=e+4*c;d=f;b=FHEAP[d]*FHEAP[b]+FHEAP[d+1]*FHEAP[b+1]+FHEAP[d+2]*FHEAP[b+2];for(d=b>FHEAP[g]?1:2;;)if(d==1)FHEAP[h]=b,_llvm_memcpy_p0i8_p0i8_i32(i,e+4*c,4,4,0),d=2;else if(d==2)if(c=d=c+1,d<3)continue a;else break a}} +function __ZN21SupportVertexCallbackC2ERK9btVector3RK11btTransform(a,e,d){var b=STACKTOP;STACKTOP+=7;var c;c=b+1;var f=b+2,g=b+3;IHEAP[a]=__ZTV18btTriangleCallback+2;IHEAP[a]=__ZTV21SupportVertexCallback+2;var h=a+4;FHEAP[b]=0;FHEAP[c]=0;FHEAP[f]=0;FHEAP[h]=FHEAP[b];FHEAP[h+1]=FHEAP[c];FHEAP[h+2]=FHEAP[f];FHEAP[h+3]=0;c=a+8;_llvm_memcpy_p0i8_p0i8_i32(c,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,d+12,4,4,0);FHEAP[a+24]= +-999999984306749440;d=a+25;__ZmlRK9btVector3RK11btMatrix3x3(g,e,a+8);_llvm_memcpy_p0i8_p0i8_i32(d,g,4,4,0);STACKTOP=b}function __ZZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN16FilteredCallbackD2Ev(a){IHEAP[a]=__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2} +function __ZZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN16FilteredCallbackD0Ev(a){IHEAP[a]=__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2;__ZdlPv(a)} +function __ZZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN16FilteredCallback28internalProcessTriangleIndexEPS2_ii(a,e,d,b){var c;for(c=__Z24TestTriangleAgainstAabb2PK9btVector3RS0_S2_(e,a+5,a+9)?0:1;;)if(c==0)c=IHEAP[a+4],FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,e,d,b),c=1;else if(c==1)break} +function __Z24TestTriangleAgainstAabb2PK9btVector3RS0_S2_(a,e,d){var b,c,f,g;f=a+4;g=a+8;b=FHEAP[a]<FHEAP[f]?a:f;if(FHEAP[FHEAP[b]<FHEAP[g]?b:g]>FHEAP[d])e=0;else if(b=FHEAP[a]>FHEAP[f]?a:f,FHEAP[FHEAP[b]>FHEAP[g]?b:g]<FHEAP[e])e=0;else{var h=f+2;c=a+2;b=g+2;c=FHEAP[c]<FHEAP[h]?c:h;FHEAP[FHEAP[c]<FHEAP[b]?c:b]>FHEAP[d+2]?e=0:(h=f+2,c=a+2,b=g+2,c=FHEAP[c]>FHEAP[h]?c:h,FHEAP[FHEAP[c]>FHEAP[b]?c:b]<FHEAP[e+2]?e=0:(h=f+1,c=a+1,b=g+1,c=FHEAP[c]<FHEAP[h]?c:h,FHEAP[FHEAP[c]<FHEAP[b]?c:b]>FHEAP[d+1]?e=0: +(d=f+1,a+=1,g+=1,a=FHEAP[a]>FHEAP[d]?a:d,e=FHEAP[FHEAP[a]>FHEAP[g]?a:g]<FHEAP[e+1]?0:1)))}return e} +function __ZN16btTriangleBuffer15processTriangleEP9btVector3ii(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=null;_llvm_memcpy_p0i8_p0i8_i32(c,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,e+8,4,4,0);IHEAP[c+12]=d;IHEAP[c+13]=b;a+=4;e=IHEAP[a+1]==IHEAP[a+2]?0:1;a:for(;;)if(e==0){f=a;d=IHEAP[f+1];d!=0?(f=0,e=2):(f=0,e=3);for(;;)if(e==2)var g=d*2,f=2,e=3;else if(e==3){__ZN20btAlignedObjectArrayI10btTriangleE7reserveEi(a,f==2?g:1);e=1;continue a}}else if(e==1){var h= +IHEAP[a+3]+14*IHEAP[a+1],e=h==0?4:5;break a}for(;;)if(e==4){IHEAP[a+1]+=1;STACKTOP=c;break}else e==5&&(g=h,_llvm_memset_p0i8_i32(g,0,14,4,0),_llvm_memcpy_p0i8_p0i8_i32(g,c,14,4,0),e=4)}function __ZN16btTriangleBufferD1Ev(a){IHEAP[a]=__ZTV16btTriangleBuffer+2;__ZN20btAlignedObjectArrayI10btTriangleE5clearEv(a+4);IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZN16btTriangleBufferD0Ev(a){IHEAP[a]=__ZTV16btTriangleBuffer+2;__ZN20btAlignedObjectArrayI10btTriangleE5clearEv(a+4);IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN20btAlignedObjectArrayI10btTriangleE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*56,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=f+14*b;for(d=m==0?6:7;;)if(d==6)if(b+=1,b<c){d=5;continue c}else{d=4;continue b}else d==7&&(d=m,_llvm_memset_p0i8_i32(d,0,14,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+14*b,14,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d== +8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI10btTriangleE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN18btStaticPlaneShapeC2ERK9btVector3f(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0;IHEAP[a]=__ZTV18btStaticPlaneShape+2;__ZNK9btVector310normalizedEv(a+24,e);FHEAP[a+28]=d;e=a+29;FHEAP[b]=0;FHEAP[c]=0;FHEAP[f]=0;FHEAP[e]=FHEAP[b];FHEAP[e+1]=FHEAP[c];FHEAP[e+2]=FHEAP[f];FHEAP[e+3]=0;IHEAP[a+1]=28;STACKTOP=b} +function __ZN18btStaticPlaneShapeD0Ev(a){IHEAP[a]=__ZTV18btStaticPlaneShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)}function __ZN18btStaticPlaneShapeD2Ev(a){IHEAP[a]=__ZTV18btStaticPlaneShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK18btStaticPlaneShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){a=STACKTOP;STACKTOP+=6;var e=a+1,c=a+2,f=a+3,g=a+4,h=a+5;FHEAP[a]=-999999984306749440;FHEAP[e]=-999999984306749440;FHEAP[c]=-999999984306749440;FHEAP[d]=FHEAP[a];FHEAP[d+1]=FHEAP[e];FHEAP[d+2]=FHEAP[c];FHEAP[d+3]=0;FHEAP[f]=999999984306749440;FHEAP[g]=999999984306749440;FHEAP[h]=999999984306749440;FHEAP[b]=FHEAP[f];FHEAP[b+1]=FHEAP[g];FHEAP[b+2]=FHEAP[h];FHEAP[b+3]=0;STACKTOP=a} +function __ZNK18btStaticPlaneShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=234;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+9,o=c+10,q=c+11,p=c+12,r=c+13,s=c+14,u=c+15,v=c+16,y=c+17,x=c+18,z=c+19,B=c+20,C=c+21,A=c+22,w=c+23,D=c+24,E=c+25,F=c+26,G=c+27,J=c+28,H=c+29,M=c+30,K=c+31,N=c+32,R=c+33,O=c+34,Q=c+35,I=c+36,L=c+37,P=c+38,S=c+39,T=c+40,U=c+41,W=c+42,Z=c+43,ca=c+44,Y=c+45,ea=c+46,ha=c+47,ba=c+48,V=c+49,aa=c+50,X=c+51,ka=c+52,da=c+ +53,fa=c+54,ga=c+55,ja=c+56,la=c+57,qa=c+58,pa=c+59,wa=c+60,ua=c+61,na=c+62,ya=c+63,xa=c+64,ia=c+65,ma=c+66,ta=c+67,ra=c+68,oa=c+69,Da=c+70,Ba=c+71,Oa=c+72,Fa=c+73,Ha=c+74,La=c+75,Ea=c+76,Ca=c+77,Aa=c+78,za=c+79,Ja=c+80,Ra=c+81,Ua=c+82,Xa=c+83,Wa=c+84,Sa=c+85,Ga=c+86,Ia=c+87,Pa=c+88,Ta=c+89,Va=c+90,fb=c+94,ib=c+98,Na=c+99,Za=c+100,gb=c+104,lb=c+108,$a=c+109,eb=c+113,bb=c+117,sb=c+121,Ka=c+125,Ya=c+126,jb=c+138,kb=c+142,tb=c+146,Bb=c+150,Qa=c+154,wb=c+158,mb=c+162,yb=c+166,ub=c+170,Ma=c+174,sa=c+178, +va=c+182,pb=c+186,ab=c+190,db=c+194,vb=c+198,Fb=c+202,zb=c+206,Kb=c+210,nb=c+214,Cb=c+218,Eb=c+222,Ib=c+226,Jb=c+230;FHEAP[Ia]=FHEAP[b]-FHEAP[d];FHEAP[Pa]=FHEAP[b+1]-FHEAP[d+1];FHEAP[Ta]=FHEAP[b+2]-FHEAP[d+2];FHEAP[fb]=FHEAP[Ia];FHEAP[fb+1]=FHEAP[Pa];FHEAP[fb+2]=FHEAP[Ta];FHEAP[fb+3]=0;FHEAP[ib]=0.5;FHEAP[Wa]=FHEAP[fb]*FHEAP[ib];FHEAP[Sa]=FHEAP[fb+1]*FHEAP[ib];FHEAP[Ga]=FHEAP[fb+2]*FHEAP[ib];FHEAP[Va]=FHEAP[Wa];FHEAP[Va+1]=FHEAP[Sa];FHEAP[Va+2]=FHEAP[Ga];FHEAP[Va+3]=0;Wa=_sqrtf(FHEAP[Va]*FHEAP[Va]+ +FHEAP[Va+1]*FHEAP[Va+1]+FHEAP[Va+2]*FHEAP[Va+2]);FHEAP[Na]=Wa;FHEAP[Y]=FHEAP[b]+FHEAP[d];FHEAP[ea]=FHEAP[b+1]+FHEAP[d+1];FHEAP[ha]=FHEAP[b+2]+FHEAP[d+2];FHEAP[gb]=FHEAP[Y];FHEAP[gb+1]=FHEAP[ea];FHEAP[gb+2]=FHEAP[ha];FHEAP[gb+3]=0;FHEAP[lb]=0.5;FHEAP[c]=FHEAP[gb]*FHEAP[lb];FHEAP[f]=FHEAP[gb+1]*FHEAP[lb];FHEAP[g]=FHEAP[gb+2]*FHEAP[lb];FHEAP[Za]=FHEAP[c];FHEAP[Za+1]=FHEAP[f];FHEAP[Za+2]=FHEAP[g];FHEAP[Za+3]=0;__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(a+24,$a,eb);d=a+24;FHEAP[Ka]=FHEAP[d]*FHEAP[Za]+ +FHEAP[d+1]*FHEAP[Za+1]+FHEAP[d+2]*FHEAP[Za+2]-FHEAP[a+28];a+=24;FHEAP[h]=FHEAP[a]*FHEAP[Ka];FHEAP[i]=FHEAP[a+1]*FHEAP[Ka];FHEAP[j]=FHEAP[a+2]*FHEAP[Ka];FHEAP[sb]=FHEAP[h];FHEAP[sb+1]=FHEAP[i];FHEAP[sb+2]=FHEAP[j];FHEAP[sb+3]=0;FHEAP[k]=FHEAP[Za]-FHEAP[sb];FHEAP[l]=FHEAP[Za+1]-FHEAP[sb+1];FHEAP[m]=FHEAP[Za+2]-FHEAP[sb+2];FHEAP[bb]=FHEAP[k];FHEAP[bb+1]=FHEAP[l];FHEAP[bb+2]=FHEAP[m];FHEAP[bb+3]=0;FHEAP[n]=FHEAP[$a]*FHEAP[Na];FHEAP[o]=FHEAP[$a+1]*FHEAP[Na];FHEAP[q]=FHEAP[$a+2]*FHEAP[Na];FHEAP[kb]=FHEAP[n]; +FHEAP[kb+1]=FHEAP[o];FHEAP[kb+2]=FHEAP[q];FHEAP[kb+3]=0;FHEAP[p]=FHEAP[bb]+FHEAP[kb];FHEAP[r]=FHEAP[bb+1]+FHEAP[kb+1];FHEAP[s]=FHEAP[bb+2]+FHEAP[kb+2];FHEAP[jb]=FHEAP[p];FHEAP[jb+1]=FHEAP[r];FHEAP[jb+2]=FHEAP[s];FHEAP[jb+3]=0;FHEAP[u]=FHEAP[eb]*FHEAP[Na];FHEAP[v]=FHEAP[eb+1]*FHEAP[Na];FHEAP[y]=FHEAP[eb+2]*FHEAP[Na];FHEAP[tb]=FHEAP[u];FHEAP[tb+1]=FHEAP[v];FHEAP[tb+2]=FHEAP[y];FHEAP[tb+3]=0;FHEAP[x]=FHEAP[jb]+FHEAP[tb];FHEAP[z]=FHEAP[jb+1]+FHEAP[tb+1];FHEAP[B]=FHEAP[jb+2]+FHEAP[tb+2];FHEAP[Bb]=FHEAP[x]; +FHEAP[Bb+1]=FHEAP[z];FHEAP[Bb+2]=FHEAP[B];FHEAP[Bb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ya,Bb,4,4,0);FHEAP[C]=FHEAP[$a]*FHEAP[Na];FHEAP[A]=FHEAP[$a+1]*FHEAP[Na];FHEAP[w]=FHEAP[$a+2]*FHEAP[Na];FHEAP[wb]=FHEAP[C];FHEAP[wb+1]=FHEAP[A];FHEAP[wb+2]=FHEAP[w];FHEAP[wb+3]=0;FHEAP[D]=FHEAP[bb]+FHEAP[wb];FHEAP[E]=FHEAP[bb+1]+FHEAP[wb+1];FHEAP[F]=FHEAP[bb+2]+FHEAP[wb+2];FHEAP[Qa]=FHEAP[D];FHEAP[Qa+1]=FHEAP[E];FHEAP[Qa+2]=FHEAP[F];FHEAP[Qa+3]=0;FHEAP[G]=FHEAP[eb]*FHEAP[Na];FHEAP[J]=FHEAP[eb+1]*FHEAP[Na];FHEAP[H]= +FHEAP[eb+2]*FHEAP[Na];FHEAP[mb]=FHEAP[G];FHEAP[mb+1]=FHEAP[J];FHEAP[mb+2]=FHEAP[H];FHEAP[mb+3]=0;FHEAP[M]=FHEAP[Qa]-FHEAP[mb];FHEAP[K]=FHEAP[Qa+1]-FHEAP[mb+1];FHEAP[N]=FHEAP[Qa+2]-FHEAP[mb+2];FHEAP[yb]=FHEAP[M];FHEAP[yb+1]=FHEAP[K];FHEAP[yb+2]=FHEAP[N];FHEAP[yb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ya+4,yb,4,4,0);FHEAP[R]=FHEAP[$a]*FHEAP[Na];FHEAP[O]=FHEAP[$a+1]*FHEAP[Na];FHEAP[Q]=FHEAP[$a+2]*FHEAP[Na];FHEAP[Ma]=FHEAP[R];FHEAP[Ma+1]=FHEAP[O];FHEAP[Ma+2]=FHEAP[Q];FHEAP[Ma+3]=0;FHEAP[I]=FHEAP[bb]-FHEAP[Ma]; +FHEAP[L]=FHEAP[bb+1]-FHEAP[Ma+1];FHEAP[P]=FHEAP[bb+2]-FHEAP[Ma+2];FHEAP[ub]=FHEAP[I];FHEAP[ub+1]=FHEAP[L];FHEAP[ub+2]=FHEAP[P];FHEAP[ub+3]=0;FHEAP[S]=FHEAP[eb]*FHEAP[Na];FHEAP[T]=FHEAP[eb+1]*FHEAP[Na];FHEAP[U]=FHEAP[eb+2]*FHEAP[Na];FHEAP[sa]=FHEAP[S];FHEAP[sa+1]=FHEAP[T];FHEAP[sa+2]=FHEAP[U];FHEAP[sa+3]=0;FHEAP[W]=FHEAP[ub]-FHEAP[sa];FHEAP[Z]=FHEAP[ub+1]-FHEAP[sa+1];FHEAP[ca]=FHEAP[ub+2]-FHEAP[sa+2];FHEAP[va]=FHEAP[W];FHEAP[va+1]=FHEAP[Z];FHEAP[va+2]=FHEAP[ca];FHEAP[va+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ya+ +8,va,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[e]+2]](e,Ya,0,0);FHEAP[ba]=FHEAP[$a]*FHEAP[Na];FHEAP[V]=FHEAP[$a+1]*FHEAP[Na];FHEAP[aa]=FHEAP[$a+2]*FHEAP[Na];FHEAP[ab]=FHEAP[ba];FHEAP[ab+1]=FHEAP[V];FHEAP[ab+2]=FHEAP[aa];FHEAP[ab+3]=0;FHEAP[X]=FHEAP[bb]-FHEAP[ab];FHEAP[ka]=FHEAP[bb+1]-FHEAP[ab+1];FHEAP[da]=FHEAP[bb+2]-FHEAP[ab+2];FHEAP[pb]=FHEAP[X];FHEAP[pb+1]=FHEAP[ka];FHEAP[pb+2]=FHEAP[da];FHEAP[pb+3]=0;FHEAP[fa]=FHEAP[eb]*FHEAP[Na];FHEAP[ga]=FHEAP[eb+1]*FHEAP[Na];FHEAP[ja]=FHEAP[eb+2]*FHEAP[Na];FHEAP[db]= +FHEAP[fa];FHEAP[db+1]=FHEAP[ga];FHEAP[db+2]=FHEAP[ja];FHEAP[db+3]=0;FHEAP[la]=FHEAP[pb]-FHEAP[db];FHEAP[qa]=FHEAP[pb+1]-FHEAP[db+1];FHEAP[pa]=FHEAP[pb+2]-FHEAP[db+2];FHEAP[vb]=FHEAP[la];FHEAP[vb+1]=FHEAP[qa];FHEAP[vb+2]=FHEAP[pa];FHEAP[vb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ya,vb,4,4,0);FHEAP[wa]=FHEAP[$a]*FHEAP[Na];FHEAP[ua]=FHEAP[$a+1]*FHEAP[Na];FHEAP[na]=FHEAP[$a+2]*FHEAP[Na];FHEAP[zb]=FHEAP[wa];FHEAP[zb+1]=FHEAP[ua];FHEAP[zb+2]=FHEAP[na];FHEAP[zb+3]=0;FHEAP[ya]=FHEAP[bb]-FHEAP[zb];FHEAP[xa]=FHEAP[bb+ +1]-FHEAP[zb+1];FHEAP[ia]=FHEAP[bb+2]-FHEAP[zb+2];FHEAP[Fb]=FHEAP[ya];FHEAP[Fb+1]=FHEAP[xa];FHEAP[Fb+2]=FHEAP[ia];FHEAP[Fb+3]=0;FHEAP[ma]=FHEAP[eb]*FHEAP[Na];FHEAP[ta]=FHEAP[eb+1]*FHEAP[Na];FHEAP[ra]=FHEAP[eb+2]*FHEAP[Na];FHEAP[Kb]=FHEAP[ma];FHEAP[Kb+1]=FHEAP[ta];FHEAP[Kb+2]=FHEAP[ra];FHEAP[Kb+3]=0;FHEAP[oa]=FHEAP[Fb]+FHEAP[Kb];FHEAP[Da]=FHEAP[Fb+1]+FHEAP[Kb+1];FHEAP[Ba]=FHEAP[Fb+2]+FHEAP[Kb+2];FHEAP[nb]=FHEAP[oa];FHEAP[nb+1]=FHEAP[Da];FHEAP[nb+2]=FHEAP[Ba];FHEAP[nb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ya+ +4,nb,4,4,0);FHEAP[Oa]=FHEAP[$a]*FHEAP[Na];FHEAP[Fa]=FHEAP[$a+1]*FHEAP[Na];FHEAP[Ha]=FHEAP[$a+2]*FHEAP[Na];FHEAP[Eb]=FHEAP[Oa];FHEAP[Eb+1]=FHEAP[Fa];FHEAP[Eb+2]=FHEAP[Ha];FHEAP[Eb+3]=0;FHEAP[La]=FHEAP[bb]+FHEAP[Eb];FHEAP[Ea]=FHEAP[bb+1]+FHEAP[Eb+1];FHEAP[Ca]=FHEAP[bb+2]+FHEAP[Eb+2];FHEAP[Cb]=FHEAP[La];FHEAP[Cb+1]=FHEAP[Ea];FHEAP[Cb+2]=FHEAP[Ca];FHEAP[Cb+3]=0;FHEAP[Aa]=FHEAP[eb]*FHEAP[Na];FHEAP[za]=FHEAP[eb+1]*FHEAP[Na];FHEAP[Ja]=FHEAP[eb+2]*FHEAP[Na];FHEAP[Ib]=FHEAP[Aa];FHEAP[Ib+1]=FHEAP[za];FHEAP[Ib+ +2]=FHEAP[Ja];FHEAP[Ib+3]=0;FHEAP[Ra]=FHEAP[Cb]+FHEAP[Ib];FHEAP[Ua]=FHEAP[Cb+1]+FHEAP[Ib+1];FHEAP[Xa]=FHEAP[Cb+2]+FHEAP[Ib+2];FHEAP[Jb]=FHEAP[Ra];FHEAP[Jb+1]=FHEAP[Ua];FHEAP[Jb+2]=FHEAP[Xa];FHEAP[Jb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ya+8,Jb,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[e]+2]](e,Ya,0,1);STACKTOP=c} +function __ZNK18btStaticPlaneShape21calculateLocalInertiaEfR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=3;var e=a+1,b=a+2;FHEAP[a]=0;FHEAP[e]=0;FHEAP[b]=0;FHEAP[d]=FHEAP[a];FHEAP[d+1]=FHEAP[e];FHEAP[d+2]=FHEAP[b];FHEAP[d+3]=0;STACKTOP=a}function __ZN18btStaticPlaneShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+29,e,4,4,0)}function __ZNK18btStaticPlaneShape15getLocalScalingEv(a){return a+29}function __ZNK18btStaticPlaneShape7getNameEv(){return __str185} +function __ZNK18btStaticPlaneShape28calculateSerializeBufferSizeEv(){return 52}function __ZNK18btStaticPlaneShape9serializeEPvP12btSerializer(a,e,d){var b;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);var c=e+6,d=a+29;b=0;a:for(;;){FHEAP[c+b]=FHEAP[d+b];var f=b+1;b=f;if(!(f<4))break a}c=e+10;d=a+24;for(b=0;;)if(FHEAP[c+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+14]=FHEAP[a+28];return __str84} +function __ZN23btPolyhedralConvexShapeC2Ev(a){var e=STACKTOP;STACKTOP+=3;var d=e+1,b=e+2;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var c=a+12;FHEAP[e]=1;FHEAP[d]=1;FHEAP[b]=1;FHEAP[c]=FHEAP[e];FHEAP[c+1]=FHEAP[d];FHEAP[c+2]=FHEAP[b];FHEAP[c+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV23btPolyhedralConvexShape+2;IHEAP[a+52]=0;STACKTOP=e} +function __ZN23btPolyhedralConvexShapeD0Ev(a){var e,d;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+ +-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 157320";}}function __ZN23btPolyhedralConvexShapeD2Ev(a){var e;IHEAP[a]=__ZTV23btPolyhedralConvexShape+2;for(e=IHEAP[a+52]!=0?0:1;;)if(e==0)e=IHEAP[a+52],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=1;else if(e==1){IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;break}} +function __ZN23btPolyhedralConvexShape28initializePolyhedralFeaturesEv(a){var e=STACKTOP;STACKTOP+=108;var d,b=null,c,f,g,h,i,j=e+1,k=e+2,l,m,n=e+3,o=e+4,q,p,r=e+5,s=e+6,u=e+7,v,y=e+8,x=e+9,z=e+10,B=e+11,C=e+12,A,w,D,E,F,G,J=e+13,H=e+14,M=e+15,K,N,R,O,Q,I,L,P=e+16;N=e+21;var S=e+25,T=e+40;K=e+45;var U=e+49,W=e+63,Z,ca=e+67,Y=e+79;A=e+80;w=e+84;D=e+88;E=e+92;var ea=e+96,ha=e+100,ba=e+104;d=IHEAP[a+52]!=0?0:1;a:for(;;)if(d==0){O=IHEAP[a+52];if(O==0){d=1;continue a}IHEAP[_gNumAlignedFree]+=1;if(O==0){d= +1;continue a}O=IHEAP[O+-1];_free(O);d=1}else if(d==1){I=__Z22btAlignedAllocInternalji(80,16);I==0?(b=1,d=4):(b=1,d=5);break a}a:for(;;)if(d==4){IHEAP[a+52]=b==1?0:Q;L=P;IHEAP[L+4]=1;IHEAP[L+3]=0;IHEAP[L+1]=0;L=IHEAP[L+2]=0;var V=a,aa=a;d=6;break a}else d==5&&(O=Q=I,IHEAP[O]=__ZTV18btConvexPolyhedron+2,R=O+1,IHEAP[R+4]=1,IHEAP[R+3]=0,IHEAP[R+1]=0,IHEAP[R+2]=0,R=O+6,IHEAP[R+4]=1,IHEAP[R+3]=0,IHEAP[R+1]=0,IHEAP[R+2]=0,O+=11,IHEAP[O+4]=1,IHEAP[O+3]=0,IHEAP[O+1]=0,IHEAP[O+2]=0,b=5,d=4);a:for(;;){I=L;Q= +IHEAP[IHEAP[V]+22];try{__THREW__=!1,l=FUNCTION_TABLE[Q](a)}catch(X){if(ABORT)throw X;__THREW__=!0;print("Exception: "+X+" : "+X.stack+", currently at: "+Error().stack);l=null}if(__THREW__){d=48;break a}if(!(I<l)){d=8;break a}Q=P;I=N;O=Q;var ka=O=IHEAP[O+1];R=Q;d=ka==IHEAP[R+2]?9:10;b:for(;;)if(d==9){R=Q;R=IHEAP[R+1];R!=0?(b=9,d=11):(b=9,d=12);for(;;)if(d==11)v=R*2,b=11,d=12;else if(d==12){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(Q,b==11?v:1);d=10;continue b}}else if(d==10){IHEAP[Q+1]+=1;m= +IHEAP[Q+3]+4*O;d=m==0?13:14;break b}for(;;)if(d==13){O=IHEAP[Q+3]+4*O;I=IHEAP[IHEAP[aa]+25];Q=L;try{__THREW__=!1,FUNCTION_TABLE[I](a,Q,O)}catch(da){if(ABORT)throw da;__THREW__=!0;print("Exception: "+da+" : "+da.stack+", currently at: "+Error().stack)}if(__THREW__){d=48;break a}else break}else d==14&&(_llvm_memcpy_p0i8_p0i8_i32(m,I,4,4,0),d=13);L+=1;d=6}if(d==48)f=S=_llvm_eh_exception(),_llvm_eh_selector(S,___gxx_personality_v0,0);else if(d==8){IHEAP[S+4]=1;IHEAP[S+3]=0;IHEAP[S+1]=0;IHEAP[S+2]=0;N= +S+5;IHEAP[N+4]=1;IHEAP[N+3]=0;IHEAP[N+1]=0;IHEAP[N+2]=0;N=S+10;IHEAP[N+4]=1;IHEAP[N+3]=0;IHEAP[N+1]=0;IHEAP[N+2]=0;N=IHEAP[P+3]+0;l=IHEAP[P+1];try{__THREW__=!1,__ZN20btConvexHullComputer7computeEPKvbiiff(S,N,0,16,l,0,0)}catch(fa){if(ABORT)throw fa;__THREW__=!0;print("Exception: "+fa+" : "+fa.stack+", currently at: "+Error().stack)}d=__THREW__?56:55;if(d==55){IHEAP[T+4]=1;IHEAP[T+3]=0;IHEAP[T+1]=0;IHEAP[T+2]=0;N=IHEAP[S+10+1];__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(T,N,K);l=IHEAP[a+52]+ +6;_llvm_memset_p0i8_i32(U,0,14,4,0);IHEAP[U+4]=1;IHEAP[U+3]=0;IHEAP[U+1]=0;IHEAP[U+2]=0;K=U+5;IHEAP[K+4]=1;IHEAP[K+3]=0;IHEAP[K+1]=0;IHEAP[K+2]=0;try{__THREW__=!1,__ZN20btAlignedObjectArrayI6btFaceE6resizeEiRKS0_(l,N,U)}catch(ga){if(ABORT)throw ga;__THREW__=!0;print("Exception: "+ga+" : "+ga.stack+", currently at: "+Error().stack)}d=__THREW__?50:49;if(d==49){__ZN20btAlignedObjectArrayIiE5clearEv(U+5);__ZN20btAlignedObjectArrayIiE5clearEv(U);U=IHEAP[S+1];__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(IHEAP[a+ +52]+1,U,W);W=0;d=W<U?16:17;a:for(;;)if(d==16)for(K=a+52;;)if(v=W,l=IHEAP[K]+1,v=IHEAP[l+3]+4*v,m=W,l=S,_llvm_memcpy_p0i8_p0i8_i32(v,IHEAP[l+3]+4*m,4,4,0),W+=1,W<U)d=18;else{d=17;continue a}else if(d==17){Z=0;d=Z<N?21:22;break a}a:for(;;)if(d==21){U=a+52;W=A;K=w;l=D;v=ca;m=ca+4;L=E;V=a+52;aa=a+52;I=a+52;Q=a+52;O=a+52;R=a+52;var ka=a+52,ja=a+52;b:for(;;){d=Z;c=S+10;d=c=IHEAP[IHEAP[c+3]+d];c=S+5;q=c=IHEAP[c+3]+3*d;p=0;c:for(;;){d=q;IHEAP[Y]=IHEAP[d+3*IHEAP[d+1]+2];b=Z;d=IHEAP[U]+6;d=IHEAP[d+3]+14*b; +h=Y;d=i=d;b=d=IHEAP[d+1];d=i;d=b==IHEAP[d+2]?25:26;d:for(;;)if(d==25){d=i;g=IHEAP[d+1];g!=0?(b=25,d=27):(b=25,d=28);for(;;)if(d==27)F=g*2,b=27,d=28;else if(d==28){__ZN20btAlignedObjectArrayIiE7reserveEi(i,b==27?F:1);d=26;continue d}}else if(d==26){G=IHEAP[i+3]+IHEAP[i+1];d=G==0?29:30;break d}d:for(;;)if(d==29){IHEAP[i+1]+=1;d=q;b=IHEAP[d+2];h=IHEAP[Y];d=S;_llvm_memcpy_p0i8_p0i8_i32(W,IHEAP[d+3]+4*h,4,4,0);d=S;_llvm_memcpy_p0i8_p0i8_i32(K,IHEAP[d+3]+4*b,4,4,0);d=w;b=A;FHEAP[e]=FHEAP[d]-FHEAP[b];FHEAP[j]= +FHEAP[d+1]-FHEAP[b+1];FHEAP[k]=FHEAP[d+2]-FHEAP[b+2];d=D;b=e;h=j;i=k;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[h];FHEAP[d+2]=FHEAP[i];FHEAP[d+3]=0;b=h=b=d=D;b=FHEAP[b]*FHEAP[h]+FHEAP[b+1]*FHEAP[h+1]+FHEAP[b+2]*FHEAP[h+2];b=_sqrtf(b);FHEAP[o]=b;b=d;d=o;FHEAP[n]=1/FHEAP[d];d=n;FHEAP[b]*=FHEAP[d];FHEAP[b+1]*=FHEAP[d];FHEAP[b+2]*=FHEAP[d];d=p<2?31:32;break d}else d==30&&(IHEAP[G]=IHEAP[h],d=29);for(;;)if(d==31)d=p,p=d+1,_llvm_memcpy_p0i8_p0i8_i32(ca+d*4,l,4,4,0),d=32;else if(d==32)if(d=q,d+=3*IHEAP[d+1],q=d+ +3*IHEAP[d],q!=c)continue c;else break c}c=1.0000000150474662E30;p=p==2;q=Z;d=T;d=IHEAP[d+3]+4*q;p?(q=v,p=m,FHEAP[r]=FHEAP[q+1]*FHEAP[p+2]-FHEAP[q+2]*FHEAP[p+1],FHEAP[s]=FHEAP[q+2]*FHEAP[p]-FHEAP[q]*FHEAP[p+2],FHEAP[u]=FHEAP[q]*FHEAP[p+1]-FHEAP[q+1]*FHEAP[p],p=E,q=r,b=s,h=u,FHEAP[p]=FHEAP[q],FHEAP[p+1]=FHEAP[b],FHEAP[p+2]=FHEAP[h],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(d,L,4,4,0),p=Z,d=T,p=q=p=d=IHEAP[d+3]+4*p,p=FHEAP[p]*FHEAP[q]+FHEAP[p+1]*FHEAP[q+1]+FHEAP[p+2]*FHEAP[q+2],p=_sqrtf(p),FHEAP[x]=p, +p=d,d=x,FHEAP[y]=1/FHEAP[d],d=y,FHEAP[p]*=FHEAP[d],FHEAP[p+1]*=FHEAP[d],FHEAP[p+2]*=FHEAP[d],p=Z,d=T,d=IHEAP[d+3]+4*p,p=0-FHEAP[d],q=Z,d=IHEAP[V]+6,FHEAP[IHEAP[d+3]+14*q+10]=p,p=Z,d=T,d=IHEAP[d+3]+4*p,p=0-FHEAP[d+1],q=Z,d=IHEAP[aa]+6,FHEAP[IHEAP[d+3]+14*q+10+1]=p,p=Z,d=T,d=IHEAP[d+3]+4*p,p=0-FHEAP[d+2],q=Z,d=IHEAP[I]+6,FHEAP[IHEAP[d+3]+14*q+10+2]=p,p=c,q=Z,d=IHEAP[Q]+6,FHEAP[IHEAP[d+3]+14*q+10+3]=p):(FHEAP[z]=0,FHEAP[B]=0,FHEAP[C]=0,b=d,d=z,p=B,q=C,FHEAP[b]=FHEAP[d],FHEAP[b+1]=FHEAP[p],FHEAP[b+2]= +FHEAP[q],FHEAP[b+3]=0);q=p=0;b=Z;d=IHEAP[O]+6;d=IHEAP[d+3]+14*b;d=q<IHEAP[d+1]?35:36;c:for(;;)if(d==35){d=IHEAP[ka]+1;b=Z;q=IHEAP[ja]+6;h=b;b=p;q=IHEAP[q+3]+14*h;q=IHEAP[IHEAP[q+3]+b];d=IHEAP[d+3]+4*q;b=Z;q=T;q=IHEAP[q+3]+4*b;q=FHEAP[d]*FHEAP[q]+FHEAP[d+1]*FHEAP[q+1]+FHEAP[d+2]*FHEAP[q+2];for(d=c>q?37:38;;)if(d==37)c=q,d=38;else if(d==38){p+=1;q=p;b=Z;d=IHEAP[O]+6;d=IHEAP[d+3]+14*b;d=q<IHEAP[d+1]?35:36;continue c}}else if(d==36)if(d=c,p=Z,c=IHEAP[R]+6,FHEAP[IHEAP[c+3]+14*p+10+3]=d,Z+=1,Z<N){d=23; +continue b}else{d=22;continue a}}}else if(d==22){j=IHEAP[a+52]+6;d=IHEAP[j+1]!=0?39:40;break a}a:for(;;)if(d==39){j=S;if(IHEAP[j+1]==0){d=40;continue a}j=0;k=a+52;n=a+52;o=a+52;r=a+52;s=a+52;y=u=a;x=a+52;z=a+52;B=a+52;C=a+52;Z=a+52;ca=a+52;Y=a+52;b:for(;;){w=j;A=IHEAP[k]+6;if(!(w<IHEAP[A+1])){d=40;continue a}w=j;A=IHEAP[n]+6;w=IHEAP[A+3]+14*w+10;D=j;A=IHEAP[o]+6;D=IHEAP[A+3]+14*D+10+1;E=j;A=IHEAP[r]+6;E=IHEAP[A+3]+14*E+10+2;A=ea;FHEAP[A]=FHEAP[w];FHEAP[A+1]=FHEAP[D];FHEAP[A+2]=FHEAP[E];FHEAP[A+3]= +0;w=j;A=IHEAP[s]+6;A=FHEAP[IHEAP[A+3]+14*w+10+3];w=IHEAP[IHEAP[y]+15];D=ea;FHEAP[J]=0-FHEAP[D];FHEAP[H]=0-FHEAP[D+1];FHEAP[M]=0-FHEAP[D+2];D=ba;E=J;F=H;G=M;FHEAP[D]=FHEAP[E];FHEAP[D+1]=FHEAP[F];FHEAP[D+2]=FHEAP[G];FHEAP[D+3]=0;try{__THREW__=!1,FUNCTION_TABLE[w](ha,u,ba)}catch(la){if(ABORT)throw la;__THREW__=!0;print("Exception: "+la+" : "+la.stack+", currently at: "+Error().stack)}if(__THREW__){d=52;break a}D=ha;w=ea;d=FHEAP[D]*FHEAP[w]+FHEAP[D+1]*FHEAP[w+1]+FHEAP[D+2]*FHEAP[w+2]<A?44:45;c:for(;;)if(d== +44){w=j;A=IHEAP[x]+6;FHEAP[IHEAP[A+3]+14*w+10]*=-1;w=j;A=IHEAP[z]+6;FHEAP[IHEAP[A+3]+14*w+10+1]*=-1;w=j;A=IHEAP[B]+6;FHEAP[IHEAP[A+3]+14*w+10+2]*=-1;w=j;A=IHEAP[C]+6;FHEAP[IHEAP[A+3]+14*w+10+3]*=-1;w=j;A=IHEAP[Z]+6;A=IHEAP[A+3]+14*w;A=IHEAP[A+1];w=0;if(!(w<(A/2|0))){d=45;continue c}for(;;)if(E=j,D=IHEAP[ca]+6,F=E,E=w,D=IHEAP[D+3]+14*F,D=IHEAP[D+3]+E,F=j,E=IHEAP[Y]+6,G=F,F=A+-1+(0-w),E=IHEAP[E+3]+14*G,E=IHEAP[E+3]+F,F=IHEAP[D],IHEAP[D]=IHEAP[E],IHEAP[E]=F,w+=1,w<(A/2|0))d=46;else{d=45;continue c}}else if(d== +45){j+=1;d=42;continue b}}}else if(d==40){a=IHEAP[a+52];try{__THREW__=!1,__ZN18btConvexPolyhedron10initializeEv(a)}catch(qa){if(ABORT)throw qa;__THREW__=!0;print("Exception: "+qa+" : "+qa.stack+", currently at: "+Error().stack)}d=__THREW__?52:53;break a}if(d==52)f=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0);else if(d==53)return __ZN20btAlignedObjectArrayI9btVector3E5clearEv(T),__ZN20btAlignedObjectArrayIiE5clearEv(S+10),__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE5clearEv(S+ +5),__ZN20btAlignedObjectArrayI9btVector3E5clearEv(S),__ZN20btAlignedObjectArrayI9btVector3E5clearEv(P),STACKTOP=e,1}else d==50&&(f=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIiE5clearEv(U+5),__ZN20btAlignedObjectArrayIiE5clearEv(U));__ZN20btAlignedObjectArrayI9btVector3E5clearEv(T)}else d==56&&(f=T=_llvm_eh_exception(),_llvm_eh_selector(T,___gxx_personality_v0,0));__ZN20btAlignedObjectArrayIiE5clearEv(S+10);__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE5clearEv(S+ +5);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(S)}__ZN20btAlignedObjectArrayI9btVector3E5clearEv(P);__Unwind_Resume_or_Rethrow(f);throw"Reached an unreachable! Original .ll line: 159775";} +function __ZN20btAlignedObjectArrayI6btFaceE6resizeEiRKS0_(a,e,d){var b,c,f,g,h,i,j;i=IHEAP[a+1];var k=e<i;a:do if(k){c=e;if(!(c<i))break a;for(var l=a+3;;)if(b=IHEAP[l]+14*c,f=b+5,__ZN20btAlignedObjectArrayIiE5clearEv(f),__ZN20btAlignedObjectArrayIiE5clearEv(b),c+=1,!(c<i))break a}else{c=a;b=e>IHEAP[c+1]?3:4;b:for(;;)if(b==3)__ZN20btAlignedObjectArrayI6btFaceE7reserveEi(a,e),b=4;else if(b==4)if(j=i,j<e)break b;else break a;c=a+3;b:for(;;){l=IHEAP[c]+14*j;for(b=l==0?7:8;;)if(b==7)if(j+=1,j<e)continue b; +else break a;else b==8&&(b=l,_llvm_memset_p0i8_i32(b,0,14,4,0),g=f=d,f=b,h=b=g,g=f,__ZN20btAlignedObjectArrayIiEC2ERKS0_(g,h),h=b+5,g=f+5,__ZN20btAlignedObjectArrayIiEC2ERKS0_(g,h),_llvm_memcpy_p0i8_p0i8_i32(f+10,b+10,4,4,0),b=7)}}while(0);IHEAP[a+1]=e} +function __ZNK23btPolyhedralConvexShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=15;var c,f=b+1;c=b+2;var g,h=b+3,i=b+7,j=b+8,k=b+9;g=b+10;var l=b+11;FHEAP[b]=0;FHEAP[f]=0;FHEAP[c]=0;FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[f];FHEAP[a+2]=FHEAP[c];FHEAP[a+3]=0;f=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(h,d,4,4,0);d=FHEAP[h]*FHEAP[h]+FHEAP[h+1]*FHEAP[h+1]+FHEAP[h+2]*FHEAP[h+2];d<9.999999747378752E-5?(FHEAP[i]=1,FHEAP[j]=0,FHEAP[k]=0,FHEAP[h]=FHEAP[i],FHEAP[h+ +1]=FHEAP[j],FHEAP[h+2]=FHEAP[k],FHEAP[h+3]=0):(i=1/_sqrtf(d),FHEAP[g]=i,FHEAP[h]*=FHEAP[g],FHEAP[h+1]*=FHEAP[g],FHEAP[h+2]*=FHEAP[g]);i=g=0;j=FUNCTION_TABLE[IHEAP[IHEAP[e]+22]](e);d=i<j?1:2;a:for(;;)if(d==1){i=e;j=a;k=l;b:for(;;){FUNCTION_TABLE[IHEAP[IHEAP[i]+25]](e,g,l);c=h;d=l;c=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2];for(d=c>f?4:5;;)if(d==4)f=c,_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0),d=5;else if(d==5)if(g+=1,d=g,c=FUNCTION_TABLE[IHEAP[IHEAP[e]+22]](e),d<c){d=3;continue b}else{d= +2;continue a}}}else if(d==2){STACKTOP=b;break}} +function __ZNK23btPolyhedralConvexShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=4;var f,g,h,i,j;i=0;f=i<b?0:1;a:for(;;)if(f==0)g=d+4*i,FHEAP[g+3]=-999999984306749440,i+=1,f=i<b?0:1;else if(f==1){j=0;f=j<b?2:3;break a}a:for(;;)if(f==2){var k=a,l=a,m=c;b:for(;;){g=e+4*j;h=i=0;f=FUNCTION_TABLE[IHEAP[IHEAP[k]+22]](a);f=h<f?5:6;c:for(;;)if(f==5){FUNCTION_TABLE[IHEAP[IHEAP[l]+25]](a,i,c);f=g;h=c;var n=h=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+ +1]+FHEAP[f+2]*FHEAP[h+2];f=d+4*j;for(f=n>FHEAP[f+3]?7:8;;)if(f==7)_llvm_memcpy_p0i8_p0i8_i32(d+4*j,m,4,4,0),n=h,f=d+4*j,FHEAP[f+3]=n,f=8;else if(f==8){i+=1;h=i;f=FUNCTION_TABLE[IHEAP[IHEAP[k]+22]](a);f=h<f?5:6;continue c}}else if(f==6)if(j+=1,j<b){f=4;continue b}else{f=3;continue a}}}else if(f==3){STACKTOP=c;break}} +function __ZNK23btPolyhedralConvexShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=66;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+19,z=b+20,B,C=b+21,A=b+37,w=b+41,D=b+45,E=b+49,F=b+53,G=b+54,J=b+55,H=b+59,M=b+60,K=b+61,N=b+62;B=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[b]=1;FHEAP[c]=0;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(C, +b,c,f,g,h,i,j,k,l);c=C+12;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[c]=FHEAP[m];FHEAP[c+1]=FHEAP[n];FHEAP[c+2]=FHEAP[o];FHEAP[c+3]=0;FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,C,A,w);FHEAP[q]=FHEAP[w]-FHEAP[A];FHEAP[p]=FHEAP[w+1]-FHEAP[A+1];FHEAP[r]=FHEAP[w+2]-FHEAP[A+2];FHEAP[E]=FHEAP[q];FHEAP[E+1]=FHEAP[p];FHEAP[E+2]=FHEAP[r];FHEAP[E+3]=0;FHEAP[F]=0.5;FHEAP[s]=FHEAP[E]*FHEAP[F];FHEAP[u]=FHEAP[E+1]*FHEAP[F];FHEAP[v]=FHEAP[E+2]*FHEAP[F];FHEAP[D]=FHEAP[s];FHEAP[D+1]=FHEAP[u];FHEAP[D+2]=FHEAP[v];FHEAP[D+3]=0; +m=2*(FHEAP[D]+B);a=2*(FHEAP[D+1]+B);B=2*(FHEAP[D+2]+B);D=m*m;a*=a;B*=B;FHEAP[G]=e*0.0833333283662796;FHEAP[H]=a+B;FHEAP[M]=D+B;FHEAP[K]=D+a;FHEAP[J]=FHEAP[H];FHEAP[J+1]=FHEAP[M];FHEAP[J+2]=FHEAP[K];FHEAP[J+3]=0;FHEAP[y]=FHEAP[J]*FHEAP[G];FHEAP[x]=FHEAP[J+1]*FHEAP[G];FHEAP[z]=FHEAP[J+2]*FHEAP[G];FHEAP[N]=FHEAP[y];FHEAP[N+1]=FHEAP[x];FHEAP[N+2]=FHEAP[z];FHEAP[N+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,N,4,4,0);STACKTOP=b} +function __ZN34btPolyhedralConvexAabbCachingShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+1,c=d+2,f=d+3,g=a+12,h=_fabsf(FHEAP[e]);FHEAP[d]=h;h=_fabsf(FHEAP[e+1]);FHEAP[b]=h;h=_fabsf(FHEAP[e+2]);FHEAP[c]=h;FHEAP[f]=FHEAP[d];FHEAP[f+1]=FHEAP[b];FHEAP[f+2]=FHEAP[c];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,f,4,4,0);__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a);STACKTOP=d} +function __ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a){var e=STACKTOP;STACKTOP+=60;var d,b,c,f,g,h,i,j,k,l,m,n,o,q,p,r,s,u,v,y,x,z,B,C=e+1,A=e+2,w=e+3,D=e+4,E=e+5,F=e+6,G=e+7,J=e+8,H=e+9,M=e+10,K=e+11,N=e+12,R=e+13,O=e+14,Q=e+15,I=e+16,L=e+17,P=e+18,S=e+42,T=e+43,U=e+44;m=e+45;l=e+46;k=e+47;q=e+48;o=e+49;n=e+50;s=e+51;r=e+52;p=e+53;y=e+54;v=e+55;u=e+56;B=e+57;z=e+58;x=e+59;IHEAP[a+64]=1;d=IHEAP[__ZGVZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions]==0?0:1;a:for(;;)if(d== +0){if(___cxa_guard_acquire(__ZGVZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions)==0){d=1;continue a}FHEAP[e]=1;FHEAP[C]=0;FHEAP[A]=0;d=__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions;b=e;c=C;f=A;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[w]=0;FHEAP[D]=1;FHEAP[E]=0;d=__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions+4;b=w;c=D;f=E;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+ +3]=0;FHEAP[F]=0;FHEAP[G]=0;FHEAP[J]=1;d=__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions+8;b=F;c=G;f=J;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[H]=-1;FHEAP[M]=0;FHEAP[K]=0;d=__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions+12;b=H;c=M;f=K;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[N]=0;FHEAP[R]=-1;FHEAP[O]=0;d=__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions+ +16;b=N;c=R;f=O;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[Q]=0;FHEAP[I]=0;FHEAP[L]=-1;d=__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions+20;b=Q;c=I;f=L;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;___cxa_guard_release(__ZGVZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions);d=1}else if(d==1){g=P;FHEAP[S]=0;FHEAP[T]=0;FHEAP[U]=0;h=S;i=T;j=U;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[j]; +FHEAP[g+3]=0;g=P+4;FHEAP[m]=0;FHEAP[l]=0;FHEAP[k]=0;h=l;l=m;m=h;h=k;k=g;g=h;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[g];FHEAP[k+3]=0;k=P+8;FHEAP[q]=0;FHEAP[o]=0;FHEAP[n]=0;l=o;o=q;q=l;l=n;n=k;k=l;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[k];FHEAP[n+3]=0;n=P+12;FHEAP[s]=0;FHEAP[r]=0;FHEAP[p]=0;o=r;r=s;s=o;o=p;p=n;n=o;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[n];FHEAP[p+3]=0;p=P+16;FHEAP[y]=0;FHEAP[v]=0;FHEAP[u]=0;r=v;v=y;y=r;r=u;u=p;p=r;FHEAP[u]=FHEAP[v];FHEAP[u+ +1]=FHEAP[y];FHEAP[u+2]=FHEAP[p];FHEAP[u+3]=0;u=P+20;FHEAP[B]=0;FHEAP[z]=0;FHEAP[x]=0;v=z;z=B;B=v;v=x;x=u;u=v;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[u];FHEAP[x+3]=0;x=a;FUNCTION_TABLE[IHEAP[IHEAP[x]+17]](x,__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions,P,6);g=0;h=a+20;i=a+60;j=a+20;var W=a+56;break a}for(;;)if(x=g,a=P+g*4,x=FHEAP[a+x]+FHEAP[h],z=g,a=i,FHEAP[a+z]=x,x=g,a=P+(g+3)*4,x=FHEAP[a+x]-FHEAP[j],z=g,a=W,FHEAP[a+z]=x,g=a=g+1,!(a<3))break;STACKTOP=e} +function __ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a){var e=STACKTOP;STACKTOP+=9;var d=e+1,b=e+2,c=e+3,f=e+4,g=e+5,h=e+6,i=e+7,j=e+8;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var k=a+12;FHEAP[e]=1;FHEAP[d]=1;FHEAP[b]=1;FHEAP[k]=FHEAP[e];FHEAP[k+1]=FHEAP[d];FHEAP[k+2]=FHEAP[b];FHEAP[k+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV23btPolyhedralConvexShape+2;IHEAP[a+52]=0;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+ +2;d=a+56;FHEAP[c]=1;FHEAP[f]=1;FHEAP[g]=1;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;c=a+60;FHEAP[h]=-1;FHEAP[i]=-1;FHEAP[j]=-1;FHEAP[c]=FHEAP[h];FHEAP[c+1]=FHEAP[i];FHEAP[c+2]=FHEAP[j];FHEAP[c+3]=0;IHEAP[a+64]=0;STACKTOP=e}function __ZNK34btPolyhedralConvexAabbCachingShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);__Z15btTransformAabbRK9btVector3S1_fRK11btTransformRS_S5_(a+56,a+60,c,e,d,b)} +function __ZN34btPolyhedralConvexAabbCachingShapeD1Ev(a){IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN34btPolyhedralConvexAabbCachingShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e= +a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 161988";}} +function __ZN20btAlignedObjectArrayI6btFaceE7reserveEi(a,e){var d,b,c,f,g,h;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){g=e;g=g!=0?__Z22btAlignedAllocInternalji(g*56,16):0;b=a;__ZNK20btAlignedObjectArrayI6btFaceE4copyEiiPS0_(a,0,IHEAP[b+1],g);b=a;b=IHEAP[b+1];var i=f=a;f=0;d=f<b?3:4;b:for(;;)if(d==3)for(var j=i+3;;)if(d=IHEAP[j]+14*f,c=d+5,__ZN20btAlignedObjectArrayIiE5clearEv(c),__ZN20btAlignedObjectArrayIiE5clearEv(d),f+=1,f<b)d=5;else{d=4;continue b}else if(d==4){h=a;d=IHEAP[h+3]!=0?6:7;break b}b:for(;;)if(d== +6)for(d=IHEAP[h+4]&1?8:9;;)if(d==8)b=IHEAP[h+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=9;else{if(d==9){IHEAP[h+3]=0;d=7;continue b}}else if(d==7){IHEAP[a+4]=1;IHEAP[a+3]=g;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIiEC2ERKS0_(a,e){var d=STACKTOP;STACKTOP+=1;var b,c,f;IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;f=IHEAP[e+1];IHEAP[d]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(a,f,d);var g=IHEAP[a+3];c=0;b=c<f?0:1;a:for(;;)if(b==0){var h=e+3;b:for(;;){var i=g+c;for(b=i==0?3:4;;)if(b==3)if(c+=1,c<f){b=2;continue b}else{b=1;continue a}else b==4&&(IHEAP[i]=IHEAP[IHEAP[h]+c],b=3)}}else if(b==1){STACKTOP=d;break}} +function __ZNK20btAlignedObjectArrayI6btFaceE4copyEiiPS0_(a,e,d,b){var c,f,g,h;c=e<d?0:1;a:for(;;)if(c==0){var i=a+3;b:for(;;){var j=b+14*e;for(c=j==0?3:4;;)if(c==3)if(e+=1,e<d){c=2;continue b}else{c=1;continue a}else c==4&&(c=j,_llvm_memset_p0i8_i32(c,0,14,4,0),f=h=IHEAP[i]+14*e,h=c,g=c=f,f=h,__ZN20btAlignedObjectArrayIiEC2ERKS0_(f,g),g=c+5,f=h+5,__ZN20btAlignedObjectArrayIiEC2ERKS0_(f,g),_llvm_memcpy_p0i8_p0i8_i32(h+10,c+10,4,4,0),c=3)}}else if(c==1)break} +function __ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN12btEmptyShapeC2Ev(a){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0;IHEAP[a]=__ZTV12btEmptyShape+2;IHEAP[a+1]=27}function __ZN12btEmptyShapeD0Ev(a){IHEAP[a]=__ZTV12btEmptyShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)}function __ZN12btEmptyShapeD2Ev(a){IHEAP[a]=__ZTV12btEmptyShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK12btEmptyShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=21;var f,g=c+1,h=c+2,i=c+3,j=c+4,k=c+5,l=c+6;f=c+10;var m=c+11,n=c+12,o=c+13,q=c+17,p=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[f]=p;p=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[m]=p;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[n]=a;FHEAP[l]=FHEAP[f];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[n];FHEAP[l+3]=0;f=e+12;FHEAP[c]=FHEAP[f]-FHEAP[l];FHEAP[g]=FHEAP[f+1]-FHEAP[l+1];FHEAP[h]=FHEAP[f+2]-FHEAP[l+ +2];FHEAP[o]=FHEAP[c];FHEAP[o+1]=FHEAP[g];FHEAP[o+2]=FHEAP[h];FHEAP[o+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,o,4,4,0);e+=12;FHEAP[i]=FHEAP[e]+FHEAP[l];FHEAP[j]=FHEAP[e+1]+FHEAP[l+1];FHEAP[k]=FHEAP[e+2]+FHEAP[l+2];FHEAP[q]=FHEAP[i];FHEAP[q+1]=FHEAP[j];FHEAP[q+2]=FHEAP[k];FHEAP[q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,q,4,4,0);STACKTOP=c}function __ZNK12btEmptyShape21calculateLocalInertiaEfR9btVector3(){}function __ZN12btEmptyShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+16,e,4,4,0)} +function __ZNK12btEmptyShape15getLocalScalingEv(a){return a+16}function __ZNK12btEmptyShape7getNameEv(){return __str100}function __ZNK12btEmptyShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(){} +function __ZNK16btCollisionShape17getBoundingSphereER9btVector3Rf(a,e,d){var b=STACKTOP;STACKTOP+=58;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+19,z=b+20,B=b+21,C=b+37,A=b+41,w=b+45,D=b+49,E=b+53,F=b+54;FHEAP[g]=1;FHEAP[h]=0;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=1;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(B,g,h,i,j,k,l,m,n,o);g=B+12;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[g]= +FHEAP[q];FHEAP[g+1]=FHEAP[p];FHEAP[g+2]=FHEAP[r];FHEAP[g+3]=0;FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,B,C,A);FHEAP[b]=FHEAP[A]-FHEAP[C];FHEAP[c]=FHEAP[A+1]-FHEAP[C+1];FHEAP[f]=FHEAP[A+2]-FHEAP[C+2];FHEAP[w]=FHEAP[b];FHEAP[w+1]=FHEAP[c];FHEAP[w+2]=FHEAP[f];FHEAP[w+3]=0;a=_sqrtf(FHEAP[w]*FHEAP[w]+FHEAP[w+1]*FHEAP[w+1]+FHEAP[w+2]*FHEAP[w+2])*0.5;FHEAP[d]=a;FHEAP[s]=FHEAP[C]+FHEAP[A];FHEAP[u]=FHEAP[C+1]+FHEAP[A+1];FHEAP[v]=FHEAP[C+2]+FHEAP[A+2];FHEAP[D]=FHEAP[s];FHEAP[D+1]=FHEAP[u];FHEAP[D+2]=FHEAP[v];FHEAP[D+ +3]=0;FHEAP[E]=0.5;FHEAP[y]=FHEAP[D]*FHEAP[E];FHEAP[x]=FHEAP[D+1]*FHEAP[E];FHEAP[z]=FHEAP[D+2]*FHEAP[E];FHEAP[F]=FHEAP[y];FHEAP[F+1]=FHEAP[x];FHEAP[F+2]=FHEAP[z];FHEAP[F+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,F,4,4,0);STACKTOP=b}function __ZNK16btCollisionShape27getContactBreakingThresholdEf(a,e){return FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a)*e} +function __ZNK16btCollisionShape20getAngularMotionDiscEv(a){var e=STACKTOP;STACKTOP+=5;var d=e+4;FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a,e,d);a=_sqrtf(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]);FHEAP[d]+=a;d=FHEAP[d];STACKTOP=e;return d} +function __ZNK16btCollisionShape21calculateTemporalAabbERK11btTransformRK9btVector3S5_fRS3_S6_(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=27;var i=h+1,j=h+2,k=h+3,l=h+4,m=h+5,n=h+6,o=h+7,q=h+8,p=h+9,r=h+10,s=h+14,u=h+15,v=h+19,y=h+23;FHEAP[k]=c;FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,e,f,g);FHEAP[l]=FHEAP[g];FHEAP[m]=FHEAP[g+1];FHEAP[n]=FHEAP[g+2];FHEAP[o]=FHEAP[f];FHEAP[q]=FHEAP[f+1];FHEAP[p]=FHEAP[f+2];FHEAP[h]=FHEAP[d]*FHEAP[k];FHEAP[i]=FHEAP[d+1]*FHEAP[k];FHEAP[j]=FHEAP[d+2]*FHEAP[k];FHEAP[r]=FHEAP[h]; +FHEAP[r+1]=FHEAP[i];FHEAP[r+2]=FHEAP[j];FHEAP[r+3]=0;e=FHEAP[r];FHEAP[r]>0?FHEAP[l]+=e:FHEAP[o]+=e;e=FHEAP[r+1];FHEAP[r+1]>0?FHEAP[m]+=e:FHEAP[q]+=e;e=FHEAP[r+2];FHEAP[r+2]>0?FHEAP[n]+=e:FHEAP[p]+=e;b=_sqrtf(FHEAP[b]*FHEAP[b]+FHEAP[b+1]*FHEAP[b+1]+FHEAP[b+2]*FHEAP[b+2]);a=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);FHEAP[s]=b*a*FHEAP[k];FHEAP[u]=FHEAP[s];FHEAP[u+1]=FHEAP[s];FHEAP[u+2]=FHEAP[s];FHEAP[u+3]=0;FHEAP[v]=FHEAP[o];FHEAP[v+1]=FHEAP[q];FHEAP[v+2]=FHEAP[p];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f, +v,4,4,0);FHEAP[y]=FHEAP[l];FHEAP[y+1]=FHEAP[m];FHEAP[y+2]=FHEAP[n];FHEAP[y+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,y,4,4,0);FHEAP[f]-=FHEAP[u];FHEAP[f+1]-=FHEAP[u+1];FHEAP[f+2]-=FHEAP[u+2];FHEAP[g]+=FHEAP[u];FHEAP[g+1]+=FHEAP[u+1];FHEAP[g+2]+=FHEAP[u+2];STACKTOP=h} +function __ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d){var b,c;c=FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,a);b=FUNCTION_TABLE[IHEAP[IHEAP[d]+7]](d,c);IHEAP[e]=b;for(b=IHEAP[e]!=0?0:1;;)if(b==0)b=d,FUNCTION_TABLE[IHEAP[IHEAP[b]+12]](b,c),b=1;else if(b==1)return IHEAP[e+1]=IHEAP[a+1],__str101;return null} +function __ZNK16btCollisionShape20serializeSingleShapeEP12btSerializer(a,e){var d;d=FUNCTION_TABLE[IHEAP[IHEAP[a]+12]](a);d=FUNCTION_TABLE[IHEAP[IHEAP[e]+4]](e,d,1);var b=FUNCTION_TABLE[IHEAP[IHEAP[a]+13]](a,IHEAP[d+2],e);FUNCTION_TABLE[IHEAP[IHEAP[e]+5]](e,d,b,1346455635,a)}function __ZN16btCollisionShapeD1Ev(a){IHEAP[a]=__ZTV16btCollisionShape+2}function __ZN16btCollisionShapeD0Ev(a){IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)} +function __ZN13btConvexShapeC2Ev(a){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2}function __ZN13btConvexShapeD0Ev(a){var e;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZN13btConvexShapeD2Ev(a){IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=143;var c,f=null,g,h,i,j,k,l,m,n,o,q,p,r=b+1,s=b+2,u=b+3,v=b+4,y=b+5,x=b+6,z=b+7,B=b+8,C=b+9,A=b+10,w=b+11,D=b+12,E=b+13,F=b+14,G=b+15,J=b+16,H=b+17,M=b+18,K=b+19,N=b+20,R=b+21,O=b+22,Q=b+23,I=b+24,L=b+25,P=b+26,S=b+27,T=b+28,U=b+29,W=b+30,Z=b+31,ca=b+32,Y=b+33,ea=b+34,ha=b+35,ba=b+36,V=b+40,aa=b+44,X=b+45,ka=b+46,da=b+47,fa=b+51;m=b+55;var ga;o=b+59;var ja=b+63,la=b+67;n=b+68; +var qa=b+72,pa=b+73,wa=b+74,ua=b+75,na=b+79,ya=b+80,xa=b+81,ia=b+82,ma=b+83,ta=b+87,ra=b+91,oa=b+92,Da=b+93,Ba=b+94,Oa=b+98,Fa=b+102,Ha=b+106,La=b+110,Ea=b+111,Ca=b+115,Aa=b+119,za=b+120,Ja=b+121,Ra=b+122,Ua=b+126,Xa=b+130,Wa=b+134,Sa=b+138,Ga=b+139;i=IHEAP[e+1];c=i==8?17:i==0?18:i==1?19:i==13?20:i==10?21:i==5?22:i==4?23:24;a:do if(c==24)FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d);else if(c==17)FHEAP[W]=0,FHEAP[Z]=0,FHEAP[ca]=0,i=a,g=W,f=Z,h=ca,FHEAP[i]=FHEAP[g],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[h], +FHEAP[i+3]=0;else if(c==18)i=e,i+=16,g=d,g=FHEAP[g],f=i,f=FHEAP[f],h=i,h=0-FHEAP[h],FHEAP[Y]=g>=0?f:h,g=d,g=FHEAP[g+1],f=i,f=FHEAP[f+1],h=i,h=0-FHEAP[h+1],FHEAP[ea]=g>=0?f:h,g=d,g=FHEAP[g+2],f=i,f=FHEAP[f+2],h=0-FHEAP[i+2],i=g,g=f,f=h,FHEAP[ha]=i>=0?g:f,i=a,g=Y,f=ea,h=ha,FHEAP[i]=FHEAP[g],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[h],FHEAP[i+3]=0;else if(c==19){i=e;g=f=g=d;h=g+1;g=d;j=g+2;g=ba;FHEAP[g]=FHEAP[f];FHEAP[g+1]=FHEAP[h];FHEAP[g+2]=FHEAP[j];FHEAP[g+3]=0;i+=56;f=i;g=ba;FHEAP[aa]=FHEAP[g]*FHEAP[f]+ +FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];f=i+4;g=ba;FHEAP[X]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];f=i+8;g=ba;FHEAP[ka]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];g=V;f=aa;h=X;j=ka;FHEAP[g]=FHEAP[f];FHEAP[g+1]=FHEAP[h];FHEAP[g+2]=FHEAP[j];FHEAP[g+3]=0;f=g=V;if(FHEAP[g]<FHEAP[g+1])var Ia=FHEAP[f+1]<FHEAP[g+2]?2:1,f=1;else var Pa=FHEAP[f]<FHEAP[g+2]?2:0,f=3;_llvm_memcpy_p0i8_p0i8_i32(da,i+4*(f==1?Ia:Pa),4,4,0);i=g=i=da;f=i+1;i=da;h=i+2;i=a;FHEAP[i]=FHEAP[g]; +FHEAP[i+1]=FHEAP[f];FHEAP[i+2]=FHEAP[h];FHEAP[i+3]=0}else if(c==20){g=i=e;_llvm_memcpy_p0i8_p0i8_i32(fa,g+16,4,4,0);g=c=g=d;f=g+1;g=d;h=g+2;g=m;FHEAP[g]=FHEAP[c];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[h];FHEAP[g+3]=0;h=IHEAP[i+52];f=1;g=0;i=2;c=h;c=c==0?25:c==1?26:c==2?27:4;b:for(;;)if(c==4){l=f;k=fa;ga=FHEAP[k+l];l=h;k=fa;k=FHEAP[k+l];c=f;l=m;c=FHEAP[l+c];h=f;l=m;l=c*FHEAP[l+h];h=i;c=m;h=FHEAP[c+h];j=i;c=m;l+=h*FHEAP[c+j];l=c=_sqrtf(l);c=c!=0?5:6;break b}else c==25?(f=1,g=0,i=2,c=4):c==26?(f=0,g=1, +i=2,c=4):c==27&&(f=0,g=2,i=1,c=4);if(c==5){h=ga/l;j=f;c=m;c=FHEAP[c+j]*h;j=f;f=o;FHEAP[f+j]=c;f=g;c=m;j=k;FHEAP[c+f]<0?(f=5,c=7):(f=5,c=8);for(;;)if(c==7){var Ta=0-j,f=7;c=8}else if(c==8){n=f==7?Ta:j;d=g;e=o;FHEAP[e+d]=n;n=i;m=FHEAP[m+n]*h;e=i;n=o;FHEAP[n+e]=m;n=m=o;n+=1;o+=2;e=o;o=m;m=n;n=e;FHEAP[a]=FHEAP[o];FHEAP[a+1]=FHEAP[m];FHEAP[a+2]=FHEAP[n];FHEAP[a+3]=0;break a}}else if(c==6){c=o;FHEAP[c+f]=ga;f=g;c=m;h=k;FHEAP[c+f]<0?(f=6,c=10):(f=6,c=11);for(;;)if(c==10){var Va=0-h,f=10;c=11}else if(c== +11){m=f==10?Va:h;e=g;n=o;FHEAP[n+e]=m;n=i;m=o;FHEAP[m+n]=0;n=m=o;n+=1;o+=2;e=o;o=m;m=n;n=e;FHEAP[a]=FHEAP[o];FHEAP[a+1]=FHEAP[m];FHEAP[a+2]=FHEAP[n];FHEAP[a+3]=0;break a}}}else if(c==21){i=g=i=d;c=i+1;i=d;f=i+2;i=ja;FHEAP[i]=FHEAP[g];FHEAP[i+1]=FHEAP[c];FHEAP[i+2]=FHEAP[f];FHEAP[i+3]=0;c=i=g=e;i=IHEAP[c+52];c+=16;f=FHEAP[c+i];i=g;h=IHEAP[i+52];i=g;c=(IHEAP[i+52]+2)%3;i+=16;FHEAP[la]=FHEAP[i+c];FHEAP[qa]=0;FHEAP[pa]=0;FHEAP[wa]=0;i=n;c=qa;j=pa;q=wa;FHEAP[i]=FHEAP[c];FHEAP[i+1]=FHEAP[j];FHEAP[i+2]= +FHEAP[q];FHEAP[i+3]=0;i=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(ua,ja,4,4,0);c=j=c=ua;c=FHEAP[c]*FHEAP[j]+FHEAP[c+1]*FHEAP[j+1]+FHEAP[c+2]*FHEAP[j+2];c<9.999999747378752E-5?(FHEAP[na]=1,FHEAP[ya]=0,FHEAP[xa]=0,p=ua,c=na,j=ya,q=xa,FHEAP[p]=FHEAP[c],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[q],FHEAP[p+3]=0):(c=1/_sqrtf(c),FHEAP[ia]=c,j=ua,c=ia,FHEAP[j]*=FHEAP[c],FHEAP[j+1]*=FHEAP[c],FHEAP[j+2]*=FHEAP[c]);FHEAP[ra]=0;FHEAP[oa]=0;FHEAP[Da]=0;c=ta;j=ra;q=oa;p=Da;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q]; +FHEAP[c+2]=FHEAP[p];FHEAP[c+3]=0;j=f;q=h;c=ta;FHEAP[c+q]=j;c=g;j=c+12;c=ua;FHEAP[b]=FHEAP[c]*FHEAP[j];FHEAP[r]=FHEAP[c+1]*FHEAP[j+1];FHEAP[s]=FHEAP[c+2]*FHEAP[j+2];c=Fa;j=b;q=r;p=s;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q];FHEAP[c+2]=FHEAP[p];FHEAP[c+3]=0;c=Fa;j=la;FHEAP[u]=FHEAP[c]*FHEAP[j];FHEAP[v]=FHEAP[c+1]*FHEAP[j];FHEAP[y]=FHEAP[c+2]*FHEAP[j];c=Oa;j=u;q=v;p=y;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q];FHEAP[c+2]=FHEAP[p];FHEAP[c+3]=0;c=ta;j=Oa;FHEAP[x]=FHEAP[c]+FHEAP[j];FHEAP[z]=FHEAP[c+1]+FHEAP[j+1]; +FHEAP[B]=FHEAP[c+2]+FHEAP[j+2];c=Ba;j=x;q=z;p=B;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q];FHEAP[c+2]=FHEAP[p];FHEAP[c+3]=0;c=g;FHEAP[La]=FHEAP[c+20];c=ua;j=La;FHEAP[C]=FHEAP[c]*FHEAP[j];FHEAP[A]=FHEAP[c+1]*FHEAP[j];FHEAP[w]=FHEAP[c+2]*FHEAP[j];c=Ha;j=C;q=A;p=w;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q];FHEAP[c+2]=FHEAP[p];FHEAP[c+3]=0;c=Ba;j=Ha;FHEAP[D]=FHEAP[c]-FHEAP[j];FHEAP[E]=FHEAP[c+1]-FHEAP[j+1];FHEAP[F]=FHEAP[c+2]-FHEAP[j+2];c=Ea;j=D;q=E;p=F;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q];FHEAP[c+2]=FHEAP[p]; +FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ma,Ea,4,4,0);j=ua;c=ma;j=FHEAP[j]*FHEAP[c]+FHEAP[j+1]*FHEAP[c+1]+FHEAP[j+2]*FHEAP[c+2];c=j>i?13:14;b:for(;;)if(c==13)i=j,_llvm_memcpy_p0i8_p0i8_i32(n,ma,4,4,0),c=14;else if(c==14){FHEAP[Aa]=0;FHEAP[za]=0;FHEAP[Ja]=0;c=Ca;j=Aa;q=za;p=Ja;FHEAP[c]=FHEAP[j];FHEAP[c+1]=FHEAP[q];FHEAP[c+2]=FHEAP[p];FHEAP[c+3]=0;c=0-f;f=Ca;FHEAP[f+h]=c;c=g;f=c+12;c=ua;FHEAP[G]=FHEAP[c]*FHEAP[f];FHEAP[J]=FHEAP[c+1]*FHEAP[f+1];FHEAP[H]=FHEAP[c+2]*FHEAP[f+2];c=Xa;f=G;h=J;j=H;FHEAP[c]= +FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[j];FHEAP[c+3]=0;c=Xa;f=la;FHEAP[M]=FHEAP[c]*FHEAP[f];FHEAP[K]=FHEAP[c+1]*FHEAP[f];FHEAP[N]=FHEAP[c+2]*FHEAP[f];c=Ua;f=M;h=K;j=N;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[j];FHEAP[c+3]=0;c=Ca;f=Ua;FHEAP[R]=FHEAP[c]+FHEAP[f];FHEAP[O]=FHEAP[c+1]+FHEAP[f+1];FHEAP[Q]=FHEAP[c+2]+FHEAP[f+2];c=Ra;f=R;h=O;j=Q;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[j];FHEAP[c+3]=0;FHEAP[Sa]=FHEAP[g+20];g=ua;c=Sa;FHEAP[I]=FHEAP[g]*FHEAP[c];FHEAP[L]=FHEAP[g+ +1]*FHEAP[c];FHEAP[P]=FHEAP[g+2]*FHEAP[c];g=Wa;c=I;f=L;h=P;FHEAP[g]=FHEAP[c];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[h];FHEAP[g+3]=0;g=Ra;c=Wa;FHEAP[S]=FHEAP[g]-FHEAP[c];FHEAP[T]=FHEAP[g+1]-FHEAP[c+1];FHEAP[U]=FHEAP[g+2]-FHEAP[c+2];g=Ga;c=S;f=T;h=U;FHEAP[g]=FHEAP[c];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[h];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ma,Ga,4,4,0);c=ua;g=ma;j=FHEAP[c]*FHEAP[g]+FHEAP[c+1]*FHEAP[g+1]+FHEAP[c+2]*FHEAP[g+2];c=j>i?15:16;break b}for(;;)if(c==15)_llvm_memcpy_p0i8_p0i8_i32(n,ma,4,4, +0),c=16;else if(c==16){m=o=n;m+=1;n+=2;FHEAP[a]=FHEAP[o];FHEAP[a+1]=FHEAP[m];FHEAP[a+2]=FHEAP[n];FHEAP[a+3]=0;break a}}else c==22?(g=i=e,f=IHEAP[g+89],g=i,h=IHEAP[g+90],g=d,__Z17convexHullSupportRK9btVector3PS0_iS1_(a,g,f,h,i+12)):c==23&&(g=i=e,g+=89,f=IHEAP[g+3]+0,g=i,g+=89,h=IHEAP[g+1],g=d,__Z17convexHullSupportRK9btVector3PS0_iS1_(a,g,f,h,i+12));while(0);STACKTOP=b} +function __Z17convexHullSupportRK9btVector3PS0_iS1_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=10;var g,h,i,j;j=f+1;i=f+2;var k=f+3,l=f+4;g=f+5;var m=f+6;FHEAP[k]=FHEAP[e]*FHEAP[c];FHEAP[l]=FHEAP[e+1]*FHEAP[c+1];FHEAP[g]=FHEAP[e+2]*FHEAP[c+2];FHEAP[m]=FHEAP[k];FHEAP[m+1]=FHEAP[l];FHEAP[m+2]=FHEAP[g];FHEAP[m+3]=0;k=-999999984306749440;e=-1;l=0;g=l<b?0:1;a:for(;;)if(g==0){h=d+4*l;g=m;h=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];for(g=h>k?2:3;;)if(g==2)k=h,e=l,g=3;else if(g==3){l+=1;g=l< +b?0:1;continue a}}else if(g==1){b=c;d+=4*e;FHEAP[f]=FHEAP[d]*FHEAP[b];FHEAP[j]=FHEAP[d+1]*FHEAP[b+1];FHEAP[i]=FHEAP[d+2]*FHEAP[b+2];d=f;b=j;j=d;d=b;b=i;i=a;a=d;d=b;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[a];FHEAP[i+2]=FHEAP[d];FHEAP[i+3]=0;STACKTOP=f;break}} +function __ZNK13btConvexShape31localGetSupportVertexNonVirtualERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=24;var c,f,g,h;f=b+1;var i,j,k,l,m,n,o,q;n=b+2;m=b+3;l=b+4;var p,r,s,u,v;s=b+5;r=b+6;p=b+7;o=b+8;c=b+12;g=b+13;h=b+14;v=b+15;u=b+19;q=b+23;_llvm_memcpy_p0i8_p0i8_i32(o,d,4,4,0);for(d=FHEAP[o]*FHEAP[o]+FHEAP[o+1]*FHEAP[o+1]+FHEAP[o+2]*FHEAP[o+2]<1.4210854715202004E-14?0:1;;)if(d==0)FHEAP[c]=-1,FHEAP[g]=-1,FHEAP[h]=-1,i=o,d=c,j=g,k=h,FHEAP[i]=FHEAP[d],FHEAP[i+1]=FHEAP[j],FHEAP[i+2]=FHEAP[k],FHEAP[i+ +3]=0,d=1;else if(d==1){g=h=g=c=o;g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];g=_sqrtf(g);FHEAP[f]=g;FHEAP[b]=1/FHEAP[f];f=b;FHEAP[c]*=FHEAP[f];FHEAP[c+1]*=FHEAP[f];FHEAP[c+2]*=FHEAP[f];__ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3(v,e,o);e=__ZNK13btConvexShape19getMarginNonVirtualEv(e);FHEAP[q]=e;FHEAP[n]=FHEAP[o]*FHEAP[q];FHEAP[m]=FHEAP[o+1]*FHEAP[q];FHEAP[l]=FHEAP[o+2]*FHEAP[q];o=u;q=m;m=n;n=q;q=l;l=o;o=q;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n]; +FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;FHEAP[s]=FHEAP[v]+FHEAP[u];FHEAP[r]=FHEAP[v+1]+FHEAP[u+1];FHEAP[p]=FHEAP[v+2]+FHEAP[u+2];u=r;r=s;s=u;u=p;p=a;a=u;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[a];FHEAP[p+3]=0;STACKTOP=b;break}} +function __ZNK13btConvexShape19getMarginNonVirtualEv(a){var e,d;e=IHEAP[a+1];e=e==8?1:e==0?2:e==1?3:e==13?4:e==10?5:e==5?6:e==4?6:7;e==7?d=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a):e==1?(d=FHEAP[a+16],d*=FHEAP[a+12]):e==2?d=FHEAP[a+20]:e==3?d=FHEAP[a+20]:e==4?d=FHEAP[a+20]:e==5?d=FHEAP[a+20]:e==6&&(d=FHEAP[a+20]);return d} +function __ZN15btConvex2dShapeC2EP13btConvexShape(a,e){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV15btConvex2dShape+2;IHEAP[a+12]=e;IHEAP[a+1]=18}function __ZN15btConvex2dShapeD0Ev(a){var e;IHEAP[a]=__ZTV15btConvex2dShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN15btConvex2dShapeD2Ev(a){IHEAP[a]=__ZTV15btConvex2dShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2}function __ZNK15btConvex2dShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){e=IHEAP[e+12];FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d)}function __ZNK15btConvex2dShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){a=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[a]+17]](a,e,d,b)} +function __ZNK15btConvex2dShape24localGetSupportingVertexERK9btVector3(a,e,d){e=IHEAP[e+12];FUNCTION_TABLE[IHEAP[IHEAP[e]+15]](a,e,d)}function __ZNK15btConvex2dShape21calculateLocalInertiaEfR9btVector3(a,e,d){a=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[a]+8]](a,e,d)}function __ZNK15btConvex2dShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){a=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,e,d,b)} +function __ZNK15btConvex2dShape11getAabbSlowERK11btTransformR9btVector3S4_(a,e,d,b){a=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[a]+18]](a,e,d,b)}function __ZN15btConvex2dShape15setLocalScalingERK9btVector3(a,e){var d=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[d]+6]](d,e)}function __ZNK15btConvex2dShape15getLocalScalingEv(a){a=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[a]+7]](a)}function __ZN15btConvex2dShape9setMarginEf(a,e){var d=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,e)} +function __ZNK15btConvex2dShape9getMarginEv(a){a=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a)}function __ZNK15btConvex2dShape36getNumPreferredPenetrationDirectionsEv(a){a=IHEAP[a+12];return FUNCTION_TABLE[IHEAP[IHEAP[a]+19]](a)}function __ZNK15btConvex2dShape32getPreferredPenetrationDirectionEiR9btVector3(a,e,d){a=IHEAP[a+12];FUNCTION_TABLE[IHEAP[IHEAP[a]+20]](a,e,d)}function __ZNK15btConvex2dShape7getNameEv(){return __str116} +function __ZN21btConvexInternalShapeC2Ev(a){var e=STACKTOP;STACKTOP+=3;var d=e+1,b=e+2;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var c=a+12;FHEAP[e]=1;FHEAP[d]=1;FHEAP[b]=1;FHEAP[c]=FHEAP[e];FHEAP[c+1]=FHEAP[d];FHEAP[c+2]=FHEAP[b];FHEAP[c+3]=0;FHEAP[a+20]=0.03999999910593033;STACKTOP=e} +function __ZN21btConvexInternalShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+1,c=d+2,f=d+3,g=a+12,h=_fabsf(FHEAP[e]);FHEAP[d]=h;h=_fabsf(FHEAP[e+1]);FHEAP[b]=h;h=_fabsf(FHEAP[e+2]);FHEAP[c]=h;FHEAP[f]=FHEAP[d];FHEAP[f+1]=FHEAP[b];FHEAP[f+2]=FHEAP[c];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,f,4,4,0);STACKTOP=d} +function __ZNK21btConvexInternalShape11getAabbSlowERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=31;var f,g,h,i,j,k,l=c+4,m=c+5,n=c+6,o=c+7,q=c+11,p=c+15,r=c+19,s=c+23,u=c+27;j=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);for(k=0;;)if(FHEAP[l]=0,FHEAP[m]=0,FHEAP[n]=0,f=c,g=l,h=m,i=n,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,g=k,f=c,FHEAP[f+g]=1,g=IHEAP[IHEAP[a]+15],f=e,__ZmlRK9btVector3RK11btMatrix3x3(q,c,f),FUNCTION_TABLE[g](o,a,q),__ZNK11btTransformclERK9btVector3(p, +e,o),g=k,f=p,g=FHEAP[f+g]+j,h=k,f=b,FHEAP[f+h]=g,g=k,f=c,FHEAP[f+g]=-1,g=e,h=IHEAP[IHEAP[a]+15],f=e,__ZmlRK9btVector3RK11btMatrix3x3(s,c,f),FUNCTION_TABLE[h](r,a,s),__ZNK11btTransformclERK9btVector3(u,g,r),_llvm_memcpy_p0i8_p0i8_i32(p,u,4,4,0),g=k,f=p,g=FHEAP[f+g]-j,h=k,f=d,FHEAP[f+h]=g,k=f=k+1,!(f<3))break;STACKTOP=c} +function __ZNK21btConvexInternalShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=17;var c,f,g,h=b+1,i,j=b+2,k=b+3,l=b+4,m=b+5,n=b+9,o=b+10,q=b+11,p=b+12,r=b+16;FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d);c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)!=0?0:1;a:for(;;)if(c==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);c=f=c=m;for(c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2]<1.4210854715202004E-14?2:3;;)if(c==2)FHEAP[n]=-1,FHEAP[o]=-1,FHEAP[q]=-1,i=m,c=n,f=o,g=q,FHEAP[i]= +FHEAP[c],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[g],FHEAP[i+3]=0,c=3;else if(c==3){f=g=f=c=m;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[h]=f;f=c;c=h;FHEAP[b]=1/FHEAP[c];c=b;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+2]*=FHEAP[c];c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[r]=c;f=r;c=m;FHEAP[j]=FHEAP[c]*FHEAP[f];FHEAP[k]=FHEAP[c+1]*FHEAP[f];FHEAP[l]=FHEAP[c+2]*FHEAP[f];c=p;f=j;g=k;i=l;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]=0; +f=a;c=p;FHEAP[f]+=FHEAP[c];FHEAP[f+1]+=FHEAP[c+1];FHEAP[f+2]+=FHEAP[c+2];c=1;continue a}}else if(c==1){STACKTOP=b;break}} +function __ZN32btConvexInternalAabbCachingShapeC2Ev(a){var e=STACKTOP;STACKTOP+=9;var d=e+1,b=e+2,c=e+3,f=e+4,g=e+5,h=e+6,i=e+7,j=e+8;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var k=a+12;FHEAP[e]=1;FHEAP[d]=1;FHEAP[b]=1;FHEAP[k]=FHEAP[e];FHEAP[k+1]=FHEAP[d];FHEAP[k+2]=FHEAP[b];FHEAP[k+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV32btConvexInternalAabbCachingShape+2;d=a+52;FHEAP[c]=1;FHEAP[f]=1;FHEAP[g]= +1;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;c=a+56;FHEAP[h]=-1;FHEAP[i]=-1;FHEAP[j]=-1;FHEAP[c]=FHEAP[h];FHEAP[c+1]=FHEAP[i];FHEAP[c+2]=FHEAP[j];FHEAP[c+3]=0;IHEAP[a+60]=0;STACKTOP=e}function __ZNK32btConvexInternalAabbCachingShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);__Z15btTransformAabbRK9btVector3S1_fRK11btTransformRS_S5_(a+52,a+56,c,e,d,b)} +function __ZN32btConvexInternalAabbCachingShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+1,c=d+2,f=d+3,g=a+12,h=_fabsf(FHEAP[e]);FHEAP[d]=h;h=_fabsf(FHEAP[e+1]);FHEAP[b]=h;h=_fabsf(FHEAP[e+2]);FHEAP[c]=h;FHEAP[f]=FHEAP[d];FHEAP[f+1]=FHEAP[b];FHEAP[f+2]=FHEAP[c];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,f,4,4,0);__ZN32btConvexInternalAabbCachingShape15recalcLocalAabbEv(a);STACKTOP=d} +function __ZN32btConvexInternalAabbCachingShape15recalcLocalAabbEv(a){var e=STACKTOP;STACKTOP+=60;var d,b,c,f,g,h,i,j,k,l,m,n,o,q,p,r,s,u,v,y,x,z,B,C=e+1,A=e+2,w=e+3,D=e+4,E=e+5,F=e+6,G=e+7,J=e+8,H=e+9,M=e+10,K=e+11,N=e+12,R=e+13,O=e+14,Q=e+15,I=e+16,L=e+17,P=e+18,S=e+42,T=e+43,U=e+44;m=e+45;l=e+46;k=e+47;q=e+48;o=e+49;n=e+50;s=e+51;r=e+52;p=e+53;y=e+54;v=e+55;u=e+56;B=e+57;z=e+58;x=e+59;IHEAP[a+60]=1;d=IHEAP[__ZGVZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions]==0?0:1;a:for(;;)if(d== +0){if(___cxa_guard_acquire(__ZGVZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions)==0){d=1;continue a}FHEAP[e]=1;FHEAP[C]=0;FHEAP[A]=0;d=__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions;b=e;c=C;f=A;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[w]=0;FHEAP[D]=1;FHEAP[E]=0;d=__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions+4;b=w;c=D;f=E;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+ +3]=0;FHEAP[F]=0;FHEAP[G]=0;FHEAP[J]=1;d=__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions+8;b=F;c=G;f=J;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[H]=-1;FHEAP[M]=0;FHEAP[K]=0;d=__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions+12;b=H;c=M;f=K;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[N]=0;FHEAP[R]=-1;FHEAP[O]=0;d=__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions+ +16;b=N;c=R;f=O;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[Q]=0;FHEAP[I]=0;FHEAP[L]=-1;d=__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions+20;b=Q;c=I;f=L;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;___cxa_guard_release(__ZGVZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions);d=1}else if(d==1){g=P;FHEAP[S]=0;FHEAP[T]=0;FHEAP[U]=0;h=S;i=T;j=U;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[j]; +FHEAP[g+3]=0;g=P+4;FHEAP[m]=0;FHEAP[l]=0;FHEAP[k]=0;h=l;l=m;m=h;h=k;k=g;g=h;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[g];FHEAP[k+3]=0;k=P+8;FHEAP[q]=0;FHEAP[o]=0;FHEAP[n]=0;l=o;o=q;q=l;l=n;n=k;k=l;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[k];FHEAP[n+3]=0;n=P+12;FHEAP[s]=0;FHEAP[r]=0;FHEAP[p]=0;o=r;r=s;s=o;o=p;p=n;n=o;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[n];FHEAP[p+3]=0;p=P+16;FHEAP[y]=0;FHEAP[v]=0;FHEAP[u]=0;r=v;v=y;y=r;r=u;u=p;p=r;FHEAP[u]=FHEAP[v];FHEAP[u+ +1]=FHEAP[y];FHEAP[u+2]=FHEAP[p];FHEAP[u+3]=0;u=P+20;FHEAP[B]=0;FHEAP[z]=0;FHEAP[x]=0;v=z;z=B;B=v;v=x;x=u;u=v;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[u];FHEAP[x+3]=0;x=a;FUNCTION_TABLE[IHEAP[IHEAP[x]+17]](x,__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions,P,6);g=0;h=a+20;i=a+56;j=a+20;var W=a+52;break a}for(;;)if(x=g,a=P+g*4,x=FHEAP[a+x]+FHEAP[h],z=g,a=i,FHEAP[a+z]=x,x=g,a=P+(g+3)*4,x=FHEAP[a+x]-FHEAP[j],z=g,a=W,FHEAP[a+z]=x,g=a=g+1,!(a<3))break;STACKTOP=e} +function __ZN21btConvexInternalShapeD1Ev(a){IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2}function __ZN21btConvexInternalShapeD0Ev(a){var e;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN32btConvexInternalAabbCachingShapeD1Ev(a){IHEAP[a]=__ZTV32btConvexInternalAabbCachingShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN32btConvexInternalAabbCachingShapeD0Ev(a){var e;IHEAP[a]=__ZTV32btConvexInternalAabbCachingShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN17btConvexHullShapeC2EPKfii(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f,g,h,i,j,k,l=c+4;__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV17btConvexHullShape+2;k=a+89;IHEAP[k+4]=1;IHEAP[k+3]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;IHEAP[a+1]=4;__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a+89,d,c);k=0;f=k<d?0:1;a:for(;;)if(f==0)for(var m=a+89,n=l;;)if(g=e,h=k,f=m,f=IHEAP[f+3]+4*h,h=g,i=g+1,j=g+2,g=l,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(f, +n,4,4,0),e+=b,k+=1,k<d)f=2;else{f=1;continue a}else if(f==1){d=a;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(d)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}f=__THREW__?4:3;break a}if(f==3)STACKTOP=c;else if(f==4){c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+89);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1, +__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}f=__THREW__?6:5;if(f==5)throw __Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 169878";else if(f==6)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 169884";}} +function __ZN17btConvexHullShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+12,e,4,4,0);__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)} +function __ZNK17btConvexHullShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=10;var c,f,g,h,i=b+1,j=b+2,k=b+3,l=b+4,m=b+5,n=b+6;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[a]=FHEAP[k];FHEAP[a+1]=FHEAP[l];FHEAP[a+2]=FHEAP[m];FHEAP[a+3]=0;k=-999999984306749440;l=0;m=e+89;c=l<IHEAP[m+1]?0:1;a:for(;;)if(c==0){var o=e+89,q=e+12,p=a,r=n;b:for(;;){f=l;c=o;c=IHEAP[c+3]+4*f;f=q;FHEAP[b]=FHEAP[c]*FHEAP[f];FHEAP[i]=FHEAP[c+1]*FHEAP[f+1];FHEAP[j]=FHEAP[c+2]*FHEAP[f+2];c=n; +f=b;g=i;h=j;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;f=d;c=n;f=FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2];for(c=f>k?3:4;;)if(c==3)k=f,_llvm_memcpy_p0i8_p0i8_i32(p,r,4,4,0),c=4;else if(c==4)if(l+=1,f=l,c=m,f<IHEAP[c+1]){c=2;continue b}else{c=1;continue a}}}else if(c==1){STACKTOP=b;break}} +function __ZNK17btConvexHullShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=7;var f,g,h,i,j=c+1,k=c+2,l,m,n=c+3;l=0;f=l<b?0:1;a:for(;;)if(f==0)g=d+4*l,FHEAP[g+3]=-999999984306749440,l+=1,f=l<b?0:1;else if(f==1){l=m=0;var o=a+89;g=o;f=l<IHEAP[g+1]?2:3;break a}a:for(;;)if(f==2){l=n;b:for(;;){h=m;g=a;f=h;h=g;g=h+89;h+=12;g=IHEAP[g+3]+4*f;FHEAP[c]=FHEAP[g]*FHEAP[h];FHEAP[j]=FHEAP[g+1]*FHEAP[h+1];FHEAP[k]=FHEAP[g+2]*FHEAP[h+2];g=n;h=c;f=j;i= +k;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[i];g=FHEAP[g+3]=0;f=g<b?5:6;c:for(;;)if(f==5){f=h=e+4*g;h=n;i=h=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];f=d+4*g;for(f=i>FHEAP[f+3]?7:8;;)if(f==7)_llvm_memcpy_p0i8_p0i8_i32(d+4*g,l,4,4,0),i=h,f=d+4*g,FHEAP[f+3]=i,f=8;else if(f==8){g+=1;f=g<b?5:6;continue c}}else if(f==6)if(m+=1,h=m,g=o,h<IHEAP[g+1]){f=4;continue b}else{f=3;continue a}}}else if(f==3){STACKTOP=c;break}} +function __ZNK17btConvexHullShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=17;var c,f,g,h=b+1,i,j=b+2,k=b+3,l=b+4,m=b+5,n=b+9,o=b+10,q=b+11,p=b+12,r=b+16;FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d);c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)!=0?0:1;a:for(;;)if(c==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);c=f=c=m;for(c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2]<1.4210854715202004E-14?2:3;;)if(c==2)FHEAP[n]=-1,FHEAP[o]=-1,FHEAP[q]=-1,i=m,c=n,f=o,g=q,FHEAP[i]= +FHEAP[c],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[g],FHEAP[i+3]=0,c=3;else if(c==3){f=g=f=c=m;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[h]=f;f=c;c=h;FHEAP[b]=1/FHEAP[c];c=b;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+2]*=FHEAP[c];c=e;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+11]](c);FHEAP[r]=c;f=r;c=m;FHEAP[j]=FHEAP[c]*FHEAP[f];FHEAP[k]=FHEAP[c+1]*FHEAP[f];FHEAP[l]=FHEAP[c+2]*FHEAP[f];c=p;f=j;g=k;i=l;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]= +0;f=a;c=p;FHEAP[f]+=FHEAP[c];FHEAP[f+1]+=FHEAP[c+1];FHEAP[f+2]+=FHEAP[c+2];c=1;continue a}}else if(c==1){STACKTOP=b;break}}function __ZNK17btConvexHullShape14getNumVerticesEv(a){return IHEAP[a+89+1]}function __ZNK17btConvexHullShape11getNumEdgesEv(a){return IHEAP[a+89+1]} +function __ZNK17btConvexHullShape7getEdgeEiR9btVector3S1_(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f,g=c+1,h=c+2,i=c+3,j=c+4,k=c+5,l=c+6,m=c+10;f=e%IHEAP[a+89+1];var e=(e+1)%IHEAP[a+89+1],n=a+12;f=IHEAP[a+89+3]+4*f;FHEAP[c]=FHEAP[f]*FHEAP[n];FHEAP[g]=FHEAP[f+1]*FHEAP[n+1];FHEAP[h]=FHEAP[f+2]*FHEAP[n+2];FHEAP[l]=FHEAP[c];FHEAP[l+1]=FHEAP[g];FHEAP[l+2]=FHEAP[h];FHEAP[l+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,l,4,4,0);d=a+12;a=IHEAP[a+89+3]+4*e;FHEAP[i]=FHEAP[a]*FHEAP[d];FHEAP[j]=FHEAP[a+1]*FHEAP[d+1];FHEAP[k]= +FHEAP[a+2]*FHEAP[d+2];FHEAP[m]=FHEAP[i];FHEAP[m+1]=FHEAP[j];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,m,4,4,0);STACKTOP=c}function __ZNK17btConvexHullShape9getVertexEiR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=7;var c=b+1,f=b+2,g=b+3,h=a+12,a=IHEAP[a+89+3]+4*e;FHEAP[b]=FHEAP[a]*FHEAP[h];FHEAP[c]=FHEAP[a+1]*FHEAP[h+1];FHEAP[f]=FHEAP[a+2]*FHEAP[h+2];FHEAP[g]=FHEAP[b];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,g,4,4,0);STACKTOP=b} +function __ZNK17btConvexHullShape12getNumPlanesEv(){return 0}function __ZNK17btConvexHullShape8getPlaneER9btVector3S1_i(){}function __ZNK17btConvexHullShape8isInsideERK9btVector3f(){return 0} +function __ZNK17btConvexHullShape9serializeEPvP12btSerializer(a,e,d){var b,c=null,f,g,h,i;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);var j=e+10;i=a+16;c=0;a:for(;;)if(FHEAP[j+c]=FHEAP[i+c],c=b=c+1,!(b<4))break a;j=e+6;i=a+12;c=0;a:for(;;)if(FHEAP[j+c]=FHEAP[i+c],c=b=c+1,!(b<4))break a;FHEAP[e+14]=FHEAP[a+20];i=IHEAP[a+89+1];IHEAP[e+18]=i;i!=0?(c=3,b=4):(c=3,b=5);a:for(;;)if(b==4)c=d,j=IHEAP[IHEAP[c]+7],h=a+89,h=FUNCTION_TABLE[j](c,IHEAP[h+3]+0),c=4,b=5;else if(b==5){IHEAP[e+16]=c== +4?h:0;IHEAP[e+17]=0;b=i!=0?6:7;break a}a:for(;;)if(b==6){e=d;e=FUNCTION_TABLE[IHEAP[IHEAP[e]+4]](e,16,i);h=IHEAP[e+2];c=0;b=c<i?8:9;b:for(;;)if(b==8){j=a+89;for(;;){g=c;b=j;f=g;g=h;f=IHEAP[b+3]+4*f;b=g;for(g=0;;){FHEAP[b+g]=FHEAP[f+g];var k=g+1;g=k;if(!(k<4))break}c+=1;h+=4;if(c<i)b=10;else{b=9;continue b}}}else if(b==9){h=d;c=IHEAP[IHEAP[h]+5];j=e;e=a+89;FUNCTION_TABLE[c](h,j,__str131,1497453121,IHEAP[e+3]+0);b=7;continue a}}else if(b==7)return __str1132;return null} +function __ZN17btConvexHullShapeD1Ev(a){IHEAP[a]=__ZTV17btConvexHullShape+2;__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+89);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN17btConvexHullShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV17btConvexHullShape+2;__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+89);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d= +_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 171626";}}function __ZNK17btConvexHullShape7getNameEv(){return __str2133}function __ZNK17btConvexHullShape28calculateSerializeBufferSizeEv(){return 68}function __ZN18btTriangleCallbackD0Ev(a){IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN18btTriangleCallbackD2Ev(a){IHEAP[a]=__ZTV18btTriangleCallback+2}function __ZN31btInternalTriangleIndexCallbackD0Ev(a){IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2;__ZdlPv(a)}function __ZN31btInternalTriangleIndexCallbackD2Ev(a){IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2} +function __ZN14btCapsuleShapeC2Eff(a,e,d){var b=STACKTOP;STACKTOP+=5;var c=b+1,f=b+2,g=b+3,h=b+4;FHEAP[g]=e;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;e=a+12;FHEAP[b]=1;FHEAP[c]=1;FHEAP[f]=1;FHEAP[e]=FHEAP[b];FHEAP[e+1]=FHEAP[c];FHEAP[e+2]=FHEAP[f];FHEAP[e+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a+1]=10;IHEAP[a+52]=1;a+=16;FHEAP[h]=0.5*d;FHEAP[a]=FHEAP[g];FHEAP[a+1]=FHEAP[h]; +FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK14btCapsuleShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=102;var c,f,g=b+1,h=b+2,i=b+3,j=b+4,k=b+5,l=b+6,m=b+7,n=b+8;c=b+9;var o=b+10,q=b+11,p=b+12,r=b+13,s=b+14,u,v,y,x,z,B;B=b+15;z=b+16;x=b+17;var C,A,w,D,E;w=b+18;A=b+19;C=b+20;var F,G,J,H,M;J=b+21;G=b+22;F=b+23;var K,N,R,O;R=b+24;N=b+25;K=b+26;var Q,I,L,P,S;L=b+27;I=b+28;Q=b+29;var T,U,W=b+30,Z=b+31,ca=b+32;U=b+33;var Y=b+37,ea=b+38,ha=b+39;f=b+40;var ba=b+41;D=b+45;var V=b+46,aa=b+50,X= +b+51,ka=b+52,da=b+53,fa=b+57,ga=b+61,ja=b+65,la=b+69,qa=b+70;M=b+74;y=b+78;v=b+79;u=b+80;S=b+81;H=b+85;E=b+89;P=b+93;O=b+97;T=b+98;FHEAP[W]=0;FHEAP[Z]=0;FHEAP[ca]=0;FHEAP[a]=FHEAP[W];FHEAP[a+1]=FHEAP[Z];FHEAP[a+2]=FHEAP[ca];FHEAP[a+3]=0;W=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(U,d,4,4,0);d=FHEAP[U]*FHEAP[U]+FHEAP[U+1]*FHEAP[U+1]+FHEAP[U+2]*FHEAP[U+2];d<9.999999747378752E-5?(FHEAP[Y]=1,FHEAP[ea]=0,FHEAP[ha]=0,FHEAP[U]=FHEAP[Y],FHEAP[U+1]=FHEAP[ea],FHEAP[U+2]=FHEAP[ha],FHEAP[U+3]=0):(Y=1/_sqrtf(d), +FHEAP[f]=Y,FHEAP[U]*=FHEAP[f],FHEAP[U+1]*=FHEAP[f],FHEAP[U+2]*=FHEAP[f]);FHEAP[D]=FHEAP[e+16+(IHEAP[e+52]+2)%3];FHEAP[aa]=0;FHEAP[X]=0;FHEAP[ka]=0;FHEAP[V]=FHEAP[aa];FHEAP[V+1]=FHEAP[X];FHEAP[V+2]=FHEAP[ka];FHEAP[V+3]=0;FHEAP[V+IHEAP[e+52]]=FHEAP[e+16+IHEAP[e+52]];f=e+12;FHEAP[b]=FHEAP[U]*FHEAP[f];FHEAP[g]=FHEAP[U+1]*FHEAP[f+1];FHEAP[h]=FHEAP[U+2]*FHEAP[f+2];FHEAP[ga]=FHEAP[b];FHEAP[ga+1]=FHEAP[g];FHEAP[ga+2]=FHEAP[h];FHEAP[ga+3]=0;FHEAP[i]=FHEAP[ga]*FHEAP[D];FHEAP[j]=FHEAP[ga+1]*FHEAP[D];FHEAP[k]= +FHEAP[ga+2]*FHEAP[D];FHEAP[fa]=FHEAP[i];FHEAP[fa+1]=FHEAP[j];FHEAP[fa+2]=FHEAP[k];FHEAP[fa+3]=0;FHEAP[l]=FHEAP[V]+FHEAP[fa];FHEAP[m]=FHEAP[V+1]+FHEAP[fa+1];FHEAP[n]=FHEAP[V+2]+FHEAP[fa+2];FHEAP[da]=FHEAP[l];FHEAP[da+1]=FHEAP[m];FHEAP[da+2]=FHEAP[n];FHEAP[da+3]=0;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[la]=g;FHEAP[c]=FHEAP[U]*FHEAP[la];FHEAP[o]=FHEAP[U+1]*FHEAP[la];FHEAP[q]=FHEAP[U+2]*FHEAP[la];FHEAP[ja]=FHEAP[c];FHEAP[ja+1]=FHEAP[o];FHEAP[ja+2]=FHEAP[q];FHEAP[ja+3]=0;FHEAP[p]=FHEAP[da]-FHEAP[ja]; +FHEAP[r]=FHEAP[da+1]-FHEAP[ja+1];FHEAP[s]=FHEAP[da+2]-FHEAP[ja+2];FHEAP[qa]=FHEAP[p];FHEAP[qa+1]=FHEAP[r];FHEAP[qa+2]=FHEAP[s];FHEAP[qa+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ba,qa,4,4,0);o=FHEAP[U]*FHEAP[ba]+FHEAP[U+1]*FHEAP[ba+1]+FHEAP[U+2]*FHEAP[ba+2];c=o>W?1:2;a:for(;;)if(c==1)W=o,_llvm_memcpy_p0i8_p0i8_i32(a,ba,4,4,0),c=2;else if(c==2){FHEAP[y]=0;FHEAP[v]=0;FHEAP[u]=0;c=M;o=v;v=y;y=o;o=u;u=c;c=o;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[y];FHEAP[u+2]=FHEAP[c];FHEAP[u+3]=0;v=u=e;u=IHEAP[v+52];v+=16;u=0-FHEAP[v+ +u];v=e;y=IHEAP[v+52];v=M;FHEAP[v+y]=u;v=e+12;u=U;FHEAP[B]=FHEAP[u]*FHEAP[v];FHEAP[z]=FHEAP[u+1]*FHEAP[v+1];FHEAP[x]=FHEAP[u+2]*FHEAP[v+2];u=E;v=z;z=B;B=v;v=x;x=u;u=v;FHEAP[x]=FHEAP[z];FHEAP[x+1]=FHEAP[B];FHEAP[x+2]=FHEAP[u];FHEAP[x+3]=0;FHEAP[w]=FHEAP[E]*FHEAP[D];FHEAP[A]=FHEAP[E+1]*FHEAP[D];FHEAP[C]=FHEAP[E+2]*FHEAP[D];D=H;E=A;A=w;w=E;E=C;C=D;D=E;FHEAP[C]=FHEAP[A];FHEAP[C+1]=FHEAP[w];FHEAP[C+2]=FHEAP[D];FHEAP[C+3]=0;FHEAP[J]=FHEAP[M]+FHEAP[H];FHEAP[G]=FHEAP[M+1]+FHEAP[H+1];FHEAP[F]=FHEAP[M+2]+FHEAP[H+ +2];H=S;M=G;G=J;J=M;M=F;F=H;H=M;FHEAP[F]=FHEAP[G];FHEAP[F+1]=FHEAP[J];FHEAP[F+2]=FHEAP[H];FHEAP[F+3]=0;e=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[O]=e;e=U;FHEAP[R]=FHEAP[e]*FHEAP[O];FHEAP[N]=FHEAP[e+1]*FHEAP[O];FHEAP[K]=FHEAP[e+2]*FHEAP[O];O=P;e=N;N=R;R=e;e=K;K=O;O=e;FHEAP[K]=FHEAP[N];FHEAP[K+1]=FHEAP[R];FHEAP[K+2]=FHEAP[O];FHEAP[K+3]=0;FHEAP[L]=FHEAP[S]-FHEAP[P];FHEAP[I]=FHEAP[S+1]-FHEAP[P+1];FHEAP[Q]=FHEAP[S+2]-FHEAP[P+2];P=T;S=I;I=L;L=S;S=Q;Q=P;P=S;FHEAP[Q]=FHEAP[I];FHEAP[Q+1]=FHEAP[L];FHEAP[Q+ +2]=FHEAP[P];FHEAP[Q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ba,T,4,4,0);T=U;U=ba;o=FHEAP[T]*FHEAP[U]+FHEAP[T+1]*FHEAP[U+1]+FHEAP[T+2]*FHEAP[U+2];c=o>W?3:4;break a}for(;;)if(c==3)_llvm_memcpy_p0i8_p0i8_i32(a,ba,4,4,0),c=4;else if(c==4){STACKTOP=b;break}} +function __ZNK14btCapsuleShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=91;var f,g,h,i,j=c+1,k=c+2,l=c+3,m=c+4,n=c+5,o=c+6,q=c+7,p=c+8,r=c+9,s=c+10,u=c+11,v=c+12,y=c+13,x=c+14,z=c+15,B=c+16,C=c+17,A=c+18,w=c+19,D=c+20,E=c+21,F=c+22,G=c+23,J=c+24,H=c+25,M=c+26,K=c+27,N=c+28,R=c+29,O,Q=c+30,I,L,P=c+31,S=c+35,T=c+39,U=c+40,W=c+41,Z=c+42,ca=c+46,Y=c+50,ea=c+54,ha=c+58,ba=c+59,V=c+63,aa=c+67,X=c+68,ka=c+69,da=c+70,fa=c+74,ga=c+78,ja=c+82,la= +c+86,qa=c+87;FHEAP[Q]=FHEAP[a+16+(IHEAP[a+52]+2)%3];I=0;f=I<b?0:1;a:for(;;)if(f==0){var pa=a+12,wa=a,ua=wa,na=P,ya=ba,xa=P,ia=a+12,ma=a,ta=ma,ra=P,oa=qa,Da=P;b:for(;;){L=-999999984306749440;O=e+4*I;FHEAP[T]=0;FHEAP[U]=0;FHEAP[W]=0;f=S;g=T;h=U;i=W;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;g=f=a;f=IHEAP[g+52];g+=16;f=FHEAP[g+f];g=a;h=IHEAP[g+52];g=S;FHEAP[g+h]=f;f=O;g=pa;FHEAP[c]=FHEAP[f]*FHEAP[g];FHEAP[j]=FHEAP[f+1]*FHEAP[g+1];FHEAP[k]=FHEAP[f+2]*FHEAP[g+2];f=Y;g=c;h=j; +i=k;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=Y;g=Q;FHEAP[l]=FHEAP[f]*FHEAP[g];FHEAP[m]=FHEAP[f+1]*FHEAP[g];FHEAP[n]=FHEAP[f+2]*FHEAP[g];f=ca;g=l;h=m;i=n;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=S;g=ca;FHEAP[o]=FHEAP[f]+FHEAP[g];FHEAP[q]=FHEAP[f+1]+FHEAP[g+1];FHEAP[p]=FHEAP[f+2]+FHEAP[g+2];f=Z;g=o;h=q;i=p;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=O;g=FUNCTION_TABLE[IHEAP[IHEAP[ua]+11]](wa);FHEAP[ha]=g;g= +ha;FHEAP[r]=FHEAP[f]*FHEAP[g];FHEAP[s]=FHEAP[f+1]*FHEAP[g];FHEAP[u]=FHEAP[f+2]*FHEAP[g];f=ea;g=r;h=s;i=u;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=Z;g=ea;FHEAP[v]=FHEAP[f]-FHEAP[g];FHEAP[y]=FHEAP[f+1]-FHEAP[g+1];FHEAP[x]=FHEAP[f+2]-FHEAP[g+2];f=ba;g=v;h=y;i=x;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(na,ya,4,4,0);g=O;f=P;g=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];f=g>L?3:4;c:for(;;)if(f==3)L= +g,_llvm_memcpy_p0i8_p0i8_i32(d+4*I,xa,4,4,0),f=4;else if(f==4){FHEAP[aa]=0;FHEAP[X]=0;FHEAP[ka]=0;f=V;g=aa;h=X;i=ka;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;g=f=a;f=IHEAP[g+52];g+=16;f=0-FHEAP[g+f];g=a;h=IHEAP[g+52];g=V;FHEAP[g+h]=f;f=O;g=ia;FHEAP[z]=FHEAP[f]*FHEAP[g];FHEAP[B]=FHEAP[f+1]*FHEAP[g+1];FHEAP[C]=FHEAP[f+2]*FHEAP[g+2];f=ga;g=z;h=B;i=C;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=ga;g=Q;FHEAP[A]=FHEAP[f]*FHEAP[g];FHEAP[w]=FHEAP[f+ +1]*FHEAP[g];FHEAP[D]=FHEAP[f+2]*FHEAP[g];f=fa;g=A;h=w;i=D;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=V;g=fa;FHEAP[E]=FHEAP[f]+FHEAP[g];FHEAP[F]=FHEAP[f+1]+FHEAP[g+1];FHEAP[G]=FHEAP[f+2]+FHEAP[g+2];f=da;g=E;h=F;i=G;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=O;g=FUNCTION_TABLE[IHEAP[IHEAP[ta]+11]](ma);FHEAP[la]=g;g=la;FHEAP[J]=FHEAP[f]*FHEAP[g];FHEAP[H]=FHEAP[f+1]*FHEAP[g];FHEAP[M]=FHEAP[f+2]*FHEAP[g];f=ja;g=J;h=H;i=M;FHEAP[f]=FHEAP[g];FHEAP[f+ +1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=da;g=ja;FHEAP[K]=FHEAP[f]-FHEAP[g];FHEAP[N]=FHEAP[f+1]-FHEAP[g+1];FHEAP[R]=FHEAP[f+2]-FHEAP[g+2];f=qa;g=K;h=N;i=R;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ra,oa,4,4,0);f=O;O=P;g=FHEAP[f]*FHEAP[O]+FHEAP[f+1]*FHEAP[O+1]+FHEAP[f+2]*FHEAP[O+2];f=g>L?5:6;break c}for(;;)if(f==5)_llvm_memcpy_p0i8_p0i8_i32(d+4*I,Da,4,4,0),f=6;else if(f==6)if(I+=1,I<b){f=2;continue b}else{f=1;continue a}}}else if(f==1){STACKTOP= +c;break}} +function __ZNK14btCapsuleShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=33;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+28,p=b+29,r=b+12;FHEAP[b]=1;FHEAP[c]=0;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(r,b,c,f,g,h,i,j,k,l);c=r+12;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[c]=FHEAP[m];FHEAP[c+1]=FHEAP[n];FHEAP[c+2]=FHEAP[o];FHEAP[c+3]=0;FHEAP[q]=FHEAP[a+16+ +(IHEAP[a+52]+2)%3];FHEAP[p]=FHEAP[q];FHEAP[p+1]=FHEAP[q];FHEAP[p+2]=FHEAP[q];FHEAP[p+3]=0;FHEAP[p+IHEAP[a+52]]+=FHEAP[a+16+IHEAP[a+52]];n=2*(FHEAP[p]+0.03999999910593033);a=2*(FHEAP[p+1]+0.03999999910593033);m=2*(FHEAP[p+2]+0.03999999910593033);p=n*n;a*=a;m*=m;e*=0.0833333283662796;FHEAP[d]=e*(a+m);FHEAP[d+1]=e*(p+m);FHEAP[d+2]=e*(p+a);STACKTOP=b} +function __ZN15btCapsuleShapeXC2Eff(a,e,d){var b=STACKTOP;STACKTOP+=5;var c=b+1,f=b+2,g=b+3,h=b+4;FHEAP[g]=e;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;e=a+12;FHEAP[b]=1;FHEAP[c]=1;FHEAP[f]=1;FHEAP[e]=FHEAP[b];FHEAP[e+1]=FHEAP[c];FHEAP[e+2]=FHEAP[f];FHEAP[e+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a+1]=10;IHEAP[a]=__ZTV15btCapsuleShapeX+2;IHEAP[a+52]=0;a+=16;FHEAP[h]=0.5*d; +FHEAP[a]=FHEAP[h];FHEAP[a+1]=FHEAP[g];FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=0;STACKTOP=b} +function __ZN15btCapsuleShapeZC2Eff(a,e,d){var b=STACKTOP;STACKTOP+=5;var c=b+1,f=b+2,g=b+3,h=b+4;FHEAP[g]=e;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;e=a+12;FHEAP[b]=1;FHEAP[c]=1;FHEAP[f]=1;FHEAP[e]=FHEAP[b];FHEAP[e+1]=FHEAP[c];FHEAP[e+2]=FHEAP[f];FHEAP[e+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a+1]=10;IHEAP[a]=__ZTV15btCapsuleShapeZ+2;IHEAP[a+52]=2;a+=16;FHEAP[h]=0.5*d; +FHEAP[a]=FHEAP[g];FHEAP[a+1]=FHEAP[g];FHEAP[a+2]=FHEAP[h];FHEAP[a+3]=0;STACKTOP=b}function __ZN14btCapsuleShapeD1Ev(a){IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN14btCapsuleShapeD0Ev(a){var e;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZNK14btCapsuleShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=51;var f,g=c+1,h=c+2,i=c+3,j=c+4,k=c+5,l=c+6,m=c+10,n=c+11,o=c+12,q=c+13,p=c+17,r=c+18,s=c+19;f=c+20;var u=c+32,v=c+36,y=c+40,x=c+41,z=c+42,B=c+43,C=c+47;FHEAP[m]=FHEAP[a+16+(IHEAP[a+52]+2)%3];FHEAP[n]=FHEAP[a+16+(IHEAP[a+52]+2)%3];FHEAP[o]=FHEAP[a+16+(IHEAP[a+52]+2)%3];FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;FHEAP[l+IHEAP[a+52]]=FHEAP[a+16+(IHEAP[a+52]+2)%3]+FHEAP[a+ +16+IHEAP[a+52]];m=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[p]=m;m=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[r]=m;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[s]=a;FHEAP[q]=FHEAP[p];FHEAP[q+1]=FHEAP[r];FHEAP[q+2]=FHEAP[s];FHEAP[q+3]=0;FHEAP[l]+=FHEAP[q];FHEAP[l+1]+=FHEAP[q+1];FHEAP[l+2]+=FHEAP[q+2];__ZNK11btMatrix3x38absoluteEv(f,e);_llvm_memcpy_p0i8_p0i8_i32(u,e+12,4,4,0);e=f+0;FHEAP[y]=FHEAP[e]*FHEAP[l]+FHEAP[e+1]*FHEAP[l+1]+FHEAP[e+2]*FHEAP[l+2];e=f+4;FHEAP[x]=FHEAP[e]*FHEAP[l]+FHEAP[e+1]* +FHEAP[l+1]+FHEAP[e+2]*FHEAP[l+2];f+=8;FHEAP[z]=FHEAP[f]*FHEAP[l]+FHEAP[f+1]*FHEAP[l+1]+FHEAP[f+2]*FHEAP[l+2];FHEAP[v]=FHEAP[y];FHEAP[v+1]=FHEAP[x];FHEAP[v+2]=FHEAP[z];FHEAP[v+3]=0;FHEAP[c]=FHEAP[u]-FHEAP[v];FHEAP[g]=FHEAP[u+1]-FHEAP[v+1];FHEAP[h]=FHEAP[u+2]-FHEAP[v+2];FHEAP[B]=FHEAP[c];FHEAP[B+1]=FHEAP[g];FHEAP[B+2]=FHEAP[h];FHEAP[B+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,B,4,4,0);FHEAP[i]=FHEAP[u]+FHEAP[v];FHEAP[j]=FHEAP[u+1]+FHEAP[v+1];FHEAP[k]=FHEAP[u+2]+FHEAP[v+2];FHEAP[C]=FHEAP[i];FHEAP[C+1]=FHEAP[j]; +FHEAP[C+2]=FHEAP[k];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,C,4,4,0);STACKTOP=c} +function __ZN14btCapsuleShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=42;var b,c=d+1,f=d+2,g;b=d+3;var h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+13,o=d+14,q=d+15,p=d+16,r=d+17,s=d+18,u=d+19;g=d+23;var v=d+24,y=d+25,x=d+26,z=d+30,B=d+34,C=d+38,A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[g]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[v]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[y]=A;FHEAP[u]=FHEAP[g];FHEAP[u+1]=FHEAP[v];FHEAP[u+2]=FHEAP[y];FHEAP[u+3]=0;g=a+16;FHEAP[b]= +FHEAP[g]+FHEAP[u];FHEAP[h]=FHEAP[g+1]+FHEAP[u+1];FHEAP[i]=FHEAP[g+2]+FHEAP[u+2];FHEAP[x]=FHEAP[b];FHEAP[x+1]=FHEAP[h];FHEAP[x+2]=FHEAP[i];FHEAP[x+3]=0;b=a+12;FHEAP[d]=FHEAP[x]/FHEAP[b];FHEAP[c]=FHEAP[x+1]/FHEAP[b+1];FHEAP[f]=FHEAP[x+2]/FHEAP[b+2];FHEAP[z]=FHEAP[d];FHEAP[z+1]=FHEAP[c];FHEAP[z+2]=FHEAP[f];FHEAP[z+3]=0;c=a+12;f=_fabsf(FHEAP[e]);FHEAP[j]=f;f=_fabsf(FHEAP[e+1]);FHEAP[k]=f;f=_fabsf(FHEAP[e+2]);FHEAP[l]=f;FHEAP[m]=FHEAP[j];FHEAP[m+1]=FHEAP[k];FHEAP[m+2]=FHEAP[l];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c, +m,4,4,0);j=a+12;FHEAP[n]=FHEAP[z]*FHEAP[j];FHEAP[o]=FHEAP[z+1]*FHEAP[j+1];FHEAP[q]=FHEAP[z+2]*FHEAP[j+2];FHEAP[B]=FHEAP[n];FHEAP[B+1]=FHEAP[o];FHEAP[B+2]=FHEAP[q];FHEAP[B+3]=0;FHEAP[p]=FHEAP[B]-FHEAP[u];FHEAP[r]=FHEAP[B+1]-FHEAP[u+1];FHEAP[s]=FHEAP[B+2]-FHEAP[u+2];FHEAP[C]=FHEAP[p];FHEAP[C+1]=FHEAP[r];FHEAP[C+2]=FHEAP[s];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,C,4,4,0);STACKTOP=d}function __ZNK14btCapsuleShape7getNameEv(){return __str4145} +function __ZN14btCapsuleShape9setMarginEf(a,e){var d=STACKTOP;STACKTOP+=28;var b,c=d+1,f=d+2,g=d+3,h=d+4,i=d+5,j=d+6;b=d+10;var k=d+11,l=d+12,m=d+13,n=d+17,o=d+21,q=d+22,p=d+23,r=d+24,s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[b]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[k]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[l]=s;FHEAP[j]=FHEAP[b];FHEAP[j+1]=FHEAP[k];FHEAP[j+2]=FHEAP[l];FHEAP[j+3]=0;b=a+16;FHEAP[d]=FHEAP[b]+FHEAP[j];FHEAP[c]=FHEAP[b+1]+FHEAP[j+1];FHEAP[f]=FHEAP[b+2]+FHEAP[j+ +2];FHEAP[m]=FHEAP[d];FHEAP[m+1]=FHEAP[c];FHEAP[m+2]=FHEAP[f];FHEAP[m+3]=0;FHEAP[a+20]=e;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[o]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[q]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[p]=c;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;FHEAP[g]=FHEAP[m]-FHEAP[n];FHEAP[h]=FHEAP[m+1]-FHEAP[n+1];FHEAP[i]=FHEAP[m+2]-FHEAP[n+2];FHEAP[r]=FHEAP[g];FHEAP[r+1]=FHEAP[h];FHEAP[r+2]=FHEAP[i];FHEAP[r+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+ +16,r,4,4,0);STACKTOP=d}function __ZNK14btCapsuleShape28calculateSerializeBufferSizeEv(){return 60}function __ZNK14btCapsuleShape9serializeEPvP12btSerializer(a,e,d){var b;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);var c=e+10,d=a+16;b=0;a:for(;;){FHEAP[c+b]=FHEAP[d+b];var f=b+1;b=f;if(!(f<4))break a}c=e+6;d=a+12;for(b=0;;)if(FHEAP[c+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+14]=FHEAP[a+20];IHEAP[e+16]=IHEAP[a+52];return __str2143} +function __ZN15btCapsuleShapeZD1Ev(a){IHEAP[a]=__ZTV15btCapsuleShapeZ+2;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN15btCapsuleShapeZD0Ev(a){var e;IHEAP[a]=__ZTV15btCapsuleShapeZ+2;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZNK15btCapsuleShapeZ7getNameEv(){return __str1142} +function __ZN15btCapsuleShapeXD1Ev(a){IHEAP[a]=__ZTV15btCapsuleShapeX+2;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN15btCapsuleShapeXD0Ev(a){var e;IHEAP[a]=__ZTV15btCapsuleShapeX+2;IHEAP[a]=__ZTV14btCapsuleShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZNK15btCapsuleShapeX7getNameEv(){return __str141} +function __ZN25btConvexTriangleMeshShapeC2EP23btStridingMeshInterfaceb(a,e,d){__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(a);IHEAP[a]=__ZTV25btConvexTriangleMeshShape+2;IHEAP[a+89]=e;IHEAP[a+1]=3;for(e=d&1?0:1;;)if(e==0){e=a;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(e)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}if(__THREW__)break;else e=1}else if(e==1)return;d=_llvm_eh_exception();_llvm_eh_selector(d, +___gxx_personality_v0,0);IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}e=__THREW__?4:3;if(e==3)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 176790";else if(e==4)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 176796"; +} +function __ZNK25btConvexTriangleMeshShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=45;var c,f=b+1,g=b+2;c=b+3;var h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+13,o=b+14,q=b+15,p=b+16,r=b+17,s=b+30,u=b+34,v=b+35,y=b+36,x=b+37,z=b+41;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[a]=FHEAP[j];FHEAP[a+1]=FHEAP[k];FHEAP[a+2]=FHEAP[l];FHEAP[a+3]=0;_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);d=FHEAP[m]*FHEAP[m]+FHEAP[m+1]*FHEAP[m+1]+FHEAP[m+2]*FHEAP[m+2];d<9.999999747378752E-5?(FHEAP[n]=1, +FHEAP[o]=0,FHEAP[q]=0,FHEAP[m]=FHEAP[n],FHEAP[m+1]=FHEAP[o],FHEAP[m+2]=FHEAP[q],FHEAP[m+3]=0):(n=1/_sqrtf(d),FHEAP[p]=n,FHEAP[m]*=FHEAP[p],FHEAP[m+1]*=FHEAP[p],FHEAP[m+2]*=FHEAP[p]);IHEAP[r]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[r]=__ZTV26LocalSupportVertexCallback+2;p=r+4;FHEAP[b]=0;FHEAP[f]=0;FHEAP[g]=0;FHEAP[p]=FHEAP[b];FHEAP[p+1]=FHEAP[f];FHEAP[p+2]=FHEAP[g];FHEAP[p+3]=0;FHEAP[r+8]=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(r+9,m,4,4,0);FHEAP[u]=999999984306749440;FHEAP[v]=999999984306749440; +FHEAP[y]=999999984306749440;FHEAP[s]=FHEAP[u];FHEAP[s+1]=FHEAP[v];FHEAP[s+2]=FHEAP[y];FHEAP[s+3]=0;e=IHEAP[e+89];f=IHEAP[IHEAP[e]+2];FHEAP[c]=0-FHEAP[s];FHEAP[h]=0-FHEAP[s+1];FHEAP[i]=0-FHEAP[s+2];FHEAP[x]=FHEAP[c];FHEAP[x+1]=FHEAP[h];FHEAP[x+2]=FHEAP[i];FHEAP[x+3]=0;try{__THREW__=!1,FUNCTION_TABLE[f](e,r,x,s)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+B+" : "+B.stack+", currently at: "+Error().stack)}c=__THREW__?2:1;if(c==1)c=r+4,_llvm_memcpy_p0i8_p0i8_i32(z,c,4,4,0),_llvm_memmove_p0i8_p0i8_i32(a, +c,4,4,0),IHEAP[r]=__ZTV26LocalSupportVertexCallback+2,IHEAP[r]=__ZTV31btInternalTriangleIndexCallback+2,STACKTOP=b;else if(c==2)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[r]=__ZTV26LocalSupportVertexCallback+2,IHEAP[r]=__ZTV31btInternalTriangleIndexCallback+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 177238";} +function __ZN26LocalSupportVertexCallbackD1Ev(a){IHEAP[a]=__ZTV26LocalSupportVertexCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2} +function __ZNK25btConvexTriangleMeshShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=34;var f,g,h,i,j=c+1,k=c+2,l,m=c+3,n=c+4,o=c+5,q,p=c+6,r=c+19,s=c+23,u=c+24,v=c+25,y=c+26;g=c+30;l=0;f=l<b?0:1;a:for(;;)if(f==0)f=d+4*l,FHEAP[f+3]=-999999984306749440,l+=1,f=l<b?0:1;else if(f==1){q=0;var x=a+89,z=p,B=g;f=2;break a}for(;;){if(!(q<b)){f=4;break}l=a=e+4*q;a=p;g=l;l=a;a=g;g=l;IHEAP[g]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[l]=__ZTV26LocalSupportVertexCallback+ +2;g=l+4;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;f=m;h=n;i=o;FHEAP[g]=FHEAP[f];FHEAP[g+1]=FHEAP[h];FHEAP[g+2]=FHEAP[i];FHEAP[g+3]=0;FHEAP[l+8]=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(l+9,a,4,4,0);FHEAP[s]=999999984306749440;FHEAP[u]=999999984306749440;FHEAP[v]=999999984306749440;a=r;l=s;g=u;f=v;FHEAP[a]=FHEAP[l];FHEAP[a+1]=FHEAP[g];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;a=IHEAP[x];l=IHEAP[IHEAP[a]+2];g=r;FHEAP[c]=0-FHEAP[g];FHEAP[j]=0-FHEAP[g+1];FHEAP[k]=0-FHEAP[g+2];g=y;f=c;h=j;i=k;FHEAP[g]=FHEAP[f];FHEAP[g+ +1]=FHEAP[h];FHEAP[g+2]=FHEAP[i];FHEAP[g+3]=0;try{__THREW__=!1,FUNCTION_TABLE[l](a,z,y,r)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack)}if(__THREW__){f=6;break}a=d+4*q;l=p;l+=4;_llvm_memcpy_p0i8_p0i8_i32(B,l,4,4,0);_llvm_memmove_p0i8_p0i8_i32(a,l,4,4,0);a=p;IHEAP[a]=__ZTV26LocalSupportVertexCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2;q+=1;f=2}if(f==4)STACKTOP=c;else if(f==6)throw e=_llvm_eh_exception(),_llvm_eh_selector(e, +___gxx_personality_v0,0),IHEAP[p]=__ZTV26LocalSupportVertexCallback+2,IHEAP[p]=__ZTV31btInternalTriangleIndexCallback+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 177593";} +function __ZNK25btConvexTriangleMeshShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=17;var c,f,g,h=b+1,i,j=b+2,k=b+3,l=b+4,m=b+5,n=b+9,o=b+10,q=b+11,p=b+12,r=b+16;FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d);c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)!=0?0:1;a:for(;;)if(c==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);c=f=c=m;for(c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2]<1.4210854715202004E-14?2:3;;)if(c==2)FHEAP[n]=-1,FHEAP[o]=-1,FHEAP[q]=-1,i=m,c=n,f=o,g=q, +FHEAP[i]=FHEAP[c],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[g],FHEAP[i+3]=0,c=3;else if(c==3){f=g=f=c=m;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[h]=f;f=c;c=h;FHEAP[b]=1/FHEAP[c];c=b;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+2]*=FHEAP[c];c=e;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+11]](c);FHEAP[r]=c;f=r;c=m;FHEAP[j]=FHEAP[c]*FHEAP[f];FHEAP[k]=FHEAP[c+1]*FHEAP[f];FHEAP[l]=FHEAP[c+2]*FHEAP[f];c=p;f=j;g=k;i=l;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[i]; +FHEAP[c+3]=0;f=a;c=p;FHEAP[f]+=FHEAP[c];FHEAP[f+1]+=FHEAP[c+1];FHEAP[f+2]+=FHEAP[c+2];c=1;continue a}}else if(c==1){STACKTOP=b;break}}function __ZNK25btConvexTriangleMeshShape14getNumVerticesEv(){return 0}function __ZNK25btConvexTriangleMeshShape11getNumEdgesEv(){return 0}function __ZNK25btConvexTriangleMeshShape7getEdgeEiR9btVector3S1_(){}function __ZNK25btConvexTriangleMeshShape9getVertexEiR9btVector3(){}function __ZNK25btConvexTriangleMeshShape12getNumPlanesEv(){return 0} +function __ZNK25btConvexTriangleMeshShape8getPlaneER9btVector3S1_i(){}function __ZNK25btConvexTriangleMeshShape8isInsideERK9btVector3f(){return 0}function __ZN25btConvexTriangleMeshShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a+89]+1,e,4,4,0);__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)}function __ZNK25btConvexTriangleMeshShape15getLocalScalingEv(a){return IHEAP[a+89]+1} +function __ZN25btConvexTriangleMeshShapeD1Ev(a){IHEAP[a]=__ZTV25btConvexTriangleMeshShape+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN25btConvexTriangleMeshShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV25btConvexTriangleMeshShape+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d, +___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 178177";}}function __ZNK25btConvexTriangleMeshShape7getNameEv(){return __str1147}function __ZN26LocalSupportVertexCallbackD0Ev(a){IHEAP[a]=__ZTV26LocalSupportVertexCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2;__ZdlPv(a)} +function __ZN26LocalSupportVertexCallback28internalProcessTriangleIndexEP9btVector3ii(a,e){var d,b,c;c=0;var f=a+9,g=a+8,h=a+8,i=a+4;a:for(;;){b=e+4*c;d=f;b=FHEAP[d]*FHEAP[b]+FHEAP[d+1]*FHEAP[b+1]+FHEAP[d+2]*FHEAP[b+2];for(d=b>FHEAP[g]?1:2;;)if(d==1)FHEAP[h]=b,_llvm_memcpy_p0i8_p0i8_i32(i,e+4*c,4,4,0),d=2;else if(d==2)if(c=d=c+1,d<3)continue a;else break a}} +function __ZN14btConcaveShapeC2Ev(a){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0}function __ZN14btConcaveShapeD0Ev(a){IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)}function __ZN14btConcaveShapeD2Ev(a){IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN23btConvexPointCloudShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+12,e,4,4,0);__ZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEv(a)} +function __ZNK23btConvexPointCloudShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=18;var c,f,g,h=b+1,i=b+2,j=b+3;c=b+4;f=b+5;var k=b+6,l=b+10,m=b+11,n=b+12,o=b+13,q=b+14;FHEAP[j]=0;FHEAP[c]=0;FHEAP[f]=0;FHEAP[a]=FHEAP[j];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;j=-999999984306749440;_llvm_memcpy_p0i8_p0i8_i32(k,d,4,4,0);d=FHEAP[k]*FHEAP[k]+FHEAP[k+1]*FHEAP[k+1]+FHEAP[k+2]*FHEAP[k+2];d<9.999999747378752E-5?(FHEAP[l]=1,FHEAP[m]=0,FHEAP[n]=0,FHEAP[k]= +FHEAP[l],FHEAP[k+1]=FHEAP[m],FHEAP[k+2]=FHEAP[n],FHEAP[k+3]=0):(l=1/_sqrtf(d),FHEAP[o]=l,FHEAP[k]*=FHEAP[o],FHEAP[k+1]*=FHEAP[o],FHEAP[k+2]*=FHEAP[o]);o=0;l=e+90;d=o<IHEAP[l]?1:2;a:for(;;)if(d==1){m=a;n=q;b:for(;;){d=o;f=c=e;c=f+12;d=IHEAP[f+89]+4*d;FHEAP[b]=FHEAP[d]*FHEAP[c];FHEAP[h]=FHEAP[d+1]*FHEAP[c+1];FHEAP[i]=FHEAP[d+2]*FHEAP[c+2];d=q;c=b;f=h;g=i;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[g];FHEAP[d+3]=0;c=k;d=q;c=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2];for(d= +c>j?4:5;;)if(d==4)j=c,_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0),d=5;else if(d==5)if(o+=1,o<IHEAP[l]){d=3;continue b}else{d=2;continue a}}}else if(d==2){STACKTOP=b;break}} +function __ZNK23btConvexPointCloudShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=7;var f,g,h,i,j=c+1,k=c+2,l,m,n=c+3;l=0;f=l<b?0:1;a:for(;;)if(f==0)g=d+4*l,FHEAP[g+3]=-999999984306749440,l+=1,f=l<b?0:1;else if(f==1){m=0;var o=a+90;f=m<IHEAP[o]?2:3;break a}a:for(;;)if(f==2){l=n;b:for(;;){g=m;f=h=a;h=f+12;g=IHEAP[f+89]+4*g;FHEAP[c]=FHEAP[g]*FHEAP[h];FHEAP[j]=FHEAP[g+1]*FHEAP[h+1];FHEAP[k]=FHEAP[g+2]*FHEAP[h+2];g=n;h=c;f=j;i=k;FHEAP[g]=FHEAP[h]; +FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[i];g=FHEAP[g+3]=0;f=g<b?5:6;c:for(;;)if(f==5){f=h=e+4*g;h=n;i=h=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];f=d+4*g;for(f=i>FHEAP[f+3]?7:8;;)if(f==7)_llvm_memcpy_p0i8_p0i8_i32(d+4*g,l,4,4,0),i=h,f=d+4*g,FHEAP[f+3]=i,f=8;else if(f==8){g+=1;f=g<b?5:6;continue c}}else if(f==6)if(m+=1,m<IHEAP[o]){f=4;continue b}else{f=3;continue a}}}else if(f==3){STACKTOP=c;break}} +function __ZNK23btConvexPointCloudShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=17;var c,f,g,h=b+1,i,j=b+2,k=b+3,l=b+4,m=b+5,n=b+9,o=b+10,q=b+11,p=b+12,r=b+16;FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](a,e,d);c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)!=0?0:1;a:for(;;)if(c==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);c=f=c=m;for(c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2]<1.4210854715202004E-14?2:3;;)if(c==2)FHEAP[n]=-1,FHEAP[o]=-1,FHEAP[q]=-1,i=m,c=n,f=o,g=q,FHEAP[i]= +FHEAP[c],FHEAP[i+1]=FHEAP[f],FHEAP[i+2]=FHEAP[g],FHEAP[i+3]=0,c=3;else if(c==3){f=g=f=c=m;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[h]=f;f=c;c=h;FHEAP[b]=1/FHEAP[c];c=b;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+2]*=FHEAP[c];c=e;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+11]](c);FHEAP[r]=c;f=r;c=m;FHEAP[j]=FHEAP[c]*FHEAP[f];FHEAP[k]=FHEAP[c+1]*FHEAP[f];FHEAP[l]=FHEAP[c+2]*FHEAP[f];c=p;f=j;g=k;i=l;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]= +0;f=a;c=p;FHEAP[f]+=FHEAP[c];FHEAP[f+1]+=FHEAP[c+1];FHEAP[f+2]+=FHEAP[c+2];c=1;continue a}}else if(c==1){STACKTOP=b;break}}function __ZNK23btConvexPointCloudShape14getNumVerticesEv(a){return IHEAP[a+90]}function __ZNK23btConvexPointCloudShape11getNumEdgesEv(){return 0}function __ZNK23btConvexPointCloudShape7getEdgeEiR9btVector3S1_(){} +function __ZNK23btConvexPointCloudShape9getVertexEiR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=7;var c=b+1,f=b+2,g=b+3,h=a+12,a=IHEAP[a+89]+4*e;FHEAP[b]=FHEAP[a]*FHEAP[h];FHEAP[c]=FHEAP[a+1]*FHEAP[h+1];FHEAP[f]=FHEAP[a+2]*FHEAP[h+2];FHEAP[g]=FHEAP[b];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,g,4,4,0);STACKTOP=b}function __ZNK23btConvexPointCloudShape12getNumPlanesEv(){return 0}function __ZNK23btConvexPointCloudShape8getPlaneER9btVector3S1_i(){} +function __ZNK23btConvexPointCloudShape8isInsideERK9btVector3f(){return 0}function __ZN23btConvexPointCloudShapeD1Ev(a){IHEAP[a]=__ZTV23btConvexPointCloudShape+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN23btConvexPointCloudShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV23btConvexPointCloudShape+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d, +___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 179647";}}function __ZNK23btConvexPointCloudShape7getNameEv(){return __str1152}function __ZNK10btBoxShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=a+16,a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);__Z15btTransformAabbRK9btVector3fRK11btTransformRS_S5_(c,a,e,d,b)} +function __Z15btTransformAabbRK9btVector3fRK11btTransformRS_S5_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=49;var g=f+1,h=f+2,i,j=f+3,k=f+4,l=f+5,m=f+6,n=f+7,o=f+8,q=f+9,p=f+10,r=f+14;i=f+18;var s=f+30,u=f+34,v=f+38,y=f+39,x=f+40,z=f+41,B=f+45;FHEAP[q]=e;FHEAP[r]=FHEAP[q];FHEAP[r+1]=FHEAP[q];FHEAP[r+2]=FHEAP[q];FHEAP[r+3]=0;FHEAP[f]=FHEAP[a]+FHEAP[r];FHEAP[g]=FHEAP[a+1]+FHEAP[r+1];FHEAP[h]=FHEAP[a+2]+FHEAP[r+2];FHEAP[p]=FHEAP[f];FHEAP[p+1]=FHEAP[g];FHEAP[p+2]=FHEAP[h];FHEAP[p+3]=0;__ZNK11btMatrix3x38absoluteEv(i, +d);_llvm_memcpy_p0i8_p0i8_i32(s,d+12,4,4,0);a=i+0;FHEAP[v]=FHEAP[a]*FHEAP[p]+FHEAP[a+1]*FHEAP[p+1]+FHEAP[a+2]*FHEAP[p+2];a=i+4;FHEAP[y]=FHEAP[a]*FHEAP[p]+FHEAP[a+1]*FHEAP[p+1]+FHEAP[a+2]*FHEAP[p+2];i+=8;FHEAP[x]=FHEAP[i]*FHEAP[p]+FHEAP[i+1]*FHEAP[p+1]+FHEAP[i+2]*FHEAP[p+2];FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[y];FHEAP[u+2]=FHEAP[x];FHEAP[u+3]=0;FHEAP[j]=FHEAP[s]-FHEAP[u];FHEAP[k]=FHEAP[s+1]-FHEAP[u+1];FHEAP[l]=FHEAP[s+2]-FHEAP[u+2];FHEAP[z]=FHEAP[j];FHEAP[z+1]=FHEAP[k];FHEAP[z+2]=FHEAP[l];FHEAP[z+3]= +0;_llvm_memcpy_p0i8_p0i8_i32(b,z,4,4,0);FHEAP[m]=FHEAP[s]+FHEAP[u];FHEAP[n]=FHEAP[s+1]+FHEAP[u+1];FHEAP[o]=FHEAP[s+2]+FHEAP[u+2];FHEAP[B]=FHEAP[m];FHEAP[B+1]=FHEAP[n];FHEAP[B+2]=FHEAP[o];FHEAP[B+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c,B,4,4,0);STACKTOP=f} +function __ZNK10btBoxShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=7;var c,f,g=b+4,h=b+5,i=b+6;__ZNK10btBoxShape24getHalfExtentsWithMarginEv(b,a);a=2*FHEAP[b];c=2*FHEAP[b+1];f=2*FHEAP[b+2];FHEAP[g]=e/12*(c*c+f*f);FHEAP[h]=e/12*(a*a+f*f);FHEAP[i]=e/12*(a*a+c*c);FHEAP[d]=FHEAP[g];FHEAP[d+1]=FHEAP[h];FHEAP[d+2]=FHEAP[i];FHEAP[d+3]=0;STACKTOP=b}function __ZN10btBoxShapeD1Ev(a){IHEAP[a]=__ZTV10btBoxShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN10btBoxShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV10btBoxShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1, +e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 180434";}} +function __ZN10btBoxShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=42;var b,c=d+1,f=d+2,g;b=d+3;var h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+13,o=d+14,q=d+15,p=d+16,r=d+17,s=d+18,u=d+19;g=d+23;var v=d+24,y=d+25,x=d+26,z=d+30,B=d+34,C=d+38,A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[g]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[v]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[y]=A;FHEAP[u]=FHEAP[g];FHEAP[u+1]=FHEAP[v];FHEAP[u+2]=FHEAP[y];FHEAP[u+3]=0;g=a+16;FHEAP[b]=FHEAP[g]+ +FHEAP[u];FHEAP[h]=FHEAP[g+1]+FHEAP[u+1];FHEAP[i]=FHEAP[g+2]+FHEAP[u+2];FHEAP[x]=FHEAP[b];FHEAP[x+1]=FHEAP[h];FHEAP[x+2]=FHEAP[i];FHEAP[x+3]=0;b=a+12;FHEAP[d]=FHEAP[x]/FHEAP[b];FHEAP[c]=FHEAP[x+1]/FHEAP[b+1];FHEAP[f]=FHEAP[x+2]/FHEAP[b+2];FHEAP[z]=FHEAP[d];FHEAP[z+1]=FHEAP[c];FHEAP[z+2]=FHEAP[f];FHEAP[z+3]=0;c=a+12;f=_fabsf(FHEAP[e]);FHEAP[j]=f;f=_fabsf(FHEAP[e+1]);FHEAP[k]=f;f=_fabsf(FHEAP[e+2]);FHEAP[l]=f;FHEAP[m]=FHEAP[j];FHEAP[m+1]=FHEAP[k];FHEAP[m+2]=FHEAP[l];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c, +m,4,4,0);j=a+12;FHEAP[n]=FHEAP[z]*FHEAP[j];FHEAP[o]=FHEAP[z+1]*FHEAP[j+1];FHEAP[q]=FHEAP[z+2]*FHEAP[j+2];FHEAP[B]=FHEAP[n];FHEAP[B+1]=FHEAP[o];FHEAP[B+2]=FHEAP[q];FHEAP[B+3]=0;FHEAP[p]=FHEAP[B]-FHEAP[u];FHEAP[r]=FHEAP[B+1]-FHEAP[u+1];FHEAP[s]=FHEAP[B+2]-FHEAP[u+2];FHEAP[C]=FHEAP[p];FHEAP[C+1]=FHEAP[r];FHEAP[C+2]=FHEAP[s];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,C,4,4,0);STACKTOP=d}function __ZNK10btBoxShape7getNameEv(){return __str1154} +function __ZN10btBoxShape9setMarginEf(a,e){var d=STACKTOP;STACKTOP+=28;var b,c=d+1,f=d+2,g=d+3,h=d+4,i=d+5,j=d+6;b=d+10;var k=d+11,l=d+12,m=d+13,n=d+17,o=d+21,q=d+22,p=d+23,r=d+24,s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[b]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[k]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[l]=s;FHEAP[j]=FHEAP[b];FHEAP[j+1]=FHEAP[k];FHEAP[j+2]=FHEAP[l];FHEAP[j+3]=0;b=a+16;FHEAP[d]=FHEAP[b]+FHEAP[j];FHEAP[c]=FHEAP[b+1]+FHEAP[j+1];FHEAP[f]=FHEAP[b+2]+FHEAP[j+2];FHEAP[m]= +FHEAP[d];FHEAP[m+1]=FHEAP[c];FHEAP[m+2]=FHEAP[f];FHEAP[m+3]=0;FHEAP[a+20]=e;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[o]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[q]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[p]=c;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;FHEAP[g]=FHEAP[m]-FHEAP[n];FHEAP[h]=FHEAP[m+1]-FHEAP[n+1];FHEAP[i]=FHEAP[m+2]-FHEAP[n+2];FHEAP[r]=FHEAP[g];FHEAP[r+1]=FHEAP[h];FHEAP[r+2]=FHEAP[i];FHEAP[r+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,r,4,4,0); +STACKTOP=d} +function __ZNK10btBoxShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=14;var c=b+4,f=b+8,g=b+9,h=b+10,i=b+11,j=b+12,k=b+13;_llvm_memcpy_p0i8_p0i8_i32(b,e+16,4,4,0);var l=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[f]=l;l=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[g]=l;e=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[h]=e;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;FHEAP[b]+=FHEAP[c];FHEAP[b+1]+=FHEAP[c+1];FHEAP[b+2]+=FHEAP[c+2];c=FHEAP[b];f=0-FHEAP[b]; +FHEAP[i]=FHEAP[d]>=0?c:f;c=FHEAP[b+1];f=0-FHEAP[b+1];FHEAP[j]=FHEAP[d+1]>=0?c:f;c=FHEAP[b+2];f=0-FHEAP[b+2];FHEAP[k]=FHEAP[d+2]>=0?c:f;FHEAP[a]=FHEAP[i];FHEAP[a+1]=FHEAP[j];FHEAP[a+2]=FHEAP[k];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK10btBoxShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;e+=16;var g=FHEAP[e],h=0-FHEAP[e];FHEAP[b]=FHEAP[d]>=0?g:h;g=FHEAP[e+1];h=0-FHEAP[e+1];FHEAP[c]=FHEAP[d+1]>=0?g:h;g=FHEAP[e+2];e=0-FHEAP[e+2];FHEAP[f]=FHEAP[d+2]>=0?g:e;FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK10btBoxShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=3;var f,g,h,i,j,k,l=c+1,m=c+2;a+=16;k=0;for(f=k<b?0:1;;)if(f==0)j=e+4*k,f=d+4*k,g=j,g=FHEAP[g],h=a,h=FHEAP[h],i=a,i=0-FHEAP[i],FHEAP[c]=g>=0?h:i,g=j,g=FHEAP[g+1],h=a,h=FHEAP[h+1],i=a,i=0-FHEAP[i+1],FHEAP[l]=g>=0?h:i,j=FHEAP[j+2],g=a,g=FHEAP[g+2],h=a,h=0-FHEAP[h+2],FHEAP[m]=j>=0?g:h,h=f,f=c,j=l,g=m,FHEAP[h]=FHEAP[f],FHEAP[h+1]=FHEAP[j],FHEAP[h+2]=FHEAP[g],FHEAP[h+3]=0,k+= +1,f=k<b?0:1;else if(f==1){STACKTOP=c;break}}function __ZNK10btBoxShape36getNumPreferredPenetrationDirectionsEv(){return 6} +function __ZNK10btBoxShape32getPreferredPenetrationDirectionEiR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=18;for(var b,c,f,g=a+1,h=a+2,i=a+3,j=a+4,k=a+5,l=a+6,m=a+7,n=a+8,o=a+9,q=a+10,p=a+11,r=a+12,s=a+13,u=a+14,v=a+15,y=a+16,x=a+17,e=e==0?1:e==1?2:e==2?3:e==3?4:e==4?5:e==5?6:0;;)if(e==0){STACKTOP=a;break}else e==1?(e=d,FHEAP[a]=1,FHEAP[g]=0,FHEAP[h]=0,b=e,e=a,c=g,f=h,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==2?(e=d,FHEAP[i]=-1,FHEAP[j]=0,FHEAP[k]=0,b=e,e=i,c=j,f=k, +FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==3?(e=d,FHEAP[l]=0,FHEAP[m]=1,FHEAP[n]=0,b=e,e=l,c=m,f=n,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==4?(e=d,FHEAP[o]=0,FHEAP[q]=-1,FHEAP[p]=0,b=e,e=o,c=q,f=p,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==5?(e=d,FHEAP[r]=0,FHEAP[s]=0,FHEAP[u]=1,b=e,e=r,c=s,f=u,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==6&&(e=d,FHEAP[v]=0,FHEAP[y]= +0,FHEAP[x]=-1,b=e,e=v,c=y,f=x,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0)}function __ZNK10btBoxShape14getNumVerticesEv(){return 8}function __ZNK10btBoxShape11getNumEdgesEv(){return 12} +function __ZNK10btBoxShape7getEdgeEiR9btVector3S1_(a,e,d,b){var c,f;f=c=0;for(e=e==0?1:e==1?2:e==2?3:e==3?4:e==4?5:e==5?6:e==6?7:e==7?8:e==8?9:e==9?10:e==10?11:e==11?12:0;;)if(e==0){FUNCTION_TABLE[IHEAP[IHEAP[a]+25]](a,c,d);FUNCTION_TABLE[IHEAP[IHEAP[a]+25]](a,f,b);break}else e==1?(c=0,f=1,e=0):e==2?(c=0,f=2,e=0):e==3?(c=1,f=3,e=0):e==4?(c=2,f=3,e=0):e==5?(c=0,f=4,e=0):e==6?(c=1,f=5,e=0):e==7?(c=2,f=6,e=0):e==8?(c=3,f=7,e=0):e==9?(c=4,f=5,e=0):e==10?(c=4,f=6,e=0):e==11?(c=5,f=7,e=0):e==12&&(c=6,f= +7,e=0)}function __ZNK10btBoxShape9getVertexEiR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=11;var c=b+4,f=b+8,g=b+9,h=b+10;__ZNK10btBoxShape24getHalfExtentsWithMarginEv(b,a);FHEAP[f]=FHEAP[b]*(1-(e&1))-FHEAP[b]*(e&1);FHEAP[g]=FHEAP[b+1]*(1-((e&2)>>1))-FHEAP[b+1]*((e&2)>>1);FHEAP[h]=FHEAP[b+2]*(1-((e&4)>>2))-FHEAP[b+2]*((e&4)>>2);FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,c,4,4,0);STACKTOP=b} +function __ZNK10btBoxShape12getNumPlanesEv(){return 6} +function __ZNK10btBoxShape8getPlaneER9btVector3S1_i(a,e,d,b){var c=STACKTOP;STACKTOP+=31;var f=c+1,g=c+2,h=c+3,i=c+19,j=c+23,k=c+27;FUNCTION_TABLE[IHEAP[IHEAP[a]+29]](a,h,b);FHEAP[i]=FHEAP[h];FHEAP[i+1]=FHEAP[h+1];FHEAP[i+2]=FHEAP[h+2];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,i,4,4,0);b=IHEAP[IHEAP[a]+15];FHEAP[c]=0-FHEAP[e];FHEAP[f]=0-FHEAP[e+1];FHEAP[g]=0-FHEAP[e+2];FHEAP[j]=FHEAP[c];FHEAP[j+1]=FHEAP[f];FHEAP[j+2]=FHEAP[g];FHEAP[j+3]=0;FUNCTION_TABLE[b](k,a,j);_llvm_memcpy_p0i8_p0i8_i32(d,k,4, +4,0);STACKTOP=c} +function __ZNK10btBoxShape8isInsideERK9btVector3f(a,e,d){var b=STACKTOP;STACKTOP+=4;var c=null,f;_llvm_memcpy_p0i8_p0i8_i32(b,a+16,4,4,0);FHEAP[e]<=FHEAP[b]+d?(c=-1,a=0):(c=-1,a=1);for(;;)if(a==0)c=e,a=FHEAP[c],c=b,a>=0-FHEAP[c]-d?(c=e,a=FHEAP[c+1],c=b,a<=FHEAP[c+1]+d?(c=e,a=FHEAP[c+1],c=b,a>=0-FHEAP[c+1]-d?(c=e,a=FHEAP[c+2],c=b,a<=FHEAP[c+2]+d?(f=e,c=FHEAP[f+2],f=b,f=c>=0-FHEAP[f+2]-d,c=5):c=4):c=3):c=2):c=0,a=1;else if(a==1)return e=c==4?0:c==3?0:c==2?0:c==0?0:c==-1?0:f,e&=1,STACKTOP=b,e;return null} +function __ZNK10btBoxShape16getPlaneEquationER9btVector4i(a,e,d){var b=STACKTOP;STACKTOP+=28;var c,f,g,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+19,z=b+20,B=b+21,C=b+22,A=b+23,w=b+24,D=b+25,E=b+26,F=b+27;_llvm_memcpy_p0i8_p0i8_i32(b,a+16,4,4,0);for(a=d==0?1:d==1?2:d==2?3:d==3?4:d==4?5:d==5?6:0;;)if(a==0){STACKTOP=b;break}else a==1?(d=e,FHEAP[h]=1,FHEAP[i]=0,FHEAP[j]=0,a=b,FHEAP[k]=0-FHEAP[a],c=d,a=h,d=i,f=j,g=k,FHEAP[c]=FHEAP[a],FHEAP[c+ +1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==2?(d=e,FHEAP[l]=-1,FHEAP[m]=0,FHEAP[n]=0,a=b,FHEAP[o]=0-FHEAP[a],c=d,a=l,d=m,f=n,g=o,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==3?(d=e,FHEAP[q]=0,FHEAP[p]=1,FHEAP[r]=0,a=b,FHEAP[s]=0-FHEAP[a+1],c=d,a=q,d=p,f=r,g=s,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==4?(d=e,FHEAP[u]=0,FHEAP[v]=-1,FHEAP[y]=0,a=b,FHEAP[x]=0-FHEAP[a+1],c=d,a=u,d=v,f=y,g=x,FHEAP[c]=FHEAP[a], +FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==5?(d=e,FHEAP[z]=0,FHEAP[B]=0,FHEAP[C]=1,a=b,FHEAP[A]=0-FHEAP[a+2],c=d,a=z,d=B,f=C,g=A,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==6&&(d=e,FHEAP[w]=0,FHEAP[D]=0,FHEAP[E]=-1,a=b,FHEAP[F]=0-FHEAP[a+2],c=d,a=w,d=D,f=E,g=F,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0)} +function __ZNK12btBox2dShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=a+16,a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);__Z15btTransformAabbRK9btVector3fRK11btTransformRS_S5_(c,a,e,d,b)} +function __ZNK12btBox2dShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=7;var c,f,g=b+4,h=b+5,i=b+6;__ZNK12btBox2dShape24getHalfExtentsWithMarginEv(b,a);a=2*FHEAP[b];c=2*FHEAP[b+1];f=2*FHEAP[b+2];FHEAP[g]=e/12*(c*c+f*f);FHEAP[h]=e/12*(a*a+f*f);FHEAP[i]=e/12*(a*a+c*c);FHEAP[d]=FHEAP[g];FHEAP[d+1]=FHEAP[h];FHEAP[d+2]=FHEAP[i];FHEAP[d+3]=0;STACKTOP=b} +function __ZNK12btBox2dShape24getHalfExtentsWithMarginEv(a,e){var d=STACKTOP;STACKTOP+=7;var b=d+4,c=d+5,f=d+6;_llvm_memcpy_p0i8_p0i8_i32(a,e+16,4,4,0);var g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[b]=g;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[c]=g;g=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[f]=g;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[c];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;FHEAP[a]+=FHEAP[d];FHEAP[a+1]+=FHEAP[d+1];FHEAP[a+2]+=FHEAP[d+2];STACKTOP=d} +function __ZN12btBox2dShapeD1Ev(a){IHEAP[a]=__ZTV12btBox2dShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN12btBox2dShapeD0Ev(a){var e,d;IHEAP[a]=__ZTV12btBox2dShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+= +1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 183547";}} +function __ZN12btBox2dShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=42;var b,c=d+1,f=d+2,g;b=d+3;var h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+13,o=d+14,q=d+15,p=d+16,r=d+17,s=d+18,u=d+19;g=d+23;var v=d+24,y=d+25,x=d+26,z=d+30,B=d+34,C=d+38,A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[g]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[v]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[y]=A;FHEAP[u]=FHEAP[g];FHEAP[u+1]=FHEAP[v];FHEAP[u+2]=FHEAP[y];FHEAP[u+3]=0;g=a+16;FHEAP[b]=FHEAP[g]+ +FHEAP[u];FHEAP[h]=FHEAP[g+1]+FHEAP[u+1];FHEAP[i]=FHEAP[g+2]+FHEAP[u+2];FHEAP[x]=FHEAP[b];FHEAP[x+1]=FHEAP[h];FHEAP[x+2]=FHEAP[i];FHEAP[x+3]=0;b=a+12;FHEAP[d]=FHEAP[x]/FHEAP[b];FHEAP[c]=FHEAP[x+1]/FHEAP[b+1];FHEAP[f]=FHEAP[x+2]/FHEAP[b+2];FHEAP[z]=FHEAP[d];FHEAP[z+1]=FHEAP[c];FHEAP[z+2]=FHEAP[f];FHEAP[z+3]=0;c=a+12;f=_fabsf(FHEAP[e]);FHEAP[j]=f;f=_fabsf(FHEAP[e+1]);FHEAP[k]=f;f=_fabsf(FHEAP[e+2]);FHEAP[l]=f;FHEAP[m]=FHEAP[j];FHEAP[m+1]=FHEAP[k];FHEAP[m+2]=FHEAP[l];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c, +m,4,4,0);j=a+12;FHEAP[n]=FHEAP[z]*FHEAP[j];FHEAP[o]=FHEAP[z+1]*FHEAP[j+1];FHEAP[q]=FHEAP[z+2]*FHEAP[j+2];FHEAP[B]=FHEAP[n];FHEAP[B+1]=FHEAP[o];FHEAP[B+2]=FHEAP[q];FHEAP[B+3]=0;FHEAP[p]=FHEAP[B]-FHEAP[u];FHEAP[r]=FHEAP[B+1]-FHEAP[u+1];FHEAP[s]=FHEAP[B+2]-FHEAP[u+2];FHEAP[C]=FHEAP[p];FHEAP[C+1]=FHEAP[r];FHEAP[C+2]=FHEAP[s];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,C,4,4,0);STACKTOP=d}function __ZNK12btBox2dShape7getNameEv(){return __str1156} +function __ZN12btBox2dShape9setMarginEf(a,e){var d=STACKTOP;STACKTOP+=28;var b,c=d+1,f=d+2,g=d+3,h=d+4,i=d+5,j=d+6;b=d+10;var k=d+11,l=d+12,m=d+13,n=d+17,o=d+21,q=d+22,p=d+23,r=d+24,s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[b]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[k]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[l]=s;FHEAP[j]=FHEAP[b];FHEAP[j+1]=FHEAP[k];FHEAP[j+2]=FHEAP[l];FHEAP[j+3]=0;b=a+16;FHEAP[d]=FHEAP[b]+FHEAP[j];FHEAP[c]=FHEAP[b+1]+FHEAP[j+1];FHEAP[f]=FHEAP[b+2]+FHEAP[j+2]; +FHEAP[m]=FHEAP[d];FHEAP[m+1]=FHEAP[c];FHEAP[m+2]=FHEAP[f];FHEAP[m+3]=0;FHEAP[a+20]=e;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[o]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[q]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[p]=c;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;FHEAP[g]=FHEAP[m]-FHEAP[n];FHEAP[h]=FHEAP[m+1]-FHEAP[n+1];FHEAP[i]=FHEAP[m+2]-FHEAP[n+2];FHEAP[r]=FHEAP[g];FHEAP[r+1]=FHEAP[h];FHEAP[r+2]=FHEAP[i];FHEAP[r+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16, +r,4,4,0);STACKTOP=d} +function __ZNK12btBox2dShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=14;var c=b+4,f=b+8,g=b+9,h=b+10,i=b+11,j=b+12,k=b+13;_llvm_memcpy_p0i8_p0i8_i32(b,e+16,4,4,0);var l=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[f]=l;l=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[g]=l;e=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e);FHEAP[h]=e;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;FHEAP[b]+=FHEAP[c];FHEAP[b+1]+=FHEAP[c+1];FHEAP[b+2]+=FHEAP[c+2];c=FHEAP[b];f=0- +FHEAP[b];FHEAP[i]=FHEAP[d]>=0?c:f;c=FHEAP[b+1];f=0-FHEAP[b+1];FHEAP[j]=FHEAP[d+1]>=0?c:f;c=FHEAP[b+2];f=0-FHEAP[b+2];FHEAP[k]=FHEAP[d+2]>=0?c:f;FHEAP[a]=FHEAP[i];FHEAP[a+1]=FHEAP[j];FHEAP[a+2]=FHEAP[k];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK12btBox2dShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;e+=16;var g=FHEAP[e],h=0-FHEAP[e];FHEAP[b]=FHEAP[d]>=0?g:h;g=FHEAP[e+1];h=0-FHEAP[e+1];FHEAP[c]=FHEAP[d+1]>=0?g:h;g=FHEAP[e+2];e=0-FHEAP[e+2];FHEAP[f]=FHEAP[d+2]>=0?g:e;FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZNK12btBox2dShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=3;var f,g,h,i,j,k,l=c+1,m=c+2;a+=16;k=0;for(f=k<b?0:1;;)if(f==0)j=e+4*k,f=d+4*k,g=j,g=FHEAP[g],h=a,h=FHEAP[h],i=a,i=0-FHEAP[i],FHEAP[c]=g>=0?h:i,g=j,g=FHEAP[g+1],h=a,h=FHEAP[h+1],i=a,i=0-FHEAP[i+1],FHEAP[l]=g>=0?h:i,j=FHEAP[j+2],g=a,g=FHEAP[g+2],h=a,h=0-FHEAP[h+2],FHEAP[m]=j>=0?g:h,h=f,f=c,j=l,g=m,FHEAP[h]=FHEAP[f],FHEAP[h+1]=FHEAP[j],FHEAP[h+2]=FHEAP[g],FHEAP[h+3]=0, +k+=1,f=k<b?0:1;else if(f==1){STACKTOP=c;break}}function __ZNK12btBox2dShape36getNumPreferredPenetrationDirectionsEv(){return 6} +function __ZNK12btBox2dShape32getPreferredPenetrationDirectionEiR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=18;for(var b,c,f,g=a+1,h=a+2,i=a+3,j=a+4,k=a+5,l=a+6,m=a+7,n=a+8,o=a+9,q=a+10,p=a+11,r=a+12,s=a+13,u=a+14,v=a+15,y=a+16,x=a+17,e=e==0?1:e==1?2:e==2?3:e==3?4:e==4?5:e==5?6:0;;)if(e==0){STACKTOP=a;break}else e==1?(e=d,FHEAP[a]=1,FHEAP[g]=0,FHEAP[h]=0,b=e,e=a,c=g,f=h,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==2?(e=d,FHEAP[i]=-1,FHEAP[j]=0,FHEAP[k]=0,b=e,e=i,c=j,f= +k,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==3?(e=d,FHEAP[l]=0,FHEAP[m]=1,FHEAP[n]=0,b=e,e=l,c=m,f=n,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==4?(e=d,FHEAP[o]=0,FHEAP[q]=-1,FHEAP[p]=0,b=e,e=o,c=q,f=p,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==5?(e=d,FHEAP[r]=0,FHEAP[s]=0,FHEAP[u]=1,b=e,e=r,c=s,f=u,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0):e==6&&(e=d,FHEAP[v]=0,FHEAP[y]= +0,FHEAP[x]=-1,b=e,e=v,c=y,f=x,FHEAP[b]=FHEAP[e],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],e=FHEAP[b+3]=0)}function __ZNK12btBox2dShape14getNumVerticesEv(){return 4}function __ZNK12btBox2dShape11getNumEdgesEv(){return 12} +function __ZNK12btBox2dShape7getEdgeEiR9btVector3S1_(a,e,d,b){var c,f;f=c=0;for(e=e==0?1:e==1?2:e==2?3:e==3?4:e==4?5:e==5?6:e==6?7:e==7?8:e==8?9:e==9?10:e==10?11:e==11?12:0;;)if(e==0){FUNCTION_TABLE[IHEAP[IHEAP[a]+25]](a,c,d);FUNCTION_TABLE[IHEAP[IHEAP[a]+25]](a,f,b);break}else e==1?(c=0,f=1,e=0):e==2?(c=0,f=2,e=0):e==3?(c=1,f=3,e=0):e==4?(c=2,f=3,e=0):e==5?(c=0,f=4,e=0):e==6?(c=1,f=5,e=0):e==7?(c=2,f=6,e=0):e==8?(c=3,f=7,e=0):e==9?(c=4,f=5,e=0):e==10?(c=4,f=6,e=0):e==11?(c=5,f=7,e=0):e==12&&(c=6, +f=7,e=0)}function __ZNK12btBox2dShape9getVertexEiR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=11;var c=b+4,f=b+8,g=b+9,h=b+10;_llvm_memcpy_p0i8_p0i8_i32(b,a+16,4,4,0);FHEAP[f]=FHEAP[b]*(1-(e&1))-FHEAP[b]*(e&1);FHEAP[g]=FHEAP[b+1]*(1-((e&2)>>1))-FHEAP[b+1]*((e&2)>>1);FHEAP[h]=FHEAP[b+2]*(1-((e&4)>>2))-FHEAP[b+2]*((e&4)>>2);FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,c,4,4,0);STACKTOP=b}function __ZNK12btBox2dShape12getNumPlanesEv(){return 6} +function __ZNK12btBox2dShape8getPlaneER9btVector3S1_i(a,e,d,b){var c=STACKTOP;STACKTOP+=31;var f=c+1,g=c+2,h=c+3,i=c+19,j=c+23,k=c+27;FUNCTION_TABLE[IHEAP[IHEAP[a]+29]](a,h,b);FHEAP[i]=FHEAP[h];FHEAP[i+1]=FHEAP[h+1];FHEAP[i+2]=FHEAP[h+2];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,i,4,4,0);b=IHEAP[IHEAP[a]+15];FHEAP[c]=0-FHEAP[e];FHEAP[f]=0-FHEAP[e+1];FHEAP[g]=0-FHEAP[e+2];FHEAP[j]=FHEAP[c];FHEAP[j+1]=FHEAP[f];FHEAP[j+2]=FHEAP[g];FHEAP[j+3]=0;FUNCTION_TABLE[b](k,a,j);_llvm_memcpy_p0i8_p0i8_i32(d,k, +4,4,0);STACKTOP=c} +function __ZNK12btBox2dShape8isInsideERK9btVector3f(a,e,d){var b=STACKTOP;STACKTOP+=4;var c=null,f;_llvm_memcpy_p0i8_p0i8_i32(b,a+16,4,4,0);FHEAP[e]<=FHEAP[b]+d?(c=-1,a=0):(c=-1,a=1);for(;;)if(a==0)c=e,a=FHEAP[c],c=b,a>=0-FHEAP[c]-d?(c=e,a=FHEAP[c+1],c=b,a<=FHEAP[c+1]+d?(c=e,a=FHEAP[c+1],c=b,a>=0-FHEAP[c+1]-d?(c=e,a=FHEAP[c+2],c=b,a<=FHEAP[c+2]+d?(f=e,c=FHEAP[f+2],f=b,f=c>=0-FHEAP[f+2]-d,c=5):c=4):c=3):c=2):c=0,a=1;else if(a==1)return e=c==4?0:c==3?0:c==2?0:c==0?0:c==-1?0:f,e&=1,STACKTOP=b,e;return null} +function __ZNK12btBox2dShape16getPlaneEquationER9btVector4i(a,e,d){var b=STACKTOP;STACKTOP+=28;var c,f,g,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+13,r=b+14,s=b+15,u=b+16,v=b+17,y=b+18,x=b+19,z=b+20,B=b+21,C=b+22,A=b+23,w=b+24,D=b+25,E=b+26,F=b+27;_llvm_memcpy_p0i8_p0i8_i32(b,a+16,4,4,0);for(a=d==0?1:d==1?2:d==2?3:d==3?4:d==4?5:d==5?6:0;;)if(a==0){STACKTOP=b;break}else a==1?(d=e,FHEAP[h]=1,FHEAP[i]=0,FHEAP[j]=0,a=b,FHEAP[k]=0-FHEAP[a],c=d,a=h,d=i,f=j,g=k,FHEAP[c]=FHEAP[a],FHEAP[c+ +1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==2?(d=e,FHEAP[l]=-1,FHEAP[m]=0,FHEAP[n]=0,a=b,FHEAP[o]=0-FHEAP[a],c=d,a=l,d=m,f=n,g=o,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==3?(d=e,FHEAP[q]=0,FHEAP[p]=1,FHEAP[r]=0,a=b,FHEAP[s]=0-FHEAP[a+1],c=d,a=q,d=p,f=r,g=s,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==4?(d=e,FHEAP[u]=0,FHEAP[v]=-1,FHEAP[y]=0,a=b,FHEAP[x]=0-FHEAP[a+1],c=d,a=u,d=v,f=y,g=x,FHEAP[c]=FHEAP[a], +FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==5?(d=e,FHEAP[z]=0,FHEAP[B]=0,FHEAP[C]=1,a=b,FHEAP[A]=0-FHEAP[a+2],c=d,a=z,d=B,f=C,g=A,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0):a==6&&(d=e,FHEAP[w]=0,FHEAP[D]=0,FHEAP[E]=-1,a=b,FHEAP[F]=0-FHEAP[a+2],c=d,a=w,d=D,f=E,g=F,FHEAP[c]=FHEAP[a],FHEAP[c+1]=FHEAP[d],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=FHEAP[g],a=0)} +function __ZN14btOptimizedBvhC2Ev(a){__ZN14btQuantizedBvhC2Ev(a);IHEAP[a]=__ZTV14btOptimizedBvh+2} +function __ZN14btOptimizedBvhD0Ev(a){var e,d;IHEAP[a]=__ZTV14btOptimizedBvh+2;try{__THREW__=!1,__ZN14btQuantizedBvhD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e= +a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 186395";}}function __ZN14btOptimizedBvhD2Ev(a){IHEAP[a]=__ZTV14btOptimizedBvh+2;__ZN14btQuantizedBvhD2Ev(a)} +function __ZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=59;var g,h=null,i,j,k,l,m,n,o,q,p;n=f+6;l=f+13;var r=f+18,s=f+22,u=f+23,v=f+24,y=f+25,x=f+29,z=f+30,B=f+31,C=f+32;p=f+48;IHEAP[a+15]=d&1;var d=0,A=IHEAP[a+15]&1;a:do if(A){__ZN14btQuantizedBvh21setQuantizationValuesERK9btVector3S2_f(a,b,c,1);g=a+26;j=a;i=k=i=f;IHEAP[i]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[k]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+ +2;IHEAP[k+4]=g;IHEAP[k+5]=j;g=e;i=IHEAP[IHEAP[g]+2];j=f;k=a+1;var w=a+5;try{__THREW__=!1,FUNCTION_TABLE[i](g,j,k,w)}catch(D){if(ABORT)throw D;__THREW__=!0;print("Exception: "+D+" : "+D.stack+", currently at: "+Error().stack)}g=__THREW__?12:11;if(g==11){d=a+26;d=IHEAP[d+1];l=a+31;C=d*2;_llvm_memset_p0i8_i32(n,0,7,4,0);__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE6resizeEiRKS0_(l,C,n);l=f;IHEAP[l]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+ +2;IHEAP[l]=__ZTV31btInternalTriangleIndexCallback+2;g=0;break a}else if(g==12){m=l=_llvm_eh_exception();_llvm_eh_selector(l,___gxx_personality_v0,0);l=f;IHEAP[l]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+2;IHEAP[l]=__ZTV31btInternalTriangleIndexCallback+2;g=1;break a}}else{g=a+16;i=j=i=l;IHEAP[i]=__ZTV31btInternalTriangleIndexCallback+2;IHEAP[j]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+ +2;IHEAP[j+4]=g;FHEAP[s]=-999999984306749440;FHEAP[u]=-999999984306749440;FHEAP[v]=-999999984306749440;g=r;i=s;j=u;k=v;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[k];FHEAP[g+3]=0;FHEAP[x]=999999984306749440;FHEAP[z]=999999984306749440;FHEAP[B]=999999984306749440;g=y;i=x;j=z;k=B;FHEAP[g]=FHEAP[i];FHEAP[g+1]=FHEAP[j];FHEAP[g+2]=FHEAP[k];FHEAP[g+3]=0;g=e;i=IHEAP[IHEAP[g]+2];j=l;try{__THREW__=!1,FUNCTION_TABLE[i](g,j,r,y)}catch(E){if(ABORT)throw E;__THREW__=!0;print("Exception: "+E+" : "+E.stack+ +", currently at: "+Error().stack)}g=__THREW__?14:13;if(g==13){d=a+16;d=IHEAP[d+1];n=a+21;e=d*2;_llvm_memset_p0i8_i32(C,0,16,4,0);__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE6resizeEiRKS0_(n,e,C);IHEAP[l]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+2;IHEAP[l]=__ZTV31btInternalTriangleIndexCallback+2;g=0;break a}else if(g==14){m=n=_llvm_eh_exception();_llvm_eh_selector(n,___gxx_personality_v0,0);IHEAP[l]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+ +2;IHEAP[l]=__ZTV31btInternalTriangleIndexCallback+2;g=1;break a}}while(0);if(g==0){IHEAP[a+14]=0;__ZN14btQuantizedBvh9buildTreeEii(a,0,d);g=IHEAP[a+15]&1?2:3;a:for(;;)if(g==2){m=a+37;if(IHEAP[m+1]!=0){g=3;continue a}d=a+37;m=p;l=d;C=l=IHEAP[l+1];n=d;g=C==IHEAP[n+2]?5:6;b:for(;;)if(g==5){h=d;n=IHEAP[h+1];n!=0?(h=5,g=7):(h=5,g=8);for(;;)if(g==7){var F=n*2,h=7;g=8}else if(g==8){__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE7reserveEi(d,h==7?F:1);g=6;continue b}}else if(g==6){IHEAP[d+1]+=1;o=IHEAP[d+ +3]+11*l;_llvm_memcpy_p0i8_p0i8_i32(o,m,11,4,0);h=o=IHEAP[d+3]+11*l;m=a+31;m=IHEAP[m+3]+0;IHEAP[h]=IHEAP[m];IHEAP[h+1]=IHEAP[m+1];IHEAP[h+2]=IHEAP[m+2];IHEAP[h+3]=IHEAP[m+3];IHEAP[h+3+1]=IHEAP[m+3+1];IHEAP[h+3+2]=IHEAP[m+3+2];IHEAP[o+6]=0;h=a+31;h=IHEAP[h+3]+0;IHEAP[h+6]>=0?(h=6,g=9):(h=6,g=10);break b}for(;;)if(g==9){IHEAP[o+7]=h==10?q:1;g=3;continue a}else g==10&&(q=a+31,q=IHEAP[q+3]+0,q=0-IHEAP[q+6],h=10,g=9)}else if(g==3){p=a+37;IHEAP[a+42]=IHEAP[p+1];__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE5clearEv(a+ +26);__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE5clearEv(a+16);STACKTOP=f;break}}else if(g==1)throw __Unwind_Resume_or_Rethrow(m),"Reached an unreachable! Original .ll line: 186994";} +function __ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE6resizeEiRKS0_(a,e,d){var b,c,f,g;f=IHEAP[a+1];var h=e<f;a:do if(h){b=e;if(!(b<f))break a;for(;;)if(b+=1,!(b<f))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE7reserveEi(a,e),b=3;else if(b==3)if(g=f,g<e)break b;else break a;for(b=a+3;;)if(c=IHEAP[b]+7*g,_llvm_memset_p0i8_i32(c,0,7,4,0),_llvm_memcpy_p0i8_p0i8_i32(c,d,7,4,0),g+=1,!(g<e))break a}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE6resizeEiRKS0_(a,e,d){var b,c,f,g;f=IHEAP[a+1];var h=e<f;a:do if(h){b=e;if(!(b<f))break a;for(;;)if(b+=1,!(b<f))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE7reserveEi(a,e),b=3;else if(b==3)if(g=f,g<e)break b;else break a;for(b=a+3;;)if(c=IHEAP[b]+16*g,_llvm_memset_p0i8_i32(c,0,16,4,0),_llvm_memcpy_p0i8_p0i8_i32(c,d,16,4,0),g+=1,!(g<e))break a}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=c+1,g=c+2,h,i=c+3,j=c+4,k=c+5,l=c+6,m=c+10;h=a+1;FHEAP[i]=FHEAP[d]-FHEAP[h];FHEAP[j]=FHEAP[d+1]-FHEAP[h+1];FHEAP[k]=FHEAP[d+2]-FHEAP[h+2];FHEAP[m]=FHEAP[i];FHEAP[m+1]=FHEAP[j];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;a+=9;FHEAP[c]=FHEAP[m]*FHEAP[a];FHEAP[f]=FHEAP[m+1]*FHEAP[a+1];FHEAP[g]=FHEAP[m+2]*FHEAP[a+2];FHEAP[l]=FHEAP[c];FHEAP[l+1]=FHEAP[f];FHEAP[l+2]=FHEAP[g];FHEAP[l+3]=0;f=FHEAP[l];b!=0?(IHEAP[e]=(Math.floor(f+ +1)|1)&65535,IHEAP[e+1]=(Math.floor(FHEAP[l+1]+1)|1)&65535,IHEAP[e+2]=(Math.floor(FHEAP[l+2]+1)|1)&65535):(IHEAP[e]=Math.floor(f)&65534,IHEAP[e+1]=Math.floor(FHEAP[l+1])&65534,IHEAP[e+2]=Math.floor(FHEAP[l+2])&65534);STACKTOP=c}function __ZNK14btQuantizedBvh31calculateSerializeBufferSizeNewEv(){return 84}function __ZNK14btOptimizedBvh16serializeInPlaceEPvjb(a,e,d,b){__ZNK14btQuantizedBvh9serializeEPvjb(a,e,d,b&1);return 1} +function __ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*32,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3)for(var l=k+3;;)if(d=f+11*b,_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+11*b,11,4,0),b+=1,b<c)d=5;else{d=4;continue b}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?6:7;break b}b:for(;;)if(d==6)h+=1,d=h<g?6:7;else if(d==7){j=a;d=IHEAP[j+3]!=0?8:9;break b}b:for(;;)if(d==8)for(d= +IHEAP[j+4]&1?10:11;;)if(d==10)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=11;else{if(d==11){IHEAP[j+3]=0;d=9;continue b}}else if(d==9){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*64,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3)for(var l=k+3;;)if(d=f+16*b,_llvm_memset_p0i8_i32(d,0,16,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+16*b,16,4,0),b+=1,b<c)d=5;else{d=4;continue b}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?6:7;break b}b:for(;;)if(d==6)h+=1,d=h<g?6:7;else if(d==7){j=a;d=IHEAP[j+ +3]!=0?8:9;break b}b:for(;;)if(d==8)for(d=IHEAP[j+4]&1?10:11;;)if(d==10)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=11;else{if(d==11){IHEAP[j+3]=0;d=9;continue b}}else if(d==9){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*16,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3)for(var l=k+3;;)if(d=f+7*b,_llvm_memset_p0i8_i32(d,0,7,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+7*b,7,4,0),b+=1,b<c)d=5;else{d=4;continue b}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?6:7;break b}b:for(;;)if(d==6)h+=1,d=h<g?6:7;else if(d==7){j=a;d=IHEAP[j+3]!= +0?8:9;break b}b:for(;;)if(d==8)for(d=IHEAP[j+4]&1?10:11;;)if(d==10)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=11;else{if(d==11){IHEAP[j+3]=0;d=9;continue b}}else if(d==9){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN20NodeTriangleCallbackD2E_0v(a){IHEAP[a]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2} +function __ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN20NodeTriangleCallbackD0E_0v(a){IHEAP[a]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2;__ZdlPv(a)} +function __ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN20NodeTriangleCallback28internalProcessTriangleIndexE_0PS2_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=30;var f=null,g,f=c+16,h=c+20,i=c+24,j=c+25,k=c+26,l=c+27,m=c+28,n=c+29;FHEAP[i]=999999984306749440;FHEAP[j]=999999984306749440;FHEAP[k]=999999984306749440;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;FHEAP[l]=-999999984306749440;FHEAP[m]=-999999984306749440;FHEAP[n]=-999999984306749440;FHEAP[h]=FHEAP[l]; +FHEAP[h+1]=FHEAP[m];FHEAP[h+2]=FHEAP[n];FHEAP[h+3]=0;__ZN9btVector36setMinERKS_(f,e);__ZN9btVector36setMaxERKS_(h,e);__ZN9btVector36setMinERKS_(f,e+4);__ZN9btVector36setMaxERKS_(h,e+4);__ZN9btVector36setMinERKS_(f,e+8);__ZN9btVector36setMaxERKS_(h,e+8);_llvm_memcpy_p0i8_p0i8_i32(c,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,h,4,4,0);IHEAP[c+8]=-1;IHEAP[c+9]=d;IHEAP[c+10]=b;a=IHEAP[a+4];e=IHEAP[a+1]==IHEAP[a+2]?0:1;a:for(;;)if(e==0){e=a;d=IHEAP[e+1];d!=0?(f=0,e=2):(f=0,e=3);for(;;)if(e==2)g=d*2,f=2,e= +3;else if(e==3){__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE7reserveEi(a,f==2?g:1);e=1;continue a}}else if(e==1){g=IHEAP[a+3]+16*IHEAP[a+1];_llvm_memset_p0i8_i32(g,0,16,4,0);_llvm_memcpy_p0i8_p0i8_i32(g,c,16,4,0);IHEAP[a+1]+=1;STACKTOP=c;break}} +function __ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN29QuantizedNodeTriangleCallbackD2Ev(a){IHEAP[a]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2} +function __ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN29QuantizedNodeTriangleCallbackD0Ev(a){IHEAP[a]=__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+2;IHEAP[a]=__ZTV31btInternalTriangleIndexCallback+2;__ZdlPv(a)} +function __ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN29QuantizedNodeTriangleCallback28internalProcessTriangleIndexEPS2_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=21;var f=null,g,h,i,j,f=c+7,k=c+11;g=c+15;var l=c+16,m=c+17,n=c+18,o=c+19,q=c+20;FHEAP[g]=999999984306749440;FHEAP[l]=999999984306749440;FHEAP[m]=999999984306749440;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[l];FHEAP[f+2]=FHEAP[m];FHEAP[f+3]=0;FHEAP[n]=-999999984306749440;FHEAP[o]=-999999984306749440;FHEAP[q]=-999999984306749440; +FHEAP[k]=FHEAP[n];FHEAP[k+1]=FHEAP[o];FHEAP[k+2]=FHEAP[q];FHEAP[k+3]=0;__ZN9btVector36setMinERKS_(f,e);__ZN9btVector36setMaxERKS_(k,e);__ZN9btVector36setMinERKS_(f,e+4);__ZN9btVector36setMaxERKS_(k,e+4);__ZN9btVector36setMinERKS_(f,e+8);__ZN9btVector36setMaxERKS_(k,e+8);e=FHEAP[k]-FHEAP[f]<0.0020000000949949026?0:1;a:for(;;)if(e==0)e=k,g=FHEAP[e]+0.0010000000474974513,e=k,FHEAP[e]=g,e=f,g=FHEAP[e]-0.0010000000474974513,e=f,FHEAP[e]=g,e=1;else if(e==1){e=k;g=FHEAP[e+1];e=f;e=g-FHEAP[e+1]<0.0020000000949949026? +2:3;break a}a:for(;;)if(e==2)e=k,g=FHEAP[e+1]+0.0010000000474974513,e=k,FHEAP[e+1]=g,e=f,g=FHEAP[e+1]-0.0010000000474974513,e=f,FHEAP[e+1]=g,e=3;else if(e==3){e=k;g=FHEAP[e+2];e=f;e=g-FHEAP[e+2]<0.0020000000949949026?4:5;break a}a:for(;;)if(e==4)e=k,g=FHEAP[e+2]+0.0010000000474974513,e=k,FHEAP[e+2]=g,e=f,g=FHEAP[e+2]-0.0010000000474974513,e=f,FHEAP[e+2]=g,e=5;else if(e==5){__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(IHEAP[a+5],c,f,0);__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(IHEAP[a+5],c+ +3,k,1);IHEAP[c+6]=d<<21|b;i=IHEAP[a+4];j=c;a=i;d=a=IHEAP[a+1];a=i;e=d==IHEAP[a+2]?6:7;break a}a:for(;;)if(e==6){a=i;a=IHEAP[a+1];a!=0?(f=6,e=8):(f=6,e=9);for(;;)if(e==8)h=a*2,f=8,e=9;else if(e==9){__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE7reserveEi(i,f==8?h:1);e=7;continue a}}else if(e==7){h=IHEAP[i+3]+7*IHEAP[i+1];_llvm_memset_p0i8_i32(h,0,7,4,0);_llvm_memcpy_p0i8_p0i8_i32(h,j,7,4,0);IHEAP[i+1]+=1;STACKTOP=c;break}} +function __ZN25btHeightfieldTerrainShapeC2EiiPvfffi14PHY_ScalarTypeb(a,e,d,b,c,f,g,h,i,j){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0;IHEAP[a]=__ZTV25btHeightfieldTerrainShape+2;__ZN25btHeightfieldTerrainShape10initializeEiiPvfffi14PHY_ScalarTypeb(a,e,d,b,c,f,g,h,i,j&1)} +function __ZN25btHeightfieldTerrainShape10initializeEiiPvfffi14PHY_ScalarTypeb(a,e,d,b,c,f,g,h,i,j){var k=STACKTOP;STACKTOP+=24;var l,m,n,o,q,p,r;q=k+1;o=k+2;var s,u,v,y,x;v=k+3;u=k+4;s=k+5;l=k+6;m=k+7;n=k+8;var z=k+9;p=k+10;r=k+11;var B=k+12,C=k+13,A=k+14;x=k+15;y=k+16;var w=k+20;IHEAP[a+1]=24;IHEAP[a+28]=e;IHEAP[a+29]=d;FHEAP[a+30]=f;FHEAP[a+31]=g;FHEAP[a+32]=e-1;FHEAP[a+33]=d-1;FHEAP[a+34]=c;IHEAP[a+35]=b;IHEAP[a+36]=i;IHEAP[a+37]=j&1;IHEAP[a+38]=0;IHEAP[a+39]=h;e=a+40;FHEAP[l]=1;FHEAP[m]=1;FHEAP[n]= +1;FHEAP[e]=FHEAP[l];FHEAP[e+1]=FHEAP[m];FHEAP[e+2]=FHEAP[n];FHEAP[e+3]=0;l=IHEAP[a+39];for(l=l==0?1:l==1?2:l==2?3:0;;)if(l==0){z=a+24;FHEAP[x]=0.5;p=a+20;a+=16;FHEAP[k]=FHEAP[a]+FHEAP[p];FHEAP[q]=FHEAP[a+1]+FHEAP[p+1];FHEAP[o]=FHEAP[a+2]+FHEAP[p+2];a=y;p=k;r=q;q=p;p=r;r=o;o=a;a=p;p=r;FHEAP[o]=FHEAP[q];FHEAP[o+1]=FHEAP[a];FHEAP[o+2]=FHEAP[p];FHEAP[o+3]=0;FHEAP[v]=FHEAP[y]*FHEAP[x];FHEAP[u]=FHEAP[y+1]*FHEAP[x];FHEAP[s]=FHEAP[y+2]*FHEAP[x];y=w;x=u;u=v;v=x;x=s;s=y;y=x;FHEAP[s]=FHEAP[u];FHEAP[s+1]=FHEAP[v]; +FHEAP[s+2]=FHEAP[y];FHEAP[s+3]=0;_llvm_memcpy_p0i8_p0i8_i32(z,w,4,4,0);STACKTOP=k;break}else l==1?(l=a+16,m=a+30,FHEAP[z]=0,FHEAP[p]=0,n=z,e=p,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[n],FHEAP[l+2]=FHEAP[e],FHEAP[l+3]=0,m=a+31,n=a+32,e=a+33,l=a+20,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[n],FHEAP[l+2]=FHEAP[e],l=FHEAP[l+3]=0):l==2?(l=a+16,FHEAP[r]=0,n=a+30,FHEAP[B]=0,m=l,l=r,e=B,FHEAP[m]=FHEAP[l],FHEAP[m+1]=FHEAP[n],FHEAP[m+2]=FHEAP[e],FHEAP[m+3]=0,m=a+32,n=a+31,e=a+33,l=a+20,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[n], +FHEAP[l+2]=FHEAP[e],l=FHEAP[l+3]=0):l==3&&(l=a+16,FHEAP[C]=0,FHEAP[A]=0,e=a+30,n=l,l=C,m=A,FHEAP[n]=FHEAP[l],FHEAP[n+1]=FHEAP[m],FHEAP[n+2]=FHEAP[e],FHEAP[n+3]=0,m=a+32,n=a+33,e=a+31,l=a+20,FHEAP[l]=FHEAP[m],FHEAP[l+1]=FHEAP[n],FHEAP[l+2]=FHEAP[e],l=FHEAP[l+3]=0)} +function __ZN25btHeightfieldTerrainShapeC2EiiPvfibb(a,e,d,b,c,f,g,h){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0;IHEAP[a]=__ZTV25btHeightfieldTerrainShape+2;__ZN25btHeightfieldTerrainShape10initializeEiiPvfffi14PHY_ScalarTypeb(a,e,d,b,c/65535,0,c,f,g&1?0:5,h&1)}function __ZN25btHeightfieldTerrainShapeD0Ev(a){IHEAP[a]=__ZTV25btHeightfieldTerrainShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)} +function __ZN25btHeightfieldTerrainShapeD2Ev(a){IHEAP[a]=__ZTV25btHeightfieldTerrainShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK25btHeightfieldTerrainShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=73;var f,g=c+1,h=c+2,i,j=c+3,k=c+4,l=c+5,m=c+6,n=c+7,o=c+8,q=c+9,p=c+10,r=c+11,s=c+12,u=c+13,v=c+14,y=c+15,x=c+19,z=c+23,B=c+27,C=c+28,A=c+32,w=c+33,D=c+34;f=c+35;var E=c+47,F=c+51,G=c+55,J=c+56,H=c+57,M=c+58,K=c+62,N=c+63,R=c+64,O=c+65,Q=c+69,I=a+16;i=a+20;FHEAP[s]=FHEAP[i]-FHEAP[I];FHEAP[u]=FHEAP[i+1]-FHEAP[I+1];FHEAP[v]=FHEAP[i+2]-FHEAP[I+2];FHEAP[z]=FHEAP[s];FHEAP[z+1]=FHEAP[u];FHEAP[z+ +2]=FHEAP[v];FHEAP[z+3]=0;i=a+40;FHEAP[j]=FHEAP[z]*FHEAP[i];FHEAP[k]=FHEAP[z+1]*FHEAP[i+1];FHEAP[l]=FHEAP[z+2]*FHEAP[i+2];FHEAP[x]=FHEAP[j];FHEAP[x+1]=FHEAP[k];FHEAP[x+2]=FHEAP[l];FHEAP[x+3]=0;FHEAP[B]=0.5;FHEAP[c]=FHEAP[x]*FHEAP[B];FHEAP[g]=FHEAP[x+1]*FHEAP[B];FHEAP[h]=FHEAP[x+2]*FHEAP[B];FHEAP[y]=FHEAP[c];FHEAP[y+1]=FHEAP[g];FHEAP[y+2]=FHEAP[h];FHEAP[y+3]=0;FHEAP[A]=0;FHEAP[w]=0;FHEAP[D]=0;FHEAP[C]=FHEAP[A];FHEAP[C+1]=FHEAP[w];FHEAP[C+2]=FHEAP[D];FHEAP[C+3]=0;FHEAP[C+IHEAP[a+39]]=(FHEAP[a+30]+FHEAP[a+ +31])*0.5;g=a+40;FHEAP[C]*=FHEAP[g];FHEAP[C+1]*=FHEAP[g+1];FHEAP[C+2]*=FHEAP[g+2];__ZNK11btMatrix3x38absoluteEv(f,e);_llvm_memcpy_p0i8_p0i8_i32(E,e+12,4,4,0);e=f+0;FHEAP[G]=FHEAP[e]*FHEAP[y]+FHEAP[e+1]*FHEAP[y+1]+FHEAP[e+2]*FHEAP[y+2];e=f+4;FHEAP[J]=FHEAP[e]*FHEAP[y]+FHEAP[e+1]*FHEAP[y+1]+FHEAP[e+2]*FHEAP[y+2];f+=8;FHEAP[H]=FHEAP[f]*FHEAP[y]+FHEAP[f+1]*FHEAP[y+1]+FHEAP[f+2]*FHEAP[y+2];FHEAP[F]=FHEAP[G];FHEAP[F+1]=FHEAP[J];FHEAP[F+2]=FHEAP[H];FHEAP[F+3]=0;y=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[K]= +y;y=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[N]=y;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[R]=a;FHEAP[M]=FHEAP[K];FHEAP[M+1]=FHEAP[N];FHEAP[M+2]=FHEAP[R];FHEAP[M+3]=0;FHEAP[F]+=FHEAP[M];FHEAP[F+1]+=FHEAP[M+1];FHEAP[F+2]+=FHEAP[M+2];FHEAP[m]=FHEAP[E]-FHEAP[F];FHEAP[n]=FHEAP[E+1]-FHEAP[F+1];FHEAP[o]=FHEAP[E+2]-FHEAP[F+2];FHEAP[O]=FHEAP[m];FHEAP[O+1]=FHEAP[n];FHEAP[O+2]=FHEAP[o];FHEAP[O+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,O,4,4,0);FHEAP[q]=FHEAP[E]+FHEAP[F];FHEAP[p]=FHEAP[E+1]+FHEAP[F+1];FHEAP[r]= +FHEAP[E+2]+FHEAP[F+2];FHEAP[Q]=FHEAP[q];FHEAP[Q+1]=FHEAP[p];FHEAP[Q+2]=FHEAP[r];FHEAP[Q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,Q,4,4,0);STACKTOP=c}function __ZNK25btHeightfieldTerrainShape22getRawHeightFieldValueEii(a,e,d){var b,c;c=0;b=IHEAP[a+36];for(b=b==0?1:b==5?2:b==3?3:0;;)if(b==0)return c;else b==1?(c=FHEAP[IHEAP[a+35]+(IHEAP[a+28]*d+e)],b=0):b==2?(c=IHEAP[IHEAP[a+35]+(IHEAP[a+28]*d+e)],c*=FHEAP[a+34],b=0):b==3&&(c=IHEAP[IHEAP[a+35]+(IHEAP[a+28]*d+e)],c*=FHEAP[a+34],b=0);return null} +function __ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,e,d,b){var c=STACKTOP;STACKTOP+=9;var f,g,h,i,j,k=c+1,l=c+2,m=c+3,n=c+4,o=c+5,q=c+6,p=c+7,r=c+8;j=FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](a,e,d);f=IHEAP[a+39];for(f=f==0?1:f==1?2:f==2?3:0;;)if(f==0){a+=40;FHEAP[b]*=FHEAP[a];FHEAP[b+1]*=FHEAP[a+1];FHEAP[b+2]*=FHEAP[a+2];STACKTOP=c;break}else f==1?(h=b,i=j,f=a+24,FHEAP[c]=i-FHEAP[f],FHEAP[k]=(0-FHEAP[a+32])/2+e,FHEAP[l]=(0-FHEAP[a+33])/2+d,g=h,f=c,h=k,i=l,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h], +FHEAP[g+2]=FHEAP[i],f=FHEAP[g+3]=0):f==2?(h=b,FHEAP[m]=(0-FHEAP[a+32])/2+e,i=j,f=a+24,FHEAP[n]=i-FHEAP[f+1],FHEAP[o]=(0-FHEAP[a+33])/2+d,g=h,f=m,h=n,i=o,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],f=FHEAP[g+3]=0):f==3&&(h=b,FHEAP[q]=(0-FHEAP[a+32])/2+e,FHEAP[p]=(0-FHEAP[a+33])/2+d,i=j,f=a+24,FHEAP[r]=i-FHEAP[f+2],g=h,f=q,h=p,i=r,FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],f=FHEAP[g+3]=0)} +function __ZNK25btHeightfieldTerrainShape17quantizeWithClampEPiRK9btVector3i(a,e,d){var b=STACKTOP;STACKTOP+=4;_llvm_memcpy_p0i8_p0i8_i32(b,d,4,4,0);__ZN9btVector36setMaxERKS_(b,a+16);__ZN9btVector36setMinERKS_(b,a+20);a=FHEAP[b];IHEAP[e]=a<0?a-0.5|0:a+0.5|0;a=FHEAP[b+1];IHEAP[e+1]=a<0?a-0.5|0:a+0.5|0;a=FHEAP[b+2];IHEAP[e+2]=a<0?a-0.5|0:a+0.5|0;STACKTOP=b} +function __ZNK25btHeightfieldTerrainShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=46;var f,g=c+1,h=c+2,i=c+3,j=c+4,k=c+5,l=c+6,m=c+10,n=c+14,o=c+15,q=c+16,p=c+17,r=c+21,s=c+25,u=c+26,v=c+27,y=c+28,x=c+31,z,B=c+34;FHEAP[n]=1/FHEAP[a+40];FHEAP[o]=1/FHEAP[a+40+1];FHEAP[q]=1/FHEAP[a+40+2];FHEAP[m]=FHEAP[n];FHEAP[m+1]=FHEAP[o];FHEAP[m+2]=FHEAP[q];FHEAP[m+3]=0;FHEAP[i]=FHEAP[d]*FHEAP[m];FHEAP[j]=FHEAP[d+1]*FHEAP[m+1];FHEAP[k]=FHEAP[d+2]*FHEAP[m+2];FHEAP[l]= +FHEAP[i];FHEAP[l+1]=FHEAP[j];FHEAP[l+2]=FHEAP[k];FHEAP[l+3]=0;FHEAP[s]=1/FHEAP[a+40];FHEAP[u]=1/FHEAP[a+40+1];FHEAP[v]=1/FHEAP[a+40+2];FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[u];FHEAP[r+2]=FHEAP[v];FHEAP[r+3]=0;FHEAP[c]=FHEAP[b]*FHEAP[r];FHEAP[g]=FHEAP[b+1]*FHEAP[r+1];FHEAP[h]=FHEAP[b+2]*FHEAP[r+2];FHEAP[p]=FHEAP[c];FHEAP[p+1]=FHEAP[g];FHEAP[p+2]=FHEAP[h];FHEAP[p+3]=0;d=a+24;FHEAP[l]+=FHEAP[d];FHEAP[l+1]+=FHEAP[d+1];FHEAP[l+2]+=FHEAP[d+2];d=a+24;FHEAP[p]+=FHEAP[d];FHEAP[p+1]+=FHEAP[d+1];FHEAP[p+2]+=FHEAP[d+ +2];__ZNK25btHeightfieldTerrainShape17quantizeWithClampEPiRK9btVector3i(a,y,l,0);__ZNK25btHeightfieldTerrainShape17quantizeWithClampEPiRK9btVector3i(a,x,p,1);l=0;a:for(;;)if(IHEAP[y+l]+=-1,IHEAP[x+l]+=1,l=p=l+1,!(p<3))break a;l=0;p=IHEAP[a+28]-1;b=0;d=IHEAP[a+29]-1;g=IHEAP[a+39];f=g==0?34:g==1?35:g==2?36:9;a:for(;;)if(f==9){z=b;f=z<d?24:25;break a}else if(f==34){f=IHEAP[y+1]>l?2:3;b:for(;;)if(f==2)l=IHEAP[y+1],f=3;else if(f==3){f=IHEAP[x+1]<p?4:5;break b}b:for(;;)if(f==4)p=IHEAP[x+1],f=5;else if(f== +5){f=IHEAP[y+2]>b?6:7;break b}for(;;)if(f==6)b=IHEAP[y+2],f=7;else if(f==7)if(IHEAP[x+2]<d)break;else{f=9;continue a}d=IHEAP[x+2];f=9}else if(f==35){f=IHEAP[y]>l?10:11;b:for(;;)if(f==10)l=IHEAP[y],f=11;else if(f==11){f=IHEAP[x]<p?12:13;break b}b:for(;;)if(f==12)p=IHEAP[x],f=13;else if(f==13){f=IHEAP[y+2]>b?14:15;break b}for(;;)if(f==14)b=IHEAP[y+2],f=15;else if(f==15)if(IHEAP[x+2]<d)break;else{f=9;continue a}d=IHEAP[x+2];f=9}else if(f==36){f=IHEAP[y]>l?17:18;b:for(;;)if(f==17)l=IHEAP[y],f=18;else if(f== +18){f=IHEAP[x]<p?19:20;break b}b:for(;;)if(f==19)p=IHEAP[x],f=20;else if(f==20){f=IHEAP[y+1]>b?21:22;break b}for(;;)if(f==21)b=IHEAP[y+1],f=22;else if(f==22)if(IHEAP[x+1]<d)break;else{f=9;continue a}d=IHEAP[x+1];f=9}a:for(;;)if(f==24){var x=a+37,b=B,g=B+4,h=B+8,j=i=B,k=B+4,m=B+8,n=B,o=a+38,q=B,r=B+4,s=B+8,v=u=B,C=B+4,A=B+8,w=B;b:for(;;){y=l;f=y<p?27:28;c:for(;;)if(f==27){f=IHEAP[x]&1?29:30;d:for(;;)if(f==29){__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y,z,b);__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a, +y+1,z,g);__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y+1,z+1,h);f=e;FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,i,y,z);__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y,z,j);__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y+1,z+1,k);__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y,z+1,m);f=e;FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,n,y,z);f=33;break d}else if(f==30){if(!(IHEAP[o]&1)){f=32;break d}if((y+z&1)!=0){f=32;break d}else f=29}for(;;)if(f==33){y+=1;f=y<p? +27:28;continue c}else f==32&&(__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y,z,q),__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y,z+1,r),__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y+1,z,s),f=e,FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,u,y,z),__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y+1,z,v),__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y,z+1,C),__ZNK25btHeightfieldTerrainShape9getVertexEiiR9btVector3(a,y+1,z+1,A),f=e,FUNCTION_TABLE[IHEAP[IHEAP[f]+ +2]](f,w,y,z),f=33)}else if(f==28)if(z+=1,z<d){f=26;continue b}else{f=25;continue a}}}else if(f==25){STACKTOP=c;break}}function __ZNK25btHeightfieldTerrainShape21calculateLocalInertiaEfR9btVector3(a,e,d){a=STACKTOP;STACKTOP+=3;var e=a+1,b=a+2;FHEAP[a]=0;FHEAP[e]=0;FHEAP[b]=0;FHEAP[d]=FHEAP[a];FHEAP[d+1]=FHEAP[e];FHEAP[d+2]=FHEAP[b];FHEAP[d+3]=0;STACKTOP=a}function __ZN25btHeightfieldTerrainShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+40,e,4,4,0)} +function __ZNK25btHeightfieldTerrainShape15getLocalScalingEv(a){return a+40}function __ZNK25btHeightfieldTerrainShape7getNameEv(){return __str161} +function __ZN15btCylinderShapeC2ERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=24;var b,c,f=d+1,g=d+2,h=d+3,i=d+4,j=d+5;b=d+6;var k=d+7,l=d+8,m=d+9;c=d+13;var n=d+14,o=d+15,q=d+16,p=d+20;IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;var r=a+12;FHEAP[b]=1;FHEAP[k]=1;FHEAP[l]=1;FHEAP[r]=FHEAP[b];FHEAP[r+1]=FHEAP[k];FHEAP[r+2]=FHEAP[l];FHEAP[r+3]=0;FHEAP[a+20]=0.03999999910593033;IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a+ +52]=1;b=IHEAP[IHEAP[a]+11];var s;try{__THREW__=!1,s=FUNCTION_TABLE[b](a)}catch(u){if(ABORT)throw u;__THREW__=!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack);s=null}for(b=__THREW__?1:0;;)if(b==0){FHEAP[c]=s;b=a;var k=IHEAP[IHEAP[b]+11],v;try{__THREW__=!1,v=FUNCTION_TABLE[k](b)}catch(y){if(ABORT)throw y;__THREW__=!0;print("Exception: "+y+" : "+y.stack+", currently at: "+Error().stack);v=null}if(__THREW__)b=1;else{FHEAP[n]=v;b=a;var k=IHEAP[IHEAP[b]+11],x;try{__THREW__=!1,x= +FUNCTION_TABLE[k](b)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack);x=null}if(__THREW__)b=1;else break}}else if(b==1)throw d=f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),f=a,IHEAP[f]=__ZTV21btConvexInternalShape+2,IHEAP[f]=__ZTV13btConvexShape+2,IHEAP[f]=__ZTV16btCollisionShape+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 192365";FHEAP[o]=x;FHEAP[m]=FHEAP[c];FHEAP[m+1]=FHEAP[n];FHEAP[m+ +2]=FHEAP[o];FHEAP[m+3]=0;c=a+12;FHEAP[d]=FHEAP[e]*FHEAP[c];FHEAP[f]=FHEAP[e+1]*FHEAP[c+1];FHEAP[g]=FHEAP[e+2]*FHEAP[c+2];FHEAP[q]=FHEAP[d];FHEAP[q+1]=FHEAP[f];FHEAP[q+2]=FHEAP[g];FHEAP[q+3]=0;FHEAP[h]=FHEAP[q]-FHEAP[m];FHEAP[i]=FHEAP[q+1]-FHEAP[m+1];FHEAP[j]=FHEAP[q+2]-FHEAP[m+2];FHEAP[p]=FHEAP[h];FHEAP[p+1]=FHEAP[i];FHEAP[p+2]=FHEAP[j];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,p,4,4,0);IHEAP[a+1]=13;STACKTOP=d} +function __ZN16btCylinderShapeXC2ERK9btVector3(a,e){__ZN15btCylinderShapeC2ERK9btVector3(a,e);IHEAP[a]=__ZTV16btCylinderShapeX+2;IHEAP[a+52]=0}function __ZN16btCylinderShapeZC2ERK9btVector3(a,e){__ZN15btCylinderShapeC2ERK9btVector3(a,e);IHEAP[a]=__ZTV16btCylinderShapeZ+2;IHEAP[a+52]=2}function __ZNK15btCylinderShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=a+16,a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);__Z15btTransformAabbRK9btVector3fRK11btTransformRS_S5_(c,a,e,d,b)} +function __ZNK15btCylinderShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=6;var c,f,g,h=b+4,i=b+5;__ZNK15btCylinderShape24getHalfExtentsWithMarginEv(b,a);c=IHEAP[a+52];c=c==0?2:c==2?3:4;c==4?(f=0,g=1):c==2?(f=1,g=0):c==3&&(f=0,g=2);f=FHEAP[b+f]*FHEAP[b+f];FHEAP[h]=e/12*4*FHEAP[b+g]*FHEAP[b+g]+e/4*f;FHEAP[i]=e/2*f;a=IHEAP[a+52];c=a==0?5:a==2?6:7;c==7?(FHEAP[d]=FHEAP[h],FHEAP[d+1]=FHEAP[i],FHEAP[d+2]=FHEAP[h],FHEAP[d+3]=0):c==5?(FHEAP[d]=FHEAP[i],FHEAP[d+1]=FHEAP[h],FHEAP[d+ +2]=FHEAP[h],FHEAP[d+3]=0):c==6&&(FHEAP[d]=FHEAP[h],FHEAP[d+1]=FHEAP[h],FHEAP[d+2]=FHEAP[i],FHEAP[d+3]=0);STACKTOP=b}function __ZNK16btCylinderShapeX37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){__Z21CylinderLocalSupportXRK9btVector3S1_(a,e+16,d)} +function __Z21CylinderLocalSupportXRK9btVector3S1_(a,e,d){var b,c=null,f,g,h;f=FHEAP[e+1];e=FHEAP[e];h=_sqrtf(FHEAP[d+1]*FHEAP[d+1]+FHEAP[d+2]*FHEAP[d+2]);var i=h!=0;a:do if(i){g=f/h;c=d;b=FHEAP[c+1]*g;c=a;FHEAP[c+1]=b;var c=d,j=e;FHEAP[c]<0?(c=0,b=1):(c=0,b=2);for(;;)if(b==1){var k=0-j,c=1;b=2}else if(b==2){k=c==1?k:j;f=a;FHEAP[f]=k;d=FHEAP[d+2]*g;FHEAP[a+2]=d;break a}}else{g=a;FHEAP[g+1]=f;c=d;g=e;FHEAP[c]<0?(c=4,b=5):(c=4,b=6);for(;;)if(b==5){var l=0-g,c=5;b=6}else if(b==6){f=c==5?l:g;d=a;FHEAP[d]= +f;FHEAP[a+2]=0;break a}}while(0)}function __ZNK16btCylinderShapeZ37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){__Z21CylinderLocalSupportZRK9btVector3S1_(a,e+16,d)} +function __Z21CylinderLocalSupportZRK9btVector3S1_(a,e,d){var b,c=null,f,g,h;f=FHEAP[e];e=FHEAP[e+2];h=_sqrtf(FHEAP[d]*FHEAP[d]+FHEAP[d+1]*FHEAP[d+1]);var i=h!=0;a:do if(i){g=f/h;c=d;b=FHEAP[c]*g;c=a;FHEAP[c]=b;var c=d,j=e;FHEAP[c+2]<0?(c=0,b=1):(c=0,b=2);for(;;)if(b==1){var k=0-j,c=1;b=2}else if(b==2){k=c==1?k:j;f=a;FHEAP[f+2]=k;d=FHEAP[d+1]*g;FHEAP[a+1]=d;break a}}else{g=a;FHEAP[g]=f;c=d;g=e;FHEAP[c+2]<0?(c=4,b=5):(c=4,b=6);for(;;)if(b==5){var l=0-g,c=5;b=6}else if(b==6){f=c==5?l:g;d=a;FHEAP[d+ +2]=f;FHEAP[a+1]=0;break a}}while(0)}function __ZNK15btCylinderShape37localGetSupportingVertexWithoutMarginERK9btVector3(a,e,d){__Z21CylinderLocalSupportYRK9btVector3S1_(a,e+16,d)} +function __Z21CylinderLocalSupportYRK9btVector3S1_(a,e,d){var b,c=null,f,g,h;f=FHEAP[e];e=FHEAP[e+1];h=_sqrtf(FHEAP[d]*FHEAP[d]+FHEAP[d+2]*FHEAP[d+2]);var i=h!=0;a:do if(i){g=f/h;c=d;b=FHEAP[c]*g;c=a;FHEAP[c]=b;var c=d,j=e;FHEAP[c+1]<0?(c=0,b=1):(c=0,b=2);for(;;)if(b==1){var k=0-j,c=1;b=2}else if(b==2){k=c==1?k:j;f=a;FHEAP[f+1]=k;d=FHEAP[d+2]*g;FHEAP[a+2]=d;break a}}else{g=a;FHEAP[g]=f;c=d;g=e;FHEAP[c+1]<0?(c=4,b=5):(c=4,b=6);for(;;)if(b==5){var l=0-g,c=5;b=6}else if(b==6){f=c==5?l:g;d=a;FHEAP[d+ +1]=f;FHEAP[a+2]=0;break a}}while(0)}function __ZNK15btCylinderShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=4;var f,g;g=0;f=g<b?0:1;a:for(;;)if(f==0)for(var h=c;;){var i=d+4*g;f=a;__Z21CylinderLocalSupportYRK9btVector3S1_(c,f+16,e+4*g);_llvm_memcpy_p0i8_p0i8_i32(i,h,4,4,0);g+=1;if(g<b)f=2;else{f=1;continue a}}else if(f==1){STACKTOP=c;break}} +function __ZNK16btCylinderShapeZ49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=4;var f,g;g=0;f=g<b?0:1;a:for(;;)if(f==0)for(var h=a,i=c;;){var j=d+4*g;f=h;__Z21CylinderLocalSupportZRK9btVector3S1_(c,f+16,e+4*g);_llvm_memcpy_p0i8_p0i8_i32(j,i,4,4,0);g+=1;if(g<b)f=2;else{f=1;continue a}}else if(f==1){STACKTOP=c;break}} +function __ZNK16btCylinderShapeX49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i(a,e,d,b){var c=STACKTOP;STACKTOP+=4;var f,g;g=0;f=g<b?0:1;a:for(;;)if(f==0)for(var h=a,i=c;;){var j=d+4*g;f=h;__Z21CylinderLocalSupportXRK9btVector3S1_(c,f+16,e+4*g);_llvm_memcpy_p0i8_p0i8_i32(j,i,4,4,0);g+=1;if(g<b)f=2;else{f=1;continue a}}else if(f==1){STACKTOP=c;break}} +function __ZN15btCylinderShapeD1Ev(a){IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2}function __ZN15btCylinderShapeD0Ev(a){var e;IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN15btCylinderShape15setLocalScalingERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=42;var b,c=d+1,f=d+2,g;b=d+3;var h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+13,o=d+14,q=d+15,p=d+16,r=d+17,s=d+18,u=d+19;g=d+23;var v=d+24,y=d+25,x=d+26,z=d+30,B=d+34,C=d+38,A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[g]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[v]=A;A=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[y]=A;FHEAP[u]=FHEAP[g];FHEAP[u+1]=FHEAP[v];FHEAP[u+2]=FHEAP[y];FHEAP[u+3]=0;g=a+16;FHEAP[b]= +FHEAP[g]+FHEAP[u];FHEAP[h]=FHEAP[g+1]+FHEAP[u+1];FHEAP[i]=FHEAP[g+2]+FHEAP[u+2];FHEAP[x]=FHEAP[b];FHEAP[x+1]=FHEAP[h];FHEAP[x+2]=FHEAP[i];FHEAP[x+3]=0;b=a+12;FHEAP[d]=FHEAP[x]/FHEAP[b];FHEAP[c]=FHEAP[x+1]/FHEAP[b+1];FHEAP[f]=FHEAP[x+2]/FHEAP[b+2];FHEAP[z]=FHEAP[d];FHEAP[z+1]=FHEAP[c];FHEAP[z+2]=FHEAP[f];FHEAP[z+3]=0;c=a+12;f=_fabsf(FHEAP[e]);FHEAP[j]=f;f=_fabsf(FHEAP[e+1]);FHEAP[k]=f;f=_fabsf(FHEAP[e+2]);FHEAP[l]=f;FHEAP[m]=FHEAP[j];FHEAP[m+1]=FHEAP[k];FHEAP[m+2]=FHEAP[l];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(c, +m,4,4,0);j=a+12;FHEAP[n]=FHEAP[z]*FHEAP[j];FHEAP[o]=FHEAP[z+1]*FHEAP[j+1];FHEAP[q]=FHEAP[z+2]*FHEAP[j+2];FHEAP[B]=FHEAP[n];FHEAP[B+1]=FHEAP[o];FHEAP[B+2]=FHEAP[q];FHEAP[B+3]=0;FHEAP[p]=FHEAP[B]-FHEAP[u];FHEAP[r]=FHEAP[B+1]-FHEAP[u+1];FHEAP[s]=FHEAP[B+2]-FHEAP[u+2];FHEAP[C]=FHEAP[p];FHEAP[C+1]=FHEAP[r];FHEAP[C+2]=FHEAP[s];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,C,4,4,0);STACKTOP=d}function __ZNK15btCylinderShape7getNameEv(){return __str4169} +function __ZN15btCylinderShape9setMarginEf(a,e){var d=STACKTOP;STACKTOP+=28;var b,c=d+1,f=d+2,g=d+3,h=d+4,i=d+5,j=d+6;b=d+10;var k=d+11,l=d+12,m=d+13,n=d+17,o=d+21,q=d+22,p=d+23,r=d+24,s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[b]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[k]=s;s=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[l]=s;FHEAP[j]=FHEAP[b];FHEAP[j+1]=FHEAP[k];FHEAP[j+2]=FHEAP[l];FHEAP[j+3]=0;b=a+16;FHEAP[d]=FHEAP[b]+FHEAP[j];FHEAP[c]=FHEAP[b+1]+FHEAP[j+1];FHEAP[f]=FHEAP[b+2]+FHEAP[j+ +2];FHEAP[m]=FHEAP[d];FHEAP[m+1]=FHEAP[c];FHEAP[m+2]=FHEAP[f];FHEAP[m+3]=0;FHEAP[a+20]=e;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[o]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[q]=c;c=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[p]=c;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;FHEAP[g]=FHEAP[m]-FHEAP[n];FHEAP[h]=FHEAP[m+1]-FHEAP[n+1];FHEAP[i]=FHEAP[m+2]-FHEAP[n+2];FHEAP[r]=FHEAP[g];FHEAP[r+1]=FHEAP[h];FHEAP[r+2]=FHEAP[i];FHEAP[r+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+ +16,r,4,4,0);STACKTOP=d}function __ZNK15btCylinderShape28calculateSerializeBufferSizeEv(){return 60}function __ZNK15btCylinderShape9serializeEPvP12btSerializer(a,e,d){var b;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);var c=e+10,d=a+16;b=0;a:for(;;){FHEAP[c+b]=FHEAP[d+b];var f=b+1;b=f;if(!(f<4))break a}c=e+6;d=a+12;for(b=0;;)if(FHEAP[c+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+14]=FHEAP[a+20];IHEAP[e+16]=IHEAP[a+52];return __str2167} +function __ZNK15btCylinderShape24localGetSupportingVertexERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=21;var c,f,g,h,i=b+1,j=b+2,k=b+3,l=b+4;c=b+5;var m=b+9,n=b+13,o=b+14,q=b+15,p=b+16,r=b+20;FUNCTION_TABLE[IHEAP[IHEAP[e]+16]](c,e,d);_llvm_memcpy_p0i8_p0i8_i32(a,c,4,4,0);c=FUNCTION_TABLE[IHEAP[IHEAP[e]+11]](e)!=0?0:1;a:for(;;)if(c==0){_llvm_memcpy_p0i8_p0i8_i32(m,d,4,4,0);c=g=c=m;for(c=FHEAP[c]*FHEAP[g]+FHEAP[c+1]*FHEAP[g+1]+FHEAP[c+2]*FHEAP[g+2]<1.4210854715202004E-14?2:3;;)if(c==2)FHEAP[n]=-1, +FHEAP[o]=-1,FHEAP[q]=-1,f=m,c=n,g=o,h=q,FHEAP[f]=FHEAP[c],FHEAP[f+1]=FHEAP[g],FHEAP[f+2]=FHEAP[h],FHEAP[f+3]=0,c=3;else if(c==3){g=h=g=c=m;g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];g=_sqrtf(g);FHEAP[i]=g;g=c;c=i;FHEAP[b]=1/FHEAP[c];c=b;FHEAP[g]*=FHEAP[c];FHEAP[g+1]*=FHEAP[c];FHEAP[g+2]*=FHEAP[c];c=e;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+11]](c);FHEAP[r]=c;g=r;c=m;FHEAP[j]=FHEAP[c]*FHEAP[g];FHEAP[k]=FHEAP[c+1]*FHEAP[g];FHEAP[l]=FHEAP[c+2]*FHEAP[g];c=p;g=j;h=k;f=l;FHEAP[c]=FHEAP[g]; +FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[f];FHEAP[c+3]=0;g=a;c=p;FHEAP[g]+=FHEAP[c];FHEAP[g+1]+=FHEAP[c+1];FHEAP[g+2]+=FHEAP[c+2];c=1;continue a}}else if(c==1){STACKTOP=b;break}}function __ZNK15btCylinderShape9getRadiusEv(a){var e=STACKTOP;STACKTOP+=4;__ZNK15btCylinderShape24getHalfExtentsWithMarginEv(e,a);a=FHEAP[e];STACKTOP=e;return a} +function __ZN16btCylinderShapeXD1Ev(a){IHEAP[a]=__ZTV16btCylinderShapeX+2;IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN16btCylinderShapeXD0Ev(a){var e;IHEAP[a]=__ZTV16btCylinderShapeX+2;IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZNK16btCylinderShapeX7getNameEv(){return __str1166} +function __ZNK16btCylinderShapeX9getRadiusEv(a){var e=STACKTOP;STACKTOP+=4;__ZNK15btCylinderShape24getHalfExtentsWithMarginEv(e,a);a=FHEAP[e+1];STACKTOP=e;return a}function __ZN16btCylinderShapeZD1Ev(a){IHEAP[a]=__ZTV16btCylinderShapeZ+2;IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN16btCylinderShapeZD0Ev(a){var e;IHEAP[a]=__ZTV16btCylinderShapeZ+2;IHEAP[a]=__ZTV15btCylinderShape+2;IHEAP[a]=__ZTV21btConvexInternalShape+2;IHEAP[a]=__ZTV13btConvexShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break}function __ZNK16btCylinderShapeZ7getNameEv(){return __str165} +function __ZNK16btCylinderShapeZ9getRadiusEv(a){var e=STACKTOP;STACKTOP+=4;__ZNK15btCylinderShape24getHalfExtentsWithMarginEv(e,a);a=FHEAP[e];STACKTOP=e;return a}function __ZN28btScaledBvhTriangleMeshShapeC2EP22btBvhTriangleMeshShapeRK9btVector3(a,e,d){IHEAP[a]=__ZTV16btCollisionShape+2;IHEAP[a+1]=35;IHEAP[a+2]=0;IHEAP[a]=__ZTV14btConcaveShape+2;FHEAP[a+12]=0;IHEAP[a]=__ZTV28btScaledBvhTriangleMeshShape+2;_llvm_memcpy_p0i8_p0i8_i32(a+16,d,4,4,0);IHEAP[a+20]=e;IHEAP[a+1]=22} +function __ZN28btScaledBvhTriangleMeshShapeD0Ev(a){IHEAP[a]=__ZTV28btScaledBvhTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)}function __ZN28btScaledBvhTriangleMeshShapeD2Ev(a){IHEAP[a]=__ZTV28btScaledBvhTriangleMeshShape+2;IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZNK28btScaledBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=24;var f,g=null,h=c+9,g=c+13,i=c+14,j=c+15;f=c+16;var k=c+20;IHEAP[c]=__ZTV18btTriangleCallback+2;IHEAP[c]=__ZTV24btScaledTriangleCallback+2;IHEAP[c+4]=e;_llvm_memcpy_p0i8_p0i8_i32(c+5,a+16,4,4,0);FHEAP[g]=1/FHEAP[a+16];FHEAP[i]=1/FHEAP[a+16+1];FHEAP[j]=1/FHEAP[a+16+2];FHEAP[h]=FHEAP[g];FHEAP[h+1]=FHEAP[i];FHEAP[h+2]=FHEAP[j];FHEAP[h+3]=0;if(FHEAP[a+16]>=0)var l= +FHEAP[d]*FHEAP[h],g=0;else var m=FHEAP[b]*FHEAP[h],g=2;FHEAP[f]=g==0?l:m;if(FHEAP[a+16+1]>=0)var n=FHEAP[d+1]*FHEAP[h+1],g=3;else var o=FHEAP[b+1]*FHEAP[h+1],g=5;FHEAP[f+1]=g==3?n:o;if(FHEAP[a+16+2]>=0)var q=FHEAP[d+2]*FHEAP[h+2],g=6;else var p=FHEAP[b+2]*FHEAP[h+2],g=8;FHEAP[f+2]=g==6?q:p;FHEAP[f+3]=0;if(FHEAP[a+16]<=0)var r=FHEAP[d]*FHEAP[h],g=9;else var s=FHEAP[b]*FHEAP[h],g=11;FHEAP[k]=g==9?r:s;if(FHEAP[a+16+1]<=0)var u=FHEAP[d+1]*FHEAP[h+1],g=12;else var v=FHEAP[b+1]*FHEAP[h+1],g=14;FHEAP[k+ +1]=g==12?u:v;if(FHEAP[a+16+2]<=0)var y=FHEAP[d+2]*FHEAP[h+2],g=15;else var x=FHEAP[b+2]*FHEAP[h+2],g=17;FHEAP[k+2]=g==15?y:x;FHEAP[k+3]=0;a=IHEAP[a+20];e=IHEAP[IHEAP[a]+15];try{__THREW__=!1,FUNCTION_TABLE[e](a,c,f,k)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack)}f=__THREW__?19:18;if(f==18)IHEAP[c]=__ZTV24btScaledTriangleCallback+2,IHEAP[c]=__ZTV18btTriangleCallback+2,STACKTOP=c;else if(f==19)throw f=_llvm_eh_exception(),_llvm_eh_selector(f, +___gxx_personality_v0,0),IHEAP[c]=__ZTV24btScaledTriangleCallback+2,IHEAP[c]=__ZTV18btTriangleCallback+2,__Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 195956";}function __ZN24btScaledTriangleCallbackD1Ev(a){IHEAP[a]=__ZTV24btScaledTriangleCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZNK28btScaledBvhTriangleMeshShape7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=94;var f=null,g=c+1,h=c+2,i=c+3,j=c+4,k=c+5,l,f=c+6,m=c+7,n=c+8,o=c+9,q=c+10,p=c+11,r=c+12,s=c+13,u=c+14,v=c+15,y=c+16,x=c+17,z,B=c+18,C=c+19,A=c+20,w=c+21,D=c+22,E=c+23,F=c+24,G=c+28,J=c+32,H=c+36,M=c+40,K=c+44,N=c+45,R=c+49,O=c+50,Q=c+54,I=c+58,L=c+59;z=c+63;var P=c+75,S=c+79,T=c+83,U=c+84,W=c+85,Z=c+86,ca=c+90;_llvm_memcpy_p0i8_p0i8_i32(F,IHEAP[a+20]+16,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(G, +IHEAP[a+20]+20,4,4,0);l=a+16;FHEAP[v]=FHEAP[F]*FHEAP[l];FHEAP[y]=FHEAP[F+1]*FHEAP[l+1];FHEAP[x]=FHEAP[F+2]*FHEAP[l+2];FHEAP[J]=FHEAP[v];FHEAP[J+1]=FHEAP[y];FHEAP[J+2]=FHEAP[x];FHEAP[J+3]=0;l=a+16;FHEAP[f]=FHEAP[G]*FHEAP[l];FHEAP[m]=FHEAP[G+1]*FHEAP[l+1];FHEAP[n]=FHEAP[G+2]*FHEAP[l+2];FHEAP[H]=FHEAP[f];FHEAP[H+1]=FHEAP[m];FHEAP[H+2]=FHEAP[n];FHEAP[H+3]=0;if(FHEAP[a+16]>=0)var Y=FHEAP[J],f=0;else var ea=FHEAP[H],f=2;FHEAP[F]=f==0?Y:ea;if(FHEAP[a+16+1]>=0)var ha=FHEAP[J+1],f=3;else var ba=FHEAP[H+1], +f=5;FHEAP[F+1]=f==3?ha:ba;if(FHEAP[a+16+2]>=0)var V=FHEAP[J+2],f=6;else var aa=FHEAP[H+2],f=8;FHEAP[F+2]=f==6?V:aa;if(FHEAP[a+16]<=0)var X=FHEAP[J],f=9;else var ka=FHEAP[H],f=11;FHEAP[G]=f==9?X:ka;if(FHEAP[a+16+1]<=0)var da=FHEAP[J+1],f=12;else var fa=FHEAP[H+1],f=14;FHEAP[G+1]=f==12?da:fa;if(FHEAP[a+16+2]<=0)var ga=FHEAP[J+2],f=15;else var ja=FHEAP[H+2],f=17;FHEAP[G+2]=f==15?ga:ja;FHEAP[K]=0.5;FHEAP[c]=FHEAP[G]-FHEAP[F];FHEAP[g]=FHEAP[G+1]-FHEAP[F+1];FHEAP[h]=FHEAP[G+2]-FHEAP[F+2];FHEAP[N]=FHEAP[c]; +FHEAP[N+1]=FHEAP[g];FHEAP[N+2]=FHEAP[h];FHEAP[N+3]=0;FHEAP[i]=FHEAP[N]*FHEAP[K];FHEAP[j]=FHEAP[N+1]*FHEAP[K];FHEAP[k]=FHEAP[N+2]*FHEAP[K];FHEAP[M]=FHEAP[i];FHEAP[M+1]=FHEAP[j];FHEAP[M+2]=FHEAP[k];FHEAP[M+3]=0;a=IHEAP[a+20];a=FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);FHEAP[R]=a;FHEAP[O]=FHEAP[R];FHEAP[O+1]=FHEAP[R];FHEAP[O+2]=FHEAP[R];FHEAP[O+3]=0;FHEAP[M]+=FHEAP[O];FHEAP[M+1]+=FHEAP[O+1];FHEAP[M+2]+=FHEAP[O+2];FHEAP[I]=0.5;FHEAP[o]=FHEAP[G]+FHEAP[F];FHEAP[q]=FHEAP[G+1]+FHEAP[F+1];FHEAP[p]=FHEAP[G+2]+ +FHEAP[F+2];FHEAP[L]=FHEAP[o];FHEAP[L+1]=FHEAP[q];FHEAP[L+2]=FHEAP[p];FHEAP[L+3]=0;FHEAP[r]=FHEAP[L]*FHEAP[I];FHEAP[s]=FHEAP[L+1]*FHEAP[I];FHEAP[u]=FHEAP[L+2]*FHEAP[I];FHEAP[Q]=FHEAP[r];FHEAP[Q+1]=FHEAP[s];FHEAP[Q+2]=FHEAP[u];FHEAP[Q+3]=0;__ZNK11btMatrix3x38absoluteEv(z,e);__ZNK11btTransformclERK9btVector3(P,e,Q);e=z+0;FHEAP[T]=FHEAP[e]*FHEAP[M]+FHEAP[e+1]*FHEAP[M+1]+FHEAP[e+2]*FHEAP[M+2];e=z+4;FHEAP[U]=FHEAP[e]*FHEAP[M]+FHEAP[e+1]*FHEAP[M+1]+FHEAP[e+2]*FHEAP[M+2];z+=8;FHEAP[W]=FHEAP[z]*FHEAP[M]+FHEAP[z+ +1]*FHEAP[M+1]+FHEAP[z+2]*FHEAP[M+2];FHEAP[S]=FHEAP[T];FHEAP[S+1]=FHEAP[U];FHEAP[S+2]=FHEAP[W];FHEAP[S+3]=0;FHEAP[B]=FHEAP[P]-FHEAP[S];FHEAP[C]=FHEAP[P+1]-FHEAP[S+1];FHEAP[A]=FHEAP[P+2]-FHEAP[S+2];FHEAP[Z]=FHEAP[B];FHEAP[Z+1]=FHEAP[C];FHEAP[Z+2]=FHEAP[A];FHEAP[Z+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,Z,4,4,0);FHEAP[w]=FHEAP[P]+FHEAP[S];FHEAP[D]=FHEAP[P+1]+FHEAP[S+1];FHEAP[E]=FHEAP[P+2]+FHEAP[S+2];FHEAP[ca]=FHEAP[w];FHEAP[ca+1]=FHEAP[D];FHEAP[ca+2]=FHEAP[E];FHEAP[ca+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,ca, +4,4,0);STACKTOP=c}function __ZN28btScaledBvhTriangleMeshShape15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+16,e,4,4,0)}function __ZNK28btScaledBvhTriangleMeshShape15getLocalScalingEv(a){return a+16}function __ZNK28btScaledBvhTriangleMeshShape21calculateLocalInertiaEfR9btVector3(){}function __ZNK28btScaledBvhTriangleMeshShape7getNameEv(){return __str1171}function __ZNK28btScaledBvhTriangleMeshShape28calculateSerializeBufferSizeEv(){return 76} +function __ZNK28btScaledBvhTriangleMeshShape9serializeEPvP12btSerializer(a,e,d){var b=IHEAP[a+20];FUNCTION_TABLE[IHEAP[IHEAP[b]+13]](b,e,d);IHEAP[e+1]=22;e+=24;a+=16;for(d=0;;)if(FHEAP[e+d]=FHEAP[a+d],d=b=d+1,!(b<4))break;return __str170}function __ZN24btScaledTriangleCallbackD0Ev(a){IHEAP[a]=__ZTV24btScaledTriangleCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN24btScaledTriangleCallback15processTriangleEP9btVector3ii(a,e,d,b){var c=STACKTOP;STACKTOP+=33;var f,g=c+1,h=c+2,i=c+3,j=c+4,k=c+5,l=c+6,m=c+7,n=c+8,o=c+9,q=c+21,p=c+25,r=c+29;f=a+5;FHEAP[l]=FHEAP[e]*FHEAP[f];FHEAP[m]=FHEAP[e+1]*FHEAP[f+1];FHEAP[n]=FHEAP[e+2]*FHEAP[f+2];FHEAP[q]=FHEAP[l];FHEAP[q+1]=FHEAP[m];FHEAP[q+2]=FHEAP[n];FHEAP[q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o,q,4,4,0);l=a+5;f=e+4;FHEAP[c]=FHEAP[f]*FHEAP[l];FHEAP[g]=FHEAP[f+1]*FHEAP[l+1];FHEAP[h]=FHEAP[f+2]*FHEAP[l+2];FHEAP[p]= +FHEAP[c];FHEAP[p+1]=FHEAP[g];FHEAP[p+2]=FHEAP[h];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o+4,p,4,4,0);g=a+5;e+=8;FHEAP[i]=FHEAP[e]*FHEAP[g];FHEAP[j]=FHEAP[e+1]*FHEAP[g+1];FHEAP[k]=FHEAP[e+2]*FHEAP[g+2];FHEAP[r]=FHEAP[i];FHEAP[r+1]=FHEAP[j];FHEAP[r+2]=FHEAP[k];FHEAP[r+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o+8,r,4,4,0);a=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,o,d,b);STACKTOP=c}function __ZN23btStridingMeshInterfaceD0Ev(a){IHEAP[a]=__ZTV23btStridingMeshInterface+2;__ZdlPv(a)} +function __ZN23btStridingMeshInterfaceD2Ev(a){IHEAP[a]=__ZTV23btStridingMeshInterface+2} +function __ZNK23btStridingMeshInterface27InternalProcessAllTrianglesEP31btInternalTriangleIndexCallbackRK9btVector3S4_(a,e){var d=STACKTOP;STACKTOP+=78;var b,c,f,g,h,i,j,k=d+1,l=d+2,m=d+3,n=d+4,o=d+5,q=d+6,p=d+7,r,s=d+8,u=d+20,v=d+24,y=d+25,x=d+26,z=d+27,B=d+28,C=d+29,A=d+30,w=d+31,D=d+32,E=d+33,F=d+34,G=d+35,J=d+36,H=d+37,M=d+38,K=d+39,N=d+40,R=d+41,O=d+42,Q=d+43,I=d+44,L=d+45,P=d+46,S=d+47,T=d+48,U=d+49,W=d+50,Z=d+51,ca=d+52,Y=d+53,ea=d+54,ha=d+55,ba=d+56,V=d+57,aa=d+58,X=d+59,ka=d+60,da=d+61,fa= +d+62,ga=d+63,ja=d+64,la=d+65,qa=d+66,pa=d+67,wa=d+68,ua=d+69,na=d+70,ya=d+71,xa=d+72,ia=d+73,ma=d+74,ta=d+75,ra=d+76,oa=d+77;j=FUNCTION_TABLE[IHEAP[IHEAP[a]+7]](a);_llvm_memcpy_p0i8_p0i8_i32(u,a+1,4,4,0);i=0;b=i<j?0:1;a:for(;;)if(b==0){var Da=a,Ba=a,Oa=s,Fa=s+4,Ha=s+8,La=s,Ea=s,Ca=s+4,Aa=s+8,za=s,Ja=s,Ra=s+4,Ua=s+8,Xa=s,Wa=s,Sa=s+4,Ga=s+8,Ia=s,Pa=s,Ta=s+4,Va=s+8,fb=s,ib=s,Na=s+4,Za=s+8,gb=s;b:for(;;){FUNCTION_TABLE[IHEAP[IHEAP[Da]+4]](a,d,q,m,o,k,l,p,n,i);r=IHEAP[m];b=r==0?10:r==1?11:4;c:for(;;)if(b== +4)if(FUNCTION_TABLE[IHEAP[IHEAP[Ba]+6]](a,i),i+=1,i<j){b=2;continue b}else{b=1;continue a}else if(b==10){r=IHEAP[n];if(r==2)b=12;else if(r==3)b=13;else if(r==5)b=14;else{b=4;continue c}if(b==12){r=0;if(!(r<IHEAP[p])){b=4;continue c}for(;;)if(h=IHEAP[k]+IHEAP[l]*r,b=IHEAP[d]+IHEAP[o]*IHEAP[h],g=FHEAP[b],f=u,FHEAP[v]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[y]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[x]=f*FHEAP[b+2],c=Oa,b=v,f=y,g=x,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+ +IHEAP[o]*IHEAP[h+1],g=FHEAP[b],f=u,FHEAP[z]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[B]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[C]=f*FHEAP[b+2],c=Fa,b=z,f=B,g=C,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[o]*IHEAP[h+2],f=FHEAP[b],h=u,FHEAP[A]=f*FHEAP[h],f=FHEAP[b+1],h=u,FHEAP[w]=f*FHEAP[h+1],h=FHEAP[b+2],b=u,FHEAP[D]=h*FHEAP[b+2],g=Ha,b=A,h=w,f=D,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,b=e,FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,La,i,r), +r+=1,r<IHEAP[p])b=3;else{b=4;continue c}}else if(b==13){r=0;if(!(r<IHEAP[p])){b=4;continue c}for(;;)if(h=IHEAP[k]+IHEAP[l]*r,b=IHEAP[d]+IHEAP[h]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[E]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[F]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[G]=f*FHEAP[b+2],c=Ea,b=E,f=F,g=G,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+1]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[J]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[H]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[M]=f*FHEAP[b+2],c= +Ca,b=J,f=H,g=M,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+2]*IHEAP[o],f=FHEAP[b],h=u,FHEAP[K]=f*FHEAP[h],f=FHEAP[b+1],h=u,FHEAP[N]=f*FHEAP[h+1],h=FHEAP[b+2],b=u,FHEAP[R]=h*FHEAP[b+2],g=Aa,b=K,h=N,f=R,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,b=e,FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,za,i,r),r+=1,r<IHEAP[p])b=5;else{b=4;continue c}}else if(b==14){r=0;if(!(r<IHEAP[p])){b=4;continue c}for(;;)if(h=IHEAP[k]+IHEAP[l]*r,b=IHEAP[d]+ +IHEAP[h]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[O]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[Q]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[I]=f*FHEAP[b+2],c=Ja,b=O,f=Q,g=I,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+1]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[L]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[P]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[S]=f*FHEAP[b+2],c=Ra,b=L,f=P,g=S,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+2]*IHEAP[o],f=FHEAP[b],h=u,FHEAP[T]= +f*FHEAP[h],f=FHEAP[b+1],h=u,FHEAP[U]=f*FHEAP[h+1],h=FHEAP[b+2],b=u,FHEAP[W]=h*FHEAP[b+2],g=Ua,b=T,h=U,f=W,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,b=e,FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,Xa,i,r),r+=1,r<IHEAP[p])b=6;else{b=4;continue c}}}else if(b==11){r=IHEAP[n];if(r==2)b=15;else if(r==3)b=16;else if(r==5)b=17;else{b=4;continue c}if(b==15){r=0;if(!(r<IHEAP[p])){b=4;continue c}for(;;)if(h=IHEAP[k]+IHEAP[l]*r,b=IHEAP[d]+IHEAP[o]*IHEAP[h],g=FHEAP[b],f=u,FHEAP[Z]=g*FHEAP[f], +g=FHEAP[b+1],f=u,FHEAP[ca]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[Y]=f*FHEAP[b+2],c=Wa,b=Z,f=ca,g=Y,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[o]*IHEAP[h+1],g=FHEAP[b],f=u,FHEAP[ea]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[ha]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[ba]=f*FHEAP[b+2],c=Sa,b=ea,f=ha,g=ba,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[o]*IHEAP[h+2],f=FHEAP[b],h=u,FHEAP[V]=f*FHEAP[h],f=FHEAP[b+1],h=u,FHEAP[aa]=f* +FHEAP[h+1],h=FHEAP[b+2],b=u,FHEAP[X]=h*FHEAP[b+2],g=Ga,b=V,h=aa,f=X,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,b=e,FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,Ia,i,r),r+=1,r<IHEAP[p])b=7;else{b=4;continue c}}else if(b==16){r=0;if(!(r<IHEAP[p])){b=4;continue c}for(;;)if(h=IHEAP[k]+IHEAP[l]*r,b=IHEAP[d]+IHEAP[h]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[ka]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[da]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[fa]=f*FHEAP[b+2],c=Pa,b=ka,f=da,g=fa,FHEAP[c]=FHEAP[b],FHEAP[c+ +1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+1]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[ga]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[ja]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[la]=f*FHEAP[b+2],c=Ta,b=ga,f=ja,g=la,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+2]*IHEAP[o],f=FHEAP[b],h=u,FHEAP[qa]=f*FHEAP[h],f=FHEAP[b+1],h=u,FHEAP[pa]=f*FHEAP[h+1],h=FHEAP[b+2],b=u,FHEAP[wa]=h*FHEAP[b+2],g=Va,b=qa,h=pa,f=wa,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[f], +FHEAP[g+3]=0,b=e,FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,fb,i,r),r+=1,r<IHEAP[p])b=8;else{b=4;continue c}}else if(b==17){r=0;if(!(r<IHEAP[p])){b=4;continue c}for(;;)if(h=IHEAP[k]+IHEAP[l]*r,b=IHEAP[d]+IHEAP[h]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[ua]=g*FHEAP[f],g=FHEAP[b+1],f=u,FHEAP[na]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[ya]=f*FHEAP[b+2],c=ib,b=ua,f=na,g=ya,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+1]*IHEAP[o],g=FHEAP[b],f=u,FHEAP[xa]=g*FHEAP[f],g=FHEAP[b+1], +f=u,FHEAP[ia]=g*FHEAP[f+1],f=FHEAP[b+2],b=u,FHEAP[ma]=f*FHEAP[b+2],c=Na,b=xa,f=ia,g=ma,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,b=IHEAP[d]+IHEAP[h+2]*IHEAP[o],f=FHEAP[b],h=u,FHEAP[ta]=f*FHEAP[h],f=FHEAP[b+1],h=u,FHEAP[ra]=f*FHEAP[h+1],h=FHEAP[b+2],b=u,FHEAP[oa]=h*FHEAP[b+2],g=Za,b=ta,h=ra,f=oa,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,b=e,FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,gb,i,r),r+=1,r<IHEAP[p])b=9;else{b=4;continue c}}}}}else if(b==1){STACKTOP= +d;break}} +function __ZNK23btStridingMeshInterface9serializeEPvP12btSerializer(a,e,d){var b=STACKTOP;STACKTOP+=12;var c,f,g,h,i,j,k,l=b+1,m=b+2,n=b+3,o=b+4,q=b+5,p=b+6,r=b+7,s,u=b+8,v,y;i=FUNCTION_TABLE[IHEAP[IHEAP[a]+7]](a);IHEAP[e+5]=i;IHEAP[e]=0;c=IHEAP[e+5]!=0?0:1;a:for(;;)if(c==0){i=d;i=FUNCTION_TABLE[IHEAP[IHEAP[i]+4]](i,32,IHEAP[e+5]);j=IHEAP[i+2];k=d;k=FUNCTION_TABLE[IHEAP[IHEAP[k]+7]](k,j);IHEAP[e]=k;k=FUNCTION_TABLE[IHEAP[IHEAP[a]+7]](a);h=a;_llvm_memcpy_p0i8_p0i8_i32(u,h+1,4,4,0);h=0;c=h<k?2:3;b:for(;;)if(c== +2){var x=a,z=a;c:for(;;){FUNCTION_TABLE[IHEAP[IHEAP[x]+4]](a,b,p,n,q,l,m,r,o,h);IHEAP[j+6]=IHEAP[r];IHEAP[j+7]=IHEAP[p];IHEAP[j+5]=0;IHEAP[j+2]=0;IHEAP[j+3]=0;IHEAP[j]=0;IHEAP[j+1]=0;c=IHEAP[o];c=c==2?24:c==3?25:c==5?26:6;d:for(;;)if(c==6){c=IHEAP[n];c=c==0?27:c==1?28:16;break d}else if(c==24){c=IHEAP[r]*3;if(c==0){c=6;continue d}s=d;v=FUNCTION_TABLE[IHEAP[IHEAP[s]+4]](s,4,c);y=IHEAP[v+2];c=d;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+7]](c,y);IHEAP[j+2]=c;s=0;for(c=s<IHEAP[r]?7:8;;)if(c==7)c=IHEAP[l]+IHEAP[m]* +s,IHEAP[y+s*3]=IHEAP[c],IHEAP[y+(s*3+1)]=IHEAP[c+1],IHEAP[y+(s*3+2)]=IHEAP[c+2],s+=1,c=s<IHEAP[r]?7:8;else if(c==8){c=d;FUNCTION_TABLE[IHEAP[IHEAP[c]+5]](c,v,__str176,1497453121,IHEAP[v+2]);c=6;continue d}}else if(c==25){if(IHEAP[r]==0){c=6;continue d}c=d;v=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,8,IHEAP[r]);y=IHEAP[v+2];c=d;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+7]](c,y);IHEAP[j+3]=c;s=0;for(c=s<IHEAP[r]?10:11;;)if(c==10)c=IHEAP[l]+IHEAP[m]*s,IHEAP[y+5*s]=IHEAP[c],IHEAP[y+5*s+1]=IHEAP[c+1],IHEAP[y+5*s+2]=IHEAP[c+ +2],s+=1,c=s<IHEAP[r]?10:11;else if(c==11){c=d;FUNCTION_TABLE[IHEAP[IHEAP[c]+5]](c,v,__str1177,1497453121,IHEAP[v+2]);c=6;continue d}}else if(c==26){if(IHEAP[r]==0){c=6;continue d}c=d;v=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,4,IHEAP[r]);y=IHEAP[v+2];c=d;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+7]](c,y);IHEAP[j+4]=c;s=0;for(c=s<IHEAP[r]?13:14;;)if(c==13)c=IHEAP[l]+IHEAP[m]*s,IHEAP[y+4*s]=IHEAP[c],IHEAP[y+4*s+1]=IHEAP[c+1],IHEAP[y+4*s+2]=IHEAP[c+2],s+=1,c=s<IHEAP[r]?13:14;else if(c==14){c=d;FUNCTION_TABLE[IHEAP[IHEAP[c]+ +5]](c,v,__str2178,1497453121,IHEAP[v+2]);c=6;continue d}}d:for(;;)if(c==16)if(FUNCTION_TABLE[IHEAP[IHEAP[z]+6]](a,h),h+=1,j+=8,h<k){c=4;continue c}else{c=3;continue b}else if(c==27){if(IHEAP[p]==0){c=16;continue d}c=d;s=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,16,IHEAP[p]);v=IHEAP[s+2];c=d;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+7]](c,v);IHEAP[j]=c;y=0;for(c=y<IHEAP[p]?17:18;;)if(c==17)c=IHEAP[b]+IHEAP[q]*y,FHEAP[v+4*y]=FHEAP[c],FHEAP[v+4*y+1]=FHEAP[c+1],FHEAP[v+4*y+2]=FHEAP[c+2],y+=1,c=y<IHEAP[p]?17:18;else if(c== +18){c=d;FUNCTION_TABLE[IHEAP[IHEAP[c]+5]](c,s,__str3179,1497453121,IHEAP[s+2]);c=16;continue d}}else if(c==28){if(IHEAP[p]==0){c=16;continue d}c=d;s=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,32,IHEAP[p]);v=IHEAP[s+2];c=d;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+7]](c,v);IHEAP[j+1]=c;y=0;for(c=y<IHEAP[p]?20:21;;)if(c==20)c=IHEAP[b]+IHEAP[q]*y,FHEAP[v+4*y]=FHEAP[c],FHEAP[v+4*y+1]=FHEAP[c+1],FHEAP[v+4*y+2]=FHEAP[c+2],y+=1,c=y<IHEAP[p]?20:21;else if(c==21){c=d;FUNCTION_TABLE[IHEAP[IHEAP[c]+5]](c,s,__str4180,1497453121, +IHEAP[s+2]);c=16;continue d}}}}else if(c==3){j=d;FUNCTION_TABLE[IHEAP[IHEAP[j]+5]](j,i,__str5181,1497453121,IHEAP[i+2]);c=1;continue a}}else if(c==1){g=e+1;a=f=a+1;f=0;var B=a;break a}for(;;)if(FHEAP[g+f]=FHEAP[B+f],f=a=f+1,!(a<4))break;STACKTOP=b;return __str6182}function __ZNK23btStridingMeshInterface14hasPremadeAabbEv(){return 0}function __ZNK23btStridingMeshInterface14setPremadeAabbERK9btVector3S2_(){}function __ZNK23btStridingMeshInterface14getPremadeAabbEP9btVector3S1_(){} +function __ZN34btTriangleIndexVertexMaterialArrayC2EiPiiiPfiiPhiS0_i(a,e,d,b,c,f,g,h,i,j,k,l){var m=STACKTOP;STACKTOP+=8;__ZN26btTriangleIndexVertexArrayC2EiPiiiPfi(a,e,d,b,c,f,g);IHEAP[a]=__ZTV34btTriangleIndexVertexMaterialArray+2;d=a+84;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;IHEAP[m]=h;IHEAP[m+1]=i;IHEAP[m+2]=j;IHEAP[m+3]=0;IHEAP[m+4]=e;IHEAP[m+5]=k;IHEAP[m+6]=l;IHEAP[m+7]=2;__ZN34btTriangleIndexVertexMaterialArray21addMaterialPropertiesERK20btMaterialProperties14PHY_ScalarType(a, +m,2);STACKTOP=m} +function __ZN34btTriangleIndexVertexMaterialArray21addMaterialPropertiesERK20btMaterialProperties14PHY_ScalarType(a,e,d){var b,c=null,f,g=a+84;b=IHEAP[g+1]==IHEAP[g+2]?0:1;a:for(;;)if(b==0){b=g;f=IHEAP[b+1];f!=0?(c=0,b=2):(c=0,b=3);for(;;)if(b==2){var h=f*2,c=2;b=3}else if(b==3){__ZN20btAlignedObjectArrayI20btMaterialPropertiesE7reserveEi(g,c==2?h:1);b=1;continue a}}else if(b==1){var i=IHEAP[g+3]+8*IHEAP[g+1];b=i==0?4:5;break a}for(;;)if(b==4){IHEAP[g+1]+=1;e=d;d=a+84;a+=84;g=IHEAP[a+1]-1;a=d;d=g; +IHEAP[IHEAP[a+3]+8*d+7]=e;break}else b==5&&(h=i,_llvm_memset_p0i8_i32(h,0,8,4,0),_llvm_memcpy_p0i8_p0i8_i32(h,e,8,4,0),b=4)}function __ZN34btTriangleIndexVertexMaterialArray21getLockedMaterialBaseEPPhRiR14PHY_ScalarTypeS2_S1_S2_S2_S4_i(a,e,d,b,c,f,g,h,i,j){a=IHEAP[a+84+3]+8*j;IHEAP[d]=IHEAP[a];IHEAP[e]=IHEAP[a+1];IHEAP[b]=0;IHEAP[c]=IHEAP[a+2];IHEAP[g]=IHEAP[a+4];IHEAP[f]=IHEAP[a+5];IHEAP[h]=IHEAP[a+6];IHEAP[i]=IHEAP[a+7]} +function __ZN34btTriangleIndexVertexMaterialArray29getLockedReadOnlyMaterialBaseEPPKhRiR14PHY_ScalarTypeS3_S2_S3_S3_S5_i(a,e,d,b,c,f,g,h,i,j){a=IHEAP[a+84+3]+8*j;IHEAP[d]=IHEAP[a];IHEAP[e]=IHEAP[a+1];IHEAP[b]=0;IHEAP[c]=IHEAP[a+2];IHEAP[g]=IHEAP[a+4];IHEAP[f]=IHEAP[a+5];IHEAP[h]=IHEAP[a+6];IHEAP[i]=IHEAP[a+7]} +function __ZN34btTriangleIndexVertexMaterialArrayD1Ev(a){IHEAP[a]=__ZTV34btTriangleIndexVertexMaterialArray+2;__ZN20btAlignedObjectArrayI20btMaterialPropertiesE5clearEv(a+84);IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;__ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a+20);IHEAP[a]=__ZTV23btStridingMeshInterface+2} +function __ZN34btTriangleIndexVertexMaterialArrayD0Ev(a){var e;IHEAP[a]=__ZTV34btTriangleIndexVertexMaterialArray+2;__ZN20btAlignedObjectArrayI20btMaterialPropertiesE5clearEv(a+84);IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;__ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a+20);IHEAP[a]=__ZTV23btStridingMeshInterface+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN20btAlignedObjectArrayI20btMaterialPropertiesE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayI20btMaterialPropertiesE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*32,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=f+8*b;for(d=m==0?6:7;;)if(d==6)if(b+=1,b<c){d=5;continue c}else{d=4;continue b}else d==7&&(d=m,_llvm_memset_p0i8_i32(d,0,8,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+8*b,8,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9; +break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN14btTriangleMeshC2Ebb(a,e,d){var b=STACKTOP;STACKTOP+=11;var c=null,f,g,c=b+1;f=b+2;var h=b+3;IHEAP[a]=__ZTV23btStridingMeshInterface+2;var i=a+1;FHEAP[b]=1;FHEAP[c]=1;FHEAP[f]=1;FHEAP[i]=FHEAP[b];FHEAP[i+1]=FHEAP[c];FHEAP[i+2]=FHEAP[f];FHEAP[i+3]=0;IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;c=a+20;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[a+27]=0;IHEAP[a]=__ZTV14btTriangleMesh+2;c=a+84;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;c=a+89;IHEAP[c+4]=1;IHEAP[c+ +3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;c=a+94;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;c=a+99;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[a+104]=e&1;IHEAP[a+105]=d&1;FHEAP[a+106]=0;IHEAP[h+6]=2;IHEAP[h+7]=0;IHEAP[h]=0;IHEAP[h+3]=0;IHEAP[h+6]=2;IHEAP[h+1]=0;IHEAP[h+2]=12;IHEAP[h+4]=0;IHEAP[h+5]=16;e=a+20;d=IHEAP[e+1]==IHEAP[e+2]?0:1;a:for(;;)if(d==0){d=e;f=IHEAP[d+1];f!=0?(c=0,d=2):(c=0,d=3);for(;;)if(d==2)g=f*2,c=2,d=3;else if(d==3){__ZN20btAlignedObjectArrayI13btIndexedMeshE7reserveEi(e, +c==2?g:1);d=1;continue a}}else if(d==1){g=IHEAP[e+3]+8*IHEAP[e+1];_llvm_memcpy_p0i8_p0i8_i32(g,h,8,4,0);IHEAP[e+1]+=1;d=IHEAP[a+104]&1?4:5;break a}d==4?(h=IHEAP[a+94+1]/3|0,IHEAP[IHEAP[a+20+3]+0]=h,IHEAP[IHEAP[a+20+3]+0+1]=0,IHEAP[IHEAP[a+20+3]+0+6]=2,IHEAP[IHEAP[a+20+3]+0+2]=12):d==5&&(h=IHEAP[a+99+1]/3|0,IHEAP[IHEAP[a+20+3]+0]=h,IHEAP[IHEAP[a+20+3]+0+1]=0,IHEAP[IHEAP[a+20+3]+0+6]=3,IHEAP[IHEAP[a+20+3]+0+2]=6);IHEAP[a+105]&1?(h=IHEAP[a+84+1],IHEAP[IHEAP[a+20+3]+0+3]=h,IHEAP[IHEAP[a+20+3]+0+4]=0, +IHEAP[IHEAP[a+20+3]+0+5]=16):(h=IHEAP[a+89+1]/3|0,IHEAP[IHEAP[a+20+3]+0+3]=h,IHEAP[IHEAP[a+20+3]+0+4]=0,IHEAP[IHEAP[a+20+3]+0+5]=12);STACKTOP=b} +function __ZN14btTriangleMeshD1Ev(a){IHEAP[a]=__ZTV14btTriangleMesh+2;__ZN20btAlignedObjectArrayItE5clearEv(a+99);__ZN20btAlignedObjectArrayIjE5clearEv(a+94);__ZN20btAlignedObjectArrayIfE5clearEv(a+89);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+84);IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;__ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a+20);IHEAP[a]=__ZTV23btStridingMeshInterface+2} +function __ZN14btTriangleMeshD0Ev(a){var e;IHEAP[a]=__ZTV14btTriangleMesh+2;__ZN20btAlignedObjectArrayItE5clearEv(a+99);__ZN20btAlignedObjectArrayIjE5clearEv(a+94);__ZN20btAlignedObjectArrayIfE5clearEv(a+89);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+84);IHEAP[a]=__ZTV26btTriangleIndexVertexArray+2;__ZN20btAlignedObjectArrayI13btIndexedMeshE5clearEv(a+20);IHEAP[a]=__ZTV23btStridingMeshInterface+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e== +1)break}function __ZN14btTriangleMesh19preallocateVerticesEi(){}function __ZN14btTriangleMesh18preallocateIndicesEi(){} +function __ZN20btAlignedObjectArrayItE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN12btAxisSweep3C2ERK9btVector3S2_tP22btOverlappingPairCacheb(a,e,d,b,c,f){__ZN20btAxisSweep3InternalItEC2ERK9btVector3S3_tttP22btOverlappingPairCacheb(a,e,d,-2,-1,b,c,f&1);IHEAP[a]=__ZTV12btAxisSweep3+2} +function __ZN20btAxisSweep3InternalItEC2ERK9btVector3S3_tttP22btOverlappingPairCacheb(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=21;var j=null,k,l,m,n,o,q;q=i+1;m=i+2;var p,r,s,u,v,y,x,z;y=i+3;v=i+4;u=i+5;var B,C,A;x=i+6;z=i+10;s=i+14;r=i+15;p=i+16;B=i+17;var w,D;IHEAP[a]=__ZTV21btBroadphaseInterface+2;IHEAP[a]=__ZTV20btAxisSweep3InternalItE+2;IHEAP[a+4]=b;IHEAP[a+5]=c;IHEAP[a+28]=g;IHEAP[a+29]=0;IHEAP[a+30]=0;IHEAP[a+31]=0;IHEAP[a+32]=0;b=f+1&65535;c=IHEAP[a+28]!=0?0:1;a:for(;;)if(c==0){c=h&1?5:6; +break a}else if(c==1){f=j=__Z22btAlignedAllocInternalji(76,16);f==0?(j=1,c=2):(j=1,c=3);for(;;)if(c==2){IHEAP[a+28]=j==1?0:k;IHEAP[a+30]=1;c=0;continue a}else if(c==3){k=f;try{__THREW__=!1,__ZN28btHashedOverlappingPairCacheC2Ev(k)}catch(E){if(ABORT)throw E;__THREW__=!0;print("Exception: "+E+" : "+E.stack+", currently at: "+Error().stack)}if(__THREW__){c=22;break a}else j=3,c=2}}a:for(;;)if(c==22){A=B=_llvm_eh_exception();_llvm_eh_selector(B,___gxx_personality_v0,0);c=4;break a}else if(c==5){_llvm_memcpy_p0i8_p0i8_i32(a+ +6,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+10,d,4,4,0);n=a+6;l=a+10;FHEAP[i]=FHEAP[l]-FHEAP[n];FHEAP[q]=FHEAP[l+1]-FHEAP[n+1];FHEAP[m]=FHEAP[l+2]-FHEAP[n+2];l=x;n=i;o=q;q=m;m=n;n=o;o=q;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;m=IHEAP[a+5];l=a+14;FHEAP[s]=m;FHEAP[r]=m;FHEAP[p]=m;m=z;n=r;r=s;s=n;n=p;p=m;m=n;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[m];FHEAP[p+3]=0;FHEAP[y]=FHEAP[z]/FHEAP[x];FHEAP[v]=FHEAP[z+1]/FHEAP[x+1];FHEAP[u]=FHEAP[z+2]/FHEAP[x+2];x=B;z=v; +v=y;y=z;z=u;u=x;x=z;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[y];FHEAP[u+2]=FHEAP[x];FHEAP[u+3]=0;_llvm_memcpy_p0i8_p0i8_i32(l,B,4,4,0);l=b;B=_llvm_umul_with_overflow_i32(l,64);u=B.f0;B=B.f1?-1:u;o=__Z22btAlignedAllocInternalji(B,16);n=0;c=n<l?11:12;break a}else if(c==6){h=__Z22btAlignedAllocInternalji(24,16);h==0?(j=6,c=7):(j=6,c=8);b:for(;;)if(c==7){IHEAP[a+33]=j==6?0:G;var F=__Z22btAlignedAllocInternalji(156,16);F==0?(j=7,c=9):(j=7,c=10);break b}else if(c==8){var G=h;_llvm_memset_p0i8_i32(G,0,9,4,0); +k=c=k=j=G;IHEAP[k]=__ZTV25btOverlappingPairCallback+2;IHEAP[c]=__ZTV22btOverlappingPairCache+2;IHEAP[j]=__ZTV15btNullPairCache+2;j+=4;IHEAP[j+4]=1;IHEAP[j+3]=0;IHEAP[j+1]=0;IHEAP[j+2]=0;j=8;c=7}for(;;)if(c==9){IHEAP[a+32]=j==7?0:J;IHEAP[IHEAP[a+32]+42]=1;c=5;continue a}else if(c==10){var J=F,h=IHEAP[a+33];try{__THREW__=!1,__ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache(J,h)}catch(H){if(ABORT)throw H;__THREW__=!0;print("Exception: "+H+" : "+H.stack+", currently at: "+Error().stack)}if(__THREW__){c= +23;break a}else j=10,c=9}}a:for(;;)if(c==4)throw i=a,IHEAP[i]=__ZTV21btBroadphaseInterface+2,__Unwind_Resume_or_Rethrow(A),"Reached an unreachable! Original .ll line: 202801";else if(c==23)A=B=_llvm_eh_exception(),_llvm_eh_selector(B,___gxx_personality_v0,0),c=4;else if(c==11)B=o+55*n,IHEAP[B]=0,IHEAP[B+3]=0,n+=1,c=n<l?11:12;else if(c==12){IHEAP[a+20]=o;IHEAP[a+19]=b;IHEAP[a+18]=0;IHEAP[a+21]=1;w=IHEAP[a+21];c=w<b?13:14;break a}a:for(;;)if(c==13)for(A=a+20;;)if(u=w+1&65535,B=IHEAP[A]+55*w,IHEAP[B+ +48]=u,w+=1,w<b)c=15;else{c=14;continue a}else if(c==14){C=IHEAP[a+20]+55*(b-1);C=IHEAP[C+48]=0;var M=a+25,K=a+25,N=a+22;break a}a:for(;;){w=__Z22btAlignedAllocInternalji(b*8,16);IHEAP[M+C]=w;w=_llvm_umul_with_overflow_i32(b*2,4);A=w.f0;w=w.f1?-1:A;A=IHEAP[K+C];A==0?(j=16,c=17):(j=16,c=18);for(;;)if(c==17)if(IHEAP[N+C]=j==18?D:0,C=w=C+1,w<3)continue a;else break a;else c==18&&(D=A,_llvm_memset_p0i8_i32(D,0,2*(w/4),2,0),j=18,c=17)}D=IHEAP[IHEAP[a+20]]=0;C=a+20;M=a+20;K=a+22;N=a+22;b=a+5;w=a+22;for(a+= +22;;)if(IHEAP[IHEAP[C]+48+D]=0,IHEAP[IHEAP[M]+51+D]=1,IHEAP[IHEAP[K+D]]=0,IHEAP[IHEAP[N+D]+1]=0,IHEAP[IHEAP[w+D]+2]=IHEAP[b],IHEAP[IHEAP[a+D]+2+1]=0,D=A=D+1,!(A<3))break;STACKTOP=i}function __ZN17bt32BitAxisSweep3C2ERK9btVector3S2_jP22btOverlappingPairCacheb(a,e,d,b,c,f){__ZN20btAxisSweep3InternalIjEC2ERK9btVector3S3_jjjP22btOverlappingPairCacheb(a,e,d,-2,2147483647,b,c,f&1);IHEAP[a]=__ZTV17bt32BitAxisSweep3+2} +function __ZN20btAxisSweep3InternalIjEC2ERK9btVector3S3_jjjP22btOverlappingPairCacheb(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=21;var j=null,k,l,m,n,o,q;q=i+1;m=i+2;var p,r,s,u,v,y,x,z;y=i+3;v=i+4;u=i+5;var B,C,A;x=i+6;z=i+10;s=i+14;r=i+15;p=i+16;B=i+17;var w,D;IHEAP[a]=__ZTV21btBroadphaseInterface+2;IHEAP[a]=__ZTV20btAxisSweep3InternalIjE+2;IHEAP[a+4]=b;IHEAP[a+5]=c;IHEAP[a+28]=g;IHEAP[a+29]=0;IHEAP[a+30]=0;IHEAP[a+31]=0;IHEAP[a+32]=0;b=f+1;c=IHEAP[a+28]!=0?0:1;a:for(;;)if(c==0){c=h&1?5:6;break a}else if(c== +1){f=j=__Z22btAlignedAllocInternalji(76,16);f==0?(j=1,c=2):(j=1,c=3);for(;;)if(c==2){IHEAP[a+28]=j==1?0:k;IHEAP[a+30]=1;c=0;continue a}else if(c==3){k=f;try{__THREW__=!1,__ZN28btHashedOverlappingPairCacheC2Ev(k)}catch(E){if(ABORT)throw E;__THREW__=!0;print("Exception: "+E+" : "+E.stack+", currently at: "+Error().stack)}if(__THREW__){c=22;break a}else j=3,c=2}}a:for(;;)if(c==22){A=B=_llvm_eh_exception();_llvm_eh_selector(B,___gxx_personality_v0,0);c=4;break a}else if(c==5){_llvm_memcpy_p0i8_p0i8_i32(a+ +6,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+10,d,4,4,0);n=a+6;l=a+10;FHEAP[i]=FHEAP[l]-FHEAP[n];FHEAP[q]=FHEAP[l+1]-FHEAP[n+1];FHEAP[m]=FHEAP[l+2]-FHEAP[n+2];l=x;n=i;o=q;q=m;m=n;n=o;o=q;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;m=IHEAP[a+5];l=a+14;FHEAP[s]=m;FHEAP[r]=m;FHEAP[p]=m;m=z;n=r;r=s;s=n;n=p;p=m;m=n;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[m];FHEAP[p+3]=0;FHEAP[y]=FHEAP[z]/FHEAP[x];FHEAP[v]=FHEAP[z+1]/FHEAP[x+1];FHEAP[u]=FHEAP[z+2]/FHEAP[x+2];x=B;z=v; +v=y;y=z;z=u;u=x;x=z;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[y];FHEAP[u+2]=FHEAP[x];FHEAP[u+3]=0;_llvm_memcpy_p0i8_p0i8_i32(l,B,4,4,0);l=b;B=_llvm_umul_with_overflow_i32(l,76);u=B.f0;B=B.f1?-1:u;o=__Z22btAlignedAllocInternalji(B,16);n=0;c=n<l?11:12;break a}else if(c==6){h=__Z22btAlignedAllocInternalji(24,16);h==0?(j=6,c=7):(j=6,c=8);b:for(;;)if(c==7){IHEAP[a+33]=j==6?0:G;var F=__Z22btAlignedAllocInternalji(156,16);F==0?(j=7,c=9):(j=7,c=10);break b}else if(c==8){var G=h;_llvm_memset_p0i8_i32(G,0,9,4,0); +k=c=k=j=G;IHEAP[k]=__ZTV25btOverlappingPairCallback+2;IHEAP[c]=__ZTV22btOverlappingPairCache+2;IHEAP[j]=__ZTV15btNullPairCache+2;j+=4;IHEAP[j+4]=1;IHEAP[j+3]=0;IHEAP[j+1]=0;IHEAP[j+2]=0;j=8;c=7}for(;;)if(c==9){IHEAP[a+32]=j==7?0:J;IHEAP[IHEAP[a+32]+42]=1;c=5;continue a}else if(c==10){var J=F,h=IHEAP[a+33];try{__THREW__=!1,__ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache(J,h)}catch(H){if(ABORT)throw H;__THREW__=!0;print("Exception: "+H+" : "+H.stack+", currently at: "+Error().stack)}if(__THREW__){c= +23;break a}else j=10,c=9}}a:for(;;)if(c==4)throw i=a,IHEAP[i]=__ZTV21btBroadphaseInterface+2,__Unwind_Resume_or_Rethrow(A),"Reached an unreachable! Original .ll line: 203552";else if(c==23)A=B=_llvm_eh_exception(),_llvm_eh_selector(B,___gxx_personality_v0,0),c=4;else if(c==11)B=o+55*n,IHEAP[B]=0,IHEAP[B+3]=0,n+=1,c=n<l?11:12;else if(c==12){IHEAP[a+20]=o;IHEAP[a+19]=b;IHEAP[a+18]=0;IHEAP[a+21]=1;w=IHEAP[a+21];c=w<b?13:14;break a}a:for(;;)if(c==13)for(A=a+20;;)if(u=w+1,B=IHEAP[A]+55*w,IHEAP[B+48]=u, +w+=1,w<b)c=15;else{c=14;continue a}else if(c==14){C=IHEAP[a+20]+55*(b-1);C=IHEAP[C+48]=0;var M=a+25,K=a+25,N=a+22;break a}a:for(;;){w=__Z22btAlignedAllocInternalji(b*16,16);IHEAP[M+C]=w;w=_llvm_umul_with_overflow_i32(b*2,8);A=w.f0;w=w.f1?-1:A;A=IHEAP[K+C];A==0?(j=16,c=17):(j=16,c=18);for(;;)if(c==17)if(IHEAP[N+C]=j==18?D:0,C=w=C+1,w<3)continue a;else break a;else c==18&&(D=A,_llvm_memset_p0i8_i32(D,0,2*(w/8),4,0),j=18,c=17)}D=IHEAP[IHEAP[a+20]]=0;C=a+20;M=a+20;K=a+22;N=a+22;b=a+5;w=a+22;for(a+=22;;)if(IHEAP[IHEAP[C]+ +48+D]=0,IHEAP[IHEAP[M]+51+D]=1,IHEAP[IHEAP[K+D]]=0,IHEAP[IHEAP[N+D]+1]=0,IHEAP[IHEAP[w+D]+2]=IHEAP[b],IHEAP[IHEAP[a+D]+2+1]=0,D=A=D+1,!(A<3))break;STACKTOP=i}function __ZN17bt32BitAxisSweep3D1Ev(a){IHEAP[a]=__ZTV17bt32BitAxisSweep3+2;__ZN20btAxisSweep3InternalIjED2Ev(a)} +function __ZN17bt32BitAxisSweep3D0Ev(a){var e,d;IHEAP[a]=__ZTV17bt32BitAxisSweep3+2;try{__THREW__=!1,__ZN20btAxisSweep3InternalIjED2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+= +1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 203688";}} +function __ZN20btAxisSweep3InternalIjE11createProxyERK9btVector3S3_iPvssP12btDispatcherS4_(a,e,d,b,c,f,g,h,i){var j,i=__ZN20btAxisSweep3InternalIjE9addHandleERK9btVector3S3_PvssP12btDispatcherS4_(a,e,d,c,f,g,h,i),i=IHEAP[a+20]+55*i;for(j=IHEAP[a+32]!=0?0:1;;)if(j==0)j=IHEAP[a+32],j=FUNCTION_TABLE[IHEAP[IHEAP[j]+2]](j,e,d,b,c,f,g,h,0),IHEAP[i+54]=j,j=1;else if(j==1)return i;return null} +function __ZN20btAxisSweep3InternalIjE12destroyProxyEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b;for(b=IHEAP[a+32]!=0?0:1;;)if(b==0)b=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,IHEAP[e+54],d),b=1;else if(b==1){__ZN20btAxisSweep3InternalIjE12removeHandleEjP12btDispatcher(a,IHEAP[e+4],d);break}} +function __ZN20btAxisSweep3InternalIjE7setAabbEP17btBroadphaseProxyRK9btVector3S5_P12btDispatcher(a,e,d,b,c){var f;_llvm_memcpy_p0i8_p0i8_i32(e+5,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+9,b,4,4,0);__ZN20btAxisSweep3InternalIjE12updateHandleEjRK9btVector3S3_P12btDispatcher(a,IHEAP[e+4],d,b,c);for(f=IHEAP[a+32]!=0?0:1;;)if(f==0)f=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[f]+4]](f,IHEAP[e+54],d,b,c),f=1;else if(f==1)break} +function __ZNK20btAxisSweep3InternalIjE7getAabbEP17btBroadphaseProxyR9btVector3S4_(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(d,e+5,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,e+9,4,4,0)} +function __ZN20btAxisSweep3InternalIjE7rayTestERK9btVector3S3_R23btBroadphaseRayCallbackS3_S3_(a,e,d,b,c,f){var g,h,i,j=IHEAP[a+32]!=0;a:do if(j)i=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[i]+6]](i,e,d,b,c,f);else{i=1;var k=a+18;if(!(i<IHEAP[k]*2+1))break a;var l=a+22,m=a+22;b:for(;;){g=IHEAP[l+0]+2*i;for(g=(IHEAP[g]&1)!=0?4:5;;)if(g==4){var n=b,o=IHEAP[IHEAP[n]+2];h=IHEAP[IHEAP[m+0]+2*i+1];g=a;FUNCTION_TABLE[o](n,IHEAP[g+20]+55*h);g=5}else if(g==5)if(i+=1,i<IHEAP[k]*2+1)continue b;else break a}}while(0)} +function __ZN20btAxisSweep3InternalIjE8aabbTestERK9btVector3S3_R24btBroadphaseAabbCallback(a,e,d,b){var c,f,g,h=IHEAP[a+32]!=0;a:do if(h)g=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[g]+7]](g,e,d,b);else{g=1;var i=a+18;if(!(g<IHEAP[i]*2+1))break a;var j=a+22,k=a+22;b:for(;;){c=IHEAP[j+0]+2*g;for(c=(IHEAP[c]&1)!=0?4:5;;)if(c==4)f=IHEAP[IHEAP[k+0]+2*g+1],c=a,c=IHEAP[c+20]+55*f,__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(e,d,c+5,c+9)&&(f=b,FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,c)),c=5;else if(c==5)if(g+= +1,g<IHEAP[i]*2+1)continue b;else break a}}while(0)} +function __ZN20btAxisSweep3InternalIjE25calculateOverlappingPairsEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=18;var b,c=null,f,g,h,i,j,k,l,m,n=d+1,o,q,p,r=d+2,s=d+3,u=d+4,v=d+5,y=d+9,x=d+13,z=d+14;o=IHEAP[a+28];b=FUNCTION_TABLE[IHEAP[IHEAP[o]+14]](o)?0:1;a:for(;;)if(b==0){o=IHEAP[a+28];l=o=FUNCTION_TABLE[IHEAP[IHEAP[o]+7]](o);_llvm_memcpy_p0i8_p0i8_i64(s,u,1,1,0);q=l;b=IHEAP[q+1]>1?2:3;b:for(;;)if(b==2)q=l,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(l,r, +0,IHEAP[q+1]-1),b=3;else if(b==3){p=k=o;p=IHEAP[p+1]-IHEAP[a+31];c=v;IHEAP[c]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[c+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(k,p,v);IHEAP[a+31]=0;k=y;IHEAP[k]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;IHEAP[k+3]=0;IHEAP[y]=0;IHEAP[y+1]=0;l=k=IHEAP[y+2]=0;p=c=o;l<IHEAP[c+1]?(c=3,b=4):(c=3,b=5);break b}b:for(;;)if(b==4){l=y;q=a+28;var B=a+31,c=4;c:for(;;){f=k;c=c==4?p:w;g=f=IHEAP[c+3]+4*f;h=y;IHEAP[g]==IHEAP[h]?(c=6,b=7):(c=6,b=8);d:for(;;)if(b==7){var C=IHEAP[g+ +1]==IHEAP[h+1],c=7;b=8}else if(b==8){b=c==6?0:C;_llvm_memcpy_p0i8_p0i8_i32(l,f,4,4,0);j=0;b=b&1?9:10;break d}if(b==9)j=1;else if(b==10){c=IHEAP[f+1];j=IHEAP[f];g=c;h=0;for(c=10;;){if(!((c==16?A:0)<3)){b=13;break}if(IHEAP[j+51+h]<IHEAP[g+48+h]){b=14;break}if(IHEAP[g+51+h]<IHEAP[j+48+h]){b=14;break}var A=h+1;h=A;c=16;b=11}b==13?i=1:b==14&&(i=0);j=i;j=j&1?0:1}for(b=j&1?19:20;;)if(b==19)b=IHEAP[q],FUNCTION_TABLE[IHEAP[IHEAP[b]+8]](b,f,e),IHEAP[f]=0,IHEAP[f+1]=0,IHEAP[B]+=1,IHEAP[_gOverlappingPairs]+= +-1,b=20;else if(b==20){k+=1;f=k;var w=c=o;if(f<IHEAP[c+1]){c=20;b=6;continue c}else{c=20;b=5;continue b}}}}else if(b==5){m=c==3?p:w;_llvm_memcpy_p0i8_p0i8_i64(n,x,1,1,0);l=m;b=IHEAP[l+1]>1?21:22;break b}for(;;)if(b==21)l=m,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(m,d,0,IHEAP[l+1]-1),b=22;else if(b==22){l=o;o=IHEAP[o+1]-IHEAP[a+31];q=z;IHEAP[q]=0;IHEAP[q+1]=0;IHEAP[q+2]=0;IHEAP[q+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(l, +o,z);IHEAP[a+31]=0;b=1;continue a}}else if(b==1){STACKTOP=d;break}}function __ZN20btAxisSweep3InternalIjE23getOverlappingPairCacheEv(a){return IHEAP[a+28]}function __ZNK20btAxisSweep3InternalIjE23getOverlappingPairCacheEv(a){return IHEAP[a+28]}function __ZNK20btAxisSweep3InternalIjE17getBroadphaseAabbER9btVector3S2_(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(e,a+6,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,a+10,4,4,0)} +function __ZN20btAxisSweep3InternalIjE9resetPoolEP12btDispatcher(a){var e,d,b;e=IHEAP[a+18]==0?0:1;a:for(;;)if(e==0){IHEAP[a+21]=1;d=IHEAP[a+21];var c=a+19;e=d<IHEAP[c]?2:3;b:for(;;)if(e==2)for(var f=a+20;;)if(b=d+1,e=IHEAP[f]+55*d,IHEAP[e+48]=b,d+=1,d<IHEAP[c])e=4;else{e=3;continue b}else if(e==3){d=IHEAP[a+20]+55*(IHEAP[a+19]-1);IHEAP[d+48]=0;e=1;continue a}}else if(e==1)break}function __ZN20btAxisSweep3InternalIjE10printStatsEv(){} +function __ZN12btAxisSweep3D1Ev(a){IHEAP[a]=__ZTV12btAxisSweep3+2;__ZN20btAxisSweep3InternalItED2Ev(a)} +function __ZN12btAxisSweep3D0Ev(a){var e,d;IHEAP[a]=__ZTV12btAxisSweep3+2;try{__THREW__=!1,__ZN20btAxisSweep3InternalItED2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+= +1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 204879";}} +function __ZN20btAxisSweep3InternalItE11createProxyERK9btVector3S3_iPvssP12btDispatcherS4_(a,e,d,b,c,f,g,h,i){var j,i=__ZN20btAxisSweep3InternalItE9addHandleERK9btVector3S3_PvssP12btDispatcherS4_(a,e,d,c,f,g,h,i),i=IHEAP[a+20]+55*i;for(j=IHEAP[a+32]!=0?0:1;;)if(j==0)j=IHEAP[a+32],j=FUNCTION_TABLE[IHEAP[IHEAP[j]+2]](j,e,d,b,c,f,g,h,0),IHEAP[i+54]=j,j=1;else if(j==1)return i;return null} +function __ZN20btAxisSweep3InternalItE12destroyProxyEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b;for(b=IHEAP[a+32]!=0?0:1;;)if(b==0)b=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,IHEAP[e+54],d),b=1;else if(b==1){__ZN20btAxisSweep3InternalItE12removeHandleEtP12btDispatcher(a,IHEAP[e+4]&65535,d);break}} +function __ZN20btAxisSweep3InternalItE7setAabbEP17btBroadphaseProxyRK9btVector3S5_P12btDispatcher(a,e,d,b,c){var f;_llvm_memcpy_p0i8_p0i8_i32(e+5,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+9,b,4,4,0);__ZN20btAxisSweep3InternalItE12updateHandleEtRK9btVector3S3_P12btDispatcher(a,IHEAP[e+4]&65535,d,b,c);for(f=IHEAP[a+32]!=0?0:1;;)if(f==0)f=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[f]+4]](f,IHEAP[e+54],d,b,c),f=1;else if(f==1)break} +function __ZNK20btAxisSweep3InternalItE7getAabbEP17btBroadphaseProxyR9btVector3S4_(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(d,e+5,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,e+9,4,4,0)} +function __ZN20btAxisSweep3InternalItE7rayTestERK9btVector3S3_R23btBroadphaseRayCallbackS3_S3_(a,e,d,b,c,f){var g,h,i,j=IHEAP[a+32]!=0;a:do if(j)i=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[i]+6]](i,e,d,b,c,f);else{i=1;var k=a+18;if(!(i<IHEAP[k]*2+1))break a;var l=a+22,m=a+22;b:for(;;){g=IHEAP[l+0]+2*i;for(g=(IHEAP[g]&1)!=0?4:5;;)if(g==4){var n=b,o=IHEAP[IHEAP[n]+2];h=IHEAP[IHEAP[m+0]+2*i+1];g=a;FUNCTION_TABLE[o](n,IHEAP[g+20]+55*h);g=5}else if(g==5)if(i+=1,i<IHEAP[k]*2+1)continue b;else break a}}while(0)} +function __ZN20btAxisSweep3InternalItE8aabbTestERK9btVector3S3_R24btBroadphaseAabbCallback(a,e,d,b){var c,f,g,h=IHEAP[a+32]!=0;a:do if(h)g=IHEAP[a+32],FUNCTION_TABLE[IHEAP[IHEAP[g]+7]](g,e,d,b);else{g=1;var i=a+18;if(!(g<IHEAP[i]*2+1))break a;var j=a+22,k=a+22;b:for(;;){c=IHEAP[j+0]+2*g;for(c=(IHEAP[c]&1)!=0?4:5;;)if(c==4)f=IHEAP[IHEAP[k+0]+2*g+1],c=a,c=IHEAP[c+20]+55*f,__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(e,d,c+5,c+9)&&(f=b,FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,c)),c=5;else if(c==5)if(g+= +1,g<IHEAP[i]*2+1)continue b;else break a}}while(0)} +function __ZN20btAxisSweep3InternalItE25calculateOverlappingPairsEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=18;var b,c=null,f,g,h,i,j,k,l=d+1,m,n,o,q=d+2,p=d+3,r=d+4,s=d+5,u=d+9,v,y=d+13,x=d+14;m=IHEAP[a+28];b=FUNCTION_TABLE[IHEAP[IHEAP[m]+14]](m)?0:1;a:for(;;)if(b==0){m=IHEAP[a+28];j=m=FUNCTION_TABLE[IHEAP[IHEAP[m]+7]](m);_llvm_memcpy_p0i8_p0i8_i64(p,r,1,1,0);n=j;b=IHEAP[n+1]>1?2:3;b:for(;;)if(b==2)n=j,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(j,q, +0,IHEAP[n+1]-1),b=3;else if(b==3){o=i=m;o=IHEAP[o+1]-IHEAP[a+31];c=s;IHEAP[c]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[c+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(i,o,s);IHEAP[a+31]=0;i=u;IHEAP[i]=0;IHEAP[i+1]=0;IHEAP[i+2]=0;IHEAP[i+3]=0;IHEAP[u]=0;IHEAP[u+1]=0;j=i=IHEAP[u+2]=0;o=c=m;j<IHEAP[c+1]?(c=3,b=4):(c=3,b=5);break b}b:for(;;)if(b==4){j=u;n=a+28;var z=a+31,c=4;c:for(;;){h=i;c=c==4?o:C;f=h=IHEAP[c+3]+4*h;g=u;IHEAP[f]==IHEAP[g]?(c=6,b=7):(c=6,b=8);d:for(;;)if(b==7){var B=IHEAP[f+ +1]==IHEAP[g+1],c=7;b=8}else if(b==8){b=c==6?0:B;_llvm_memcpy_p0i8_p0i8_i32(j,h,4,4,0);v=0;b=b&1?9:10;break d}b==9?v=1:b==10&&(v=__ZN20btAxisSweep3InternalItE15testAabbOverlapEP17btBroadphaseProxyS2_(a,IHEAP[h],IHEAP[h+1]),v=v&1?0:1);for(b=v&1?12:13;;)if(b==12)b=IHEAP[n],FUNCTION_TABLE[IHEAP[IHEAP[b]+8]](b,h,e),IHEAP[h]=0,IHEAP[h+1]=0,IHEAP[z]+=1,IHEAP[_gOverlappingPairs]+=-1,b=13;else if(b==13){i+=1;h=i;var C=c=m;if(h<IHEAP[c+1]){c=13;b=6;continue c}else{c=13;b=5;continue b}}}}else if(b==5){k=c== +3?o:C;_llvm_memcpy_p0i8_p0i8_i64(l,y,1,1,0);j=k;b=IHEAP[j+1]>1?14:15;break b}for(;;)if(b==14)j=k,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(k,d,0,IHEAP[j+1]-1),b=15;else if(b==15){j=m;m=IHEAP[m+1]-IHEAP[a+31];n=x;IHEAP[n]=0;IHEAP[n+1]=0;IHEAP[n+2]=0;IHEAP[n+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(j,m,x);IHEAP[a+31]=0;b=1;continue a}}else if(b==1){STACKTOP=d;break}} +function __ZN20btAxisSweep3InternalItE23getOverlappingPairCacheEv(a){return IHEAP[a+28]}function __ZNK20btAxisSweep3InternalItE23getOverlappingPairCacheEv(a){return IHEAP[a+28]}function __ZNK20btAxisSweep3InternalItE17getBroadphaseAabbER9btVector3S2_(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(e,a+6,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,a+10,4,4,0)} +function __ZN20btAxisSweep3InternalItE9resetPoolEP12btDispatcher(a){var e,d,b;e=IHEAP[a+18]==0?0:1;a:for(;;)if(e==0){IHEAP[a+21]=1;d=IHEAP[a+21];var c=a+19;e=d<IHEAP[c]?2:3;b:for(;;)if(e==2)for(var f=a+20;;)if(b=d+1&65535,e=IHEAP[f]+55*d,IHEAP[e+48]=b,d+=1,d<IHEAP[c])e=4;else{e=3;continue b}else if(e==3){d=IHEAP[a+20]+55*(IHEAP[a+19]-1);IHEAP[d+48]=0;e=1;continue a}}else if(e==1)break}function __ZN20btAxisSweep3InternalItE10printStatsEv(){} +function __ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(a,e,d){var b,c,f,g,h;g=IHEAP[a+1];var i=e<g;a:do if(i){b=e;if(!(b<g))break a;for(;;)if(b+=1,!(b<g))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(a,e),b=3;else if(b==3)if(h=g,h<e)break b;else break a;for(b=a+3;;)if(c=IHEAP[b]+4*h,f=d,IHEAP[c]=IHEAP[f],IHEAP[c+1]=IHEAP[f+1],IHEAP[c+2]=IHEAP[f+2],IHEAP[c+3]=IHEAP[f+3],h+=1,!(h<e))break a}while(0);IHEAP[a+1]=e} +function __ZN20btAxisSweep3InternalItE15testAabbOverlapEP17btBroadphaseProxyS2_(a,e,d){var b,a=null,c,f;f=0;for(a=-1;;){if(!((a==5?g:0)<3)){b=2;break}if(IHEAP[e+51+f]<IHEAP[d+48+f]){b=3;break}if(IHEAP[d+51+f]<IHEAP[e+48+f]){b=3;break}var g=f+1;f=g;a=5;b=0}b==2?c=1:b==3&&(c=0);return c} +function __ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(a,e){var d,b,c,f,g,h,i,j,k;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){j=e;j=j!=0?__Z22btAlignedAllocInternalji(j*16,16):0;f=a;f=IHEAP[f+1];g=j;var l=c=a;c=0;d=c<f?3:4;b:for(;;)if(d==3)for(var m=l+3;;)if(d=g+4*c,b=IHEAP[m]+4*c,IHEAP[d]=IHEAP[b],IHEAP[d+1]=IHEAP[b+1],IHEAP[d+2]=IHEAP[b+2],IHEAP[d+3]=IHEAP[b+3],c+=1,c<f)d=5;else{d=4;continue b}else if(d==4){h=a;h=IHEAP[h+1];i=0;d=i<h?6:7;break b}b:for(;;)if(d==6)i+=1,d=i<h?6:7;else if(d==7){k= +a;d=IHEAP[k+3]!=0?8:9;break b}b:for(;;)if(d==8)for(d=IHEAP[k+4]&1?10:11;;)if(d==10)f=IHEAP[k+3],f!=0&&(IHEAP[_gNumAlignedFree]+=1,f!=0&&(f=IHEAP[f+-1],_free(f))),d=11;else{if(d==11){IHEAP[k+3]=0;d=9;continue b}}else if(d==9){IHEAP[a+4]=1;IHEAP[a+3]=j;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=10;var f,g,h,i,j,k,l,m=c+4,n=c+8,o=c+9;k=d;l=b;var q=IHEAP[a+3]+4*((b+d)/2|0);IHEAP[m]=IHEAP[q];IHEAP[m+1]=IHEAP[q+1];IHEAP[m+2]=IHEAP[q+2];IHEAP[m+3]=IHEAP[q+3];var q=a+3,p=a+3;a:for(;;)if(__ZN29btBroadphasePairSortPredicateclERK16btBroadphasePairS2_(e,IHEAP[q]+4*k,m))k+=1;else{f=__ZN29btBroadphasePairSortPredicateclERK16btBroadphasePairS2_(e,m,IHEAP[p]+ +4*l)?1:2;b:for(;;)if(f==1)l+=-1,f=__ZN29btBroadphasePairSortPredicateclERK16btBroadphasePairS2_(e,m,IHEAP[p]+4*l)?1:2;else if(f==2){f=k<=l?3:4;break b}for(;;)if(f==3)f=k,j=l,i=a,h=IHEAP[i+3]+4*f,g=c,IHEAP[g]=IHEAP[h],IHEAP[g+1]=IHEAP[h+1],IHEAP[g+2]=IHEAP[h+2],IHEAP[g+3]=IHEAP[h+3],_llvm_memcpy_p0i8_p0i8_i32(IHEAP[i+3]+4*f,IHEAP[i+3]+4*j,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[i+3]+4*j,c,4,4,0),k+=1,l+=-1,f=4;else if(f==4)if(k<=l)continue a;else break a}f=d<l?6:7;a:for(;;)if(f==6)__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(a, +n,d,l),f=7;else if(f==7){f=k<b?8:9;break a}for(;;)if(f==8)__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(a,o,k,b),f=9;else if(f==9){STACKTOP=c;break}} +function __ZN29btBroadphasePairSortPredicateclERK16btBroadphasePairS2_(a,e,d){var b=null,c,f,g,h;IHEAP[e]!=0?(b=-1,a=0):(b=-1,a=1);a:for(;;)if(a==0)var i=IHEAP[IHEAP[e]+4],b=0,a=1;else if(a==1){c=b==0?i:-1;IHEAP[d]!=0?(b=1,a=2):(b=1,a=3);break a}a:for(;;)if(a==2)var j=IHEAP[IHEAP[d]+4],b=2,a=3;else if(a==3){f=b==2?j:-1;IHEAP[e+1]!=0?(b=3,a=4):(b=3,a=5);break a}a:for(;;)if(a==4)var k=IHEAP[IHEAP[e+1]+4],b=4,a=5;else if(a==5){g=b==4?k:-1;IHEAP[d+1]!=0?(b=5,a=6):(b=5,a=7);break a}a:for(;;)if(a==6)var l= +IHEAP[IHEAP[d+1]+4],b=6,a=7;else if(a==7){h=b==6?l:-1;c>f?(b=7,a=8):(b=7,a=9);break a}a:for(;;)if(a==8)return b==10?1:b==7?1:b==12?0:b==11?0:m;else if(a==9){for(a=IHEAP[e]==IHEAP[d]?10:11;;)if(a==10)if(g>h){b=10;a=8;continue a}else a=11;else if(a==11)if(IHEAP[e]==IHEAP[d])break;else{b=11;a=8;continue a}if(IHEAP[e+1]!=IHEAP[d+1]){b=12;a=8;continue a}var m=IHEAP[e+2]>IHEAP[d+2],b=13,a=8}return null} +function __ZN20btAxisSweep3InternalItE12updateHandleEtRK9btVector3S3_P12btDispatcher(a,e,d,b,c){var f=STACKTOP;STACKTOP+=6;var g,h=f+3,i,j,k,l,e=IHEAP[a+20]+55*e;__ZNK20btAxisSweep3InternalItE8quantizeEPtRK9btVector3i(a,f,d,0);__ZNK20btAxisSweep3InternalItE8quantizeEPtRK9btVector3i(a,h,b,1);var d=0,b=a+22,m=a+22,n=a+22,o=a+22;a:for(;;){i=IHEAP[e+48+d];j=IHEAP[e+51+d];k=IHEAP[f+d]-IHEAP[IHEAP[b+d]+2*i];l=IHEAP[h+d]-IHEAP[IHEAP[m+d]+2*j];IHEAP[IHEAP[n+d]+2*i]=IHEAP[f+d];IHEAP[IHEAP[o+d]+2*j]=IHEAP[h+ +d];g=k<0?1:2;b:for(;;)if(g==1)__ZN20btAxisSweep3InternalItE11sortMinDownEitP12btDispatcherb(a,d,i,c,1),g=2;else if(g==2){g=l>0?3:4;break b}b:for(;;)if(g==3)__ZN20btAxisSweep3InternalItE9sortMaxUpEitP12btDispatcherb(a,d,j,c,1),g=4;else if(g==4){g=k>0?5:6;break b}b:for(;;)if(g==5)__ZN20btAxisSweep3InternalItE9sortMinUpEitP12btDispatcherb(a,d,i,c,1),g=6;else if(g==6){g=l<0?7:8;break b}for(;;)if(g==7)__ZN20btAxisSweep3InternalItE11sortMaxDownEitP12btDispatcherb(a,d,j,c,1),g=8;else if(g==8)if(d=g=d+1, +g<3)continue a;else break a}STACKTOP=f} +function __ZNK20btAxisSweep3InternalItE8quantizeEPtRK9btVector3i(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=null,f=c+1,g=c+2,h,i=c+3,j=c+4,k=c+5,l=c+6,m=c+10;h=a+6;FHEAP[i]=FHEAP[d]-FHEAP[h];FHEAP[j]=FHEAP[d+1]-FHEAP[h+1];FHEAP[k]=FHEAP[d+2]-FHEAP[h+2];FHEAP[m]=FHEAP[i];FHEAP[m+1]=FHEAP[j];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;d=a+14;FHEAP[c]=FHEAP[m]*FHEAP[d];FHEAP[f]=FHEAP[m+1]*FHEAP[d+1];FHEAP[g]=FHEAP[m+2]*FHEAP[d+2];FHEAP[l]=FHEAP[c];FHEAP[l+1]=FHEAP[f];FHEAP[l+2]=FHEAP[g];FHEAP[l+3]=0;if(FHEAP[l]<= +0)var n=b&65535,f=0;else if(FHEAP[l]>=IHEAP[a+5])var o=(IHEAP[a+4]&IHEAP[a+5]|b)&65535,f=2;else var q=(Math.floor(FHEAP[l])&IHEAP[a+4]|b)&65535,f=3;IHEAP[e]=f==0?n:f==2?o:q;if(FHEAP[l+1]<=0)var p=b&65535,f=4;else if(FHEAP[l+1]>=IHEAP[a+5])var r=(IHEAP[a+4]&IHEAP[a+5]|b)&65535,f=6;else var s=(Math.floor(FHEAP[l+1])&IHEAP[a+4]|b)&65535,f=7;IHEAP[e+1]=f==4?p:f==6?r:s;if(FHEAP[l+2]<=0)var u=b&65535,f=8;else if(FHEAP[l+2]>=IHEAP[a+5])var v=(IHEAP[a+4]&IHEAP[a+5]|b)&65535,f=10;else var y=(Math.floor(FHEAP[l+ +2])&IHEAP[a+4]|b)&65535,f=11;IHEAP[e+2]=f==8?u:f==10?v:y;STACKTOP=c} +function __ZN20btAxisSweep3InternalItE11sortMinDownEitP12btDispatcherb(a,e,d,b,c){b=STACKTOP;STACKTOP+=2;var f,g,h,i,j,k,d=IHEAP[a+22+e]+2*d;i=d+-2;j=IHEAP[a+20]+55*IHEAP[d+1];f=IHEAP[d]<IHEAP[i]?0:1;a:for(;;)if(f==0){var l=a+28,m=a+29,n=a+29,o=b,q=b;for(;;){g=IHEAP[i+1];h=a;h=IHEAP[h+20]+55*g;g=i;var p=(IHEAP[g]&1)!=0,r=e;c:do if(p){g=1<<r&3;k=1<<g&3;for(f=c&1?3:4;;)if(f==3)__ZN20btAxisSweep3InternalItE13testOverlap2DEPKNS0_6HandleES3_ii(a,j,h,g,k)&&(f=IHEAP[l],FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f, +j,h),IHEAP[m]!=0&&(f=IHEAP[n],FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,j,h))),f=4;else if(f==4){IHEAP[h+51+e]+=1;break c}}else IHEAP[h+48+r]+=1;while(0);IHEAP[j+48+e]+=-1;_llvm_memcpy_p0i8_p0i8_i32(o,d,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(d,i,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(i,q,2,2,0);d+=-2;i+=-2;if(IHEAP[d]<IHEAP[i])f=2;else{f=1;continue a}}}else if(f==1){STACKTOP=b;break}} +function __ZN20btAxisSweep3InternalItE9sortMaxUpEitP12btDispatcherb(a,e,d,b,c){b=STACKTOP;STACKTOP+=2;var f,g,h,i,j,k,l,m,n,d=IHEAP[a+22+e]+2*d;l=d+2;m=IHEAP[a+20]+55*IHEAP[d+1];var o=a+28,q=a+29,p=a+29;a:for(;;){if(IHEAP[l+1]==0)break a;if(!(IHEAP[d]>=IHEAP[l]))break a;k=IHEAP[l+1];j=a;j=IHEAP[j+20]+55*k;k=1<<e&3;n=1<<k&3;i=l;i=(IHEAP[i]&1)!=0;b:do if(i)IHEAP[j+51+e]+=-1;else for(f=c&1?4:5;;)if(f==4)__ZN20btAxisSweep3InternalItE13testOverlap2DEPKNS0_6HandleES3_ii(a,m,j,k,n)&&(g=IHEAP[d+1],f=a,f= +IHEAP[f+20]+55*g,h=IHEAP[l+1],g=a,g=IHEAP[g+20]+55*h,h=IHEAP[o],FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,f,g),IHEAP[q]!=0&&(h=IHEAP[p],FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,f,g))),f=5;else if(f==5){IHEAP[j+48+e]+=-1;break b}while(0);IHEAP[m+51+e]+=1;_llvm_memcpy_p0i8_p0i8_i32(b,d,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(d,l,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(l,b,2,2,0);d+=2;l+=2}STACKTOP=b} +function __ZN20btAxisSweep3InternalItE9sortMinUpEitP12btDispatcherb(a,e,d,b,c){var f=STACKTOP;STACKTOP+=2;var g,h,i,j,k,l,m,n,o,d=IHEAP[a+22+e]+2*d;m=d+2;n=IHEAP[a+20]+55*IHEAP[d+1];var q=a+28,p=a+29,r=a+29;a:for(;;){if(IHEAP[m+1]==0)break a;if(!(IHEAP[d]>=IHEAP[m]))break a;k=IHEAP[m+1];l=a;l=IHEAP[l+20]+55*k;k=m;k=(IHEAP[k]&1)!=0;b:do if(k){h=IHEAP[d+1];j=a;j=IHEAP[j+20]+55*h;i=IHEAP[m+1];h=a;h=IHEAP[h+20]+55*i;i=1<<e&3;o=1<<i&3;for(g=c&1?4:5;;)if(g==4)__ZN20btAxisSweep3InternalItE13testOverlap2DEPKNS0_6HandleES3_ii(a, +j,h,i,o)&&(g=IHEAP[q],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b),IHEAP[p]!=0&&(g=IHEAP[r],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b))),g=5;else if(g==5){IHEAP[l+51+e]+=-1;break b}}else IHEAP[l+48+e]+=-1;while(0);IHEAP[n+48+e]+=1;_llvm_memcpy_p0i8_p0i8_i32(f,d,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(d,m,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(m,f,2,2,0);d+=2;m+=2}STACKTOP=f} +function __ZN20btAxisSweep3InternalItE11sortMaxDownEitP12btDispatcherb(a,e,d,b,c){var f=STACKTOP;STACKTOP+=2;var g,h,i,j,k,l,m,n,o,d=IHEAP[a+22+e]+2*d;m=d+-2;n=IHEAP[a+20]+55*IHEAP[d+1];g=IHEAP[d]<IHEAP[m]?0:1;a:for(;;)if(g==0){var q=f,p=f,r=a+28,s=a+29,u=a+29;for(;;){k=IHEAP[m+1];l=a;l=IHEAP[l+20]+55*k;k=m;k=(IHEAP[k]&1)!=0;c:do if(k)IHEAP[l+51+e]+=1;else{h=IHEAP[d+1];j=a;j=IHEAP[j+20]+55*h;i=IHEAP[m+1];h=a;h=IHEAP[h+20]+55*i;i=1<<e&3;o=1<<i&3;for(g=c&1?3:4;;)if(g==3)__ZN20btAxisSweep3InternalItE13testOverlap2DEPKNS0_6HandleES3_ii(a, +j,h,i,o)&&(g=IHEAP[r],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b),IHEAP[s]!=0&&(g=IHEAP[u],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b))),g=4;else if(g==4){IHEAP[l+48+e]+=1;break c}}while(0);IHEAP[n+51+e]+=-1;_llvm_memcpy_p0i8_p0i8_i32(q,d,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(d,m,2,2,0);_llvm_memcpy_p0i8_p0i8_i32(m,p,2,2,0);d+=-2;m+=-2;if(IHEAP[d]<IHEAP[m])g=2;else{g=1;continue a}}}else if(g==1){STACKTOP=f;break}} +function __ZN20btAxisSweep3InternalItE13testOverlap2DEPKNS0_6HandleES3_ii(a,e,d,b,c){var f,a=IHEAP[e+51+b]<IHEAP[d+48+b]?0:1;a:for(;;)if(a==0){f=0;a=5;break a}else if(a==1){if(IHEAP[d+51+b]<IHEAP[e+48+b]){a=0;continue a}if(IHEAP[e+51+c]<IHEAP[d+48+c]){a=0;continue a}if(IHEAP[d+51+c]<IHEAP[e+48+c])a=0;else{a=4;break a}}for(;;)if(a==4)f=1,a=5;else if(a==5)return f;return null} +function __ZN20btAxisSweep3InternalItE12removeHandleEtP12btDispatcher(a,e,d){var b,c,f,g,h,i;c=IHEAP[a+20]+55*e;b=IHEAP[a+28];b=FUNCTION_TABLE[IHEAP[IHEAP[b]+14]](b)?0:1;a:for(;;)if(b==0){f=IHEAP[a+18]*2;g=0;var j=a+20;break a}else b==1&&(b=IHEAP[a+28],FUNCTION_TABLE[IHEAP[IHEAP[b]+4]](b,c,d),b=0);a:for(;;)if(b=IHEAP[j]+51+g,IHEAP[b]=IHEAP[b]-2&65535,g=b=g+1,!(b<3))break a;g=0;j=a+22;b=a+5;for(var k=a+5,l=a+5;;)if(h=IHEAP[j+g],i=IHEAP[c+51+g],IHEAP[h+2*i]=IHEAP[b],__ZN20btAxisSweep3InternalItE9sortMaxUpEitP12btDispatcherb(a, +g,i,d,0),i=IHEAP[c+48+g],IHEAP[h+2*i]=IHEAP[k],__ZN20btAxisSweep3InternalItE9sortMinUpEitP12btDispatcherb(a,g,i,d,0),IHEAP[h+2*(f-1)+1]=0,IHEAP[h+2*(f-1)]=IHEAP[l],g=h=g+1,!(h<3))break;IHEAP[IHEAP[a+20]+55*e+48]=IHEAP[a+21];IHEAP[a+21]=e;IHEAP[a+18]+=-1} +function __ZN20btAxisSweep3InternalItE9addHandleERK9btVector3S3_PvssP12btDispatcherS4_(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=6;var j,k=i+3;__ZNK20btAxisSweep3InternalItE8quantizeEPtRK9btVector3i(a,i,e,0);__ZNK20btAxisSweep3InternalItE8quantizeEPtRK9btVector3i(a,k,d,1);e=IHEAP[a+21];IHEAP[a+21]=IHEAP[IHEAP[a+20]+55*e+48];IHEAP[a+18]+=1;d=IHEAP[a+20]+55*e;IHEAP[d+4]=e;IHEAP[d]=b;IHEAP[d+1]=c;IHEAP[d+2]=f;IHEAP[d+3]=h;b=IHEAP[a+18]*2&65535;c=0;j=c<3?0:1;a:for(;;)if(j==0)for(var f=a+20,h=a+22,l=a+ +22,m=a+22,n=a+22,o=a+22,q=a+22;;)if(j=IHEAP[f]+51+c,IHEAP[j]=IHEAP[j]+2&65535,_llvm_memcpy_p0i8_p0i8_i32(IHEAP[h+c]+2*(b+1),IHEAP[l+c]+2*(b-1),2,2,0),IHEAP[IHEAP[m+c]+2*(b-1)]=IHEAP[i+c],IHEAP[IHEAP[n+c]+2*(b-1)+1]=e,IHEAP[IHEAP[o+c]+2*b]=IHEAP[k+c],IHEAP[IHEAP[q+c]+2*b+1]=e,IHEAP[d+48+c]=b-1&65535,IHEAP[d+51+c]=b,c+=1,c<3)j=2;else{j=1;continue a}else if(j==1)return __ZN20btAxisSweep3InternalItE11sortMinDownEitP12btDispatcherb(a,0,IHEAP[d+48],g,0),__ZN20btAxisSweep3InternalItE11sortMaxDownEitP12btDispatcherb(a, +0,IHEAP[d+51],g,0),__ZN20btAxisSweep3InternalItE11sortMinDownEitP12btDispatcherb(a,1,IHEAP[d+48+1],g,0),__ZN20btAxisSweep3InternalItE11sortMaxDownEitP12btDispatcherb(a,1,IHEAP[d+51+1],g,0),__ZN20btAxisSweep3InternalItE11sortMinDownEitP12btDispatcherb(a,2,IHEAP[d+48+2],g,1),__ZN20btAxisSweep3InternalItE11sortMaxDownEitP12btDispatcherb(a,2,IHEAP[d+51+2],g,1),a=e,STACKTOP=i,a;return null} +function __ZN20btAxisSweep3InternalItED2Ev(a){var e,d,b;IHEAP[a]=__ZTV20btAxisSweep3InternalItE+2;e=IHEAP[a+32]!=0?0:1;a:for(;;)if(e==0){d=IHEAP[a+33];e=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[e](d)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__){e=21;break a}d=IHEAP[a+33];for(e=d!=0?2:3;;)if(e==2)IHEAP[_gNumAlignedFree]+=1,e=d,e!=0&&(e=IHEAP[e+-1],_free(e)),e=3;else if(e==3){d=IHEAP[a+32];e=IHEAP[IHEAP[d]];try{__THREW__= +!1,FUNCTION_TABLE[e](d)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}if(__THREW__){e=21;break a}else break}d=IHEAP[a+32];if(d==0){e=1;continue a}IHEAP[_gNumAlignedFree]+=1;if(d==0){e=1;continue a}d=IHEAP[d+-1];_free(d);e=1}else if(e==1){b=2;var g=a+25;e=7;break a}a:for(;;)if(e==21)throw b=g=_llvm_eh_exception(),_llvm_eh_selector(g,___gxx_personality_v0,0),IHEAP[a]=__ZTV21btBroadphaseInterface+2,__Unwind_Resume_or_Rethrow(b),"Reached an unreachable! Original .ll line: 209051"; +else if(e==7){d=e=IHEAP[g+b];e=e!=0?8:9;b:for(;;)if(e==8){IHEAP[_gNumAlignedFree]+=1;e=d;if(e==0){e=9;continue b}e=IHEAP[e+-1];_free(e);e=9}else if(e==9)if(b=d=b+-1,d>=0){e=7;continue a}else break b;d=IHEAP[a+20];for(e=d==0?12:13;;)if(e==12)if(IHEAP[a+30]&1)break;else{e=17;break a}else e==13&&(e=d,e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=12);d=IHEAP[a+28];e=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[e](d)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+ +" : "+h.stack+", currently at: "+Error().stack)}if(__THREW__)e=21;else{e=23;break a}}for(;;)if(e==17){IHEAP[a]=__ZTV21btBroadphaseInterface+2;break}else e==23&&(b=IHEAP[a+28],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),e=17)}function __ZN20btAxisSweep3InternalItED1Ev(a){__ZN20btAxisSweep3InternalItED2Ev(a)} +function __ZN20btAxisSweep3InternalItED0Ev(a){var e,d;try{__THREW__=!1,__ZN20btAxisSweep3InternalItED2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+ +-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 209322";}}function __ZN21btBroadphaseInterfaceD1Ev(a){IHEAP[a]=__ZTV21btBroadphaseInterface+2}function __ZN21btBroadphaseInterfaceD0Ev(a){IHEAP[a]=__ZTV21btBroadphaseInterface+2;__ZdlPv(a)}function __ZN21btBroadphaseInterface9resetPoolEP12btDispatcher(){} +function __ZN20btAxisSweep3InternalIjE12updateHandleEjRK9btVector3S3_P12btDispatcher(a,e,d,b,c){var f=STACKTOP;STACKTOP+=6;var g,h=f+3,i,j,k,l,e=IHEAP[a+20]+55*e;__ZNK20btAxisSweep3InternalIjE8quantizeEPjRK9btVector3i(a,f,d,0);__ZNK20btAxisSweep3InternalIjE8quantizeEPjRK9btVector3i(a,h,b,1);var d=0,b=a+22,m=a+22,n=a+22,o=a+22;a:for(;;){i=IHEAP[e+48+d];j=IHEAP[e+51+d];k=IHEAP[f+d]-IHEAP[IHEAP[b+d]+2*i];l=IHEAP[h+d]-IHEAP[IHEAP[m+d]+2*j];IHEAP[IHEAP[n+d]+2*i]=IHEAP[f+d];IHEAP[IHEAP[o+d]+2*j]=IHEAP[h+ +d];g=k<0?1:2;b:for(;;)if(g==1)__ZN20btAxisSweep3InternalIjE11sortMinDownEijP12btDispatcherb(a,d,i,c,1),g=2;else if(g==2){g=l>0?3:4;break b}b:for(;;)if(g==3)__ZN20btAxisSweep3InternalIjE9sortMaxUpEijP12btDispatcherb(a,d,j,c,1),g=4;else if(g==4){g=k>0?5:6;break b}b:for(;;)if(g==5)__ZN20btAxisSweep3InternalIjE9sortMinUpEijP12btDispatcherb(a,d,i,c,1),g=6;else if(g==6){g=l<0?7:8;break b}for(;;)if(g==7)__ZN20btAxisSweep3InternalIjE11sortMaxDownEijP12btDispatcherb(a,d,j,c,1),g=8;else if(g==8)if(d=g=d+1, +g<3)continue a;else break a}STACKTOP=f} +function __ZNK20btAxisSweep3InternalIjE8quantizeEPjRK9btVector3i(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=null,f=c+1,g=c+2,h,i=c+3,j=c+4,k=c+5,l=c+6,m=c+10;h=a+6;FHEAP[i]=FHEAP[d]-FHEAP[h];FHEAP[j]=FHEAP[d+1]-FHEAP[h+1];FHEAP[k]=FHEAP[d+2]-FHEAP[h+2];FHEAP[m]=FHEAP[i];FHEAP[m+1]=FHEAP[j];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;d=a+14;FHEAP[c]=FHEAP[m]*FHEAP[d];FHEAP[f]=FHEAP[m+1]*FHEAP[d+1];FHEAP[g]=FHEAP[m+2]*FHEAP[d+2];FHEAP[l]=FHEAP[c];FHEAP[l+1]=FHEAP[f];FHEAP[l+2]=FHEAP[g];FHEAP[l+3]=0;if(FHEAP[l]<= +0)var n=b,f=0;else if(FHEAP[l]>=IHEAP[a+5])var o=IHEAP[a+4]&IHEAP[a+5]|b,f=2;else var q=Math.floor(FHEAP[l])&IHEAP[a+4]|b,f=3;IHEAP[e]=f==0?n:f==2?o:q;if(FHEAP[l+1]<=0)var p=b,f=4;else if(FHEAP[l+1]>=IHEAP[a+5])var r=IHEAP[a+4]&IHEAP[a+5]|b,f=6;else var s=Math.floor(FHEAP[l+1])&IHEAP[a+4]|b,f=7;IHEAP[e+1]=f==4?p:f==6?r:s;if(FHEAP[l+2]<=0)var u=b,f=8;else if(FHEAP[l+2]>=IHEAP[a+5])var v=IHEAP[a+4]&IHEAP[a+5]|b,f=10;else var y=Math.floor(FHEAP[l+2])&IHEAP[a+4]|b,f=11;IHEAP[e+2]=f==8?u:f==10?v:y;STACKTOP= +c} +function __ZN20btAxisSweep3InternalIjE11sortMinDownEijP12btDispatcherb(a,e,d,b,c){b=STACKTOP;STACKTOP+=2;var f,g,h,i,j,k,d=IHEAP[a+22+e]+2*d;i=d+-2;j=IHEAP[a+20]+55*IHEAP[d+1];f=IHEAP[d]<IHEAP[i]?0:1;a:for(;;)if(f==0){var l=a+28,m=a+29,n=a+29,o=b,q=b;for(;;){g=IHEAP[i+1];h=a;h=IHEAP[h+20]+55*g;g=i;var p=(IHEAP[g]&1)!=0,r=e;c:do if(p){g=1<<r&3;k=1<<g&3;for(f=c&1?3:4;;)if(f==3)__ZN20btAxisSweep3InternalIjE13testOverlap2DEPKNS0_6HandleES3_ii(a,j,h,g,k)&&(f=IHEAP[l],FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,j, +h),IHEAP[m]!=0&&(f=IHEAP[n],FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,j,h))),f=4;else if(f==4){IHEAP[h+51+e]+=1;break c}}else IHEAP[h+48+r]+=1;while(0);IHEAP[j+48+e]+=-1;_llvm_memcpy_p0i8_p0i8_i32(o,d,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,i,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(i,q,2,4,0);d+=-2;i+=-2;if(IHEAP[d]<IHEAP[i])f=2;else{f=1;continue a}}}else if(f==1){STACKTOP=b;break}} +function __ZN20btAxisSweep3InternalIjE9sortMaxUpEijP12btDispatcherb(a,e,d,b,c){b=STACKTOP;STACKTOP+=2;var f,g,h,i,j,k,l,m,n,d=IHEAP[a+22+e]+2*d;l=d+2;m=IHEAP[a+20]+55*IHEAP[d+1];var o=a+28,q=a+29,p=a+29;a:for(;;){if(IHEAP[l+1]==0)break a;if(!(IHEAP[d]>=IHEAP[l]))break a;k=IHEAP[l+1];j=a;j=IHEAP[j+20]+55*k;k=1<<e&3;n=1<<k&3;i=l;i=(IHEAP[i]&1)!=0;b:do if(i)IHEAP[j+51+e]+=-1;else for(f=c&1?4:5;;)if(f==4)__ZN20btAxisSweep3InternalIjE13testOverlap2DEPKNS0_6HandleES3_ii(a,m,j,k,n)&&(g=IHEAP[d+1],f=a,f= +IHEAP[f+20]+55*g,h=IHEAP[l+1],g=a,g=IHEAP[g+20]+55*h,h=IHEAP[o],FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,f,g),IHEAP[q]!=0&&(h=IHEAP[p],FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,f,g))),f=5;else if(f==5){IHEAP[j+48+e]+=-1;break b}while(0);IHEAP[m+51+e]+=1;_llvm_memcpy_p0i8_p0i8_i32(b,d,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,l,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(l,b,2,4,0);d+=2;l+=2}STACKTOP=b} +function __ZN20btAxisSweep3InternalIjE9sortMinUpEijP12btDispatcherb(a,e,d,b,c){var f=STACKTOP;STACKTOP+=2;var g,h,i,j,k,l,m,n,o,d=IHEAP[a+22+e]+2*d;m=d+2;n=IHEAP[a+20]+55*IHEAP[d+1];var q=a+28,p=a+29,r=a+29;a:for(;;){if(IHEAP[m+1]==0)break a;if(!(IHEAP[d]>=IHEAP[m]))break a;k=IHEAP[m+1];l=a;l=IHEAP[l+20]+55*k;k=m;k=(IHEAP[k]&1)!=0;b:do if(k){h=IHEAP[d+1];j=a;j=IHEAP[j+20]+55*h;i=IHEAP[m+1];h=a;h=IHEAP[h+20]+55*i;i=1<<e&3;o=1<<i&3;for(g=c&1?4:5;;)if(g==4)__ZN20btAxisSweep3InternalIjE13testOverlap2DEPKNS0_6HandleES3_ii(a, +j,h,i,o)&&(g=IHEAP[q],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b),IHEAP[p]!=0&&(g=IHEAP[r],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b))),g=5;else if(g==5){IHEAP[l+51+e]+=-1;break b}}else IHEAP[l+48+e]+=-1;while(0);IHEAP[n+48+e]+=1;_llvm_memcpy_p0i8_p0i8_i32(f,d,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,m,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(m,f,2,4,0);d+=2;m+=2}STACKTOP=f} +function __ZN20btAxisSweep3InternalIjE11sortMaxDownEijP12btDispatcherb(a,e,d,b,c){var f=STACKTOP;STACKTOP+=2;var g,h,i,j,k,l,m,n,o,d=IHEAP[a+22+e]+2*d;m=d+-2;n=IHEAP[a+20]+55*IHEAP[d+1];g=IHEAP[d]<IHEAP[m]?0:1;a:for(;;)if(g==0){var q=f,p=f,r=a+28,s=a+29,u=a+29;for(;;){k=IHEAP[m+1];l=a;l=IHEAP[l+20]+55*k;k=m;k=(IHEAP[k]&1)!=0;c:do if(k)IHEAP[l+51+e]+=1;else{h=IHEAP[d+1];j=a;j=IHEAP[j+20]+55*h;i=IHEAP[m+1];h=a;h=IHEAP[h+20]+55*i;i=1<<e&3;o=1<<i&3;for(g=c&1?3:4;;)if(g==3)__ZN20btAxisSweep3InternalIjE13testOverlap2DEPKNS0_6HandleES3_ii(a, +j,h,i,o)&&(g=IHEAP[r],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b),IHEAP[s]!=0&&(g=IHEAP[u],FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,j,h,b))),g=4;else if(g==4){IHEAP[l+48+e]+=1;break c}}while(0);IHEAP[n+51+e]+=-1;_llvm_memcpy_p0i8_p0i8_i32(q,d,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,m,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(m,p,2,4,0);d+=-2;m+=-2;if(IHEAP[d]<IHEAP[m])g=2;else{g=1;continue a}}}else if(g==1){STACKTOP=f;break}} +function __ZN20btAxisSweep3InternalIjE13testOverlap2DEPKNS0_6HandleES3_ii(a,e,d,b,c){var f,a=IHEAP[e+51+b]<IHEAP[d+48+b]?0:1;a:for(;;)if(a==0){f=0;a=5;break a}else if(a==1){if(IHEAP[d+51+b]<IHEAP[e+48+b]){a=0;continue a}if(IHEAP[e+51+c]<IHEAP[d+48+c]){a=0;continue a}if(IHEAP[d+51+c]<IHEAP[e+48+c])a=0;else{a=4;break a}}for(;;)if(a==4)f=1,a=5;else if(a==5)return f;return null} +function __ZN20btAxisSweep3InternalIjE12removeHandleEjP12btDispatcher(a,e,d){var b,c,f,g,h,i;c=IHEAP[a+20]+55*e;b=IHEAP[a+28];b=FUNCTION_TABLE[IHEAP[IHEAP[b]+14]](b)?0:1;a:for(;;)if(b==0){f=IHEAP[a+18]*2;g=0;var j=a+20;break a}else b==1&&(b=IHEAP[a+28],FUNCTION_TABLE[IHEAP[IHEAP[b]+4]](b,c,d),b=0);a:for(;;)if(IHEAP[IHEAP[j]+51+g]-=2,g=b=g+1,!(b<3))break a;g=0;j=a+22;b=a+5;for(var k=a+5,l=a+5;;)if(h=IHEAP[j+g],i=IHEAP[c+51+g],IHEAP[h+2*i]=IHEAP[b],__ZN20btAxisSweep3InternalIjE9sortMaxUpEijP12btDispatcherb(a, +g,i,d,0),i=IHEAP[c+48+g],IHEAP[h+2*i]=IHEAP[k],__ZN20btAxisSweep3InternalIjE9sortMinUpEijP12btDispatcherb(a,g,i,d,0),IHEAP[h+2*(f-1)+1]=0,IHEAP[h+2*(f-1)]=IHEAP[l],g=h=g+1,!(h<3))break;IHEAP[IHEAP[a+20]+55*e+48]=IHEAP[a+21];IHEAP[a+21]=e;IHEAP[a+18]+=-1} +function __ZN20btAxisSweep3InternalIjE9addHandleERK9btVector3S3_PvssP12btDispatcherS4_(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=6;var j=i+3;__ZNK20btAxisSweep3InternalIjE8quantizeEPjRK9btVector3i(a,i,e,0);__ZNK20btAxisSweep3InternalIjE8quantizeEPjRK9btVector3i(a,j,d,1);e=IHEAP[a+21];IHEAP[a+21]=IHEAP[IHEAP[a+20]+55*e+48];IHEAP[a+18]+=1;d=IHEAP[a+20]+55*e;IHEAP[d+4]=e;IHEAP[d]=b;IHEAP[d+1]=c;IHEAP[d+2]=f;IHEAP[d+3]=h;for(var b=IHEAP[a+18]*2,c=0,f=a+20,h=a+22,k=a+22,l=a+22,m=a+22,n=a+22,o=a+22;;){IHEAP[IHEAP[f]+ +51+c]+=2;_llvm_memcpy_p0i8_p0i8_i32(IHEAP[h+c]+2*(b+1),IHEAP[k+c]+2*(b-1),2,4,0);IHEAP[IHEAP[l+c]+2*(b-1)]=IHEAP[i+c];IHEAP[IHEAP[m+c]+2*(b-1)+1]=e;IHEAP[IHEAP[n+c]+2*b]=IHEAP[j+c];IHEAP[IHEAP[o+c]+2*b+1]=e;IHEAP[d+48+c]=b-1;IHEAP[d+51+c]=b;var q=c+1,c=q;if(!(q<3))break}__ZN20btAxisSweep3InternalIjE11sortMinDownEijP12btDispatcherb(a,0,IHEAP[d+48],g,0);__ZN20btAxisSweep3InternalIjE11sortMaxDownEijP12btDispatcherb(a,0,IHEAP[d+51],g,0);__ZN20btAxisSweep3InternalIjE11sortMinDownEijP12btDispatcherb(a, +1,IHEAP[d+48+1],g,0);__ZN20btAxisSweep3InternalIjE11sortMaxDownEijP12btDispatcherb(a,1,IHEAP[d+51+1],g,0);__ZN20btAxisSweep3InternalIjE11sortMinDownEijP12btDispatcherb(a,2,IHEAP[d+48+2],g,1);__ZN20btAxisSweep3InternalIjE11sortMaxDownEijP12btDispatcherb(a,2,IHEAP[d+51+2],g,1);STACKTOP=i;return e} +function __ZN20btAxisSweep3InternalIjED2Ev(a){var e,d,b;IHEAP[a]=__ZTV20btAxisSweep3InternalIjE+2;e=IHEAP[a+32]!=0?0:1;a:for(;;)if(e==0){d=IHEAP[a+33];e=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[e](d)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__){e=21;break a}d=IHEAP[a+33];for(e=d!=0?2:3;;)if(e==2)IHEAP[_gNumAlignedFree]+=1,e=d,e!=0&&(e=IHEAP[e+-1],_free(e)),e=3;else if(e==3){d=IHEAP[a+32];e=IHEAP[IHEAP[d]];try{__THREW__= +!1,FUNCTION_TABLE[e](d)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}if(__THREW__){e=21;break a}else break}d=IHEAP[a+32];if(d==0){e=1;continue a}IHEAP[_gNumAlignedFree]+=1;if(d==0){e=1;continue a}d=IHEAP[d+-1];_free(d);e=1}else if(e==1){b=2;var g=a+25;e=7;break a}a:for(;;)if(e==21)throw b=g=_llvm_eh_exception(),_llvm_eh_selector(g,___gxx_personality_v0,0),IHEAP[a]=__ZTV21btBroadphaseInterface+2,__Unwind_Resume_or_Rethrow(b),"Reached an unreachable! Original .ll line: 211540"; +else if(e==7){d=e=IHEAP[g+b];e=e!=0?8:9;b:for(;;)if(e==8){IHEAP[_gNumAlignedFree]+=1;e=d;if(e==0){e=9;continue b}e=IHEAP[e+-1];_free(e);e=9}else if(e==9)if(b=d=b+-1,d>=0){e=7;continue a}else break b;d=IHEAP[a+20];for(e=d==0?12:13;;)if(e==12)if(IHEAP[a+30]&1)break;else{e=17;break a}else e==13&&(e=d,e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=12);d=IHEAP[a+28];e=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[e](d)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+ +" : "+h.stack+", currently at: "+Error().stack)}if(__THREW__)e=21;else{e=23;break a}}for(;;)if(e==17){IHEAP[a]=__ZTV21btBroadphaseInterface+2;break}else e==23&&(b=IHEAP[a+28],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),e=17)}function __ZN20btAxisSweep3InternalIjED1Ev(a){__ZN20btAxisSweep3InternalIjED2Ev(a)} +function __ZN20btAxisSweep3InternalIjED0Ev(a){var e,d;try{__THREW__=!1,__ZN20btAxisSweep3InternalIjED2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+ +-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 211811";}}function __ZN15btNullPairCacheD1Ev(a){IHEAP[a]=__ZTV15btNullPairCache+2;__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a+4);IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2} +function __ZN15btNullPairCacheD0Ev(a){IHEAP[a]=__ZTV15btNullPairCache+2;__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a+4);IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2;__ZdlPv(a)}function __ZN15btNullPairCache18addOverlappingPairEP17btBroadphaseProxyS1_(){return 0}function __ZN15btNullPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher(){return 0} +function __ZN15btNullPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher(){}function __ZN15btNullPairCache26getOverlappingPairArrayPtrEv(a){return IHEAP[a+4+3]+0}function __ZNK15btNullPairCache26getOverlappingPairArrayPtrEv(a){return IHEAP[a+4+3]+0}function __ZN15btNullPairCache23getOverlappingPairArrayEv(a){return a+4}function __ZN15btNullPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher(){} +function __ZNK15btNullPairCache22getNumOverlappingPairsEv(){return 0}function __ZN15btNullPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher(){}function __ZN15btNullPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback(){}function __ZN15btNullPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher(){}function __ZN15btNullPairCache8findPairEP17btBroadphaseProxyS1_(){return 0}function __ZN15btNullPairCache18hasDeferredRemovalEv(){return 1} +function __ZN15btNullPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback(){}function __ZN15btNullPairCache20sortOverlappingPairsEP12btDispatcher(){} +function __ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN22btOverlappingPairCacheD1Ev(a){IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2}function __ZN22btOverlappingPairCacheD0Ev(a){IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2;__ZdlPv(a)}function __ZN25btOverlappingPairCallbackD1Ev(a){IHEAP[a]=__ZTV25btOverlappingPairCallback+2}function __ZN25btOverlappingPairCallbackD0Ev(a){IHEAP[a]=__ZTV25btOverlappingPairCallback+2;__ZdlPv(a)} +function __ZN28btHashedOverlappingPairCacheC2Ev(a){IHEAP[a]=__ZTV25btOverlappingPairCallback+2;IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV28btHashedOverlappingPairCache+2;var e=a+4;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+9]=0;IHEAP[a+10]=0;e=a+11;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+16;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+21]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(a+4,2);__ZN28btHashedOverlappingPairCache10growTablesEv(a)} +function __ZN28btHashedOverlappingPairCache10growTablesEv(a){var e=STACKTOP;STACKTOP+=2;var d,b,c,f,g,h,i,j,k=e+1,l;j=IHEAP[a+4+2];d=IHEAP[a+11+1]<j?0:1;a:for(;;)if(d==0){b=a+11;b=IHEAP[b+1];l=a+11;var m=j;IHEAP[e]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(l,m,e);l=a+16;m=j;IHEAP[k]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(l,m,k);l=0;d=l<j?2:3;b:for(;;)if(d==2)for(m=a+11;;)if(f=l,c=m,IHEAP[IHEAP[c+3]+f]=-1,l+=1,l<j)d=4;else{d=3;continue b}else if(d==3){l=0;d=l<j?5:6;break b}b:for(;;)if(d==5)for(m= +a+16;;)if(f=l,c=m,IHEAP[IHEAP[c+3]+f]=-1,l+=1,l<j)d=7;else{d=6;continue b}else if(d==6)if(l=0,l<b){d=8;break b}else{d=1;continue a}m=a+4;c=a+4;f=a+11;for(var n=a+16,o=a+11;;)if(g=l,d=m,g=IHEAP[d+3]+4*g,d=IHEAP[g],d=IHEAP[d+4],g=IHEAP[g+1],g=IHEAP[g+4],d|=g<<16,d+=d<<15^-1,d^=d>>10,d+=d*8,d^=d>>6,d+=d<<11^-1,d^=d>>16,g=d,d=c,h=d=IHEAP[d+2]-1&g,g=f,h=IHEAP[IHEAP[g+3]+h],i=l,g=n,IHEAP[IHEAP[g+3]+i]=h,g=l,h=d,d=o,IHEAP[IHEAP[d+3]+h]=g,l+=1,l<b)d=9;else{d=1;continue a}}else if(d==1){STACKTOP=e;break}} +function __ZN28btHashedOverlappingPairCacheD0Ev(a){IHEAP[a]=__ZTV28btHashedOverlappingPairCache+2;__ZN20btAlignedObjectArrayIiE5clearEv(a+16);__ZN20btAlignedObjectArrayIiE5clearEv(a+11);__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a+4);IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2;__ZdlPv(a)} +function __ZN28btHashedOverlappingPairCacheD2Ev(a){IHEAP[a]=__ZTV28btHashedOverlappingPairCache+2;__ZN20btAlignedObjectArrayIiE5clearEv(a+16);__ZN20btAlignedObjectArrayIiE5clearEv(a+11);__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a+4);IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2} +function __ZN28btHashedOverlappingPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher(a,e,d){for(a=IHEAP[e+2]!=0?0:1;;)if(a==0)a=IHEAP[e+2],FUNCTION_TABLE[IHEAP[IHEAP[a]]](a),a=d,FUNCTION_TABLE[IHEAP[IHEAP[a]+15]](a,IHEAP[e+2]),IHEAP[e+2]=0,a=1;else if(a==1)break} +function __ZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b=STACKTOP;STACKTOP+=7;IHEAP[b]=__ZTV17btOverlapCallback+2;IHEAP[b]=__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2;IHEAP[b+4]=e;IHEAP[b+5]=a;IHEAP[b+6]=d;e=IHEAP[IHEAP[a]+12];try{__THREW__=!1,FUNCTION_TABLE[e](a,b,d)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}a= +__THREW__?1:0;if(a==0)IHEAP[b]=__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,STACKTOP=b;else if(a==1)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[b]=__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 212942"; +} +function __ZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b=STACKTOP;STACKTOP+=5;IHEAP[b]=__ZTV17btOverlapCallback+2;IHEAP[b]=__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2;IHEAP[b+4]=e;e=IHEAP[IHEAP[a]+12];try{__THREW__=!1,FUNCTION_TABLE[e](a,b,d)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}a= +__THREW__?1:0;if(a==0)IHEAP[b]=__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,STACKTOP=b;else if(a==1)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[b]=__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,__Unwind_Resume_or_Rethrow(a), +"Reached an unreachable! Original .ll line: 213027";} +function __ZN28btHashedOverlappingPairCache8findPairEP17btBroadphaseProxyS1_(a,e,d){var b=STACKTOP;STACKTOP+=2;var c=null,f,g,h,i,j,k,l,m;i=b+1;IHEAP[b]=e;IHEAP[i]=d;IHEAP[_gFindPairs]+=1;d=IHEAP[IHEAP[b]+4]>IHEAP[IHEAP[i]+4]?0:1;a:for(;;)if(d==0)e=b,c=i,d=IHEAP[e],IHEAP[e]=IHEAP[c],IHEAP[c]=d,d=1;else if(d==1){f=IHEAP[b];f=IHEAP[f+4];g=IHEAP[i];i=g=IHEAP[g+4];h=f;h|=i<<16;h+=h<<15^-1;h^=h>>10;h+=h*8;h^=h>>6;h+=h<<11^-1;h^=h>>16;i=h;h=a+4;e=h=IHEAP[h+2]-1&i;i=a+11;d=e>=IHEAP[i+1]?2:3;break a}if(d== +2)m=0;else if(d==3){e=m=IHEAP[IHEAP[a+11+3]+h];h=a+4;i=a+16;c=3;a:for(;;){if((c==10?j:m)==-1)break a;c=e;j=h;k=c;d=f;c=g;j=IHEAP[j+3]+4*k;k=c;c=IHEAP[j];IHEAP[c+4]==d?(c=6,d=8):(c=6,d=9);for(;;)if(d==8)l=IHEAP[j+1],l=IHEAP[l+4]==k,c=8,d=9;else if(d==9)if((c==6?0:l)==0)break;else break a;j=i;e=j=IHEAP[IHEAP[j+3]+e];c=10}m=e==-1?0:IHEAP[a+4+3]+4*e}STACKTOP=b;return m} +function __ZN28btHashedOverlappingPairCache15internalAddPairEP17btBroadphaseProxyS1_(a,e,d){var b=STACKTOP;STACKTOP+=2;var c=null,f,g,h,i,j,k,l,m,n,o,q,p,r;n=b+1;IHEAP[b]=e;IHEAP[n]=d;e=IHEAP[IHEAP[b]+4]>IHEAP[IHEAP[n]+4]?0:1;a:for(;;)if(e==0)c=b,e=n,d=IHEAP[c],IHEAP[c]=IHEAP[e],IHEAP[e]=d,e=1;else if(e==1){l=IHEAP[b];l=IHEAP[l+4];j=IHEAP[n];g=j=IHEAP[j+4];f=l;f|=g<<16;f+=f<<15^-1;f^=f>>10;f+=f*8;f^=f>>6;f+=f<<11^-1;f^=f>>16;g=f;f=a+4;f=IHEAP[f+2]-1&g;g=c=__ZN28btHashedOverlappingPairCache16internalFindPairEP17btBroadphaseProxyS1_i(a, +IHEAP[b],IHEAP[n],f);e=c!=0?2:3;break a}if(e==2)r=g;else if(e==3){r=IHEAP[a+4+1];g=IHEAP[a+4+2];d=a+4;i=IHEAP[d+1];e=i==IHEAP[d+2]?5:6;a:for(;;)if(e==5){c=d;h=IHEAP[c+1];h!=0?(c=5,e=7):(c=5,e=8);for(;;)if(e==7)k=h*2,c=7,e=8;else if(e==8){__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(d,c==7?k:1);e=6;continue a}}else if(e==6){IHEAP[d+1]+=1;p=IHEAP[d+3]+4*i;e=IHEAP[a+21]!=0?9:10;break a}a:for(;;)if(e==9)k=IHEAP[a+21],FUNCTION_TABLE[IHEAP[IHEAP[k]+2]](k,IHEAP[b],IHEAP[n]),e=10;else if(e==10){k= +a+4;k=IHEAP[k+2];e=g<k?11:12;break a}for(;;)if(e==11)__ZN28btHashedOverlappingPairCache10growTablesEv(a),k=j,f=l,f|=k<<16,f+=f<<15^-1,f^=f>>10,f+=f*8,f^=f>>6,f+=f<<11^-1,f^=f>>16,k=f,f=a+4,f=IHEAP[f+2]-1&k,e=12;else if(e==12){m=p;q=IHEAP[b];p=IHEAP[n];o=m;q=n=q;n=o;o=q;q=p;var s=n,e=IHEAP[o+4]<IHEAP[q+4]?13:14;break}e==13?(IHEAP[s]=o,IHEAP[s+1]=q):e==14&&(IHEAP[s]=q,IHEAP[s+1]=o);IHEAP[s+2]=0;IHEAP[s+3]=0;g=m;IHEAP[g+2]=0;IHEAP[g+3]=0;m=IHEAP[IHEAP[a+11+3]+f];IHEAP[IHEAP[a+16+3]+r]=m;IHEAP[IHEAP[a+ +11+3]+f]=r;r=g}STACKTOP=b;return r} +function __ZN28btHashedOverlappingPairCache16internalFindPairEP17btBroadphaseProxyS1_i(a,e,d,b){var c,f=null,g,h,i,j,e=IHEAP[e+4],d=IHEAP[d+4];j=b=IHEAP[IHEAP[a+11+3]+b];var k=a+4,l=a+16,f=-1;a:for(;;){if((f==5?g:b)==-1)break a;f=j;g=k;c=f;i=e;f=d;g=IHEAP[g+3]+4*c;c=i;i=f;f=IHEAP[g];IHEAP[f+4]==c?(f=1,c=3):(f=1,c=4);for(;;)if(c==3)h=IHEAP[g+1],h=IHEAP[h+4]==i,f=3,c=4;else if(c==4)if((f==1?0:h)==0)break;else break a;g=j;j=l;j=g=IHEAP[IHEAP[j+3]+g];f=5}return a=j==-1?0:IHEAP[a+4+3]+4*j} +function __ZN28btHashedOverlappingPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher(a,e,d,b){var c=STACKTOP;STACKTOP+=2;var f,g=null,h,i,j,k,l,m;l=c+1;var n;IHEAP[c]=e;IHEAP[l]=d;IHEAP[_gRemovePairs]+=1;f=IHEAP[IHEAP[c]+4]>IHEAP[IHEAP[l]+4]?0:1;a:for(;;)if(f==0)e=c,d=l,g=IHEAP[e],IHEAP[e]=IHEAP[d],IHEAP[d]=g,f=1;else if(f==1){e=IHEAP[c];e=IHEAP[e+4];h=IHEAP[l];h=IHEAP[h+4];e|=h<<16;e+=e<<15^-1;e^=e>>10;e+=e*8;e^=e>>6;e+=e<<11^-1;e^=e>>16;h=e;e=a+4;n=IHEAP[e+2]-1&h;h=e=__ZN28btHashedOverlappingPairCache16internalFindPairEP17btBroadphaseProxyS1_i(a, +IHEAP[c],IHEAP[l],n);f=e==0?2:3;break a}if(f==2)k=0;else if(f==3){FUNCTION_TABLE[IHEAP[IHEAP[a]+8]](a,h,b);e=IHEAP[h+3];h=(h-(IHEAP[a+4+3]+0))/4|0;i=IHEAP[IHEAP[a+11+3]+n];d=-1;i!=h?(g=3,f=5):(g=3,f=6);a:for(;;)if(f==5){for(var o=a+16;;)if(d=i,g=o,i=IHEAP[IHEAP[g+3]+i],i==h)break;o=d;g=8;f=6}else if(f==6){o=(g==8?o:-1)!=-1;g=h;j=a+16;j=IHEAP[IHEAP[j+3]+g];f=o?9:10;break a}f==9?IHEAP[IHEAP[a+16+3]+d]=j:f==10&&(IHEAP[IHEAP[a+11+3]+n]=j);j=IHEAP[a+4+1]-1;f=IHEAP[a+21]!=0?12:13;a:for(;;)if(f==12)d=IHEAP[a+ +21],FUNCTION_TABLE[IHEAP[IHEAP[d]+3]](d,IHEAP[c],IHEAP[l],b),f=13;else if(f==13){var q=a+4;f=j==h?14:15;break a}if(f==14)IHEAP[q+1]+=-1,k=e;else if(f==15){k=IHEAP[q+3]+4*j;b=IHEAP[k];b=IHEAP[b+4];k=IHEAP[k+1];k=IHEAP[k+4];b|=k<<16;b+=b<<15^-1;b^=b>>10;b+=b*8;b^=b>>6;b+=b<<11^-1;b^=b>>16;b&=IHEAP[a+4+2]-1;i=IHEAP[IHEAP[a+11+3]+b];d=-1;i!=j?(g=15,f=16):(g=15,f=17);a:for(;;)if(f==16){for(var p=a+16;;)if(l=d=i,k=p,i=IHEAP[IHEAP[k+3]+l],i==j)break;p=d;g=19;f=17}else if(f==17){p=(g==19?p:-1)!=-1;k=j;m= +a+16;m=IHEAP[IHEAP[m+3]+k];f=p?20:21;break a}f==20?IHEAP[IHEAP[a+16+3]+d]=m:f==21&&(IHEAP[IHEAP[a+11+3]+b]=m);m=IHEAP[a+4+3]+4*h;_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[a+4+3]+4*j,4,4,0);m=IHEAP[IHEAP[a+11+3]+b];IHEAP[IHEAP[a+16+3]+h]=m;IHEAP[IHEAP[a+11+3]+b]=h;IHEAP[a+4+1]+=-1;k=e}}STACKTOP=c;return k} +function __ZN28btHashedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher(a,e,d){var b,c,f;f=0;var g=a+4;b=f<IHEAP[g+1]?0:1;a:for(;;)if(b==0)for(var h=a+4,i=a;;)if(c=f,b=h,b=IHEAP[b+3]+4*c,c=e,FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,b)?(FUNCTION_TABLE[IHEAP[IHEAP[i]+3]](a,IHEAP[b],IHEAP[b+1],d),IHEAP[_gOverlappingPairs]+=-1):f+=1,c=f,b=g,c<IHEAP[b+1])b=2;else{b=1;continue a}else if(b==1)break} +function __ZN28btHashedOverlappingPairCache20sortOverlappingPairsEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=8;var b,c,f,g,h,i,j,k=d+1;h=d+2;var l,m=d+7;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;l=IHEAP[h+2]=0;g=a+4;b=l<IHEAP[g+1]?0:1;a:for(;;)if(b==0)for(f=a+4;;)if(c=l,b=f,__ZN20btAlignedObjectArrayI16btBroadphasePairE9push_backERKS0_(h,IHEAP[b+3]+4*c),l+=1,c=l,b=g,c<IHEAP[b+1])b=2;else{b=1;continue a}else if(b==1){l=0;i=a;b=3;break a}a:for(;;){f=l;g=h;if(!(f<IHEAP[g+1])){b=5;break a}g=IHEAP[IHEAP[i]+ +3];b=l;f=h;f=IHEAP[IHEAP[f+3]+4*b];c=l;b=h;b=IHEAP[IHEAP[b+3]+4*c+1];c=e;try{__THREW__=!1,FUNCTION_TABLE[g](a,f,b,c)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__){b=15;break a}l+=1;b=3}a:for(;;)if(b==5){g=l=0;f=i=a+16;b=g<IHEAP[f+1]?6:7;b:for(;;)if(b==6)for(g=a+16;;)if(b=l,f=g,IHEAP[IHEAP[f+3]+b]=-1,l+=1,b=l,f=i,b<IHEAP[f+1])b=8;else{b=7;continue b}else if(b==7){_llvm_memcpy_p0i8_p0i8_i64(k,m,1,1,0);i=j=h;b=IHEAP[i+1]>1? +9:10;break b}b:for(;;)if(b==9)i=j,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(j,d,0,IHEAP[i+1]-1),b=10;else if(b==10){l=0;var o=a;b=11;break b}for(;;){g=l;i=h;if(!(g<IHEAP[i+1]))break a;i=IHEAP[IHEAP[o]+2];f=l;g=h;g=IHEAP[IHEAP[g+3]+4*f];b=l;f=h;f=IHEAP[IHEAP[f+3]+4*b+1];try{__THREW__=!1,FUNCTION_TABLE[i](a,g,f)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}if(__THREW__){b=15; +continue a}l+=1;b=11}}else if(b==15)throw d=k=_llvm_eh_exception(),_llvm_eh_selector(k,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(h),__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 214960";__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(h);STACKTOP=d} +function __ZN20btAlignedObjectArrayI16btBroadphasePairE9push_backERKS0_(a,e){var d,b=null,c,f;d=IHEAP[a+1]==IHEAP[a+2]?0:1;a:for(;;)if(d==0){d=a;c=IHEAP[d+1];c!=0?(b=0,d=2):(b=0,d=3);for(;;)if(d==2)f=c*2,b=2,d=3;else if(d==3){__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(a,b==2?f:1);d=1;continue a}}else if(d==1){f=IHEAP[a+3]+4*IHEAP[a+1];d=e;IHEAP[f]=IHEAP[d];IHEAP[f+1]=IHEAP[d+1];IHEAP[f+2]=IHEAP[d+2];IHEAP[f+3]=IHEAP[d+3];IHEAP[a+1]+=1;break}} +function __ZN28btSortedOverlappingPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f,g,h,i,j,k,l;g=c+4;f=FUNCTION_TABLE[IHEAP[IHEAP[a]+14]](a)?0:1;a:for(;;)if(f==0){k=0;f=6;break a}else if(f==1)if(f=e,j=d,l=g,IHEAP[f+4]<IHEAP[j+4]?(IHEAP[l]=f,IHEAP[l+1]=j):(IHEAP[l]=j,IHEAP[l+1]=f),IHEAP[l+2]=0,IHEAP[l+3]=0,j=l=__ZNK20btAlignedObjectArrayI16btBroadphasePairE16findLinearSearchERKS0_(a+4,g),f=a+4,j<IHEAP[f+1]){f=3;break a}else f=0;a:for(;;)if(f== +3){IHEAP[_gOverlappingPairs]+=-1;f=l;g=a+4;f=IHEAP[g+3]+4*f;g=IHEAP[f+3];FUNCTION_TABLE[IHEAP[IHEAP[a]+8]](a,f,b);for(f=IHEAP[a+12]!=0?4:5;;)if(f==4)f=IHEAP[a+12],FUNCTION_TABLE[IHEAP[IHEAP[f]+3]](f,e,d,b),f=5;else if(f==5){j=a+4;k=l;f=a+4;f=IHEAP[f+2]-1;i=IHEAP[j+3]+4*k;h=c;IHEAP[h]=IHEAP[i];IHEAP[h+1]=IHEAP[i+1];IHEAP[h+2]=IHEAP[i+2];IHEAP[h+3]=IHEAP[i+3];_llvm_memcpy_p0i8_p0i8_i32(IHEAP[j+3]+4*k,IHEAP[j+3]+4*f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(IHEAP[j+3]+4*f,c,4,4,0);k=a+4;IHEAP[k+1]+=-1;k=g;f= +6;continue a}}else if(f==6)return a=k,STACKTOP=c,a;return null}function __ZNK20btAlignedObjectArrayI16btBroadphasePairE16findLinearSearchERKS0_(a,e){var d,b=null,c,f;f=IHEAP[a+1];var b=0,g=a+3;a:for(;;){c=b;d=a;if(!(c<IHEAP[d+1])){d=2;break a}c=e;d=IHEAP[g]+4*b;if(IHEAP[d]==IHEAP[c]){var h=b;if(IHEAP[d+1]==IHEAP[c+1]){d=6;break a}else b=5}else var i=b,b=3;b=(b==3?i:h)+1;d=0}for(;;)if(d==2)return f;else d==6&&(f=h,d=2);return null} +function __ZN28btSortedOverlappingPairCache18addOverlappingPairEP17btBroadphaseProxyS1_(a,e,d){var b,c=null,f,g,h,i,j,k,l,m;k=IHEAP[a+11]!=0;a:do if(k){k=IHEAP[a+11];b=FUNCTION_TABLE[IHEAP[IHEAP[k]+2]](k,e,d)?0:1;break a}else{b=(IHEAP[d+2]&IHEAP[e+1])!=0;b&1?(c=2,b=3):(c=2,b=4);for(;;)if(b==3)l=(IHEAP[e+2]&IHEAP[d+1])!=0,c=3,b=4;else if(b==4){b=c==2?0:l;b=b&1?0:1;break a}}while(0);a:do if(b==0){b=k=a+4;c=l=IHEAP[b+1];b=k;b=c==IHEAP[b+2]?6:7;b:for(;;)if(b==6){b=k;j=IHEAP[b+1];j!=0?(c=6,b=8):(c=6,b= +9);for(;;)if(b==8){var n=j*2,c=8;b=9}else if(b==9){__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(k,c==8?n:1);b=7;continue b}}else if(b==7){IHEAP[k+1]+=1;i=IHEAP[k+3]+4*l;h=e;f=d;g=i;k=f;f=g;g=h;h=k;b=IHEAP[g+4]<IHEAP[h+4]?10:11;break b}b==10?(IHEAP[f]=g,IHEAP[f+1]=h):b==11&&(IHEAP[f]=h,IHEAP[f+1]=g);IHEAP[f+2]=0;IHEAP[f+3]=0;k=i;IHEAP[_gOverlappingPairs]+=1;IHEAP[_gAddedPairs]+=1;for(b=IHEAP[a+12]!=0?13:14;;)if(b==13)b=IHEAP[a+12],FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,e,d),b=14;else if(b== +14){m=k;break a}}else b==1&&(m=0);while(0);return m} +function __ZN28btSortedOverlappingPairCache8findPairEP17btBroadphaseProxyS1_(a,e,d){var b=STACKTOP;STACKTOP+=4;var c,f=null,g,h=IHEAP[a+11]!=0;a:do if(h){h=IHEAP[a+11];c=FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,e,d)?0:1;break a}else{c=(IHEAP[d+2]&IHEAP[e+1])!=0;c&1?(f=2,c=3):(f=2,c=4);for(;;)if(c==3){var i=(IHEAP[e+2]&IHEAP[d+1])!=0,f=3;c=4}else if(c==4){c=f==2?0:i;c=c&1?0:1;break a}}while(0);c==0?(IHEAP[e+4]<IHEAP[d+4]?(IHEAP[b]=e,IHEAP[b+1]=d):(IHEAP[b]=d,IHEAP[b+1]=e),IHEAP[b+2]=0,IHEAP[b+3]=0,e=__ZNK20btAlignedObjectArrayI16btBroadphasePairE16findLinearSearchERKS0_(a+ +4,b),g=e<IHEAP[a+4+1]?a=IHEAP[a+4+3]+4*e:0):c==1&&(g=0);STACKTOP=b;return g} +function __ZN28btSortedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher(a,e,d){var b=STACKTOP;STACKTOP+=4;var c,f,g,h,i,j;j=0;var k=a+4;c=j<IHEAP[k+1]?0:1;a:for(;;)if(c==0)for(var l=a+4,m=a,n=a+4,o=a+4,q=b,p=a+4;;)if(f=j,c=l,c=IHEAP[c+3]+4*f,f=e,FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,c)?(FUNCTION_TABLE[IHEAP[IHEAP[m]+8]](a,c,d),IHEAP[c]=0,IHEAP[c+1]=0,c=j,f=o,f=IHEAP[f+1]-1,i=n,h=IHEAP[i+3]+4*c,g=b,IHEAP[g]=IHEAP[h],IHEAP[g+1]=IHEAP[h+1],IHEAP[g+2]=IHEAP[h+2],IHEAP[g+ +3]=IHEAP[h+3],_llvm_memcpy_p0i8_p0i8_i32(IHEAP[i+3]+4*c,IHEAP[i+3]+4*f,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[i+3]+4*f,q,4,4,0),c=p,IHEAP[c+1]+=-1,IHEAP[_gOverlappingPairs]+=-1):j+=1,f=j,c=k,f<IHEAP[c+1])c=2;else{c=1;continue a}else if(c==1){STACKTOP=b;break}} +function __ZN28btSortedOverlappingPairCacheC2Ev(a){IHEAP[a]=__ZTV25btOverlappingPairCallback+2;IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV28btSortedOverlappingPairCache+2;var e=a+4;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+9]=0;IHEAP[a+10]=1;IHEAP[a+11]=0;IHEAP[a+12]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(a+4,2)} +function __ZN28btSortedOverlappingPairCacheD0Ev(a){IHEAP[a]=__ZTV28btSortedOverlappingPairCache+2;__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a+4);IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2;__ZdlPv(a)}function __ZN28btSortedOverlappingPairCacheD2Ev(a){IHEAP[a]=__ZTV28btSortedOverlappingPairCache+2;__ZN20btAlignedObjectArrayI16btBroadphasePairE5clearEv(a+4);IHEAP[a]=__ZTV22btOverlappingPairCache+2;IHEAP[a]=__ZTV25btOverlappingPairCallback+2} +function __ZN28btSortedOverlappingPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher(a,e,d){for(a=IHEAP[e+2]!=0?0:1;;)if(a==0)a=IHEAP[e+2],FUNCTION_TABLE[IHEAP[IHEAP[a]]](a),a=d,FUNCTION_TABLE[IHEAP[IHEAP[a]+15]](a,IHEAP[e+2]),IHEAP[e+2]=0,IHEAP[_gRemovePairs]+=-1,a=1;else if(a==1)break} +function __ZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b=STACKTOP;STACKTOP+=7;IHEAP[b]=__ZTV17btOverlapCallback+2;IHEAP[b]=__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2;IHEAP[b+4]=e;IHEAP[b+5]=a;IHEAP[b+6]=d;e=IHEAP[IHEAP[a]+12];try{__THREW__=!1,FUNCTION_TABLE[e](a,b,d)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}a= +__THREW__?1:0;if(a==0)IHEAP[b]=__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,STACKTOP=b;else if(a==1)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[b]=__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 216349"; +} +function __ZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b=STACKTOP;STACKTOP+=5;IHEAP[b]=__ZTV17btOverlapCallback+2;IHEAP[b]=__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2;IHEAP[b+4]=e;e=IHEAP[IHEAP[a]+12];try{__THREW__=!1,FUNCTION_TABLE[e](a,b,d)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}a= +__THREW__?1:0;if(a==0)IHEAP[b]=__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,STACKTOP=b;else if(a==1)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[b]=__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2,IHEAP[b]=__ZTV17btOverlapCallback+2,__Unwind_Resume_or_Rethrow(a), +"Reached an unreachable! Original .ll line: 216434";}function __ZN28btSortedOverlappingPairCache20sortOverlappingPairsEP12btDispatcher(){} +function __ZN28btHashedOverlappingPairCache18addOverlappingPairEP17btBroadphaseProxyS1_(a,e,d){var b,c=null,f;IHEAP[_gAddedPairs]+=1;var g=IHEAP[a+9]!=0;a:do if(g){g=IHEAP[a+9];b=FUNCTION_TABLE[IHEAP[IHEAP[g]+2]](g,e,d)?0:1;break a}else{b=(IHEAP[d+2]&IHEAP[e+1])!=0;b&1?(c=2,b=3):(c=2,b=4);for(;;)if(b==3){var h=(IHEAP[e+2]&IHEAP[d+1])!=0,c=3;b=4}else if(b==4){b=c==2?0:h;b=b&1?0:1;break a}}while(0);b==0?f=__ZN28btHashedOverlappingPairCache15internalAddPairEP17btBroadphaseProxyS1_(a,e,d):b==1&&(f=0); +return f}function __ZN28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv(a){return IHEAP[a+4+3]+0}function __ZNK28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv(a){return IHEAP[a+4+3]+0}function __ZN28btHashedOverlappingPairCache23getOverlappingPairArrayEv(a){return a+4}function __ZNK28btHashedOverlappingPairCache22getNumOverlappingPairsEv(a){return IHEAP[a+4+1]} +function __ZN28btHashedOverlappingPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback(a,e){IHEAP[a+9]=e}function __ZN28btHashedOverlappingPairCache18hasDeferredRemovalEv(){return 0}function __ZN28btHashedOverlappingPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback(a,e){IHEAP[a+21]=e}function __ZN28btSortedOverlappingPairCache26getOverlappingPairArrayPtrEv(a){return IHEAP[a+4+3]+0} +function __ZNK28btSortedOverlappingPairCache26getOverlappingPairArrayPtrEv(a){return IHEAP[a+4+3]+0}function __ZN28btSortedOverlappingPairCache23getOverlappingPairArrayEv(a){return a+4}function __ZNK28btSortedOverlappingPairCache22getNumOverlappingPairsEv(a){return IHEAP[a+4+1]}function __ZN28btSortedOverlappingPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback(a,e){IHEAP[a+11]=e}function __ZN28btSortedOverlappingPairCache18hasDeferredRemovalEv(a){return IHEAP[a+10]&1} +function __ZN28btSortedOverlappingPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback(a,e){IHEAP[a+12]=e}function __ZZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD2Ev(a){IHEAP[a]=__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2} +function __ZZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD0Ev(a){IHEAP[a]=__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2;__ZdlPv(a)} +function __ZZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair(a,e){var d,b=null;IHEAP[e]==IHEAP[a+4]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==-1?1:c;else if(d==1){var c=IHEAP[e+1]==IHEAP[a+4],b=1;d=0}return null} +function __ZZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD2Ev(a){IHEAP[a]=__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2} +function __ZZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD0Ev(a){IHEAP[a]=__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2;__ZdlPv(a)} +function __ZZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair(a,e){var d;for(d=IHEAP[e]==IHEAP[a+4]?0:1;;)if(d==0){d=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[d]+8]](d,e,IHEAP[a+6]);break}else if(d==1)if(IHEAP[e+1]==IHEAP[a+4])d=0;else break;return 0} +function __ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD2Ev(a){IHEAP[a]=__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2} +function __ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD0Ev(a){IHEAP[a]=__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2;__ZdlPv(a)} +function __ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair(a,e){var d,b=null;IHEAP[e]==IHEAP[a+4]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==-1?1:c;else if(d==1){var c=IHEAP[e+1]==IHEAP[a+4],b=1;d=0}return null} +function __ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD2Ev(a){IHEAP[a]=__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2} +function __ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD0Ev(a){IHEAP[a]=__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2;IHEAP[a]=__ZTV17btOverlapCallback+2;__ZdlPv(a)} +function __ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair(a,e){var d;for(d=IHEAP[e]==IHEAP[a+4]?0:1;;)if(d==0){d=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[d]+8]](d,e,IHEAP[a+6]);break}else if(d==1)if(IHEAP[e+1]==IHEAP[a+4])d=0;else break;return 0} +function __ZN16btDbvtBroadphaseC2EP22btOverlappingPairCache(a,e){var d,b=null,c,f,g,h;IHEAP[a]=__ZTV21btBroadphaseInterface+2;IHEAP[a]=__ZTV16btDbvtBroadphase+2;var i=a+4,b=0;a:for(;;)if(f=i+10*b,c=f+5,IHEAP[c+4]=1,IHEAP[c+3]=0,IHEAP[c+1]=0,IHEAP[c+2]=0,IHEAP[f]=0,IHEAP[f+1]=0,IHEAP[f+2]=-1,IHEAP[f+3]=0,IHEAP[f+4]=0,b=f=b+1,!(f<2))break a;IHEAP[a+42]=0;IHEAP[a+43]=1;IHEAP[a+41]=e!=0?0:1;FHEAP[a+28]=0;IHEAP[a+29]=0;IHEAP[a+34]=0;IHEAP[a+30]=1;IHEAP[a+31]=0;IHEAP[a+32]=10;IHEAP[a+33]=1;IHEAP[a+35]= +0;IHEAP[a+36]=0;FHEAP[a+37]=0;i=e!=0;a:do if(i)h=e,b=2;else{i=d=__Z22btAlignedAllocInternalji(76,16);i==0?(b=4,d=5):(b=4,d=6);for(;;)if(d==5){d=b==4?0:g;b=5;break a}else if(d==6){g=i;try{__THREW__=!1,__ZN28btHashedOverlappingPairCacheC2Ev(g)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__)break;else b=6,d=5}h=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);g=a;IHEAP[g]=__ZTV21btBroadphaseInterface+2;__Unwind_Resume_or_Rethrow(h); +throw"Reached an unreachable! Original .ll line: 217301";}while(0);IHEAP[a+27]=b==2?h:d;IHEAP[a+40]=0;IHEAP[a+38]=0;h=IHEAP[a+39]=0;for(g=a+24;;)if(IHEAP[g+h]=0,h=d=h+1,!(d<=2))break} +function __ZN16btDbvtBroadphaseD0Ev(a){var e;try{__THREW__=!1,__ZN16btDbvtBroadphaseD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 217330";} +function __ZN16btDbvtBroadphaseD2Ev(a){var e,d,b,c;IHEAP[a]=__ZTV16btDbvtBroadphase+2;e=IHEAP[a+41]&1?0:1;a:for(;;)if(e==0){e=IHEAP[a+27];var f=IHEAP[IHEAP[e]];try{__THREW__=!1,FUNCTION_TABLE[f](e)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}if(__THREW__){e=9;break a}e=IHEAP[a+27];if(e==0){e=1;continue a}IHEAP[_gNumAlignedFree]+=1;if(e==0){e=1;continue a}e=IHEAP[e+-1];_free(e);e=1}else if(e==1){var h=a+4;d=2;e=5;break a}a:for(;;)if(e== +9){b=c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);var i=a+4;c=2;e=4;break a}else if(e==5)if(e=h+10*(d-1),__ZN6btDbvt5clearEv(e),e+=5,__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE5clearEv(e),d=e=d-1,e!=0)e=5;else{e=6;break a}for(;;)if(e==4)if(d=i+10*(c-1),__ZN6btDbvt5clearEv(d),d+=5,__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE5clearEv(d),c=d=c-1,d!=0)e=4;else break;else if(e==6){IHEAP[a]=__ZTV21btBroadphaseInterface+2;return}IHEAP[a]=__ZTV21btBroadphaseInterface+2;__Unwind_Resume_or_Rethrow(b); +throw"Reached an unreachable! Original .ll line: 217486";} +function __ZN16btDbvtBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_(a,e,d,b,c,f,g){b=STACKTOP;STACKTOP+=14;var h=b+8,i=__Z22btAlignedAllocInternalji(64,16);IHEAP[i]=c;IHEAP[i+1]=f;IHEAP[i+2]=g;_llvm_memcpy_p0i8_p0i8_i32(i+5,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+9,d,4,4,0);IHEAP[i+3]=0;IHEAP[i+49+1]=0;IHEAP[i+49]=0;_llvm_memcpy_p0i8_p0i8_i32(b,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,d,4,4,0);IHEAP[i+51]=IHEAP[a+29];e=a+40;d=IHEAP[e]+1;IHEAP[e]=d;IHEAP[i+4]=d;e=__ZN6btDbvt6insertERK12btDbvtAabbMmPv(a+ +4,b,i);IHEAP[i+48]=e;d=a+24+IHEAP[a+29];IHEAP[i+49]=0;IHEAP[i+49+1]=IHEAP[d];e=IHEAP[d]!=0?0:1;a:for(;;)if(e==0)IHEAP[IHEAP[d]+49]=i,e=1;else if(e==1){IHEAP[d]=i;e=IHEAP[a+42]&1?2:3;break a}for(;;)if(e==2)return a=i,STACKTOP=b,a;else if(e==3){e=h;c=d=a;d=e;e=c;d=c=d;IHEAP[d]=__ZTVN6btDbvt8ICollideE+2;IHEAP[c]=__ZTV18btDbvtTreeCollider+2;IHEAP[c+4]=e;IHEAP[h+5]=i;e=a+4;d=IHEAP[a+4];c=h;try{__THREW__=!1,__ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(e,d,b,c)}catch(j){if(ABORT)throw j; +__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__)break;e=a+4+10;d=IHEAP[a+4+10];c=h;try{__THREW__=!1,__ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(e,d,b,c)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__)break;e=h;IHEAP[e]=__ZTV18btDbvtTreeCollider+2;IHEAP[e]=__ZTVN6btDbvt8ICollideE+2;e=2}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[h]= +__ZTV18btDbvtTreeCollider+2;IHEAP[h]=__ZTVN6btDbvt8ICollideE+2;__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 217830";}function __ZN18btDbvtTreeColliderD1Ev(a){IHEAP[a]=__ZTV18btDbvtTreeCollider+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2} +function __ZN16btDbvtBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b,c;b=a+4;IHEAP[e+51]==2?__ZN6btDbvt6removeEP10btDbvtNode(b+10,IHEAP[e+48]):__ZN6btDbvt6removeEP10btDbvtNode(b,IHEAP[e+48]);b=a+24+IHEAP[e+51];var f=IHEAP[e+49+1];IHEAP[e+49]!=0?IHEAP[IHEAP[e+49]+49+1]=f:IHEAP[b]=f;b=IHEAP[e+49+1]!=0?2:3;a:for(;;)if(b==2)IHEAP[IHEAP[e+49+1]+49]=IHEAP[e+49],b=3;else if(b==3){c=IHEAP[a+27];FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c,e,d);c=e;b=e!=0?4:5;break a}for(;;)if(b==4)IHEAP[_gNumAlignedFree]+= +1,e=c,e!=0&&(e=IHEAP[e+-1],_free(e)),b=5;else if(b==5){IHEAP[a+43]=1;break}}function __ZNK16btDbvtBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(d,e+5,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,e+9,4,4,0)} +function __ZN16btDbvtBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=5;var h;IHEAP[g]=__ZTVN6btDbvt8ICollideE+2;IHEAP[g]=__ZTV19BroadphaseRayTester+2;IHEAP[g+4]=b;h=a+4;var i=IHEAP[a+4],j=b+4,k=b+8,l=FHEAP[b+11];try{__THREW__=!1,__ZNK6btDbvt15rayTestInternalEPK10btDbvtNodeRK9btVector3S5_S5_PjfS5_S5_RNS_8ICollideE(h,i,e,d,j,k,l,c,f,g)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}for(h= +__THREW__?1:0;;)if(h==0){h=a+4+10;var i=IHEAP[a+4+10],j=e,k=d,l=b+4,n=b+8,o=FHEAP[b+11],q=c,p=f,r=g;try{__THREW__=!1,__ZNK6btDbvt15rayTestInternalEPK10btDbvtNodeRK9btVector3S5_S5_PjfS5_S5_RNS_8ICollideE(h,i,j,k,l,n,o,q,p,r)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+", currently at: "+Error().stack)}if(__THREW__)h=1;else break}else if(h==1)throw a=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),IHEAP[g]=__ZTV19BroadphaseRayTester+2,IHEAP[g]=__ZTVN6btDbvt8ICollideE+ +2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 218192";IHEAP[g]=__ZTV19BroadphaseRayTester+2;IHEAP[g]=__ZTVN6btDbvt8ICollideE+2;STACKTOP=g} +function __ZNK6btDbvt15rayTestInternalEPK10btDbvtNodeRK9btVector3S5_S5_PjfS5_S5_RNS_8ICollideE(a,e,d,b,c,f,g,h,i,j){b=STACKTOP;STACKTOP+=30;var k,l,m,n,o=b+1,q=b+2,p=b+3,r=b+4,s=b+5,u,v,y,x,a=b+6,z=b+11,B=b+12,C=b+20,A=b+24,w=b+28,D=b+29;k=e!=0?0:1;a:for(;;)if(k==0){x=1;v=126;y=a;IHEAP[y+4]=1;IHEAP[y+3]=0;IHEAP[y+1]=0;IHEAP[y+2]=0;IHEAP[z]=0;__ZN20btAlignedObjectArrayIPK10btDbvtNodeE6resizeEiRKS2_(a,128,z);var E=e;y=a;IHEAP[IHEAP[y+3]+0]=E;y=B;var E=C,F=B+4,G=A,J=B;b:for(;;){x=k=x+-1;u=a;k=u=IHEAP[IHEAP[u+ +3]+k];l=i;FHEAP[b]=FHEAP[k]-FHEAP[l];FHEAP[o]=FHEAP[k+1]-FHEAP[l+1];FHEAP[q]=FHEAP[k+2]-FHEAP[l+2];k=C;l=b;m=o;n=q;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0;_llvm_memcpy_p0i8_p0i8_i32(y,E,4,4,0);k=u;l=h;k+=4;FHEAP[p]=FHEAP[k]-FHEAP[l];FHEAP[r]=FHEAP[k+1]-FHEAP[l+1];FHEAP[s]=FHEAP[k+2]-FHEAP[l+2];k=A;l=p;m=r;n=s;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0;_llvm_memcpy_p0i8_p0i8_i32(F,G,4,4,0);FHEAP[w]=1;k=__Z10btRayAabb2RK9btVector3S1_PKjPS0_Rfff(d, +c,f,J,w,0,g)!=0?3:4;c:for(;;)if(k==3)if(k=u,IHEAP[k+9+1]==0^1)for(k=x>v?5:6;;)if(k==5)v=a,v=IHEAP[v+1]*2,IHEAP[D]=0,__ZN20btAlignedObjectArrayIPK10btDbvtNodeE6resizeEiRKS2_(a,v,D),v=a,v=IHEAP[v+1]-2,k=6;else{if(k==6){l=IHEAP[u+9];m=x;x=m+1;k=a;IHEAP[IHEAP[k+3]+m]=l;l=IHEAP[u+9+1];m=x;x=m+1;k=a;IHEAP[IHEAP[k+3]+m]=l;k=4;continue c}}else{k=j;l=IHEAP[IHEAP[k]+3];m=u;try{__THREW__=!1,FUNCTION_TABLE[l](k,m)}catch(H){if(ABORT)throw H;__THREW__=!0;print("Exception: "+H+" : "+H.stack+", currently at: "+Error().stack)}if(__THREW__)break a; +else k=4}else if(k==4)if(x!=0)continue b;else break b}x=a;__ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(x);k=1}else if(k==1){STACKTOP=b;return}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__ZN20btAlignedObjectArrayIPK10btDbvtNodeE5clearEv(a);__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 218651";}function __ZN19BroadphaseRayTesterD1Ev(a){IHEAP[a]=__ZTV19BroadphaseRayTester+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2} +function __ZN16btDbvtBroadphase8aabbTestERK9btVector3S2_R24btBroadphaseAabbCallback(a,e,d,b){var c=STACKTOP;STACKTOP+=13;var f=c+5;IHEAP[c]=__ZTVN6btDbvt8ICollideE+2;IHEAP[c]=__ZTV20BroadphaseAabbTester+2;IHEAP[c+4]=b;_llvm_memcpy_p0i8_p0i8_i32(f,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,d,4,4,0);e=a+4;d=IHEAP[a+4];try{__THREW__=!1,__ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(e,d,f,c)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+ +Error().stack)}for(e=__THREW__?1:0;;)if(e==0){e=a+4+10;d=IHEAP[a+4+10];b=c;try{__THREW__=!1,__ZN6btDbvt9collideTVEPK10btDbvtNodeRK12btDbvtAabbMmRNS_8ICollideE(e,d,f,b)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}if(__THREW__)e=1;else break}else if(e==1)throw a=f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),IHEAP[c]=__ZTV20BroadphaseAabbTester+2,IHEAP[c]=__ZTVN6btDbvt8ICollideE+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 218818"; +IHEAP[c]=__ZTV20BroadphaseAabbTester+2;IHEAP[c]=__ZTVN6btDbvt8ICollideE+2;STACKTOP=c}function __ZN20BroadphaseAabbTesterD1Ev(a){IHEAP[a]=__ZTV20BroadphaseAabbTester+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2} +function __ZN16btDbvtBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher(a,e,d,b){var c=STACKTOP;STACKTOP+=44;var f,g,h,i,j,k,l=c+1,m=c+2,n=c+3,o=c+4,q=c+5,p=c+6,r=c+7,s=c+8,u=c+9,v=c+10,y=c+11,x=c+12,z=c+13,B,C=c+21,A=c+25,w=c+29,D=c+33,E=c+37,F=c+38;_llvm_memcpy_p0i8_p0i8_i32(z,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(z+4,b,4,4,0);B=0;var G=IHEAP[e+51]==2;a:do{if(G)__ZN6btDbvt6removeEP10btDbvtNode(a+4+10,IHEAP[e+48]),B=__ZN6btDbvt6insertERK12btDbvtAabbMmPv(a+4,z,e),IHEAP[e+48]=B;else{IHEAP[a+ +35]+=1;if(__Z9IntersectRK12btDbvtAabbMmS1_(IHEAP[e+48],z)){i=e+5;f=d;FHEAP[v]=FHEAP[f]-FHEAP[i];FHEAP[y]=FHEAP[f+1]-FHEAP[i+1];FHEAP[x]=FHEAP[f+2]-FHEAP[i+2];f=C;i=v;j=y;k=x;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;i=e+5;f=e+9;FHEAP[r]=FHEAP[f]-FHEAP[i];FHEAP[s]=FHEAP[f+1]-FHEAP[i+1];FHEAP[u]=FHEAP[f+2]-FHEAP[i+2];f=D;i=r;j=s;k=u;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;FHEAP[E]=2;i=D;f=E;FHEAP[p]=1/FHEAP[f];f=i;i=p;FHEAP[n]=FHEAP[f]*FHEAP[i]; +FHEAP[o]=FHEAP[f+1]*FHEAP[i];FHEAP[q]=FHEAP[f+2]*FHEAP[i];f=w;i=n;j=o;k=q;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;i=a+28;f=w;FHEAP[c]=FHEAP[f]*FHEAP[i];FHEAP[l]=FHEAP[f+1]*FHEAP[i];FHEAP[m]=FHEAP[f+2]*FHEAP[i];f=A;i=c;j=l;k=m;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k];FHEAP[f+3]=0;f=C;f=FHEAP[f]<0?1:2;b:for(;;)if(f==1)f=A,i=0-FHEAP[f],f=A,FHEAP[f]=i,f=2;else if(f==2){f=C;f=FHEAP[f+1]<0?3:4;break b}b:for(;;)if(f==3)f=A,i=0-FHEAP[f+1],f=A,FHEAP[f+1]=i,f= +4;else if(f==4){f=C;f=FHEAP[f+2]<0?5:6;break b}for(;;)if(f==5)f=A,i=0-FHEAP[f+2],f=A,FHEAP[f+2]=i,f=6;else if(f==6)if(__ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMmRK9btVector3f(a+4,IHEAP[e+48],z,A,0.05000000074505806))break;else break a}else __ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMm(a+4,IHEAP[e+48],z);IHEAP[a+36]+=1}B=1}while(0);l=a+24+IHEAP[e+51];m=IHEAP[e+49+1];IHEAP[e+49]!=0?IHEAP[IHEAP[e+49]+49+1]=m:IHEAP[l]=m;f=IHEAP[e+49+1]!=0?10:11;a:for(;;)if(f==10)IHEAP[IHEAP[e+49+1]+49]=IHEAP[e+ +49],f=11;else if(f==11){_llvm_memcpy_p0i8_p0i8_i32(e+5,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+9,b,4,4,0);IHEAP[e+51]=IHEAP[a+29];d=a+24+IHEAP[a+29];g=e;h=d;IHEAP[g+49]=0;IHEAP[g+49+1]=IHEAP[h];f=IHEAP[h]!=0?12:13;break a}a:for(;;)if(f==12)IHEAP[IHEAP[h]+49]=g,f=13;else if(f==13){IHEAP[h]=g;f=B&1?14:15;break a}for(;;)if(f==14){IHEAP[a+43]=1;if(!(IHEAP[a+42]&1)){g=F;b=d=a;d=g;g=b;d=b=d;IHEAP[d]=__ZTVN6btDbvt8ICollideE+2;IHEAP[b]=__ZTV18btDbvtTreeCollider+2;IHEAP[b+4]=g;g=a+4+10;d=IHEAP[a+4+10];b=IHEAP[e+ +48];h=F;try{__THREW__=!1,__ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(g,d,b,h)}catch(J){if(ABORT)throw J;__THREW__=!0;print("Exception: "+J+" : "+J.stack+", currently at: "+Error().stack)}if(__THREW__)break;g=a+4;d=IHEAP[a+4];b=IHEAP[e+48];h=F;try{__THREW__=!1,__ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(g,d,b,h)}catch(H){if(ABORT)throw H;__THREW__=!0;print("Exception: "+H+" : "+H.stack+", currently at: "+Error().stack)}if(__THREW__)break;g=F;IHEAP[g]= +__ZTV18btDbvtTreeCollider+2;IHEAP[g]=__ZTVN6btDbvt8ICollideE+2}f=15}else if(f==15){STACKTOP=c;return}a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);IHEAP[F]=__ZTV18btDbvtTreeCollider+2;IHEAP[F]=__ZTVN6btDbvt8ICollideE+2;__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 219623";} +function __ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(a,e,d,b){var c=STACKTOP;STACKTOP+=30;var f,g,h,i,j,k,l,m,n,o,q,p=c+2,r=c+4,s=c+6,u=c+8,v=c+10,y=c+12,x=c+14,z=c+16,B=c+18,C=c+20,A=c+22,w=c+24,D=c+26,E=c+28;f=e!=0?0:1;a:for(;;)if(f==0){if(d==0){f=1;continue a}q=1;g=124;__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE6resizeEiRKS1_(a+5,128,c);o=a+5;o=IHEAP[o+3]+0;m=e;n=d;l=p;IHEAP[l]=m;IHEAP[l+1]=n;_llvm_memcpy_p0i8_p0i8_i32(o,p,2,4,0);o=a+5;l=r;m=a+5;n=a+5;var F=a+5,G=r,J= +r+1,H=r,M=a+5,K=r,N=r,R=u,O=a+5,Q=r,I=r,L=v,P=a+5,S=r,T=r,U=y,W=r+1,Z=r,ca=r+1,Y=a+5,ea=r,ha=r+1,ba=x,V=a+5,aa=r,X=r+1,ka=z,da=a+5,fa=r,ga=r+1,ja=B,la=a+5,qa=r,pa=r+1,wa=C,ua=A,na=a+5,ya=r,xa=r+1,ia=w,ma=a+5,ta=r,ra=r+1,oa=D,Da=a+5,Ba=r,Oa=r+1,Fa=E,Ha=r,La=r+1;for(;;){q=h=q+-1;f=o;_llvm_memcpy_p0i8_p0i8_i32(l,IHEAP[f+3]+2*h,2,4,0);f=q>g?4:5;c:for(;;)if(f==4)g=n,__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE6resizeEiRKS1_(m,IHEAP[g+1]*2,s),g=F,g=IHEAP[g+1]-4,f=5;else if(f==5){var Ea=IHEAP[H];f=IHEAP[G]== +IHEAP[J]?6:7;break c}c:do if(f==6){h=Ea;if(!(IHEAP[h+9+1]==0^1))break c;i=q;q=i+1;h=M;h=IHEAP[h+3]+2*i;j=IHEAP[IHEAP[K]+9];k=IHEAP[IHEAP[N]+9];i=u;IHEAP[i]=j;IHEAP[i+1]=k;_llvm_memcpy_p0i8_p0i8_i32(h,R,2,4,0);i=q;q=i+1;h=O;h=IHEAP[h+3]+2*i;j=IHEAP[IHEAP[Q]+9+1];k=IHEAP[IHEAP[I]+9+1];i=v;IHEAP[i]=j;IHEAP[i+1]=k;_llvm_memcpy_p0i8_p0i8_i32(h,L,2,4,0);i=q;q=i+1;h=P;h=IHEAP[h+3]+2*i;j=IHEAP[IHEAP[S]+9];k=IHEAP[IHEAP[T]+9+1];i=y;IHEAP[i]=j;IHEAP[i+1]=k;_llvm_memcpy_p0i8_p0i8_i32(h,U,2,4,0)}else if(f==7){if(!__Z9IntersectRK12btDbvtAabbMmS1_(Ea, +IHEAP[W]))break c;h=IHEAP[Z];h=IHEAP[h+9+1]==0^1;i=IHEAP[ca];i=IHEAP[i+9+1]==0^1;h?(j=q,q=j+1,h=Y,h=IHEAP[h+3]+2*j,j=IHEAP[IHEAP[ea]+9],k=IHEAP[ha],i?(k=IHEAP[k+9],i=x,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,ba,2,4,0),i=q,q=i+1,h=V,h=IHEAP[h+3]+2*i,j=IHEAP[IHEAP[aa]+9+1],k=IHEAP[IHEAP[X]+9],i=z,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,ka,2,4,0),i=q,q=i+1,h=da,h=IHEAP[h+3]+2*i,j=IHEAP[IHEAP[fa]+9],k=IHEAP[IHEAP[ga]+9+1],i=B,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h, +ja,2,4,0),i=q,q=i+1,h=la,h=IHEAP[h+3]+2*i,j=IHEAP[IHEAP[qa]+9+1],k=IHEAP[IHEAP[pa]+9+1],i=C,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,wa,2,4,0)):(i=A,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,ua,2,4,0),i=q,q=i+1,h=na,h=IHEAP[h+3]+2*i,j=IHEAP[IHEAP[ya]+9+1],k=IHEAP[xa],i=w,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,ia,2,4,0))):i?(i=q,q=i+1,h=ma,h=IHEAP[h+3]+2*i,j=IHEAP[ta],k=IHEAP[IHEAP[ra]+9],i=D,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,oa,2,4,0),i=q,q= +i+1,h=Da,h=IHEAP[h+3]+2*i,j=IHEAP[Ba],k=IHEAP[IHEAP[Oa]+9+1],i=E,IHEAP[i]=j,IHEAP[i+1]=k,_llvm_memcpy_p0i8_p0i8_i32(h,Fa,2,4,0)):(h=b,FUNCTION_TABLE[IHEAP[IHEAP[h]+2]](h,IHEAP[Ha],IHEAP[La]))}while(0);if(q!=0)f=3;else{f=1;continue a}}}else if(f==1){STACKTOP=c;break}}function __ZN16btDbvtBroadphase25calculateOverlappingPairsEP12btDispatcher(a,e){__ZN16btDbvtBroadphase7collideEP12btDispatcher(a,e);__ZN16btDbvtBroadphase22performDeferredRemovalEP12btDispatcher(a,e)} +function __ZN16btDbvtBroadphase7collideEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=24;var b,c=null,f,g,h,i,j,k,l;l=d+1;var m,c=d+2,n,o=d+8;j=d+16;f=d+22;var q=d+23,p;__ZN6btDbvt19optimizeIncrementalEi(a+4,(IHEAP[a+31]*IHEAP[a+4+3]/100|0)+1);b=IHEAP[a+34]!=0?0:1;a:for(;;)if(b==0){b=(IHEAP[a+30]*IHEAP[a+4+10+3]/100|0)+1;__ZN6btDbvt19optimizeIncrementalEi(a+4+10,(IHEAP[a+30]*IHEAP[a+4+10+3]/100|0)+1);IHEAP[d]=0;IHEAP[l]=IHEAP[a+34]-b;b=d;k=l;p=b;var r=k;IHEAP[a+34]=IHEAP[IHEAP[b]>IHEAP[k]?p:r];b= +1}else if(b==1){IHEAP[a+29]=(IHEAP[a+29]+1)%2;m=b=IHEAP[a+24+IHEAP[a+29]];b=b!=0?2:3;break a}a:for(;;)if(b==2){b=c;k=l=a;l=b;b=k;l=k=l;IHEAP[l]=__ZTVN6btDbvt8ICollideE+2;IHEAP[k]=__ZTV18btDbvtTreeCollider+2;IHEAP[k+4]=b;l=a+24;k=a+24+2;p=a+4;var r=o,s=o+4,u=a+4+10;b:for(;;){n=IHEAP[m+49+1];b=l+IHEAP[m+51];i=m;var v=IHEAP[i+49+1];IHEAP[i+49]!=0?IHEAP[IHEAP[i+49]+49+1]=v:IHEAP[b]=v;b=IHEAP[i+49+1]!=0?6:7;c:for(;;)if(b==6)IHEAP[IHEAP[i+49+1]+49]=IHEAP[i+49],b=7;else if(b==7){h=m;g=k;IHEAP[h+49]=0;IHEAP[h+ +49+1]=IHEAP[g];b=IHEAP[g]!=0?8:9;break c}for(;;)if(b==8)IHEAP[IHEAP[g]+49]=h,b=9;else if(b==9)if(IHEAP[g]=h,__ZN6btDbvt6removeEP10btDbvtNode(p,IHEAP[m+48]),i=m+9,b=m+5,_llvm_memcpy_p0i8_p0i8_i32(r,b,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(s,i,4,4,0),b=__ZN6btDbvt6insertERK12btDbvtAabbMmPv(u,o,m),IHEAP[m+48]=b,IHEAP[m+51]=2,m=b=n,b!=0)continue b;else break b}IHEAP[a+34]=IHEAP[a+4+10+3];IHEAP[a+43]=1;b=c;IHEAP[b]=__ZTV18btDbvtTreeCollider+2;IHEAP[b]=__ZTVN6btDbvt8ICollideE+2;b=3}else if(b==3){h=j;m=g=a;g= +h;h=m;g=m=g;IHEAP[g]=__ZTVN6btDbvt8ICollideE+2;IHEAP[m]=__ZTV18btDbvtTreeCollider+2;IHEAP[m+4]=h;b=IHEAP[a+42]&1?11:12;break a}a:for(;;)if(b==11){h=a+4;g=IHEAP[a+4];m=IHEAP[a+4+10];c=j;try{__THREW__=!1,__ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(h,g,m,c)}catch(y){if(ABORT)throw y;__THREW__=!0;print("Exception: "+y+" : "+y.stack+", currently at: "+Error().stack)}if(__THREW__){b=28;break a}else b=12}else if(b==12){b=IHEAP[a+42]&1?13:14;break a}a:for(;;)if(b==28)throw d=f=_llvm_eh_exception(), +_llvm_eh_selector(f,___gxx_personality_v0,0),f=j,IHEAP[f]=__ZTV18btDbvtTreeCollider+2,IHEAP[f]=__ZTVN6btDbvt8ICollideE+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 221194";else if(b==13){h=a+4;g=IHEAP[a+4];m=IHEAP[a+4];c=j;try{__THREW__=!1,__ZN6btDbvt24collideTTpersistentStackEPK10btDbvtNodeS2_RNS_8ICollideE(h,g,m,c)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack)}b=__THREW__?28:14}else if(b==14){IHEAP[j]= +__ZTV18btDbvtTreeCollider+2;IHEAP[j]=__ZTVN6btDbvt8ICollideE+2;b=IHEAP[a+43]&1?15:16;break a}a:for(;;)if(b==15){j=IHEAP[a+27];h=j=FUNCTION_TABLE[IHEAP[IHEAP[j]+7]](j);if(!(IHEAP[h+1]>0)){b=16;continue a}h=j;IHEAP[f]=IHEAP[h+1];g=a+33;h=j;IHEAP[q]=IHEAP[a+32]*IHEAP[h+1]/100|0;h=g;g=q;m=h;c=g;g=IHEAP[h]>IHEAP[g]?m:c;m=h=f;c=g;h=IHEAP[IHEAP[h]<IHEAP[g]?m:c];g=0;m=j;g<h?(c=17,b=18):(c=17,b=19);b:for(;;)if(b==18){o=a+39;l=a+27;c=18;c:for(;;){b=c==18?m:z;p=g+IHEAP[o];k=j;k=p%IHEAP[k+1];b=IHEAP[b+3]+4*k; +k=IHEAP[b];p=IHEAP[b+1];for(b=__Z9IntersectRK12btDbvtAabbMmS1_(IHEAP[k+48],IHEAP[p+48])?21:22;;)if(b==21){g+=1;var z=j;if(g<h){c=21;b=20;continue c}else{c=21;b=19;continue b}}else b==22&&(b=IHEAP[l],FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,k,p,e),h+=-1,g+=-1,b=21)}}else if(b==19){g=c==17?m:z;var B=a+39;b=IHEAP[g+1]>0?23:24;break b}b==23?(h+=IHEAP[B],IHEAP[a+39]=h%IHEAP[j+1],b=16):b==24&&(IHEAP[B]=0,b=16)}else if(b==16){IHEAP[a+38]+=1;IHEAP[a+33]=1;IHEAP[a+43]=0;b=IHEAP[a+35]>0?25:26;break a}b==25?FHEAP[a+ +37]=IHEAP[a+36]/IHEAP[a+35]:b==26&&(FHEAP[a+37]=0);f=a+36;IHEAP[f]=Math.floor(IHEAP[f]/2);f=a+35;IHEAP[f]=Math.floor(IHEAP[f]/2);STACKTOP=d} +function __ZN16btDbvtBroadphase22performDeferredRemovalEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=14;var b,c=null,f,g,h,i,j,k=d+1,l,m,n,o=d+2,q=d+3,p=d+4,r,s=d+5,u,v=d+9,y=d+10;l=IHEAP[a+27];b=FUNCTION_TABLE[IHEAP[IHEAP[l]+14]](l)?0:1;a:for(;;)if(b==0){l=IHEAP[a+27];i=l=FUNCTION_TABLE[IHEAP[IHEAP[l]+7]](l);_llvm_memcpy_p0i8_p0i8_i64(q,p,1,1,0);m=i;b=IHEAP[m+1]>1?2:3;b:for(;;)if(b==2)m=i,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(i, +o,0,IHEAP[m+1]-1),b=3;else if(b==3){r=0;n=s;IHEAP[n]=0;IHEAP[n+1]=0;IHEAP[n+2]=0;IHEAP[n+3]=0;IHEAP[s]=0;IHEAP[s+1]=0;i=n=IHEAP[s+2]=0;var x=c=l;i<IHEAP[c+1]?(c=3,b=4):(c=3,b=5);break b}b:for(;;)if(b==4){i=s;m=a+27;c=4;c:for(;;){h=n;c=c==4?x:B;f=h=IHEAP[c+3]+4*h;g=s;IHEAP[f]==IHEAP[g]?(c=6,b=7):(c=6,b=8);d:for(;;)if(b==7){var z=IHEAP[f+1]==IHEAP[g+1],c=7;b=8}else if(b==8){b=c==6?0:z;_llvm_memcpy_p0i8_p0i8_i32(i,h,4,4,0);u=0;b=b&1?9:10;break d}b==9?u=1:b==10&&(u=IHEAP[h],b=IHEAP[h+1],u=__Z9IntersectRK12btDbvtAabbMmS1_(IHEAP[u+ +48],IHEAP[b+48]),u=u&1?0:1);for(b=u&1?12:13;;)if(b==12)b=IHEAP[m],FUNCTION_TABLE[IHEAP[IHEAP[b]+8]](b,h,e),IHEAP[h]=0,IHEAP[h+1]=0,r+=1,b=13;else if(b==13){n+=1;h=n;var B=c=l;if(h<IHEAP[c+1]){c=13;b=6;continue c}else{c=13;b=5;continue b}}}}else if(b==5){j=c==3?x:B;_llvm_memcpy_p0i8_p0i8_i64(k,v,1,1,0);i=j;b=IHEAP[i+1]>1?14:15;break b}for(;;)if(b==14)i=j,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(j,d,0,IHEAP[i+1]-1),b=15;else if(b==15){i= +l;l=IHEAP[l+1]-r;m=y;IHEAP[m]=0;IHEAP[m+1]=0;IHEAP[m+2]=0;IHEAP[m+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(i,l,y);b=1;continue a}}else if(b==1){STACKTOP=d;break}}function __ZN16btDbvtBroadphase23getOverlappingPairCacheEv(a){return IHEAP[a+27]}function __ZNK16btDbvtBroadphase23getOverlappingPairCacheEv(a){return IHEAP[a+27]} +function __ZNK16btDbvtBroadphase17getBroadphaseAabbER9btVector3S1_(a,e,d){var b=STACKTOP;STACKTOP+=28;var c=b+1,f=b+5,g=b+13,h=b+17,i=b+18,j=b+19,k=b+20,l=0==IHEAP[a+4+10];0==IHEAP[a+4]?l?(FHEAP[h]=0,FHEAP[i]=0,FHEAP[j]=0,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,FHEAP[b]=0,FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[b],FHEAP[c+2]=FHEAP[b],FHEAP[c+3]=0,__ZN12btDbvtAabbMm6FromCEERK9btVector3S2_(k,g,c),_llvm_memcpy_p0i8_p0i8_i32(f,k,8,4,0)):_llvm_memcpy_p0i8_p0i8_i32(f,IHEAP[a+4+ +10],8,4,0):(c=IHEAP[a+4],l?_llvm_memcpy_p0i8_p0i8_i32(f,c,8,4,0):__Z5MergeRK12btDbvtAabbMmS1_RS_(c,IHEAP[a+4+10],f));_llvm_memcpy_p0i8_p0i8_i32(e,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d,f+4,4,4,0);STACKTOP=b}function __Z5MergeRK12btDbvtAabbMmS1_RS_(a,e,d){var b,c,f;for(f=0;;){b=f;c=a;var g=FHEAP[c+b],h=f;b=e;c=f;b=g<FHEAP[b+h]?a:e;b=FHEAP[b+c];g=f;c=d;FHEAP[c+g]=b;b=f;c=a+4;g=FHEAP[c+b];h=f;b=e+4;c=f;b=g>FHEAP[b+h]?a+4:e+4;b=FHEAP[b+c];g=f;c=d+4;FHEAP[c+g]=b;f=c=f+1;if(!(c<3))break}} +function __ZN16btDbvtBroadphase9resetPoolEP12btDispatcher(a){var e,d;e=IHEAP[a+4+10+3]+IHEAP[a+4+3]!=0?0:1;a:for(;;)if(e==0)break;else if(e==1){__ZN6btDbvt5clearEv(a+4);__ZN6btDbvt5clearEv(a+4+10);IHEAP[a+42]=0;IHEAP[a+43]=1;IHEAP[a+29]=0;IHEAP[a+34]=0;IHEAP[a+30]=1;IHEAP[a+31]=0;IHEAP[a+32]=10;IHEAP[a+33]=1;IHEAP[a+35]=0;IHEAP[a+36]=0;FHEAP[a+37]=0;IHEAP[a+40]=0;IHEAP[a+38]=0;d=IHEAP[a+39]=0;for(var b=a+24;;)if(IHEAP[b+d]=0,d=e=d+1,e<=2)e=2;else{e=0;continue a}}} +function __ZN16btDbvtBroadphase10printStatsEv(){} +function __ZN12btDbvtAabbMm6FromCEERK9btVector3S2_(a,e,d){var b=STACKTOP;STACKTOP+=14;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+10;FHEAP[b]=FHEAP[e]-FHEAP[d];FHEAP[c]=FHEAP[e+1]-FHEAP[d+1];FHEAP[f]=FHEAP[e+2]-FHEAP[d+2];FHEAP[j]=FHEAP[b];FHEAP[j+1]=FHEAP[c];FHEAP[j+2]=FHEAP[f];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a,j,4,4,0);FHEAP[g]=FHEAP[e]+FHEAP[d];FHEAP[h]=FHEAP[e+1]+FHEAP[d+1];FHEAP[i]=FHEAP[e+2]+FHEAP[d+2];FHEAP[k]=FHEAP[g];FHEAP[k+1]=FHEAP[h];FHEAP[k+2]=FHEAP[i];FHEAP[k+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+ +4,k,4,4,0);STACKTOP=b} +function __ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+2*f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(_llvm_memcpy_p0i8_p0i8_i32(i,d,2,4,0),b=6)}}while(0);IHEAP[a+1]= +e} +function __ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*8,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+2*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+2*f,2,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j= +a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break}function __ZN20BroadphaseAabbTesterD0Ev(a){IHEAP[a]=__ZTV20BroadphaseAabbTester+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2;__ZdlPv(a)} +function __ZN20BroadphaseAabbTester7ProcessEPK10btDbvtNode(a,e){var d=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d,IHEAP[e+9])}function __ZN19BroadphaseRayTesterD0Ev(a){IHEAP[a]=__ZTV19BroadphaseRayTester+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2;__ZdlPv(a)}function __ZN19BroadphaseRayTester7ProcessEPK10btDbvtNode(a,e){var d=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d,IHEAP[e+9])} +function __ZN18btDbvtTreeColliderD0Ev(a){IHEAP[a]=__ZTV18btDbvtTreeCollider+2;IHEAP[a]=__ZTVN6btDbvt8ICollideE+2;__ZdlPv(a)}function __ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNodeS2_(a,e,d){var b,c;for(b=e!=d?0:1;;)if(b==0){b=IHEAP[e+9];c=IHEAP[d+9];var f=IHEAP[IHEAP[a+4]+27];FUNCTION_TABLE[IHEAP[IHEAP[f]+2]](f,b,c);IHEAP[IHEAP[a+4]+33]+=1;b=1}else if(b==1)break}function __ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNode(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a,e,IHEAP[IHEAP[a+5]+48])} +function __ZN20btMultiSapBroadphaseC2EiP22btOverlappingPairCache(a,e,d){var b,e=null,c;IHEAP[a]=__ZTV21btBroadphaseInterface+2;IHEAP[a]=__ZTV20btMultiSapBroadphase+2;b=a+4;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;IHEAP[a+10]=d;IHEAP[a+11]=0;IHEAP[a+12]=0;IHEAP[a+14]=0;d=a+15;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;b=IHEAP[a+10]!=0?0:1;a:for(;;)if(b==0){var f=__Z22btAlignedAllocInternalji(4,16);f==0?(e=0,b=4):(e=0,b=5);break a}else if(b==1){IHEAP[a+12]=1;d=__Z22btAlignedAllocInternalji(36, +16);d==0?(e=1,b=2):(e=1,b=3);for(;;)if(b==2){IHEAP[a+10]=e==1?0:c;b=0;continue a}else if(b==3){var g=b=e=c=d;b=g;IHEAP[b]=__ZTV25btOverlappingPairCallback+2;IHEAP[g]=__ZTV22btOverlappingPairCache+2;IHEAP[e]=__ZTV28btSortedOverlappingPairCache+2;b=e+4;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;IHEAP[e+9]=0;IHEAP[e+10]=1;IHEAP[e+11]=0;IHEAP[e+12]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE7reserveEi(e+4,2);e=3;b=2}}for(;;)if(b==4){IHEAP[a+13]=e==5?i:0;f=IHEAP[a+10];i=IHEAP[IHEAP[f]+11]; +c=IHEAP[a+13];try{__THREW__=!1,FUNCTION_TABLE[i](f,c)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}b=__THREW__?7:6;break}else if(b==5){var i=f;_llvm_memset_p0i8_i32(i,0,4,4,0);c=d=c=i;IHEAP[c]=__ZTV23btOverlapFilterCallback+2;IHEAP[d]=__ZTVZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback+2;e=5;b=4}if(b!=6&&b==7)throw f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase15btMultiSapProxyEE5clearEv(a+ +15),__ZN20btAlignedObjectArrayIP21btBroadphaseInterfaceE5clearEv(a+4),IHEAP[a]=__ZTV21btBroadphaseInterface+2,__Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 223083";} +function __ZN20btMultiSapBroadphaseD0Ev(a){var e;try{__THREW__=!1,__ZN20btMultiSapBroadphaseD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 223112";} +function __ZN20btMultiSapBroadphaseD2Ev(a){var e;IHEAP[a]=__ZTV20btMultiSapBroadphase+2;for(e=IHEAP[a+12]&1?0:1;;)if(e==0){e=IHEAP[a+10];var d=IHEAP[IHEAP[e]];try{__THREW__=!1,FUNCTION_TABLE[d](e)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}if(__THREW__)break;e=IHEAP[a+10];e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e)));e=1}else if(e==1){e=a+15;__ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase15btMultiSapProxyEE5clearEv(e); +e=a+4;__ZN20btAlignedObjectArrayIP21btBroadphaseInterfaceE5clearEv(e);IHEAP[a]=__ZTV21btBroadphaseInterface+2;return}e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);__ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase15btMultiSapProxyEE5clearEv(a+15);__ZN20btAlignedObjectArrayIP21btBroadphaseInterfaceE5clearEv(a+4);IHEAP[a]=__ZTV21btBroadphaseInterface+2;__Unwind_Resume_or_Rethrow(e);throw"Reached an unreachable! Original .ll line: 223244";} +function __ZN20btMultiSapBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=1;var j=null,j=__Z22btAlignedAllocInternalji(104,16);__ZN20btMultiSapBroadphase15btMultiSapProxyC1ERK9btVector3S3_iPvss(j,e,d,b,c,f,g);IHEAP[i]=j;b=a+15;c=IHEAP[b+1]==IHEAP[b+2]?0:1;a:for(;;)if(c==0){j=b;f=IHEAP[j+1];f!=0?(j=0,c=2):(j=0,c=3);for(;;)if(c==2)var k=f*2,j=2,c=3;else if(c==3){__ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase15btMultiSapProxyEE7reserveEi(b, +j==2?k:1);c=1;continue a}}else if(c==1){var l=IHEAP[b+3]+IHEAP[b+1],c=l==0?4:5;break a}for(;;)if(c==4)return IHEAP[b+1]+=1,FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,IHEAP[i],e,d,h),a=IHEAP[i],STACKTOP=i,a;else c==5&&(IHEAP[l]=IHEAP[i],c=4);return null} +function __ZN20btMultiSapBroadphase15btMultiSapProxyC1ERK9btVector3S3_iPvss(a,e,d,b,c,f,g){IHEAP[a]=c;IHEAP[a+1]=f;IHEAP[a+2]=g;_llvm_memcpy_p0i8_p0i8_i32(a+5,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+9,d,4,4,0);IHEAP[a+3]=0;c=a+48;IHEAP[c+4]=1;IHEAP[c+3]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;_llvm_memcpy_p0i8_p0i8_i32(a+53,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+57,d,4,4,0);IHEAP[a+61]=b;IHEAP[a+3]=a}function __ZN20btMultiSapBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher(){} +function __ZN20btMultiSapBroadphase20addToChildBroadphaseEPNS_15btMultiSapProxyEP17btBroadphaseProxyP21btBroadphaseInterface(a,e,d,b){a=STACKTOP;STACKTOP+=1;var c=null,c=__Z22btAlignedAllocInternalji(8,16);IHEAP[a]=c;IHEAP[IHEAP[a]]=d;IHEAP[IHEAP[a]+1]=b;e+=48;d=IHEAP[e+1]==IHEAP[e+2]?0:1;a:for(;;)if(d==0){c=e;b=IHEAP[c+1];b!=0?(c=0,d=2):(c=0,d=3);for(;;)if(d==2)var f=b*2,c=2,d=3;else if(d==3){__ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase13btBridgeProxyEE7reserveEi(e,c==2?f:1);d=1;continue a}}else if(d== +1){var g=IHEAP[e+3]+IHEAP[e+1],d=g==0?4:5;break a}for(;;)if(d==4){IHEAP[e+1]+=1;STACKTOP=a;break}else d==5&&(IHEAP[g]=IHEAP[a],d=4)}function __ZNK20btMultiSapBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(d,e+53,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,e+57,4,4,0)} +function __ZN20btMultiSapBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_(a,e,d,b){var c,f,e=0,d=a+15;c=e<IHEAP[d+1]?0:1;a:for(;;)if(c==0)for(var g=a+15;;){var h=b,i=IHEAP[IHEAP[h]+2];f=e;c=g;FUNCTION_TABLE[i](h,IHEAP[IHEAP[c+3]+f]);e+=1;h=e;c=d;if(h<IHEAP[c+1])c=2;else{c=1;continue a}}else if(c==1)break} +function __ZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher(a,e,d,b,c){var f=STACKTOP;STACKTOP+=15;var g,h,i,j=f+7,k=f+11;_llvm_memcpy_p0i8_p0i8_i32(e+53,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+57,b,4,4,0);IHEAP[f]=__ZTV21btNodeOverlapCallback+2;IHEAP[f]=__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+2;IHEAP[f+4]=a;IHEAP[f+5]=e;IHEAP[f+6]=c;g=IHEAP[a+11]!=0?0:1;a:for(;;)if(g==0){g=IHEAP[a+11];h=f;var l= +d,m=b;try{__THREW__=!1,__ZNK14btQuantizedBvh26reportAabbOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(g,h,l,m)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__){g=8;break a}else g=1}else if(g==1){i=0;g=2;break a}a:for(;;)if(g==8)throw e=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[f]=__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+ +2,IHEAP[f]=__ZTV21btNodeOverlapCallback+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 224149";else if(g==2)if(h=i,a=e+48,h<IHEAP[a+1]){g=i;a=e+48;a=IHEAP[IHEAP[IHEAP[a+3]+g]+1];g=IHEAP[IHEAP[a]+11];try{__THREW__=!1,FUNCTION_TABLE[g](a,j,k)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}if(__THREW__){g=8;continue a}a=__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(j,k,e+53,e+57);for(g=a&1?3:4;;)if(g==3){i+=1; +g=2;continue a}else if(g==4){g=i;a=e+48;a=IHEAP[IHEAP[a+3]+g];h=IHEAP[a];a=IHEAP[a+1];g=IHEAP[IHEAP[a]+3];l=c;try{__THREW__=!1,FUNCTION_TABLE[g](a,h,l)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}if(__THREW__){g=8;continue a}g=e+48;a=i;h=e+48;h=IHEAP[h+1]-1;l=g;g=IHEAP[IHEAP[l+3]+a];IHEAP[IHEAP[l+3]+a]=IHEAP[IHEAP[l+3]+h];IHEAP[IHEAP[l+3]+h]=g;a=e+48;IHEAP[a+1]+=-1;g=3}}else for(i=0;;){g=i;a=e+48;if(!(g<IHEAP[a+1]))break a;g=i;a=e+48; +h=IHEAP[IHEAP[a+3]+g];a=IHEAP[h+1];g=IHEAP[IHEAP[a]+4];h=IHEAP[h];var l=d,m=b,p=c;try{__THREW__=!1,FUNCTION_TABLE[g](a,h,l,m,p)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+r+" : "+r.stack+", currently at: "+Error().stack)}if(__THREW__){g=8;continue a}i+=1;g=5}IHEAP[f]=__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+2;IHEAP[f]=__ZTV21btNodeOverlapCallback+2;STACKTOP=f} +function __ZN20btMultiSapBroadphase25calculateOverlappingPairsEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=18;var b,c=null,f,g,h,i,j,k=d+1,l,m,n,o=d+2,q=d+3,p=d+4,r=d+5,s=d+9,u,v,y,x,z=d+13,B=d+14;b=IHEAP[_stopUpdating]&1?0:1;a:for(;;)if(b==0){STACKTOP=d;break}else if(b==1){l=FUNCTION_TABLE[IHEAP[IHEAP[a]+9]](a);if(!FUNCTION_TABLE[IHEAP[IHEAP[l]+14]](l)){b=0;continue a}l=FUNCTION_TABLE[IHEAP[IHEAP[a]+9]](a);i=l=FUNCTION_TABLE[IHEAP[IHEAP[l]+7]](l);_llvm_memcpy_p0i8_p0i8_i64(q,p,1,1,0);m=i;b=IHEAP[m+ +1]>1?3:4;b:for(;;)if(b==3)m=i,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI37btMultiSapBroadphasePairSortPredicateEEvT_ii(i,o,0,IHEAP[m+1]-1),b=4;else if(b==4){n=h=l;n=IHEAP[n+1]-IHEAP[a+14];c=r;IHEAP[c]=0;IHEAP[c+1]=0;IHEAP[c+2]=0;IHEAP[c+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(h,n,r);IHEAP[a+14]=0;h=s;IHEAP[h]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;IHEAP[h+3]=0;IHEAP[s]=0;IHEAP[s+1]=0;i=h=IHEAP[s+2]=0;n=c=l;i<IHEAP[c+1]?(c=4,b=5):(c=4,b=6);break b}b:for(;;)if(b== +5){m=i=s;var C=s+1,A=s+1,w=s,D=a,E=a+14,c=5;c:for(;;){g=h;c=c==5?n:K;g=IHEAP[c+3]+4*g;IHEAP[g]!=0?(c=7,b=8):(c=7,b=9);d:for(;;)if(b==8){var F=IHEAP[IHEAP[g]+3],c=8;b=9}else if(b==9){u=c==8?F:0;IHEAP[g+1]!=0?(c=9,b=10):(c=9,b=11);break d}d:for(;;)if(b==10){var G=IHEAP[IHEAP[g+1]+3],c=10;b=11}else if(b==11){v=c==10?G:0;IHEAP[i]!=0?(c=11,b=12):(c=11,b=13);break d}d:for(;;)if(b==12){var J=IHEAP[IHEAP[m]+3],c=12;b=13}else if(b==13){y=c==12?J:0;IHEAP[C]!=0?(c=13,b=14):(c=13,b=15);break d}d:for(;;)if(b== +14){var H=IHEAP[IHEAP[A]+3],c=14;b=15}else if(b==15){x=c==14?H:0;u==y?(c=15,b=16):(c=15,b=17);break d}d:for(;;)if(b==16){var M=v==x,c=16;b=17}else if(b==17){b=c==15?0:M;_llvm_memcpy_p0i8_p0i8_i32(w,g,4,4,0);f=0;b=b&1?18:19;break d}b==18?f=1:b==19&&(b=IHEAP[g+1],f=IHEAP[g],f=IHEAP[f+3],b=IHEAP[b+3],f=__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(f+53,f+57,b+53,b+57),f=f&1?0:1);for(b=f&1?21:22;;)if(b==21)b=FUNCTION_TABLE[IHEAP[IHEAP[D]+9]](a),FUNCTION_TABLE[IHEAP[IHEAP[b]+8]](b,g,e),IHEAP[g]=0,IHEAP[g+ +1]=0,IHEAP[E]+=1,IHEAP[_gOverlappingPairs]+=-1,b=22;else if(b==22){h+=1;g=h;var K=c=l;if(g<IHEAP[c+1]){c=22;b=7;continue c}else{c=22;b=6;continue b}}}}else if(b==6){j=c==4?n:K;_llvm_memcpy_p0i8_p0i8_i64(k,z,1,1,0);i=j;b=IHEAP[i+1]>1?23:24;break b}for(;;)if(b==23)i=j,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI37btMultiSapBroadphasePairSortPredicateEEvT_ii(j,d,0,IHEAP[i+1]-1),b=24;else if(b==24){i=l;l=IHEAP[l+1]-IHEAP[a+14];m=B;IHEAP[m]=0;IHEAP[m+1]=0;IHEAP[m+2]=0;IHEAP[m+3]= +0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(i,l,B);b=IHEAP[a+14]=0;continue a}}}function __ZN20btMultiSapBroadphase15testAabbOverlapEP17btBroadphaseProxyS1_(a,e,d){a=IHEAP[e+3];d=IHEAP[d+3];return __Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(a+53,a+57,d+53,d+57)}function __ZN20btMultiSapBroadphase10printStatsEv(){}function __ZN20btMultiSapBroadphase9resetPoolEP12btDispatcher(){}function __ZN20btMultiSapBroadphase23getOverlappingPairCacheEv(a){return IHEAP[a+10]} +function __ZNK20btMultiSapBroadphase23getOverlappingPairCacheEv(a){return IHEAP[a+10]} +function __ZNK20btMultiSapBroadphase17getBroadphaseAabbER9btVector3S1_(a,e,d){a=STACKTOP;STACKTOP+=6;var b=a+1,c=a+2,f=a+3,g=a+4,h=a+5;FHEAP[a]=-999999984306749440;FHEAP[b]=-999999984306749440;FHEAP[c]=-999999984306749440;FHEAP[e]=FHEAP[a];FHEAP[e+1]=FHEAP[b];FHEAP[e+2]=FHEAP[c];FHEAP[e+3]=0;FHEAP[f]=999999984306749440;FHEAP[g]=999999984306749440;FHEAP[h]=999999984306749440;FHEAP[d]=FHEAP[f];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[h];FHEAP[d+3]=0;STACKTOP=a} +function __ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI37btMultiSapBroadphasePairSortPredicateEEvT_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=10;var f,g,h,i,j,k,l,m=c+4,n=c+8,o=c+9;k=d;l=b;var q=IHEAP[a+3]+4*((b+d)/2|0);IHEAP[m]=IHEAP[q];IHEAP[m+1]=IHEAP[q+1];IHEAP[m+2]=IHEAP[q+2];IHEAP[m+3]=IHEAP[q+3];var q=a+3,p=a+3;a:for(;;)if(__ZN37btMultiSapBroadphasePairSortPredicateclERK16btBroadphasePairS2_(e,IHEAP[q]+4*k,m))k+=1;else{f=__ZN37btMultiSapBroadphasePairSortPredicateclERK16btBroadphasePairS2_(e, +m,IHEAP[p]+4*l)?1:2;b:for(;;)if(f==1)l+=-1,f=__ZN37btMultiSapBroadphasePairSortPredicateclERK16btBroadphasePairS2_(e,m,IHEAP[p]+4*l)?1:2;else if(f==2){f=k<=l?3:4;break b}for(;;)if(f==3)f=k,j=l,i=a,h=IHEAP[i+3]+4*f,g=c,IHEAP[g]=IHEAP[h],IHEAP[g+1]=IHEAP[h+1],IHEAP[g+2]=IHEAP[h+2],IHEAP[g+3]=IHEAP[h+3],_llvm_memcpy_p0i8_p0i8_i32(IHEAP[i+3]+4*f,IHEAP[i+3]+4*j,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[i+3]+4*j,c,4,4,0),k+=1,l+=-1,f=4;else if(f==4)if(k<=l)continue a;else break a}f=d<l?6:7;a:for(;;)if(f== +6)__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI37btMultiSapBroadphasePairSortPredicateEEvT_ii(a,n,d,l),f=7;else if(f==7){f=k<b?8:9;break a}for(;;)if(f==8)__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI37btMultiSapBroadphasePairSortPredicateEEvT_ii(a,o,k,b),f=9;else if(f==9){STACKTOP=c;break}} +function __ZN37btMultiSapBroadphasePairSortPredicateclERK16btBroadphasePairS2_(a,e,d){var b=null,c,f,g,h;IHEAP[e]!=0?(b=-1,a=0):(b=-1,a=1);a:for(;;)if(a==0)var i=IHEAP[IHEAP[e]+3],b=0,a=1;else if(a==1){c=b==0?i:0;IHEAP[e+1]!=0?(b=1,a=2):(b=1,a=3);break a}a:for(;;)if(a==2)var j=IHEAP[IHEAP[e+1]+3],b=2,a=3;else if(a==3){f=b==2?j:0;IHEAP[d]!=0?(b=3,a=4):(b=3,a=5);break a}a:for(;;)if(a==4)var k=IHEAP[IHEAP[d]+3],b=4,a=5;else if(a==5){g=b==4?k:0;IHEAP[d+1]!=0?(b=5,a=6):(b=5,a=7);break a}a:for(;;)if(a== +6)var l=IHEAP[IHEAP[d+1]+3],b=6,a=7;else if(a==7){h=b==6?l:0;c>g?(b=7,a=8):(b=7,a=9);break a}a:for(;;)if(a==8)return b==10?1:b==7?1:b==12?0:b==11?0:m;else if(a==9){for(a=c==g?10:11;;)if(a==10)if(f>h){b=10;a=8;continue a}else a=11;else if(a==11)if(c==g)break;else{b=11;a=8;continue a}if(f!=h){b=12;a=8;continue a}var m=IHEAP[e+2]>IHEAP[d+2],b=13,a=8}return null} +function __ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase13btBridgeProxyEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase15btMultiSapProxyEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIPN20btMultiSapBroadphase15btMultiSapProxyEE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayIP21btBroadphaseInterfaceE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherEN21MyNodeOverlapCallbackD2Ev(a){IHEAP[a]=__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2} +function __ZZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherEN21MyNodeOverlapCallbackD0Ev(a){IHEAP[a]=__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+2;IHEAP[a]=__ZTV21btNodeOverlapCallback+2;__ZdlPv(a)} +function __ZZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherEN21MyNodeOverlapCallback11processNodeEii(a,e,d){var b,e=null,c,f,g,d=IHEAP[IHEAP[IHEAP[a+4]+4+3]+d];f=0;var h=a+5,i=a+5;a:for(;;){c=f;b=IHEAP[h]+48;if(!(c<IHEAP[b+1])){b=2;break a}var j=f;b=IHEAP[i]+48;c=j;j=f;if(IHEAP[IHEAP[IHEAP[b+3]+c]+1]==d){b=3;break a}f=j+1;b=0}b==2?(g=-1,e=2):b==3&&(e=3);for(b=(e==2?g:j)<0?6:7;;)if(b==6)g=d,g=FUNCTION_TABLE[IHEAP[IHEAP[g]+2]](g,IHEAP[a+5]+53,IHEAP[a+5]+57,IHEAP[IHEAP[a+ +5]+61],IHEAP[IHEAP[a+5]],IHEAP[IHEAP[a+5]+1],IHEAP[IHEAP[a+5]+2],IHEAP[a+6],IHEAP[a+5]),__ZN20btMultiSapBroadphase20addToChildBroadphaseEPNS_15btMultiSapProxyEP17btBroadphaseProxyP21btBroadphaseInterface(IHEAP[a+4],IHEAP[a+5],g,d),b=7;else if(b==7)break} +function __ZZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheEN31btMultiSapOverlapFilterCallbackD0Ev(a){IHEAP[a]=__ZTVZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback+2;IHEAP[a]=__ZTV23btOverlapFilterCallback+2;__ZdlPv(a)} +function __ZZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheENK31btMultiSapOverlapFilterCallback23needBroadphaseCollisionEP17btBroadphaseProxyS4_(a,e,d){var b,a=null,e=IHEAP[e+3],d=IHEAP[d+3],a=(IHEAP[d+2]&IHEAP[e+1])!=0;a&1?(a=-1,b=0):(a=-1,b=1);for(;;)if(b==0){var c=(IHEAP[e+2]&IHEAP[d+1])!=0,a=0;b=1}else if(b==1)return a=a==-1?0:c,a&1;return null} +function __ZZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheEN31btMultiSapOverlapFilterCallbackD2Ev(a){IHEAP[a]=__ZTVZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback+2;IHEAP[a]=__ZTV23btOverlapFilterCallback+2}function __ZN23btOverlapFilterCallbackD1Ev(a){IHEAP[a]=__ZTV23btOverlapFilterCallback+2}function __ZN23btOverlapFilterCallbackD0Ev(a){IHEAP[a]=__ZTV23btOverlapFilterCallback+2;__ZdlPv(a)} +function __ZN12btDispatcherD0Ev(a){IHEAP[a]=__ZTV12btDispatcher+2;__ZdlPv(a)}function __ZN12btDispatcherD2Ev(a){IHEAP[a]=__ZTV12btDispatcher+2} +function __ZN14btQuantizedBvhC2Ev(a){var e=STACKTOP;STACKTOP+=6;var d=e+1,b=e+2,c=e+3,f=e+4,g=e+5;IHEAP[a]=__ZTV14btQuantizedBvh+2;IHEAP[a+13]=278;IHEAP[a+15]=0;var h=a+16;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;h=a+21;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;h=a+26;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;h=a+31;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;IHEAP[a+36]=0;h=a+37;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;IHEAP[a+42]=0;h=a+1;FHEAP[e]= +-3.4028234663852886E38;FHEAP[d]=-3.4028234663852886E38;FHEAP[b]=-3.4028234663852886E38;FHEAP[h]=FHEAP[e];FHEAP[h+1]=FHEAP[d];FHEAP[h+2]=FHEAP[b];FHEAP[h+3]=0;a+=5;FHEAP[c]=3.4028234663852886E38;FHEAP[f]=3.4028234663852886E38;FHEAP[g]=3.4028234663852886E38;FHEAP[a]=FHEAP[c];FHEAP[a+1]=FHEAP[f];FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=0;STACKTOP=e} +function __ZN14btQuantizedBvh9buildTreeEii(a,e,d){var b=STACKTOP;STACKTOP+=8;var c,f=null,g,h,i,j,k,l,m=b+4,n,o;l=IHEAP[a+14];if(d-e==1)__ZN14btQuantizedBvh30assignInternalNodeFromLeafNodeEii(a,IHEAP[a+14],e),IHEAP[a+14]+=1;else{j=__ZN14btQuantizedBvh17calcSplittingAxisEii(a,e,d);k=__ZN14btQuantizedBvh25sortAndCalcSplittingIndexEiii(a,e,d,j);j=IHEAP[a+14];var q=a+5;i=IHEAP[a+14];IHEAP[a+15]&1?__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(a,IHEAP[a+31+3]+7*i,q,0):_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a+ +21+3]+16*i,q,4,4,0);q=a+1;i=IHEAP[a+14];IHEAP[a+15]&1?__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(a,IHEAP[a+31+3]+7*i+3,q,1):_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a+21+3]+16*i+4,q,4,4,0);i=e;var q=a+14,p=IHEAP[q];i<d?(f=3,c=4):(f=3,c=5);a:for(;;)if(c==4){r=f==4?r:p;__ZNK14btQuantizedBvh10getAabbMinEi(b,a,i);__ZNK14btQuantizedBvh10getAabbMaxEi(m,a,i);__ZN14btQuantizedBvh21mergeInternalNodeAabbEiRK9btVector3S2_(a,r,b,m);i+=1;var r=IHEAP[q];i<d?c=f=4:(f=4,c=5)}else if(c==5){IHEAP[q]=(f==3?p:r)+1;n=IHEAP[a+ +14];__ZN14btQuantizedBvh9buildTreeEii(a,e,k);o=IHEAP[a+14];__ZN14btQuantizedBvh9buildTreeEii(a,k,d);h=IHEAP[a+14]-l;c=IHEAP[a+15]&1?6:7;break a}for(;;)if(c==6)e=h*16,e>2048&&__ZN14btQuantizedBvh20updateSubtreeHeadersEii(a,n,o),c=7;else if(c==7){g=j;var s=a,u=h;c=IHEAP[s+15]&1?9:10;break}c==9?IHEAP[IHEAP[s+31+3]+7*g+6]=0-u:c==10&&(IHEAP[IHEAP[s+21+3]+16*g+8]=u)}STACKTOP=b} +function __ZN14btQuantizedBvh21setQuantizationValuesERK9btVector3S2_f(a,e,d,b){var c=STACKTOP;STACKTOP+=40;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+9,o=c+10,q=c+11,p=c+12,r=c+13,s=c+17,u=c+21,v=c+25,y=c+29,x=c+33,z=c+34,B=c+35,C=c+36;FHEAP[p]=b;FHEAP[r]=FHEAP[p];FHEAP[r+1]=FHEAP[p];FHEAP[r+2]=FHEAP[p];FHEAP[r+3]=0;FHEAP[c]=FHEAP[e]-FHEAP[r];FHEAP[f]=FHEAP[e+1]-FHEAP[r+1];FHEAP[g]=FHEAP[e+2]-FHEAP[r+2];FHEAP[s]=FHEAP[c];FHEAP[s+1]=FHEAP[f];FHEAP[s+2]=FHEAP[g];FHEAP[s+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+ +1,s,4,4,0);FHEAP[h]=FHEAP[d]+FHEAP[r];FHEAP[i]=FHEAP[d+1]+FHEAP[r+1];FHEAP[j]=FHEAP[d+2]+FHEAP[r+2];FHEAP[u]=FHEAP[h];FHEAP[u+1]=FHEAP[i];FHEAP[u+2]=FHEAP[j];FHEAP[u+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+5,u,4,4,0);d=a+1;e=a+5;FHEAP[k]=FHEAP[e]-FHEAP[d];FHEAP[l]=FHEAP[e+1]-FHEAP[d+1];FHEAP[m]=FHEAP[e+2]-FHEAP[d+2];FHEAP[v]=FHEAP[k];FHEAP[v+1]=FHEAP[l];FHEAP[v+2]=FHEAP[m];FHEAP[v+3]=0;FHEAP[x]=65533;FHEAP[z]=65533;FHEAP[B]=65533;FHEAP[y]=FHEAP[x];FHEAP[y+1]=FHEAP[z];FHEAP[y+2]=FHEAP[B];FHEAP[y+3]=0;FHEAP[n]= +FHEAP[y]/FHEAP[v];FHEAP[o]=FHEAP[y+1]/FHEAP[v+1];FHEAP[q]=FHEAP[y+2]/FHEAP[v+2];FHEAP[C]=FHEAP[n];FHEAP[C+1]=FHEAP[o];FHEAP[C+2]=FHEAP[q];FHEAP[C+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+9,C,4,4,0);IHEAP[a+15]=1;STACKTOP=c} +function __ZN14btQuantizedBvhD0Ev(a){var e,d;try{__THREW__=!1,__ZN14btQuantizedBvhD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)), +e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 227347";}}function __ZN14btQuantizedBvhD2Ev(a){IHEAP[a]=__ZTV14btQuantizedBvh+2;__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE5clearEv(a+37);__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE5clearEv(a+31);__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE5clearEv(a+26);__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE5clearEv(a+21);__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE5clearEv(a+16)} +function __ZN14btQuantizedBvh30assignInternalNodeFromLeafNodeEii(a,e,d){IHEAP[a+15]&1?(e=IHEAP[a+31+3]+7*e,_llvm_memcpy_p0i8_p0i8_i32(e,IHEAP[a+26+3]+7*d,7,4,0)):(e=IHEAP[a+21+3]+16*e,_llvm_memcpy_p0i8_p0i8_i32(e,IHEAP[a+16+3]+16*d,16,4,0))} +function __ZN14btQuantizedBvh17calcSplittingAxisEii(a,e,d){var b=STACKTOP;STACKTOP+=76;var c,f=null,g,h,i,j=b+1,k=b+2,l,m,n=b+3,o=b+4,q=b+5,p=b+6,r=b+7,s=b+8,u=b+9,v=b+10,y=b+11,x=b+12,z=b+13,B=b+14,C=b+15,A=b+16,w=b+17,D,E,F=b+18,G=b+22;l=b+23;c=b+24;E=b+25;g=b+29;h=b+30;i=b+31;var J=b+32,H=b+36,M=b+37,K=b+41,N=b+45;m=b+49;var R=b+50,O=b+54,Q=b+55,I=b+59,L=b+63,P=b+67,S=b+71;D=b+75;FHEAP[G]=0;FHEAP[l]=0;FHEAP[c]=0;FHEAP[F]=FHEAP[G];FHEAP[F+1]=FHEAP[l];FHEAP[F+2]=FHEAP[c];FHEAP[F+3]=0;FHEAP[g]=0; +FHEAP[h]=0;FHEAP[i]=0;FHEAP[E]=FHEAP[g];FHEAP[E+1]=FHEAP[h];FHEAP[E+2]=FHEAP[i];FHEAP[E+3]=0;G=d-e;l=e;c=l<d?0:1;a:for(;;)if(c==0)FHEAP[H]=0.5,__ZNK14btQuantizedBvh10getAabbMaxEi(K,a,l),__ZNK14btQuantizedBvh10getAabbMinEi(N,a,l),c=K,g=N,FHEAP[n]=FHEAP[c]+FHEAP[g],FHEAP[o]=FHEAP[c+1]+FHEAP[g+1],FHEAP[q]=FHEAP[c+2]+FHEAP[g+2],c=M,g=n,h=o,i=q,FHEAP[c]=FHEAP[g],FHEAP[c+1]=FHEAP[h],FHEAP[c+2]=FHEAP[i],FHEAP[c+3]=0,g=H,c=M,FHEAP[b]=FHEAP[c]*FHEAP[g],FHEAP[j]=FHEAP[c+1]*FHEAP[g],FHEAP[k]=FHEAP[c+2]*FHEAP[g], +c=J,g=b,h=j,i=k,FHEAP[c]=FHEAP[g],FHEAP[c+1]=FHEAP[h],FHEAP[c+2]=FHEAP[i],FHEAP[c+3]=0,g=F,c=J,FHEAP[g]+=FHEAP[c],FHEAP[g+1]+=FHEAP[c+1],FHEAP[g+2]+=FHEAP[c+2],l+=1,c=l<d?0:1;else if(c==1){FHEAP[m]=1/G;l=F;FHEAP[l]*=FHEAP[m];FHEAP[l+1]*=FHEAP[m];FHEAP[l+2]*=FHEAP[m];l=e;c=l<d?2:3;break a}a:for(;;)if(c==2){e=P;for(m=S;;)if(FHEAP[O]=0.5,__ZNK14btQuantizedBvh10getAabbMaxEi(I,a,l),__ZNK14btQuantizedBvh10getAabbMinEi(L,a,l),j=I,k=L,FHEAP[p]=FHEAP[j]+FHEAP[k],FHEAP[r]=FHEAP[j+1]+FHEAP[k+1],FHEAP[s]=FHEAP[j+ +2]+FHEAP[k+2],j=Q,k=p,n=r,o=s,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[n],FHEAP[j+2]=FHEAP[o],FHEAP[j+3]=0,k=O,j=Q,FHEAP[u]=FHEAP[j]*FHEAP[k],FHEAP[v]=FHEAP[j+1]*FHEAP[k],FHEAP[y]=FHEAP[j+2]*FHEAP[k],j=R,k=u,n=v,o=y,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[n],FHEAP[j+2]=FHEAP[o],FHEAP[j+3]=0,j=R,k=F,FHEAP[x]=FHEAP[j]-FHEAP[k],FHEAP[z]=FHEAP[j+1]-FHEAP[k+1],FHEAP[B]=FHEAP[j+2]-FHEAP[k+2],j=P,k=x,n=z,o=B,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[n],FHEAP[j+2]=FHEAP[o],FHEAP[j+3]=0,k=j=P,FHEAP[C]=FHEAP[j]*FHEAP[k],FHEAP[A]= +FHEAP[j+1]*FHEAP[k+1],FHEAP[w]=FHEAP[j+2]*FHEAP[k+2],j=S,k=C,n=A,o=w,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[n],FHEAP[j+2]=FHEAP[o],FHEAP[j+3]=0,_llvm_memcpy_p0i8_p0i8_i32(e,m,4,4,0),k=E,j=P,FHEAP[k]+=FHEAP[j],FHEAP[k+1]+=FHEAP[j+1],FHEAP[k+2]+=FHEAP[j+2],l+=1,l<d)c=4;else{c=3;continue a}}else if(c==3){FHEAP[D]=1/(G-1);a=E;FHEAP[a]*=FHEAP[D];FHEAP[a+1]*=FHEAP[D];FHEAP[a+2]*=FHEAP[D];var T=E,U=T;c=FHEAP[T]<FHEAP[T+1]?5:6;break a}if(c==5)var W=FHEAP[U+1]<FHEAP[T+2]?2:1,f=5;else if(c==6)var Z=FHEAP[U]<FHEAP[T+ +2]?2:0,f=6;STACKTOP=b;return f==5?W:Z} +function __ZN14btQuantizedBvh25sortAndCalcSplittingIndexEiii(a,e,d,b){var c=STACKTOP;STACKTOP+=54;var f,g=null,h,i,j,k,l,m=c+1,n=c+2,o,q,p=c+3,r=c+4,s=c+5,u=c+6,v=c+7,y=c+8,x=c+9,z=c+10,B=c+11,C,A;o=c+12;i=c+16;f=c+17;j=c+18;var w=c+19,D=c+23,E=c+24,F=c+28,G=c+32;q=c+36;var J=c+37,H=c+41,M=c+42,K=c+46,N=c+50,R;C=e;A=d-e;FHEAP[i]=0;FHEAP[f]=0;FHEAP[j]=0;FHEAP[o]=FHEAP[i];FHEAP[o+1]=FHEAP[f];FHEAP[o+2]=FHEAP[j];FHEAP[o+3]=0;i=e;f=i<d?0:1;a:for(;;)if(f==0)FHEAP[D]=0.5,__ZNK14btQuantizedBvh10getAabbMaxEi(F, +a,i),__ZNK14btQuantizedBvh10getAabbMinEi(G,a,i),f=F,j=G,FHEAP[x]=FHEAP[f]+FHEAP[j],FHEAP[z]=FHEAP[f+1]+FHEAP[j+1],FHEAP[B]=FHEAP[f+2]+FHEAP[j+2],f=E,j=x,k=z,l=B,FHEAP[f]=FHEAP[j],FHEAP[f+1]=FHEAP[k],FHEAP[f+2]=FHEAP[l],FHEAP[f+3]=0,j=D,f=E,FHEAP[c]=FHEAP[f]*FHEAP[j],FHEAP[m]=FHEAP[f+1]*FHEAP[j],FHEAP[n]=FHEAP[f+2]*FHEAP[j],f=w,j=c,k=m,l=n,FHEAP[f]=FHEAP[j],FHEAP[f+1]=FHEAP[k],FHEAP[f+2]=FHEAP[l],FHEAP[f+3]=0,j=o,f=w,FHEAP[j]+=FHEAP[f],FHEAP[j+1]+=FHEAP[f+1],FHEAP[j+2]+=FHEAP[f+2],i+=1,f=i<d?0:1;else if(f== +1){FHEAP[q]=1/A;h=o;i=q;FHEAP[h]*=FHEAP[i];FHEAP[h+1]*=FHEAP[i];FHEAP[h+2]*=FHEAP[i];h=b;i=o;h=FHEAP[i+h];i=e;f=i<d?2:3;break a}a:for(;;)if(f==2){FHEAP[H]=0.5;__ZNK14btQuantizedBvh10getAabbMaxEi(K,a,i);__ZNK14btQuantizedBvh10getAabbMinEi(N,a,i);o=K;q=N;FHEAP[p]=FHEAP[o]+FHEAP[q];FHEAP[r]=FHEAP[o+1]+FHEAP[q+1];FHEAP[s]=FHEAP[o+2]+FHEAP[q+2];o=M;q=p;m=r;n=s;FHEAP[o]=FHEAP[q];FHEAP[o+1]=FHEAP[m];FHEAP[o+2]=FHEAP[n];FHEAP[o+3]=0;q=H;o=M;FHEAP[u]=FHEAP[o]*FHEAP[q];FHEAP[v]=FHEAP[o+1]*FHEAP[q];FHEAP[y]= +FHEAP[o+2]*FHEAP[q];o=J;q=u;m=v;n=y;FHEAP[o]=FHEAP[q];FHEAP[o+1]=FHEAP[m];FHEAP[o+2]=FHEAP[n];FHEAP[o+3]=0;q=b;o=J;for(f=FHEAP[o+q]>h?4:5;;)if(f==4)__ZN14btQuantizedBvh13swapLeafNodesEii(a,i,C),C+=1,f=5;else if(f==5){i+=1;f=i<d?2:3;continue a}}else if(f==3){R=A/3|0;C<=R+e?(g=3,f=6):(g=3,f=7);break a}a:for(;;)if(f==6){a=g==3?1:O;f=a&1?8:9;break a}else if(f==7){var O=C>=d+-1+(0-R),g=7;f=6}for(;;)if(f==8)C=(A>>1)+e,f=9;else if(f==9)return e=C,STACKTOP=c,e;return null} +function __ZN14btQuantizedBvh21mergeInternalNodeAabbEiRK9btVector3S2_(a,e,d,b){var c=STACKTOP;STACKTOP+=6;var f,g,h,i,j,k=c+3,l=IHEAP[a+15]&1;a:do if(l){__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(a,c,d,0);__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(a,k,b,1);h=0;i=a+31;var m=a+31,n=a+31,o=a+31;b:for(;;){var q=h;j=e;f=i;f=IHEAP[IHEAP[f+3]+7*j+q]>IHEAP[c+h]?1:2;c:for(;;)if(f==1)q=IHEAP[c+h],j=h,g=e,f=m,IHEAP[IHEAP[f+3]+7*g+j]=q,f=2;else if(f==2){q=h;j=e;f=n;f=IHEAP[IHEAP[f+3]+7*j+3+q]<IHEAP[k+ +h]?3:4;break c}for(;;)if(f==3)q=IHEAP[k+h],j=h,g=e,f=o,IHEAP[IHEAP[f+3]+7*g+3+j]=q,f=4;else if(f==4)if(h=f=h+1,f<3)continue b;else break a}}else i=e,h=a+21,__ZN9btVector36setMinERKS_(IHEAP[h+3]+16*i,d),i=e,h=a+21,__ZN9btVector36setMaxERKS_(IHEAP[h+3]+16*i+4,b);while(0);STACKTOP=c} +function __ZNK14btQuantizedBvh10getAabbMinEi(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;if(IHEAP[e+15]&1){var d=IHEAP[e+26+3]+7*d,g=IHEAP[d];FHEAP[b]=g/FHEAP[e+9];g=IHEAP[d+1];FHEAP[c]=g/FHEAP[e+9+1];d=IHEAP[d+2];FHEAP[f]=d/FHEAP[e+9+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;e+=1;FHEAP[a]+=FHEAP[e];FHEAP[a+1]+=FHEAP[e+1];FHEAP[a+2]+=FHEAP[e+2]}else _llvm_memcpy_p0i8_p0i8_i32(a,IHEAP[e+16+3]+16*d,4,4,0);STACKTOP=b} +function __ZNK14btQuantizedBvh10getAabbMaxEi(a,e,d){var b=STACKTOP;STACKTOP+=3;var c=b+1,f=b+2;if(IHEAP[e+15]&1){var d=IHEAP[e+26+3]+7*d+3,g=IHEAP[d];FHEAP[b]=g/FHEAP[e+9];g=IHEAP[d+1];FHEAP[c]=g/FHEAP[e+9+1];d=IHEAP[d+2];FHEAP[f]=d/FHEAP[e+9+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;e+=1;FHEAP[a]+=FHEAP[e];FHEAP[a+1]+=FHEAP[e+1];FHEAP[a+2]+=FHEAP[e+2]}else _llvm_memcpy_p0i8_p0i8_i32(a,IHEAP[e+16+3]+16*d+4,4,4,0);STACKTOP=b} +function __ZN14btQuantizedBvh20updateSubtreeHeadersEii(a,e,d){var b=STACKTOP;STACKTOP+=22;var c,f=null,g,h,i,j,k,l,m,n,o,q=b+11;n=IHEAP[a+31+3]+7*e;IHEAP[n+6]>=0?(f=-1,c=0):(f=-1,c=1);a:for(;;)if(c==0){m=f==1?k:1;j=m*16;f=d;g=a+31;f=g=IHEAP[g+3]+7*f;IHEAP[f+6]>=0?(f=0,c=2):(f=0,c=3);break a}else c==1&&(f=n,k=0-IHEAP[f+6],f=1,c=0);a:for(;;)if(c==2){o=f==3?r:1;var p=o*16;l=p;j<=2048?(f=2,c=4):(f=2,c=5);break a}else if(c==3){var f=g,r=0-IHEAP[f+6],f=3;c=2}a:for(;;)if(c==4){c=a+37;j=b;c=r=c;h=k=IHEAP[c+ +1];c=r;c=h==IHEAP[c+2]?6:7;b:for(;;)if(c==6){f=r;h=IHEAP[f+1];h!=0?(f=6,c=8):(f=6,c=9);for(;;)if(c==8){var s=h*2,f=8;c=9}else if(c==9){__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE7reserveEi(r,f==8?s:1);c=7;continue b}}else if(c==7){IHEAP[r+1]+=1;i=IHEAP[r+3]+11*k;_llvm_memcpy_p0i8_p0i8_i32(i,j,11,4,0);i=IHEAP[r+3]+11*k;c=n;f=i;IHEAP[f]=IHEAP[c];IHEAP[f+1]=IHEAP[c+1];IHEAP[f+2]=IHEAP[c+2];IHEAP[f+3]=IHEAP[c+3];IHEAP[f+3+1]=IHEAP[c+3+1];IHEAP[f+3+2]=IHEAP[c+3+2];IHEAP[i+6]=e;IHEAP[i+7]=m;i=l;f=7; +c=5;continue a}}else if(c==5){c=(f==7?i:p)<=2048?10:11;break a}a:for(;;)if(c==10){n=a+37;e=q;m=n;p=m=IHEAP[m+1];l=n;c=p==IHEAP[l+2]?12:13;b:for(;;)if(c==12){l=n;l=IHEAP[l+1];l!=0?(f=12,c=14):(f=12,c=15);for(;;)if(c==14){var u=l*2,f=14;c=15}else if(c==15){__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE7reserveEi(n,f==14?u:1);c=13;continue b}}else if(c==13){IHEAP[n+1]+=1;l=IHEAP[n+3]+11*m;_llvm_memcpy_p0i8_p0i8_i32(l,e,11,4,0);e=IHEAP[n+3]+11*m;m=g;n=e;IHEAP[n]=IHEAP[m];IHEAP[n+1]=IHEAP[m+1];IHEAP[n+ +2]=IHEAP[m+2];IHEAP[n+3]=IHEAP[m+3];IHEAP[n+3+1]=IHEAP[m+3+1];IHEAP[n+3+2]=IHEAP[m+3+2];IHEAP[e+6]=d;IHEAP[e+7]=o;c=11;continue a}}else if(c==11){d=a+37;IHEAP[a+42]=IHEAP[d+1];STACKTOP=b;break}} +function __ZN14btQuantizedBvh13swapLeafNodesEii(a,e,d){var b=STACKTOP;STACKTOP+=23;var c=b+7;IHEAP[a+15]&1?(_llvm_memcpy_p0i8_p0i8_i32(b,IHEAP[a+26+3]+7*e,7,4,0),c=IHEAP[a+26+3]+7*e,_llvm_memcpy_p0i8_p0i8_i32(c,IHEAP[a+26+3]+7*d,7,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a+26+3]+7*d,b,7,4,0)):(_llvm_memcpy_p0i8_p0i8_i32(c,IHEAP[a+16+3]+16*e,16,4,0),e=IHEAP[a+16+3]+16*e,_llvm_memcpy_p0i8_p0i8_i32(e,IHEAP[a+16+3]+16*d,16,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a+16+3]+16*d,c,16,4,0));STACKTOP=b} +function __ZNK14btQuantizedBvh26reportAabbOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f,g,h,i=c+4,j=c+8,k=c+11,l=IHEAP[a+15]&1;a:do if(l){g=j;h=d;f=a;_llvm_memcpy_p0i8_p0i8_i32(i,h,4,4,0);__ZN9btVector36setMaxERKS_(i,f+1);__ZN9btVector36setMinERKS_(i,f+5);__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(f,g,i,0);g=k;h=b;f=a;_llvm_memcpy_p0i8_p0i8_i32(c,h,4,4,0);__ZN9btVector36setMaxERKS_(c,f+1);__ZN9btVector36setMinERKS_(c,f+5);__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(f, +g,c,1);f=IHEAP[a+36];if(f==0)f=1;else if(f==1)f=2;else if(f==2)f=3;else break a;f==1?__ZNK14btQuantizedBvh26walkStacklessQuantizedTreeEP21btNodeOverlapCallbackPtS2_ii(a,e,j,k,0,IHEAP[a+14]):f==2?__ZNK14btQuantizedBvh39walkStacklessQuantizedTreeCacheFriendlyEP21btNodeOverlapCallbackPtS2_(a,e,j,k):f==3&&(f=a+31,f=IHEAP[f+3]+0,__ZNK14btQuantizedBvh42walkRecursiveQuantizedTreeAgainstQueryAabbEPK18btQuantizedBvhNodeP21btNodeOverlapCallbackPtS5_(a,f,e,j,k))}else __ZNK14btQuantizedBvh17walkStacklessTreeEP21btNodeOverlapCallbackRK9btVector3S4_(a, +e,d,b);while(0);STACKTOP=c} +function __ZNK14btQuantizedBvh26walkStacklessQuantizedTreeEP21btNodeOverlapCallbackPtS2_ii(a,e,d,b,c,f){var g,h,i,j,k,l;k=c;l=0;a=IHEAP[a+31+3]+7*c;g=k<f?0:1;a:for(;;)if(g==0){l+=1;h=b;j=a;g=a+3;c=d;c=IHEAP[h]>=IHEAP[j]&IHEAP[c]<=IHEAP[g]&IHEAP[c+2]<=IHEAP[g+2]&IHEAP[h+2]>=IHEAP[j+2]&IHEAP[c+1]<=IHEAP[g+1]&IHEAP[h+1]>=IHEAP[j+1];c=(0-c|c)>>31;h=c^-1;c=h&0|c&1;h=a;h=IHEAP[h+6]>=0;g=h&1?2:3;b:for(;;)if(g==2){if(c==0){g=5;break b}g=e;j=IHEAP[IHEAP[g]+2];i=a;var m=IHEAP[i+6]>>21;i=a;FUNCTION_TABLE[j](g, +m,IHEAP[i+6]&2097151);g=3}else if(g==3){g=c!=0?6:5;break b}b:for(;;)if(g==5)if(h&1)g=6;else{g=7;break b}else if(g==6){a+=7;k+=1;g=8;break b}for(;;)if(g==8){g=k<f?0:1;continue a}else g==7&&(c=a,c=0-IHEAP[c+6],a+=7*c,k+=c,g=8)}else if(g==1){g=IHEAP[_maxIterations]<l?9:10;break a}for(;;)if(g==9)IHEAP[_maxIterations]=l,g=10;else if(g==10)break} +function __ZNK14btQuantizedBvh39walkStacklessQuantizedTreeCacheFriendlyEP21btNodeOverlapCallbackPtS2_(a,e,d,b){var c,f,g,h,i,j;j=0;var k=a+37;c=j<IHEAP[k+1]?0:1;a:for(;;)if(c==0){var l=a+37;b:for(;;){c=j;i=l;i=IHEAP[i+3]+11*c;f=b;g=i;h=i+3;c=d;c=IHEAP[f]>=IHEAP[g]&IHEAP[c]<=IHEAP[h]&IHEAP[c+2]<=IHEAP[h+2]&IHEAP[f+2]>=IHEAP[g+2]&IHEAP[c+1]<=IHEAP[h+1]&IHEAP[f+1]>=IHEAP[g+1];c=(0-c|c)>>31;f=c^-1;for(c=(f&0|c&1)!=0?3:4;;)if(c==3)__ZNK14btQuantizedBvh26walkStacklessQuantizedTreeEP21btNodeOverlapCallbackPtS2_ii(a, +e,d,b,IHEAP[i+6],IHEAP[i+7]+IHEAP[i+6]),c=4;else if(c==4)if(j+=1,c=j,i=k,c<IHEAP[i+1]){c=2;continue b}else{c=1;continue a}}}else if(c==1)break} +function __ZNK14btQuantizedBvh42walkRecursiveQuantizedTreeAgainstQueryAabbEPK18btQuantizedBvhNodeP21btNodeOverlapCallbackPtS5_(a,e,d,b,c){var f;f=null;var g,h,i,j;j=e+3;j=IHEAP[c]>=IHEAP[e]&IHEAP[b]<=IHEAP[j]&IHEAP[b+2]<=IHEAP[j+2]&IHEAP[c+2]>=IHEAP[e+2]&IHEAP[b+1]<=IHEAP[j+1]&IHEAP[c+1]>=IHEAP[e+1];f=(0-j|j)>>31;j=IHEAP[e+6]>=0;for(f=((f^-1)&0|f&1)!=0?0:1;;)if(f==0){if(j&1){f=d;i=IHEAP[IHEAP[f]+2];g=e;var k=IHEAP[g+6]>>21;g=e;FUNCTION_TABLE[i](f,k,IHEAP[g+6]&2097151)}else{g=e+7;__ZNK14btQuantizedBvh42walkRecursiveQuantizedTreeAgainstQueryAabbEPK18btQuantizedBvhNodeP21btNodeOverlapCallbackPtS5_(a, +g,d,b,c);f=i=g;if(IHEAP[i+6]>=0){var l=f+7;f=2}else h=g,h=f+7*(0-IHEAP[h+6]),f=4;f=f==2?l:h;__ZNK14btQuantizedBvh42walkRecursiveQuantizedTreeAgainstQueryAabbEPK18btQuantizedBvhNodeP21btNodeOverlapCallbackPtS5_(a,f,d,b,c)}f=1}else if(f==1)break} +function __ZNK14btQuantizedBvh17walkStacklessTreeEP21btNodeOverlapCallbackRK9btVector3S4_(a,e,d,b){var c,f,g,h,i,j;f=IHEAP[a+21+3]+0;i=h=0;a+=14;c=h<IHEAP[a]?0:1;a:for(;;)if(c==0){i+=1;j=__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(d,b,f,f+4);g=IHEAP[f+8]==-1;c=g&1?2:3;b:for(;;)if(c==2){if(j==0){c=5;break b}c=e;FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,IHEAP[f+9],IHEAP[f+10]);c=3}else if(c==3){c=j!=0?6:5;break b}b:for(;;)if(c==5)if(g&1)c=6;else{c=7;break b}else if(c==6){f+=16;h+=1;c=8;break b}for(;;)if(c== +8){c=h<IHEAP[a]?0:1;continue a}else c==7&&(g=IHEAP[f+8],f+=16*g,h+=g,c=8)}else if(c==1){c=IHEAP[_maxIterations]<i?9:10;break a}for(;;)if(c==9)IHEAP[_maxIterations]=i,c=10;else if(c==10)break} +function __ZNK14btQuantizedBvh27walkStacklessTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=40;var h,i=null,j=g+1,i=g+2;h=g+3;var k=g+4,l,m,n,o,q=g+5,p=g+6,r=g+7,s,u,v,y,x,z=g+8,B=g+12,C=g+16,A=g+20,w=g+24,D=g+28,E=g+31,F=g+39;s=IHEAP[a+21+3]+0;x=v=u=0;_llvm_memcpy_p0i8_p0i8_i32(z,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(B,d,4,4,0);__ZN9btVector36setMinERKS_(z,b);__ZN9btVector36setMaxERKS_(B,b);FHEAP[z]+=FHEAP[c];FHEAP[z+1]+=FHEAP[c+1];FHEAP[z+2]+= +FHEAP[c+2];FHEAP[B]+=FHEAP[f];FHEAP[B+1]+=FHEAP[f+1];FHEAP[B+2]+=FHEAP[f+2];FHEAP[q]=FHEAP[b]-FHEAP[d];FHEAP[p]=FHEAP[b+1]-FHEAP[d+1];FHEAP[r]=FHEAP[b+2]-FHEAP[d+2];FHEAP[C]=FHEAP[q];FHEAP[C+1]=FHEAP[p];FHEAP[C+2]=FHEAP[r];FHEAP[C+3]=0;q=_sqrtf(FHEAP[C]*FHEAP[C]+FHEAP[C+1]*FHEAP[C+1]+FHEAP[C+2]*FHEAP[C+2]);FHEAP[j]=q;FHEAP[g]=1/FHEAP[j];FHEAP[C]*=FHEAP[g];FHEAP[C+1]*=FHEAP[g];FHEAP[C+2]*=FHEAP[g];FHEAP[i]=FHEAP[b]-FHEAP[d];FHEAP[h]=FHEAP[b+1]-FHEAP[d+1];FHEAP[k]=FHEAP[b+2]-FHEAP[d+2];FHEAP[A]=FHEAP[i]; +FHEAP[A+1]=FHEAP[h];FHEAP[A+2]=FHEAP[k];FHEAP[A+3]=0;b=FHEAP[C]*FHEAP[A]+FHEAP[C+1]*FHEAP[A+1]+FHEAP[C+2]*FHEAP[A+2];FHEAP[C]==0?(i=-1,h=0):(i=-1,h=1);a:for(;;)if(h==0){j=i==1?l:999999984306749440;l=w;FHEAP[l]=j;l=C;FHEAP[l+1]==0?(i=0,h=2):(i=0,h=3);break a}else h==1&&(l=C,l=1/FHEAP[l],i=1,h=0);a:for(;;)if(h==2){l=i==3?m:999999984306749440;m=w;FHEAP[m+1]=l;m=C;FHEAP[m+2]==0?(i=2,h=4):(i=2,h=5);break a}else h==3&&(m=C,m=1/FHEAP[m+1],i=3,h=2);a:for(;;)if(h==4){C=i==5?n:999999984306749440;o=w;FHEAP[o+ +2]=C;C=D;o=w;IHEAP[C]=FHEAP[o]<0;C=D+1;o=w;IHEAP[C]=FHEAP[o+1]<0;C=D+2;o=w;IHEAP[C]=FHEAP[o+2]<0;o=a+14;h=u<IHEAP[o]?6:7;break a}else h==5&&(n=C,n=1/FHEAP[n+2],i=5,h=4);a:for(;;)if(h==6){a=E;C=E+4;n=E;m=E+4;l=D;j=E;b:for(;;){FHEAP[F]=1;v+=1;_llvm_memcpy_p0i8_p0i8_i32(a,s,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(C,s+4,4,4,0);h=f;i=n;FHEAP[i]-=FHEAP[h];FHEAP[i+1]-=FHEAP[h+1];FHEAP[i+2]-=FHEAP[h+2];h=c;i=m;FHEAP[i]-=FHEAP[h];FHEAP[i+1]-=FHEAP[h+1];FHEAP[i+2]-=FHEAP[h+2];__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(z, +B,s,s+4)!=0?(i=8,h=9):(i=8,h=10);c:for(;;)if(h==9){var G=__Z10btRayAabb2RK9btVector3S1_PKjPS0_Rfff(d,w,l,j,F,0,b),i=9;h=10}else if(h==10){x=i==9?G:0;y=IHEAP[s+8]==-1;h=y&1?11:12;break c}c:for(;;)if(h==11){if(x==0){h=14;break c}i=e;FUNCTION_TABLE[IHEAP[IHEAP[i]+2]](i,IHEAP[s+9],IHEAP[s+10]);h=12}else if(h==12){h=x!=0?15:14;break c}c:for(;;)if(h==14)if(y&1)h=15;else{h=16;break c}else if(h==15){s+=16;u+=1;h=17;break c}for(;;)if(h==17)if(u<IHEAP[o]){h=8;continue b}else{h=7;continue a}else h==16&&(i=IHEAP[s+ +8],s+=16*i,u+=i,h=17)}}else if(h==7){h=IHEAP[_maxIterations]<v?18:19;break a}for(;;)if(h==18)IHEAP[_maxIterations]=v,h=19;else if(h==19){STACKTOP=g;break}} +function __ZNK14btQuantizedBvh36walkStacklessQuantizedTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=64;var j,k=null,l,m,n,o,q,p=i+4,r,s,u,v,y,x=i+8,z=i+9,B=i+10,C=i+11,A=i+12,w=i+13,D=i+14,k=i+15,E=i+16,F=i+17;r=i+18;j=i+19;s=i+20;u=i+21;var G,J,H=i+22;y=i+26;var M=i+30;o=i+33;q=i+37;var K=i+41,N=i+44,R=i+47,O=i+48,Q=i+56,I=i+60;G=g;J=0;g=IHEAP[a+31+3]+7*g;FHEAP[j]=FHEAP[b]-FHEAP[d];FHEAP[s]=FHEAP[b+1]-FHEAP[d+1];FHEAP[u]=FHEAP[b+2]-FHEAP[d+ +2];FHEAP[H]=FHEAP[j];FHEAP[H+1]=FHEAP[s];FHEAP[H+2]=FHEAP[u];FHEAP[H+3]=0;j=_sqrtf(FHEAP[H]*FHEAP[H]+FHEAP[H+1]*FHEAP[H+1]+FHEAP[H+2]*FHEAP[H+2]);FHEAP[r]=j;FHEAP[F]=1/FHEAP[r];FHEAP[H]*=FHEAP[F];FHEAP[H+1]*=FHEAP[F];FHEAP[H+2]*=FHEAP[F];FHEAP[D]=FHEAP[b]-FHEAP[d];FHEAP[k]=FHEAP[b+1]-FHEAP[d+1];FHEAP[E]=FHEAP[b+2]-FHEAP[d+2];FHEAP[y]=FHEAP[D];FHEAP[y+1]=FHEAP[k];FHEAP[y+2]=FHEAP[E];FHEAP[y+3]=0;D=FHEAP[H]*FHEAP[y]+FHEAP[H+1]*FHEAP[y+1]+FHEAP[H+2]*FHEAP[y+2];FHEAP[H]==0?(k=-1,j=0):(k=-1,j=1);a:for(;;)if(j== +0){k=k==1?n:999999984306749440;n=H;FHEAP[n]=k;n=H;FHEAP[n+1]==0?(k=0,j=2):(k=0,j=3);break a}else j==1&&(n=H,n=1/FHEAP[n],k=1,j=0);a:for(;;)if(j==2){n=k==3?m:999999984306749440;m=H;FHEAP[m+1]=n;m=H;FHEAP[m+2]==0?(k=2,j=4):(k=2,j=5);break a}else j==3&&(m=H,m=1/FHEAP[m+1],k=3,j=2);a:for(;;)if(j==4){m=k==5?l:999999984306749440;l=H;FHEAP[l+2]=m;m=M;l=H;IHEAP[m]=FHEAP[l]<0;m=M+1;l=H;IHEAP[m]=FHEAP[l+1]<0;m=M+2;l=H;IHEAP[m]=FHEAP[l+2]<0;_llvm_memcpy_p0i8_p0i8_i32(o,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(q, +d,4,4,0);__ZN9btVector36setMinERKS_(o,b);__ZN9btVector36setMaxERKS_(q,b);l=c;b=o;FHEAP[b]+=FHEAP[l];FHEAP[b+1]+=FHEAP[l+1];FHEAP[b+2]+=FHEAP[l+2];l=f;b=q;FHEAP[b]+=FHEAP[l];FHEAP[b+1]+=FHEAP[l+1];FHEAP[b+2]+=FHEAP[l+2];l=K;b=a;_llvm_memcpy_p0i8_p0i8_i32(i,o,4,4,0);__ZN9btVector36setMaxERKS_(i,b+1);__ZN9btVector36setMinERKS_(i,b+5);__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(b,l,i,0);b=N;o=a;_llvm_memcpy_p0i8_p0i8_i32(p,q,4,4,0);__ZN9btVector36setMaxERKS_(p,o+1);__ZN9btVector36setMinERKS_(p,o+5); +__ZNK14btQuantizedBvh8quantizeEPtRK9btVector3i(o,b,p,1);j=G<h?6:7;break a}else j==5&&(l=H,l=1/FHEAP[l+2],k=5,j=4);a:for(;;)if(j==6){p=K;q=N;o=O;b=Q;l=O+4;m=I;n=O;k=O+4;E=M;F=O;b:for(;;){J+=1;FHEAP[R]=1;y=0;s=g;u=g+3;r=p;j=q;r=IHEAP[j]>=IHEAP[s]&IHEAP[r]<=IHEAP[u]&IHEAP[r+2]<=IHEAP[u+2]&IHEAP[j+2]>=IHEAP[s+2]&IHEAP[r+1]<=IHEAP[u+1]&IHEAP[j+1]>=IHEAP[s+1];r=(0-r|r)>>31;j=r^-1;j=j&0|r&1;r=g;r=IHEAP[r+6]>=0;j=j!=0?9:10;c:for(;;)if(j==9)j=g,y=a,u=IHEAP[j],s=y+9,FHEAP[x]=u/FHEAP[s],u=IHEAP[j+1],s=y+9,FHEAP[z]= +u/FHEAP[s+1],s=IHEAP[j+2],j=y+9,FHEAP[B]=s/FHEAP[j+2],v=Q,j=x,s=z,u=B,FHEAP[v]=FHEAP[j],FHEAP[v+1]=FHEAP[s],FHEAP[v+2]=FHEAP[u],FHEAP[v+3]=0,j=y+1,y=Q,FHEAP[y]+=FHEAP[j],FHEAP[y+1]+=FHEAP[j+1],FHEAP[y+2]+=FHEAP[j+2],_llvm_memcpy_p0i8_p0i8_i32(o,b,4,4,0),j=g+3,y=a,u=IHEAP[j],s=y+9,FHEAP[C]=u/FHEAP[s],u=IHEAP[j+1],s=y+9,FHEAP[A]=u/FHEAP[s+1],s=IHEAP[j+2],j=y+9,FHEAP[w]=s/FHEAP[j+2],v=I,j=C,s=A,u=w,FHEAP[v]=FHEAP[j],FHEAP[v+1]=FHEAP[s],FHEAP[v+2]=FHEAP[u],FHEAP[v+3]=0,j=y+1,y=I,FHEAP[y]+=FHEAP[j],FHEAP[y+ +1]+=FHEAP[j+1],FHEAP[y+2]+=FHEAP[j+2],_llvm_memcpy_p0i8_p0i8_i32(l,m,4,4,0),j=f,y=n,FHEAP[y]-=FHEAP[j],FHEAP[y+1]-=FHEAP[j+1],FHEAP[y+2]-=FHEAP[j+2],j=c,y=k,FHEAP[y]-=FHEAP[j],FHEAP[y+1]-=FHEAP[j+1],FHEAP[y+2]-=FHEAP[j+2],y=__Z10btRayAabb2RK9btVector3S1_PKjPS0_Rfff(d,H,E,F,R,0,D),j=10;else if(j==10){j=r&1?11:12;break c}c:for(;;)if(j==11){if(y==0){j=14;break c}j=e;s=IHEAP[IHEAP[j]+2];u=g;v=IHEAP[u+6]>>21;u=g;FUNCTION_TABLE[s](j,v,IHEAP[u+6]&2097151);j=12}else if(j==12){j=y!=0?15:14;break c}c:for(;;)if(j== +14)if(r&1)j=15;else{j=16;break c}else if(j==15){g+=7;G+=1;j=17;break c}for(;;)if(j==17)if(G<h){j=8;continue b}else{j=7;continue a}else j==16&&(r=g,r=0-IHEAP[r+6],g+=7*r,G+=r,j=17)}}else if(j==7){j=IHEAP[_maxIterations]<J?18:19;break a}for(;;)if(j==18)IHEAP[_maxIterations]=J,j=19;else if(j==19){STACKTOP=i;break}} +function __ZNK14btQuantizedBvh25reportRayOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=c+4,g=c+5,h=c+6,i=c+7,j=c+11,k=c+12,l=c+13;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=0;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;f=IHEAP[a+14];IHEAP[a+15]&1?__ZNK14btQuantizedBvh36walkStacklessQuantizedTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(a, +e,d,b,c,i,0,f):__ZNK14btQuantizedBvh27walkStacklessTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(a,e,d,b,c,i,0,f);STACKTOP=c} +function __ZNK14btQuantizedBvh29reportBoxCastOverlappingNodexEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_(a,e,d,b,c,f){var g=IHEAP[a+14];IHEAP[a+15]&1?__ZNK14btQuantizedBvh36walkStacklessQuantizedTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(a,e,d,b,c,f,0,g):__ZNK14btQuantizedBvh27walkStacklessTreeAgainstRayEP21btNodeOverlapCallbackRK9btVector3S4_S4_S4_ii(a,e,d,b,c,f,0,g)} +function __ZNK14btQuantizedBvh9serializeEPvjb(a,e,d,b){var c,f,g,h,i,j,k,l,m;IHEAP[a+42]=IHEAP[a+37+1];try{__THREW__=!1,__ZN14btQuantizedBvhC2Ev(e)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}d=__THREW__?28:27;if(d==27){d=IHEAP[a+14];if(b&1){IHEAP[e+14]=(d&16711680)>>>8|(d&-16777216)>>>24|(d&65280)<<8|(d&255)<<24;c=e+1;d=a+1;k=0;a:for(;;){i=k;j=d;j+=i;var o=k;i=c;i+=o;IHEAP[i]=IHEAP[j+3];IHEAP[i+1]=IHEAP[j+2];IHEAP[i+2]=IHEAP[j+1];IHEAP[i+ +3]=IHEAP[j];k=j=k+1;if(!(j<4))break a}c=e+5;d=a+5;k=0;a:for(;;)if(i=k,j=d,j+=i,o=k,i=c,i+=o,IHEAP[i]=IHEAP[j+3],IHEAP[i+1]=IHEAP[j+2],IHEAP[i+2]=IHEAP[j+1],IHEAP[i+3]=IHEAP[j],k=j=k+1,!(j<4))break a;c=e+9;d=a+9;for(k=0;;)if(i=k,j=d,j+=i,o=k,i=c,i+=o,IHEAP[i]=IHEAP[j+3],IHEAP[i+1]=IHEAP[j+2],IHEAP[i+2]=IHEAP[j+1],IHEAP[i+3]=IHEAP[j],k=j=k+1,!(j<4))break;d=IHEAP[a+36];IHEAP[e+36]=(d&16711680)>>>8|(d&-16777216)>>>24|(d&65280)<<8|(d&255)<<24;d=IHEAP[a+42];IHEAP[e+42]=(d&16711680)>>>8|(d&-16777216)>>> +24|(d&65280)<<8|(d&255)<<24}else IHEAP[e+14]=d,_llvm_memcpy_p0i8_p0i8_i32(e+1,a+1,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(e+5,a+5,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(e+9,a+9,4,4,0),IHEAP[e+36]=IHEAP[a+36],IHEAP[e+42]=IHEAP[a+42];IHEAP[e+15]=IHEAP[a+15]&1;d=e;d+=172;d+=0;k=IHEAP[a+14];if(IHEAP[a+15]&1){j=d;c=e+31;__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE5clearEv(c);IHEAP[c+4]=0;IHEAP[c+3]=j;IHEAP[c+1]=k;IHEAP[c+2]=k;c=b&1;a:do if(c){j=0;if(!(j<k))break a;i=a+31;var o=a+31,q=a+31,p=a+31,r=a+31;l=a+31; +for(m=a+31;;)if(g=j,f=i,f=IHEAP[IHEAP[f+3]+7*g],g=((f&255)<<8|(f&65280)>>8)&65535,h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h]=g,g=j,f=o,f=IHEAP[IHEAP[f+3]+7*g+1],g=((f&255)<<8|(f&65280)>>8)&65535,h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+1]=g,g=j,f=q,f=IHEAP[IHEAP[f+3]+7*g+2],g=((f&255)<<8|(f&65280)>>8)&65535,h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+2]=g,g=j,f=p,f=IHEAP[IHEAP[f+3]+7*g+3],g=((f&255)<<8|(f&65280)>>8)&65535,h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+3]=g,g=j,f=r,f=IHEAP[IHEAP[f+3]+7*g+3+1],g=((f&255)<<8|(f&65280)>>8)&65535, +h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+3+1]=g,g=j,f=l,f=IHEAP[IHEAP[f+3]+7*g+3+2],g=((f&255)<<8|(f&65280)>>8)&65535,h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+3+2]=g,g=j,f=m,f=IHEAP[IHEAP[f+3]+7*g+6],g=(f&16711680)>>>8|(f&-16777216)>>>24|(f&65280)<<8|(f&255)<<24,h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+6]=g,j+=1,!(j<k))break a}else{j=0;if(!(j<k))break a;i=a+31;o=a+31;q=a+31;p=a+31;r=a+31;l=a+31;for(m=a+31;;)if(g=j,f=i,g=IHEAP[IHEAP[f+3]+7*g],h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h]=g,g=j,f=o,g=IHEAP[IHEAP[f+3]+7*g+1],h=j,f=e+31,IHEAP[IHEAP[f+ +3]+7*h+1]=g,g=j,f=q,g=IHEAP[IHEAP[f+3]+7*g+2],h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+2]=g,g=j,f=p,g=IHEAP[IHEAP[f+3]+7*g+3],h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+3]=g,g=j,f=r,g=IHEAP[IHEAP[f+3]+7*g+3+1],h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+3+1]=g,g=j,f=l,g=IHEAP[IHEAP[f+3]+7*g+3+2],h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+3+2]=g,g=j,f=m,g=IHEAP[IHEAP[f+3]+7*g+6],h=j,f=e+31,IHEAP[IHEAP[f+3]+7*h+6]=g,j+=1,!(j<k))break a}while(0);d+=k*16;k=e+31;__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE5clearEv(k)}else{j=d;c=e+21;__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE5clearEv(c); +IHEAP[c+4]=0;IHEAP[c+3]=j;IHEAP[c+1]=k;IHEAP[c+2]=k;c=b&1;a:do if(c){j=0;if(!(j<k))break a;i=a+21;o=a+21;q=a+21;p=a+21;r=a+21;for(;;){m=j;l=i;l=IHEAP[l+3]+16*m;f=j;m=e+21;m=IHEAP[m+3]+16*f;f=0;c:for(;;){h=f;g=l;g+=h;var s=f;h=m;h+=s;IHEAP[h]=IHEAP[g+3];IHEAP[h+1]=IHEAP[g+2];IHEAP[h+2]=IHEAP[g+1];IHEAP[h+3]=IHEAP[g];f=g=f+1;if(!(g<4))break c}m=j;l=o;l=IHEAP[l+3]+16*m+4;f=j;m=e+21;m=IHEAP[m+3]+16*f+4;for(f=0;;)if(h=f,g=l,g+=h,s=f,h=m,h+=s,IHEAP[h]=IHEAP[g+3],IHEAP[h+1]=IHEAP[g+2],IHEAP[h+2]=IHEAP[g+ +1],IHEAP[h+3]=IHEAP[g],f=g=f+1,!(g<4))break;m=j;l=q;l=IHEAP[IHEAP[l+3]+16*m+8];m=(l&16711680)>>>8|(l&-16777216)>>>24|(l&65280)<<8|(l&255)<<24;f=j;l=e+21;IHEAP[IHEAP[l+3]+16*f+8]=m;m=j;l=p;l=IHEAP[IHEAP[l+3]+16*m+9];m=(l&16711680)>>>8|(l&-16777216)>>>24|(l&65280)<<8|(l&255)<<24;f=j;l=e+21;IHEAP[IHEAP[l+3]+16*f+9]=m;m=j;l=r;l=IHEAP[IHEAP[l+3]+16*m+10];m=(l&16711680)>>>8|(l&-16777216)>>>24|(l&65280)<<8|(l&255)<<24;f=j;l=e+21;IHEAP[IHEAP[l+3]+16*f+10]=m;j+=1;if(!(j<k))break a}}else{j=0;if(!(j<k))break a; +i=a+21;o=a+21;q=a+21;p=a+21;for(r=a+21;;)if(m=j,l=e+21,m=IHEAP[l+3]+16*m,f=j,l=i,_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l+3]+16*f,4,4,0),m=j,l=e+21,m=IHEAP[l+3]+16*m+4,f=j,l=o,_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l+3]+16*f+4,4,4,0),m=j,l=q,m=IHEAP[IHEAP[l+3]+16*m+8],f=j,l=e+21,IHEAP[IHEAP[l+3]+16*f+8]=m,m=j,l=p,m=IHEAP[IHEAP[l+3]+16*m+9],f=j,l=e+21,IHEAP[IHEAP[l+3]+16*f+9]=m,m=j,l=r,m=IHEAP[IHEAP[l+3]+16*m+10],f=j,l=e+21,IHEAP[IHEAP[l+3]+16*f+10]=m,j+=1,!(j<k))break a}while(0);d+=k*64;k=e+21;__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE5clearEv(k)}IHEAP[k+ +4]=0;IHEAP[k+3]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;d+=0;k=d;c=IHEAP[a+42];j=IHEAP[a+42];d=e+37;__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE5clearEv(d);IHEAP[d+4]=0;IHEAP[d+3]=k;IHEAP[d+1]=c;IHEAP[d+2]=j;b&=1;a:do if(b){d=0;k=a+42;if(!(d<IHEAP[k]))break a;c=a+37;j=a+37;i=a+37;o=a+37;q=a+37;p=a+37;r=a+37;for(l=a+37;;)if(f=d,m=c,m=IHEAP[IHEAP[m+3]+11*f],f=((m&255)<<8|(m&65280)>>8)&65535,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g]=f,f=d,m=j,m=IHEAP[IHEAP[m+3]+11*f+1],f=((m&255)<<8|(m&65280)>>8)&65535,g=d,m=e+37,IHEAP[IHEAP[m+ +3]+11*g+1]=f,f=d,m=i,m=IHEAP[IHEAP[m+3]+11*f+2],f=((m&255)<<8|(m&65280)>>8)&65535,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+2]=f,f=d,m=o,m=IHEAP[IHEAP[m+3]+11*f+3],f=((m&255)<<8|(m&65280)>>8)&65535,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+3]=f,f=d,m=q,m=IHEAP[IHEAP[m+3]+11*f+3+1],f=((m&255)<<8|(m&65280)>>8)&65535,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+3+1]=f,f=d,m=p,m=IHEAP[IHEAP[m+3]+11*f+3+2],f=((m&255)<<8|(m&65280)>>8)&65535,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+3+2]=f,f=d,m=r,m=IHEAP[IHEAP[m+3]+11*f+6],f=(m&16711680)>>> +8|(m&-16777216)>>>24|(m&65280)<<8|(m&255)<<24,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+6]=f,f=d,m=l,m=IHEAP[IHEAP[m+3]+11*f+7],f=(m&16711680)>>>8|(m&-16777216)>>>24|(m&65280)<<8|(m&255)<<24,g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+7]=f,d+=1,!(d<IHEAP[k]))break a}else{d=0;k=a+42;if(!(d<IHEAP[k]))break a;c=a+37;j=a+37;i=a+37;o=a+37;q=a+37;p=a+37;r=a+37;for(l=a+37;;)if(f=d,m=c,f=IHEAP[IHEAP[m+3]+11*f],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g]=f,f=d,m=j,f=IHEAP[IHEAP[m+3]+11*f+1],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+1]=f,f=d,m= +i,f=IHEAP[IHEAP[m+3]+11*f+2],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+2]=f,f=d,m=o,f=IHEAP[IHEAP[m+3]+11*f+3],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+3]=f,f=d,m=q,f=IHEAP[IHEAP[m+3]+11*f+3+1],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+3+1]=f,f=d,m=p,f=IHEAP[IHEAP[m+3]+11*f+3+2],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+3+2]=f,f=d,m=r,f=IHEAP[IHEAP[m+3]+11*f+6],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+6]=f,f=d,m=l,f=IHEAP[IHEAP[m+3]+11*f+7],g=d,m=e+37,IHEAP[IHEAP[m+3]+11*g+7]=f,f=d,m=e+37,IHEAP[IHEAP[m+3]+11*f+8]=0,f=d,m=e+37,IHEAP[IHEAP[m+ +3]+11*f+8+1]=0,f=d,m=e+37,IHEAP[IHEAP[m+3]+11*f+8+2]=0,d+=1,!(d<IHEAP[k]))break a}while(0);a=e+37;__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE5clearEv(a);IHEAP[a+4]=0;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;IHEAP[e]=0;return 1}else if(d==28)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 233847";return null} +function __ZN14btQuantizedBvhC2ERS_b(a,e){IHEAP[a]=__ZTV14btQuantizedBvh+2;_llvm_memcpy_p0i8_p0i8_i32(a+1,e+1,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+5,e+5,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+9,e+9,4,4,0);IHEAP[a+13]=278;var d=a+16;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;d=a+21;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;d=a+26;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;d=a+31;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;d=a+37;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]= +0;IHEAP[d+2]=0} +function __ZN14btQuantizedBvh16deSerializeFloatER23btQuantizedBvhFloatData(a,e){var d=STACKTOP;STACKTOP+=34;var b,c,f,g,h,i,j,k,l=d+16,m,n=d+23;j=e+4;g=a+5;h=0;a:for(;;){FHEAP[g+h]=FHEAP[j+h];var o=h+1;h=o;if(!(o<4))break a}g=a+1;h=0;a:for(;;)if(FHEAP[g+h]=FHEAP[e+h],h=j=h+1,!(j<4))break a;j=e+8;g=a+9;h=0;a:for(;;)if(FHEAP[g+h]=FHEAP[j+h],h=o=h+1,!(o<4))break a;IHEAP[a+14]=IHEAP[e+12];IHEAP[a+15]=IHEAP[e+13]!=0;g=IHEAP[e+14];h=a+21;_llvm_memset_p0i8_i32(d,0,16,4,0);__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE6resizeEiRKS0_(h,g, +d);b=g!=0?6:7;a:for(;;)if(b==6){h=IHEAP[e+16];j=0;if(!(j<g)){b=7;continue a}var o=a+21,q=a+21,p=a+21,r=a+21;i=a+21;for(;;){f=j;b=o;c=f;f=h+4;c=IHEAP[b+3]+16*c+4;b=f;f=0;c:for(;;){FHEAP[c+f]=FHEAP[b+f];var s=f+1;f=s;if(!(s<4))break c}f=j;b=q;c=f;f=h;c=IHEAP[b+3]+16*c;b=f;for(f=0;;)if(FHEAP[c+f]=FHEAP[b+f],f=s=f+1,!(s<4))break;f=IHEAP[h+8];c=j;b=p;IHEAP[IHEAP[b+3]+16*c+8]=f;f=IHEAP[h+9];c=j;b=r;IHEAP[IHEAP[b+3]+16*c+9]=f;f=IHEAP[h+10];c=j;b=i;IHEAP[IHEAP[b+3]+16*c+10]=f;j+=1;h+=15;if(j<g)b=9;else{b= +7;continue a}}}else if(b==7){k=IHEAP[e+15];g=a+31;h=k;_llvm_memset_p0i8_i32(l,0,7,4,0);__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE6resizeEiRKS0_(g,h,l);b=k!=0?14:15;break a}a:for(;;)if(b==14){l=IHEAP[e+17];g=0;if(!(g<k)){b=15;continue a}h=a+31;j=a+31;o=a+31;q=a+31;p=a+31;r=a+31;for(i=a+31;;)if(f=IHEAP[l+6],c=g,b=h,IHEAP[IHEAP[b+3]+7*c+6]=f,f=IHEAP[l+3],c=g,b=j,IHEAP[IHEAP[b+3]+7*c+3]=f,f=IHEAP[l+3+1],c=g,b=o,IHEAP[IHEAP[b+3]+7*c+3+1]=f,f=IHEAP[l+3+2],c=g,b=q,IHEAP[IHEAP[b+3]+7*c+3+2]=f,f=IHEAP[l], +c=g,b=p,IHEAP[IHEAP[b+3]+7*c]=f,f=IHEAP[l+1],c=g,b=r,IHEAP[IHEAP[b+3]+7*c+1]=f,f=IHEAP[l+2],c=g,b=i,IHEAP[IHEAP[b+3]+7*c+2]=f,g+=1,l+=7,g<k)b=17;else{b=15;continue a}}else if(b==15){IHEAP[a+36]=IHEAP[e+19];m=IHEAP[e+20];__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE6resizeEiRKS0_(a+37,m,n);b=m!=0?18:19;break a}a:for(;;)if(b==18){k=IHEAP[e+18];n=0;if(!(n<m)){b=19;continue a}l=a+37;g=a+37;h=a+37;j=a+37;o=a+37;q=a+37;p=a+37;for(r=a+37;;)if(b=IHEAP[k+5],f=n,i=l,IHEAP[IHEAP[i+3]+11*f+3]=b,b=IHEAP[k+5+ +1],f=n,i=g,IHEAP[IHEAP[i+3]+11*f+3+1]=b,b=IHEAP[k+5+2],f=n,i=h,IHEAP[IHEAP[i+3]+11*f+3+2]=b,b=IHEAP[k+2],f=n,i=j,IHEAP[IHEAP[i+3]+11*f]=b,b=IHEAP[k+2+1],f=n,i=o,IHEAP[IHEAP[i+3]+11*f+1]=b,b=IHEAP[k+2+2],f=n,i=q,IHEAP[IHEAP[i+3]+11*f+2]=b,b=IHEAP[k],f=n,i=p,IHEAP[IHEAP[i+3]+11*f+6]=b,b=IHEAP[k+1],f=n,i=r,IHEAP[IHEAP[i+3]+11*f+7]=b,n+=1,k+=8,n<m)b=21;else{b=19;continue a}}else if(b==19){STACKTOP=d;break}} +function __ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE6resizeEiRKS0_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;for(var h=a+3;;)if(b=IHEAP[h]+11*f,_llvm_memcpy_p0i8_p0i8_i32(b,d,11,4,0),f+=1,!(f<e))break a}while(0);IHEAP[a+1]=e} +function __ZN14btQuantizedBvh17deSerializeDoubleER24btQuantizedBvhDoubleData(a,e){var d=STACKTOP;STACKTOP+=34;var b,c,f,g,h,i,j,k,l=d+16,m,n=d+23;j=e+4;g=a+5;h=0;a:for(;;){FHEAP[g+h]=FHEAP[j+h];var o=h+1;h=o;if(!(o<4))break a}g=a+1;h=0;a:for(;;)if(FHEAP[g+h]=FHEAP[e+h],h=j=h+1,!(j<4))break a;j=e+8;g=a+9;h=0;a:for(;;)if(FHEAP[g+h]=FHEAP[j+h],h=o=h+1,!(o<4))break a;IHEAP[a+14]=IHEAP[e+12];IHEAP[a+15]=IHEAP[e+13]!=0;g=IHEAP[e+14];h=a+21;_llvm_memset_p0i8_i32(d,0,16,4,0);__ZN20btAlignedObjectArrayI18btOptimizedBvhNodeE6resizeEiRKS0_(h, +g,d);b=g!=0?6:7;a:for(;;)if(b==6){h=IHEAP[e+16];j=0;if(!(j<g)){b=7;continue a}var o=a+21,q=a+21,p=a+21,r=a+21;i=a+21;for(;;){f=j;b=o;c=f;f=h+4;c=IHEAP[b+3]+16*c+4;b=f;f=0;c:for(;;){FHEAP[c+f]=FHEAP[b+f];var s=f+1;f=s;if(!(s<4))break c}f=j;b=q;c=f;f=h;c=IHEAP[b+3]+16*c;b=f;for(f=0;;)if(FHEAP[c+f]=FHEAP[b+f],f=s=f+1,!(s<4))break;f=IHEAP[h+8];c=j;b=p;IHEAP[IHEAP[b+3]+16*c+8]=f;f=IHEAP[h+9];c=j;b=r;IHEAP[IHEAP[b+3]+16*c+9]=f;f=IHEAP[h+10];c=j;b=i;IHEAP[IHEAP[b+3]+16*c+10]=f;j+=1;h+=15;if(j<g)b=9;else{b= +7;continue a}}}else if(b==7){k=IHEAP[e+15];g=a+31;h=k;_llvm_memset_p0i8_i32(l,0,7,4,0);__ZN20btAlignedObjectArrayI18btQuantizedBvhNodeE6resizeEiRKS0_(g,h,l);b=k!=0?14:15;break a}a:for(;;)if(b==14){l=IHEAP[e+17];g=0;if(!(g<k)){b=15;continue a}h=a+31;j=a+31;o=a+31;q=a+31;p=a+31;r=a+31;for(i=a+31;;)if(f=IHEAP[l+6],c=g,b=h,IHEAP[IHEAP[b+3]+7*c+6]=f,f=IHEAP[l+3],c=g,b=j,IHEAP[IHEAP[b+3]+7*c+3]=f,f=IHEAP[l+3+1],c=g,b=o,IHEAP[IHEAP[b+3]+7*c+3+1]=f,f=IHEAP[l+3+2],c=g,b=q,IHEAP[IHEAP[b+3]+7*c+3+2]=f,f=IHEAP[l], +c=g,b=p,IHEAP[IHEAP[b+3]+7*c]=f,f=IHEAP[l+1],c=g,b=r,IHEAP[IHEAP[b+3]+7*c+1]=f,f=IHEAP[l+2],c=g,b=i,IHEAP[IHEAP[b+3]+7*c+2]=f,g+=1,l+=7,g<k)b=17;else{b=15;continue a}}else if(b==15){IHEAP[a+36]=IHEAP[e+18];m=IHEAP[e+19];__ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE6resizeEiRKS0_(a+37,m,n);b=m!=0?18:19;break a}a:for(;;)if(b==18){k=IHEAP[e+20];n=0;if(!(n<m)){b=19;continue a}l=a+37;g=a+37;h=a+37;j=a+37;o=a+37;q=a+37;p=a+37;for(r=a+37;;)if(b=IHEAP[k+5],f=n,i=l,IHEAP[IHEAP[i+3]+11*f+3]=b,b=IHEAP[k+5+ +1],f=n,i=g,IHEAP[IHEAP[i+3]+11*f+3+1]=b,b=IHEAP[k+5+2],f=n,i=h,IHEAP[IHEAP[i+3]+11*f+3+2]=b,b=IHEAP[k+2],f=n,i=j,IHEAP[IHEAP[i+3]+11*f]=b,b=IHEAP[k+2+1],f=n,i=o,IHEAP[IHEAP[i+3]+11*f+1]=b,b=IHEAP[k+2+2],f=n,i=q,IHEAP[IHEAP[i+3]+11*f+2]=b,b=IHEAP[k],f=n,i=p,IHEAP[IHEAP[i+3]+11*f+6]=b,b=IHEAP[k+1],f=n,i=r,IHEAP[IHEAP[i+3]+11*f+7]=b,n+=1,k+=8,n<m)b=21;else{b=19;continue a}}else if(b==19){STACKTOP=d;break}} +function __ZNK14btQuantizedBvh9serializeEPvP12btSerializer(a,e,d){var b,c=null,f,g,h,i,j,k,l,m,n;m=e+4;c=a+5;k=0;a:for(;;)if(FHEAP[m+k]=FHEAP[c+k],k=n=k+1,!(n<4))break a;c=a+1;k=0;a:for(;;)if(FHEAP[e+k]=FHEAP[c+k],k=m=k+1,!(m<4))break a;m=e+8;c=a+9;k=0;a:for(;;)if(FHEAP[m+k]=FHEAP[c+k],k=n=k+1,!(n<4))break a;IHEAP[e+12]=IHEAP[a+14];IHEAP[e+13]=IHEAP[a+15]&1;IHEAP[e+14]=IHEAP[a+21+1];IHEAP[a+21+1]!=0?(c=5,b=6):(c=5,b=7);a:for(;;)if(b==6)h=d,k=IHEAP[IHEAP[h]+7],c=a+21,h=FUNCTION_TABLE[k](h,IHEAP[c+ +3]+0),c=6,b=7;else if(b==7){IHEAP[e+16]=c==6?h:0;b=IHEAP[e+16]!=0?8:9;break a}a:for(;;)if(b==8){h=a+21;k=IHEAP[h+1];h=d;h=FUNCTION_TABLE[IHEAP[IHEAP[h]+4]](h,48,k);m=IHEAP[h+2];n=0;b=n<k?10:11;b:for(;;)if(b==10){var o=a+21,q=a+21,p=a+21,r=a+21;l=a+21;for(;;){g=n;b=o;f=g;g=m+4;f=IHEAP[b+3]+16*f+4;b=g;g=0;d:for(;;){FHEAP[b+g]=FHEAP[f+g];var s=g+1;g=s;if(!(s<4))break d}g=n;b=q;f=g;g=m;f=IHEAP[b+3]+16*f;b=g;for(g=0;;)if(FHEAP[b+g]=FHEAP[f+g],g=s=g+1,!(s<4))break;g=n;b=p;IHEAP[m+8]=IHEAP[IHEAP[b+3]+16* +g+8];g=n;b=r;IHEAP[m+9]=IHEAP[IHEAP[b+3]+16*g+9];g=n;b=l;IHEAP[m+10]=IHEAP[IHEAP[b+3]+16*g+10];n+=1;m+=15;if(n<k)b=12;else{b=11;continue b}}}else if(b==11){k=d;m=IHEAP[IHEAP[k]+5];n=h;h=a+21;FUNCTION_TABLE[m](k,n,__str193,1497453121,IHEAP[h+3]+0);b=9;continue a}}else if(b==9){c=a+31;IHEAP[e+15]=IHEAP[c+1];c=a+31;IHEAP[c+1]!=0?(c=9,b=17):(c=9,b=18);break a}a:for(;;)if(b==17)i=d,h=IHEAP[IHEAP[i]+7],c=a+31,i=FUNCTION_TABLE[h](i,IHEAP[c+3]+0),c=17,b=18;else if(b==18){IHEAP[e+17]=c==17?i:0;b=IHEAP[e+17]!= +0?19:20;break a}a:for(;;)if(b==19){i=a+31;h=IHEAP[i+1];i=d;i=FUNCTION_TABLE[IHEAP[IHEAP[i]+4]](i,16,h);k=IHEAP[i+2];m=0;b=m<h?21:22;b:for(;;)if(b==21){n=a+31;o=a+31;q=a+31;p=a+31;r=a+31;l=a+31;for(g=a+31;;)if(f=m,b=n,IHEAP[k+6]=IHEAP[IHEAP[b+3]+7*f+6],f=m,b=o,IHEAP[k+3]=IHEAP[IHEAP[b+3]+7*f+3],f=m,b=q,IHEAP[k+3+1]=IHEAP[IHEAP[b+3]+7*f+3+1],f=m,b=p,IHEAP[k+3+2]=IHEAP[IHEAP[b+3]+7*f+3+2],f=m,b=r,IHEAP[k]=IHEAP[IHEAP[b+3]+7*f],f=m,b=l,IHEAP[k+1]=IHEAP[IHEAP[b+3]+7*f+1],f=m,b=g,IHEAP[k+2]=IHEAP[IHEAP[b+ +3]+7*f+2],m+=1,k+=7,m<h)b=23;else{b=22;continue b}}else if(b==22){h=d;k=IHEAP[IHEAP[h]+5];m=i;i=a+31;FUNCTION_TABLE[k](h,m,__str1194,1497453121,IHEAP[i+3]+0);b=20;continue a}}else if(b==20){IHEAP[e+19]=IHEAP[a+36];c=a+37;IHEAP[e+20]=IHEAP[c+1];c=a+37;IHEAP[c+1]!=0?(c=20,b=24):(c=20,b=25);break a}a:for(;;)if(b==24)c=d,i=IHEAP[IHEAP[c]+7],j=a+37,j=FUNCTION_TABLE[i](c,IHEAP[j+3]+0),c=24,b=25;else if(b==25){IHEAP[e+18]=c==24?j:0;b=IHEAP[e+18]!=0?26:27;break a}a:for(;;)if(b==26){e=a+37;j=IHEAP[e+1];e= +d;e=FUNCTION_TABLE[IHEAP[IHEAP[e]+4]](e,20,j);c=IHEAP[e+2];i=0;b=i<j?28:29;b:for(;;)if(b==28){h=a+37;k=a+37;m=a+37;n=a+37;o=a+37;q=a+37;p=a+37;for(r=a+37;;)if(b=i,l=h,IHEAP[c+5]=IHEAP[IHEAP[l+3]+11*b+3],b=i,l=k,IHEAP[c+5+1]=IHEAP[IHEAP[l+3]+11*b+3+1],b=i,l=m,IHEAP[c+5+2]=IHEAP[IHEAP[l+3]+11*b+3+2],b=i,l=n,IHEAP[c+2]=IHEAP[IHEAP[l+3]+11*b],b=i,l=o,IHEAP[c+2+1]=IHEAP[IHEAP[l+3]+11*b+1],b=i,l=q,IHEAP[c+2+2]=IHEAP[IHEAP[l+3]+11*b+2],b=i,l=p,IHEAP[c]=IHEAP[IHEAP[l+3]+11*b+6],b=i,l=r,IHEAP[c+1]=IHEAP[IHEAP[l+ +3]+11*b+7],i+=1,c+=8,i<j)b=30;else{b=29;continue b}}else if(b==29){j=d;c=IHEAP[IHEAP[j]+5];i=e;e=a+37;FUNCTION_TABLE[c](j,i,__str2195,1497453121,IHEAP[e+3]+0);b=27;continue a}}else if(b==27)return __str3196;return null} +function __ZN20btAlignedObjectArrayI16btBvhSubtreeInfoE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfo(a,e){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e]}function __ZN6btDbvtC2Ev(a){var e=a+5;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a]=0;IHEAP[a+1]=0;IHEAP[a+2]=-1;IHEAP[a+3]=0;IHEAP[a+4]=0}function __ZN6btDbvtD2Ev(a){__ZN6btDbvt5clearEv(a);__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE5clearEv(a+5)} +function __ZN6btDbvt5clearEv(a){var e,d;e=IHEAP[a]!=0?0:1;a:for(;;)if(e==0)__Z17recursedeletenodeP6btDbvtP10btDbvtNode(a,IHEAP[a]),e=1;else if(e==1){d=e=IHEAP[a+1];e=e!=0?2:3;break a}for(;;)if(e==2)IHEAP[_gNumAlignedFree]+=1,e=d,e!=0&&(e=IHEAP[e+-1],_free(e)),e=3;else if(e==3){IHEAP[a+1]=0;IHEAP[a+2]=-1;__ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE5clearEv(a+5);IHEAP[a+4]=0;break}} +function __Z17recursedeletenodeP6btDbvtP10btDbvtNode(a,e){var d,b,c,f;d=IHEAP[e+9+1]==0?0:1;a:for(;;)if(d==0){d=e==IHEAP[a]?2:3;break a}else d==1&&(__Z17recursedeletenodeP6btDbvtP10btDbvtNode(a,IHEAP[e+9]),__Z17recursedeletenodeP6btDbvtP10btDbvtNode(a,IHEAP[e+9+1]),d=0);a:for(;;)if(d==2)IHEAP[a]=0,d=3;else if(d==3){b=e;c=a;f=b;b=d=IHEAP[c+1];d=d!=0?4:5;break a}for(;;)if(d==4)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),d=5;else if(d==5){IHEAP[c+1]=f;break}} +function __ZN20btAlignedObjectArrayIN6btDbvt6sStkNNEE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN6btDbvt19optimizeIncrementalEi(a,e){var d=STACKTOP;STACKTOP+=8;var b,c,f,g,h,i,j,k,l,m;l=e;b=l<0?0:1;a:for(;;)if(b==0)l=IHEAP[a+3],b=1;else if(b==1){b=IHEAP[a]!=0?2:3;break a}a:for(;;)if(b==2){if(!(l>0)){b=3;continue a}var n=a,o=a+4,q=a+4,p=a,r=d,s=d;b:for(;;){h=IHEAP[n];m=0;b=h;for(b=IHEAP[b+9+1]==0^1?6:7;;)if(b==6){b=IHEAP[q]>>>m&1;f=h;c=p;h=IHEAP[f+8];g=f;if(h>f){g=IHEAP[IHEAP[g+8]+9+1]==g;i=1-g;j=IHEAP[h+9+i];k=IHEAP[h+8];var u=f;k!=0?(c=h,IHEAP[k+9+(IHEAP[IHEAP[c+8]+9+1]==c)]=u): +IHEAP[c]=u;IHEAP[j+8]=f;IHEAP[h+8]=f;IHEAP[f+8]=k;IHEAP[h+9]=IHEAP[f+9];IHEAP[h+9+1]=IHEAP[f+9+1];IHEAP[IHEAP[f+9]+8]=h;IHEAP[IHEAP[f+9+1]+8]=h;IHEAP[f+9+g]=h;IHEAP[f+9+i]=j;c=f;f=h;_llvm_memcpy_p0i8_p0i8_i32(r,f,8,4,0);_llvm_memcpy_p0i8_p0i8_i32(f,c,8,4,0);_llvm_memcpy_p0i8_p0i8_i32(c,s,8,4,0)}else h=g;h=IHEAP[h+9+b];m=m+1&31;b=h;b=IHEAP[b+9+1]==0^1?6:7}else if(b==7)if(__ZN6btDbvt6updateEP10btDbvtNodei(a,h,-1),IHEAP[o]+=1,l=m=l+-1,m!=0){b=5;continue b}else{b=3;continue a}}}else if(b==3){STACKTOP= +d;break}}function __ZN6btDbvt6updateEP10btDbvtNodei(a,e,d){var b,c,f;c=__Z10removeleafP6btDbvtP10btDbvtNode(a,e);b=c!=0?0:1;a:for(;;)if(b==0)if(d>=0)for(f=0;;){if(!(f<d)){b=1;continue a}if(IHEAP[c+8]==0){b=1;continue a}c=IHEAP[c+8];f+=1;b=2}else c=IHEAP[a],b=1;else if(b==1){__Z10insertleafP6btDbvtP10btDbvtNodeS2_(a,c,e);break}} +function __ZN6btDbvt6insertERK12btDbvtAabbMmPv(a,e,d){var b,c=null,f,g=IHEAP[a+1]!=0;a:do if(g)f=IHEAP[a+1],IHEAP[a+1]=0;else{var h=b=__Z22btAlignedAllocInternalji(44,16);h==0?(c=1,b=2):(c=1,b=3);for(;;)if(b==2){f=c==1?0:i;break a}else if(b==3){var i=h;_llvm_memset_p0i8_i32(i,0,11,4,0);c=3;b=2}}while(0);IHEAP[f+8]=0;IHEAP[f+9]=d;IHEAP[f+9+1]=0;d=f;_llvm_memcpy_p0i8_p0i8_i32(d,e,8,4,0);__Z10insertleafP6btDbvtP10btDbvtNodeS2_(a,IHEAP[a],d);IHEAP[a+3]+=1;return d} +function __Z10insertleafP6btDbvtP10btDbvtNodeS2_(a,e,d){var b,c=null,f,g,h,i,j,k,l,m,n=IHEAP[a]!=0;a:do if(n){c=e;b=IHEAP[c+9+1]==0?1:2;b:for(;;)if(b==1){g=m=IHEAP[e+8];j=d;k=e;f=a;h=0;b=IHEAP[f+1]!=0?3:4;break b}else b==2&&(b=IHEAP[e+9],l=IHEAP[e+9+1],c=d,b=__Z9ProximityRK12btDbvtAabbMmS1_(c,b),c=__Z9ProximityRK12btDbvtAabbMmS1_(c,l),c=e=IHEAP[e+9+(b<c?0:1)],b=IHEAP[c+9+1]==0^1?2:1);b:do if(b==3)i=IHEAP[f+1],IHEAP[f+1]=0;else if(b==4){l=c=__Z22btAlignedAllocInternalji(44,16);l==0?(c=4,b=6):(c=4, +b=7);for(;;)if(b==6){i=c==4?0:o;break b}else if(b==7){var o=l;_llvm_memset_p0i8_i32(o,0,11,4,0);c=7;b=6}}while(0);IHEAP[i+8]=g;IHEAP[i+9]=h;IHEAP[i+9+1]=0;c=i;__Z5MergeRK12btDbvtAabbMmS1_RS_(j,k,c);if(m!=0){l=c;b=e;IHEAP[m+9+(IHEAP[IHEAP[b+8]+9+1]==b)]=l;IHEAP[c+9]=e;IHEAP[e+8]=c;IHEAP[c+9+1]=d;for(IHEAP[d+8]=c;;){if(__ZNK12btDbvtAabbMm7ContainERKS_(m,c))break a;__Z5MergeRK12btDbvtAabbMmS1_RS_(IHEAP[m+9],IHEAP[m+9+1],m);c=m;m=b=IHEAP[c+8];if(0==b)break a}}else IHEAP[c+9]=e,IHEAP[e+8]=c,IHEAP[c+9+ +1]=d,IHEAP[d+8]=c,IHEAP[a]=c}else IHEAP[a]=d,IHEAP[d+8]=0;while(0)} +function __Z10removeleafP6btDbvtP10btDbvtNode(a,e){var d=STACKTOP;STACKTOP+=8;var b,c=null,f,g,h,i,j=e==IHEAP[a];a:do if(j)g=IHEAP[a]=0;else if(b=IHEAP[e+8],i=IHEAP[b+8],f=e,h=f=IHEAP[b+9+(1-(IHEAP[IHEAP[f+8]+9+1]==f))],i!=0){g=b;IHEAP[i+9+(IHEAP[IHEAP[g+8]+9+1]==g)]=h;IHEAP[f+8]=i;g=a;h=b;f=IHEAP[g+1];b=f!=0?1:2;b:for(;;)if(b==1){IHEAP[_gNumAlignedFree]+=1;b=f;if(b==0){b=2;continue b}b=IHEAP[b+-1];_free(b);b=2}else if(b==2){IHEAP[g+1]=h;var k=i,l=d,c=2;break b}for(;;){if((c==7?m:k)==0)break;_llvm_memcpy_p0i8_p0i8_i32(l, +i,8,4,0);__Z5MergeRK12btDbvtAabbMmS1_RS_(IHEAP[i+9],IHEAP[i+9+1],i);if(!__Z8NotEqualRK12btDbvtAabbMmS1_(d,i))break;var m=IHEAP[i+8];i=m;c=7}if(i!=0)var n=i,c=8;else var o=IHEAP[a],c=10;g=c==8?n:o}else{IHEAP[a]=h;IHEAP[f+8]=0;i=a;h=b;f=IHEAP[i+1];for(b=f!=0?11:12;;)if(b==11)IHEAP[_gNumAlignedFree]+=1,b=f,b!=0&&(b=IHEAP[b+-1],_free(b)),b=12;else if(b==12){IHEAP[i+1]=h;g=IHEAP[a];break a}}while(0);STACKTOP=d;return g} +function __ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMm(a,e,d){var b,c,f;c=__Z10removeleafP6btDbvtP10btDbvtNode(a,e);b=c!=0?0:1;a:for(;;)if(b==0)if(IHEAP[a+2]>=0){f=0;for(var g=a+2;;){if(!(f<IHEAP[g])){b=1;continue a}if(IHEAP[c+8]==0){b=1;continue a}c=IHEAP[c+8];f+=1;b=2}}else c=IHEAP[a],b=1;else if(b==1){_llvm_memcpy_p0i8_p0i8_i32(e,d,8,4,0);__Z10insertleafP6btDbvtP10btDbvtNodeS2_(a,c,e);break}} +function __ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMmRK9btVector3f(a,e,d,b,c){var f=STACKTOP;STACKTOP+=5;var g=f+1;FHEAP[f]=c;__ZNK12btDbvtAabbMm7ContainERKS_(e,d)?a=0:(FHEAP[g]=FHEAP[f],FHEAP[g+1]=FHEAP[f],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,FHEAP[d]-=FHEAP[g],FHEAP[d+1]-=FHEAP[g+1],FHEAP[d+2]-=FHEAP[g+2],c=d+4,FHEAP[c]+=FHEAP[g],FHEAP[c+1]+=FHEAP[g+1],FHEAP[c+2]+=FHEAP[g+2],__ZN12btDbvtAabbMm12SignedExpandERK9btVector3(d,b),__ZN6btDbvt6updateEP10btDbvtNodeR12btDbvtAabbMm(a,e,d),a=1);STACKTOP=f; +return a}function __ZNK12btDbvtAabbMm7ContainERKS_(a,e){var d,b=null,c;FHEAP[a]<=FHEAP[e]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)d=a,b=FHEAP[d+1],d=e,b<=FHEAP[d+1]?(d=a,b=FHEAP[d+2],d=e,b<=FHEAP[d+2]?(d=a+4,b=FHEAP[d],d=e+4,b>=FHEAP[d]?(d=a+4,b=FHEAP[d+1],d=e+4,b>=FHEAP[d+1]?(c=a+4,d=FHEAP[c+2],c=e+4,c=d>=FHEAP[c+2],b=5):b=4):b=3):b=2):b=0,d=1;else if(d==1)return b==4?0:b==3?0:b==2?0:b==0?0:b==-1?0:c;return null} +function __ZN12btDbvtAabbMm12SignedExpandERK9btVector3(a,e){var d;FHEAP[e]>0?(d=FHEAP[a+4]+FHEAP[e],FHEAP[a+4]=d):FHEAP[a]+=FHEAP[e];FHEAP[e+1]>0?(d=FHEAP[a+4+1]+FHEAP[e+1],FHEAP[a+4+1]=d):FHEAP[a+1]+=FHEAP[e+1];FHEAP[e+2]>0?(d=FHEAP[a+4+2]+FHEAP[e+2],FHEAP[a+4+2]=d):FHEAP[a+2]+=FHEAP[e+2]} +function __ZN6btDbvt6removeEP10btDbvtNode(a,e){var d,b;__Z10removeleafP6btDbvtP10btDbvtNode(a,e);b=IHEAP[a+1];for(d=b!=0?0:1;;)if(d==0)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),d=1;else if(d==1){IHEAP[a+1]=e;IHEAP[a+3]+=-1;break}} +function __Z8NotEqualRK12btDbvtAabbMmS1_(a,e){var d,b=null,c;FHEAP[a]!=FHEAP[e]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==4?1:b==3?1:b==2?1:b==1?1:b==-1?1:c;else d==1&&(d=a,b=FHEAP[d+1],d=e,b!=FHEAP[d+1]?b=1:(d=a,b=FHEAP[d+2],d=e,b!=FHEAP[d+2]?b=2:(d=a+4,b=FHEAP[d],d=e+4,b!=FHEAP[d]?b=3:(d=a+4,b=FHEAP[d+1],d=e+4,b!=FHEAP[d+1]?b=4:(c=a+4,d=FHEAP[c+2],c=e+4,c=d!=FHEAP[c+2],b=5)))),d=0);return null} +function __Z9ProximityRK12btDbvtAabbMmS1_(a,e){var d=STACKTOP;STACKTOP+=21;var b=d+1,c=d+2,f,g=d+3,h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+13,o=d+17;f=a+4;FHEAP[j]=FHEAP[a]+FHEAP[f];FHEAP[k]=FHEAP[a+1]+FHEAP[f+1];FHEAP[l]=FHEAP[a+2]+FHEAP[f+2];FHEAP[n]=FHEAP[j];FHEAP[n+1]=FHEAP[k];FHEAP[n+2]=FHEAP[l];FHEAP[n+3]=0;f=e+4;FHEAP[g]=FHEAP[e]+FHEAP[f];FHEAP[h]=FHEAP[e+1]+FHEAP[f+1];FHEAP[i]=FHEAP[e+2]+FHEAP[f+2];FHEAP[o]=FHEAP[g];FHEAP[o+1]=FHEAP[h];FHEAP[o+2]=FHEAP[i];FHEAP[o+3]=0;FHEAP[d]=FHEAP[n]-FHEAP[o]; +FHEAP[b]=FHEAP[n+1]-FHEAP[o+1];FHEAP[c]=FHEAP[n+2]-FHEAP[o+2];FHEAP[m]=FHEAP[d];FHEAP[m+1]=FHEAP[b];FHEAP[m+2]=FHEAP[c];FHEAP[m+3]=0;b=_fabsf(FHEAP[m]);c=_fabsf(FHEAP[m+1]);b+=c;m=_fabsf(FHEAP[m+2]);STACKTOP=d;return b+m} +function __ZN18btSimpleBroadphaseC2EiP22btOverlappingPairCache(a,e,d){var b=null,c,f,g,h;IHEAP[a]=__ZTV21btBroadphaseInterface+2;IHEAP[a]=__ZTV18btSimpleBroadphase+2;IHEAP[a+10]=d;IHEAP[a+11]=0;IHEAP[a+12]=0;d=d!=0?0:1;a:for(;;)if(d==0){var i=__Z22btAlignedAllocInternalji(e*52,16);IHEAP[a+8]=i;i=e;_llvm_umul_with_overflow_i32(i,52);g=c=IHEAP[a+8];c=0;d=c<i?4:5;break a}else if(d==1){var j=d=__Z22btAlignedAllocInternalji(76,16);j==0?(b=1,d=2):(b=1,d=3);for(;;)if(d==2){IHEAP[a+10]=b==1?0:f;IHEAP[a+11]= +1;d=0;continue a}else if(d==3){f=j;try{__THREW__=!1,__ZN28btHashedOverlappingPairCacheC2Ev(f)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__){d=9;break a}else b=3,d=2}}a:for(;;)if(d==9)throw e=h=_llvm_eh_exception(),_llvm_eh_selector(h,___gxx_personality_v0,0),IHEAP[a]=__ZTV21btBroadphaseInterface+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 241445";else if(d==4)f=g+49*c,IHEAP[f]=0,IHEAP[f+3]= +0,c+=1,d=c<i?4:5;else if(d==5){IHEAP[a+7]=g;IHEAP[a+5]=e;IHEAP[a+4]=0;IHEAP[a+9]=0;IHEAP[a+6]=-1;h=IHEAP[a+9];d=h<e?6:7;break a}a:for(;;)if(d==6){i=a+7;for(c=a+7;;)if(f=h+1,g=IHEAP[i]+49*h,IHEAP[g+48]=f,IHEAP[IHEAP[c]+49*h+4]=h+2,h+=1,h<e)d=8;else{d=7;continue a}}else if(d==7){a=IHEAP[a+7]+49*(e-1);IHEAP[a+48]=0;break}} +function __ZN18btSimpleBroadphaseD0Ev(a){var e;try{__THREW__=!1,__ZN18btSimpleBroadphaseD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 241474";} +function __ZN18btSimpleBroadphaseD2Ev(a){var e,d;IHEAP[a]=__ZTV18btSimpleBroadphase+2;d=IHEAP[a+8];e=d!=0?0:1;a:for(;;)if(e==0){IHEAP[_gNumAlignedFree]+=1;e=d;if(e==0){e=1;continue a}e=IHEAP[e+-1];_free(e);e=1}else if(e==1){e=IHEAP[a+11]&1?3:4;break a}for(;;)if(e==3){d=IHEAP[a+10];e=IHEAP[IHEAP[d]];try{__THREW__=!1,FUNCTION_TABLE[e](d)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}if(__THREW__)break;d=IHEAP[a+10];d!=0&&(IHEAP[_gNumAlignedFree]+= +1,d!=0&&(d=IHEAP[d+-1],_free(d)));e=4}else if(e==4){IHEAP[a]=__ZTV21btBroadphaseInterface+2;return}d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);IHEAP[a]=__ZTV21btBroadphaseInterface+2;__Unwind_Resume_or_Rethrow(d);throw"Reached an unreachable! Original .ll line: 241595";} +function __ZN18btSimpleBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_(a,e,d,b,c,f,g,h,i){var j,k,b=IHEAP[a+4]>=IHEAP[a+5];a:do if(b)k=0;else{var l=h=a,h=IHEAP[l+9];j=IHEAP[l+7]+49*h;IHEAP[l+9]=IHEAP[j+48];IHEAP[l+4]+=1;for(j=h>IHEAP[l+6]?1:2;;)if(j==1)IHEAP[l+6]=h,j=2;else if(j==2){k=h;a=IHEAP[a+7]+49*k;k=f;b=g;h=i;i=a;g=e;f=d;d=k;e=b;k=h;IHEAP[i]=c;IHEAP[i+1]=d;IHEAP[i+2]=e;_llvm_memcpy_p0i8_p0i8_i32(i+5,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+9,f,4,4,0);IHEAP[i+3]=k;k=a;break a}}while(0); +return k}function __ZN18btSimpleBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher(a,e,d){var b,c,f;f=(e-IHEAP[a+7])/52|0;for(b=f==IHEAP[a+6]?0:1;;)if(b==0)IHEAP[a+6]+=-1,b=1;else if(b==1){c=IHEAP[a+9];b=e;IHEAP[b+48]=c;IHEAP[a+9]=f;IHEAP[e]=0;IHEAP[a+4]+=-1;a=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,e,d);break}}function __ZNK18btSimpleBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(d,e+5,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,e+9,4,4,0)} +function __ZN18btSimpleBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher(a,e,d,b){_llvm_memcpy_p0i8_p0i8_i32(e+5,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+9,b,4,4,0)} +function __ZN18btSimpleBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_(a,e,d,b){var c,e=0,f=a+6;c=e<=IHEAP[f]?0:1;a:for(;;)if(c==0){var g=a+7;b:for(;;){d=IHEAP[g]+49*e;for(c=IHEAP[d]!=0?3:4;;)if(c==3)c=b,FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,d),c=4;else if(c==4)if(e+=1,e<=IHEAP[f]){c=2;continue b}else{c=1;continue a}}}else if(c==1)break} +function __ZN18btSimpleBroadphase8aabbTestERK9btVector3S2_R24btBroadphaseAabbCallback(a,e,d,b){var c,f,g;f=0;var h=a+6;c=f<=IHEAP[h]?0:1;a:for(;;)if(c==0){var i=a+7;b:for(;;){g=IHEAP[i]+49*f;for(c=IHEAP[g]!=0?3:4;;)if(c==3)__Z20TestAabbAgainstAabb2RK9btVector3S1_S1_S1_(e,d,g+5,g+9)&&(c=b,FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,g)),c=4;else if(c==4)if(f+=1,f<=IHEAP[h]){c=2;continue b}else{c=1;continue a}}}else if(c==1)break} +function __ZN18btSimpleBroadphase11aabbOverlapEP23btSimpleBroadphaseProxyS1_(a,e){var d,b=null,c;FHEAP[a+5]<=FHEAP[e+9]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)d=e+5,b=FHEAP[d],d=a+9,b<=FHEAP[d]?(d=a+5,b=FHEAP[d+1],d=e+9,b<=FHEAP[d+1]?(d=e+5,b=FHEAP[d+1],d=a+9,b<=FHEAP[d+1]?(d=a+5,b=FHEAP[d+2],d=e+9,b<=FHEAP[d+2]?(c=e+5,d=FHEAP[c+2],c=a+9,c=d<=FHEAP[c+2],b=5):b=4):b=3):b=2):b=0,d=1;else if(d==1)return b==4?0:b==3?0:b==2?0:b==0?0:b==-1?0:c;return null} +function __ZN18btSimpleBroadphase25calculateOverlappingPairsEP12btDispatcher(a,e){var d=STACKTOP;STACKTOP+=18;var b,c=null,f,g,h,i,j,k,l,m,n=d+1,o,q=d+2,p=d+3,r,s,u,v=d+4,y=d+5,x=d+9,z=d+13,B=d+14;b=IHEAP[a+4]>=0?0:1;a:for(;;)if(b==0){m=-1;k=0;f=a+6;b=k<=IHEAP[f]?2:3;b:for(;;)if(b==2){g=a+7;h=a+6;var C=a+7,A=a+10,w=a+10,D=a+10,E=a+10;c:for(;;){l=IHEAP[g]+49*k;b=IHEAP[l]!=0?5:6;d:for(;;)if(b==5){m=k;r=k+1;if(!(r<=IHEAP[h])){b=6;continue d}e:for(;;){u=IHEAP[C]+49*r;for(b=IHEAP[u]!=0?8:9;;)if(b==8){b= +l;s=u;b=__ZN18btSimpleBroadphase11aabbOverlapEP23btSimpleBroadphaseProxyS1_(b,s);s=IHEAP[A];if(b){if(FUNCTION_TABLE[IHEAP[IHEAP[s]+13]](s,l,u)!=0){b=9;continue}b=IHEAP[w];FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,l,u)}else{if(FUNCTION_TABLE[IHEAP[IHEAP[s]+14]](s)){b=9;continue}b=IHEAP[D];if(FUNCTION_TABLE[IHEAP[IHEAP[b]+13]](b,l,u)==0){b=9;continue}b=IHEAP[E];FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,l,u,e)}b=9}else if(b==9)if(r+=1,r<=IHEAP[h]){b=7;continue e}else{b=6;continue d}}}else if(b==6)if(k+=1,k<=IHEAP[f]){b= +4;continue c}else{b=3;continue b}}}else if(b==3)if(IHEAP[a+6]=m,IHEAP[a+11]&1)break b;else{b=1;continue a}r=IHEAP[a+10];if(!FUNCTION_TABLE[IHEAP[IHEAP[r]+14]](r)){b=1;continue a}r=IHEAP[a+10];m=r=FUNCTION_TABLE[IHEAP[IHEAP[r]+7]](r);_llvm_memcpy_p0i8_p0i8_i64(n,v,1,1,0);l=m;b=IHEAP[l+1]>1?15:16;b:for(;;)if(b==15)l=m,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(m,d,0,IHEAP[l+1]-1),b=16;else if(b==16){c=i=r;c=IHEAP[c+1]-IHEAP[a+12];k=y;IHEAP[k]= +0;IHEAP[k+1]=0;IHEAP[k+2]=0;IHEAP[k+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(i,c,y);IHEAP[a+12]=0;i=x;IHEAP[i]=0;IHEAP[i+1]=0;IHEAP[i+2]=0;IHEAP[i+3]=0;IHEAP[x]=0;IHEAP[x+1]=0;m=k=IHEAP[x+2]=0;i=c=r;m<IHEAP[c+1]?(c=16,b=17):(c=16,b=18);break b}b:for(;;)if(b==17){m=x;l=a+10;u=a+12;c=17;c:for(;;){f=k;c=c==17?i:G;g=f=IHEAP[c+3]+4*f;h=x;IHEAP[g]==IHEAP[h]?(c=19,b=20):(c=19,b=21);d:for(;;)if(b==20){var F=IHEAP[g+1]==IHEAP[h+1],c=20;b=21}else if(b==21){g=c==19?0:F;_llvm_memcpy_p0i8_p0i8_i32(m, +f,4,4,0);j=0;b=g&1?22:23;break d}b==22?j=1:b==23&&(j=IHEAP[f+1],g=IHEAP[f],j=__ZN18btSimpleBroadphase11aabbOverlapEP23btSimpleBroadphaseProxyS1_(g,j),j=j&1?0:1);for(b=j&1?25:26;;)if(b==25)g=IHEAP[l],FUNCTION_TABLE[IHEAP[IHEAP[g]+8]](g,f,e),IHEAP[f]=0,IHEAP[f+1]=0,IHEAP[u]+=1,IHEAP[_gOverlappingPairs]+=-1,b=26;else if(b==26){k+=1;f=k;var G=c=r;if(f<IHEAP[c+1]){c=26;b=19;continue c}else{c=26;b=18;continue b}}}}else if(b==18){o=c==16?i:G;_llvm_memcpy_p0i8_p0i8_i64(p,z,1,1,0);k=o;b=IHEAP[k+1]>1?27:28; +break b}for(;;)if(b==27)k=o,__ZN20btAlignedObjectArrayI16btBroadphasePairE17quickSortInternalI29btBroadphasePairSortPredicateEEvT_ii(o,q,0,IHEAP[k+1]-1),b=28;else if(b==28){k=r;r=IHEAP[r+1]-IHEAP[a+12];m=B;IHEAP[m]=0;IHEAP[m+1]=0;IHEAP[m+2]=0;IHEAP[m+3]=0;__ZN20btAlignedObjectArrayI16btBroadphasePairE6resizeEiRKS0_(k,r,B);IHEAP[a+12]=0;b=1;continue a}}else if(b==1){STACKTOP=d;break}} +function __ZN18btSimpleBroadphase15testAabbOverlapEP17btBroadphaseProxyS1_(a,e,d){return __ZN18btSimpleBroadphase11aabbOverlapEP23btSimpleBroadphaseProxyS1_(e,d)}function __ZN18btSimpleBroadphase9resetPoolEP12btDispatcher(){}function __ZN18btSimpleBroadphase23getOverlappingPairCacheEv(a){return IHEAP[a+10]}function __ZNK18btSimpleBroadphase23getOverlappingPairCacheEv(a){return IHEAP[a+10]} +function __ZNK18btSimpleBroadphase17getBroadphaseAabbER9btVector3S1_(a,e,d){a=STACKTOP;STACKTOP+=6;var b=a+1,c=a+2,f=a+3,g=a+4,h=a+5;FHEAP[a]=-999999984306749440;FHEAP[b]=-999999984306749440;FHEAP[c]=-999999984306749440;FHEAP[e]=FHEAP[a];FHEAP[e+1]=FHEAP[b];FHEAP[e+2]=FHEAP[c];FHEAP[e+3]=0;FHEAP[f]=999999984306749440;FHEAP[g]=999999984306749440;FHEAP[h]=999999984306749440;FHEAP[d]=FHEAP[f];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[h];FHEAP[d+3]=0;STACKTOP=a} +function __ZN18btSimpleBroadphase10printStatsEv(){} +function __ZN6btAABB5mergeERKS_(a,e){var d=null;if(FHEAP[a]>FHEAP[e])var b=FHEAP[e],d=0;else var c=FHEAP[a],d=2;FHEAP[a]=d==0?b:c;if(FHEAP[a+1]>FHEAP[e+1])var f=FHEAP[e+1],d=3;else var g=FHEAP[a+1],d=5;FHEAP[a+1]=d==3?f:g;if(FHEAP[a+2]>FHEAP[e+2])var h=FHEAP[e+2],d=6;else var i=FHEAP[a+2],d=8;FHEAP[a+2]=d==6?h:i;if(FHEAP[a+4]<FHEAP[e+4])var j=FHEAP[e+4],d=9;else var k=FHEAP[a+4],d=11;FHEAP[a+4]=d==9?j:k;if(FHEAP[a+4+1]<FHEAP[e+4+1])var l=FHEAP[e+4+1],d=12;else var m=FHEAP[a+4+1],d=14;FHEAP[a+4+1]= +d==12?l:m;if(FHEAP[a+4+2]<FHEAP[e+4+2])var n=FHEAP[e+4+2],d=15;else var o=FHEAP[a+4+2],d=17;FHEAP[a+4+2]=d==15?n:o} +function __ZN20btAlignedObjectArrayI12GIM_BVH_DATAE6resizeEiRKS0_(a,e,d){var b,c,f,g,h,i,j;i=IHEAP[a+1];var k=e<i;a:do if(k){c=e;if(!(c<i))break a;for(;;)if(c+=1,!(c<i))break a}else{c=a;b=e>IHEAP[c+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI12GIM_BVH_DATAE7reserveEi(a,e),b=3;else if(b==3)if(j=i,j<e)break b;else break a;c=a+3;b:for(;;){var l=IHEAP[c]+9*j;for(b=l==0?6:7;;)if(b==6)if(j+=1,j<e)continue b;else break a;else b==7&&(b=l,_llvm_memset_p0i8_i32(b,0,9,4,0),f=h=d,h=b,g=b=f,f=h,_llvm_memcpy_p0i8_p0i8_i32(f, +g,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0),IHEAP[h+8]=IHEAP[b+8],b=6)}}while(0);IHEAP[a+1]=e} +function __ZNK6btAABB13has_collisionERKS_(a,e){var d,b;d=FHEAP[a]>FHEAP[e+4]?0:1;a:for(;;)if(d==0){b=0;d=7;break a}else if(d==1){d=a+4;var c=FHEAP[d];d=e;if(c<FHEAP[d]){d=0;continue a}d=a;c=FHEAP[d+1];d=e+4;if(c>FHEAP[d+1]){d=0;continue a}d=a+4;c=FHEAP[d+1];d=e;if(c<FHEAP[d+1]){d=0;continue a}d=a;c=FHEAP[d+2];d=e+4;if(c>FHEAP[d+2]){d=0;continue a}d=a+4;c=FHEAP[d+2];d=e;if(c<FHEAP[d+2])d=0;else{d=6;break a}}for(;;)if(d==6)b=1,d=7;else if(d==7)return b;return null} +function __ZN26BT_BOX_BOX_TRANSFORM_CACHE19calc_from_homogenicERK11btTransformS2_(a,e,d){var b=STACKTOP;STACKTOP+=48;var c,f,g,h,i;f=b+12;i=b+16;c=b+32;__ZNK11btTransform7inverseEv(i,e);__ZmlRK11btMatrix3x3S1_(b,i,d);__ZNK11btTransformclERK9btVector3(f,i,d+12);_llvm_memcpy_p0i8_p0i8_i32(c,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,c+4,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(i+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,c+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a,i+12,4,4,0);e=a+4;_llvm_memcpy_p0i8_p0i8_i32(e,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,i+8,4,4,0);i=0;e=a+4;a+=16;a:for(;;){for(d=0;;)if(f=d,g=i,c=e,c+=g*4,f=FHEAP[c+f],f=9.999999974752427E-7+_fabsf(f),c=d,h=i,g=a,g+=h*4,FHEAP[g+c]=f,d=f=d+1,!(f<3))break;i=d=i+1;if(!(d<3))break a}STACKTOP=b} +function __ZN20btAlignedObjectArrayI12GIM_BVH_DATAE7reserveEi(a,e){var d,b,c,f,g;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){f=e;f=f!=0?__Z22btAlignedAllocInternalji(f*36,16):0;d=a;__ZNK20btAlignedObjectArrayI12GIM_BVH_DATAE4copyEiiPS0_(a,0,IHEAP[d+1],f);d=a;b=IHEAP[d+1];c=0;d=c<b?3:4;b:for(;;)if(d==3)c+=1,d=c<b?3:4;else if(d==4){g=a;d=IHEAP[g+3]!=0?5:6;break b}b:for(;;)if(d==5)for(d=IHEAP[g+4]&1?7:8;;)if(d==7)d=IHEAP[g+3],d!=0&&(IHEAP[_gNumAlignedFree]+=1,d!=0&&(d=IHEAP[d+-1],_free(d))),d=8;else{if(d== +8){IHEAP[g+3]=0;d=6;continue b}}else if(d==6){IHEAP[a+4]=1;IHEAP[a+3]=f;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZNK20btAlignedObjectArrayI12GIM_BVH_DATAE4copyEiiPS0_(a,e,d,b){var c,f,g,h;c=e<d?0:1;a:for(;;)if(c==0){var i=a+3;b:for(;;){var j=b+9*e;for(c=j==0?3:4;;)if(c==3)if(e+=1,e<d){c=2;continue b}else{c=1;continue a}else c==4&&(c=j,_llvm_memset_p0i8_i32(c,0,9,4,0),f=h=IHEAP[i]+9*e,h=c,g=c=f,f=h,_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0),IHEAP[h+8]=IHEAP[c+8],c=3)}}else if(c==1)break} +function __ZN20btAlignedObjectArrayI8GIM_PAIRE9push_backERKS0_(a,e){var d,b=null,c,f;d=IHEAP[a+1]==IHEAP[a+2]?0:1;a:for(;;)if(d==0){d=a;c=IHEAP[d+1];c!=0?(b=0,d=2):(b=0,d=3);for(;;)if(d==2)f=c*2,b=2,d=3;else if(d==3){__ZN20btAlignedObjectArrayI8GIM_PAIRE7reserveEi(a,b==2?f:1);d=1;continue a}}else if(d==1){var g=IHEAP[a+3]+2*IHEAP[a+1];d=g==0?4:5;break a}for(;;)if(d==4){IHEAP[a+1]+=1;break}else d==5&&(d=e,f=g,IHEAP[f]=IHEAP[d],IHEAP[f+1]=IHEAP[d+1],d=4)} +function __ZN20btAlignedObjectArrayI8GIM_PAIRE7reserveEi(a,e){var d,b,c,f,g,h,i,j,k;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){j=e;j=j!=0?__Z22btAlignedAllocInternalji(j*8,16):0;f=a;f=IHEAP[f+1];g=j;var l=c=a;c=0;d=c<f?3:4;b:for(;;)if(d==3){var m=l+3;c:for(;;){var n=g+2*c;for(d=n==0?6:7;;)if(d==6)if(c+=1,c<f){d=5;continue c}else{d=4;continue b}else d==7&&(b=IHEAP[m]+2*c,d=n,IHEAP[d]=IHEAP[b],IHEAP[d+1]=IHEAP[b+1],d=6)}}else if(d==4){h=a;h=IHEAP[h+1];i=0;d=i<h?8:9;break b}b:for(;;)if(d==8)i+=1,d=i<h?8:9; +else if(d==9){k=a;d=IHEAP[k+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[k+4]&1?12:13;;)if(d==12)f=IHEAP[k+3],f!=0&&(IHEAP[_gNumAlignedFree]+=1,f!=0&&(f=IHEAP[f+-1],_free(f))),d=13;else{if(d==13){IHEAP[k+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=j;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZNK6btAABB23overlapping_trans_cacheERKS_RK26BT_BOX_BOX_TRANSFORM_CACHEb(a,e,d,b){var c=STACKTOP;STACKTOP+=20;var f,g=null,h,i,j,k,l,m,n,o,q,p,r=c+4;k=c+8;j=c+12;var s=c+16;__ZNK6btAABB17get_center_extendER9btVector3S1_(a,k,c);__ZNK6btAABB17get_center_extendER9btVector3S1_(e,j,r);a=0;g=-1;a:for(;;){if(!((g==4?h:0)<3)){f=2;break a}f=a;g=d+4;f=g+f*4;g=j;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];h=a;g=d;f+=FHEAP[g+h];h=a;g=k;f-=FHEAP[g+h];h=a;g=s;FHEAP[g+h]=f;f=a;g=d+ +16;f=g+f*4;g=r;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];h=a;g=c;g=f+FHEAP[g+h];h=a;f=s;f=FHEAP[f+h];if(_fabsf(f)>g){f=3;break a}a=h=a+1;g=4;f=0}a:do if(f==2){a=0;g=2;b:for(;;){if(!((g==10?u:0)<3)){f=8;break b}k=a;g=d+4;f=j=s;f=FHEAP[f];h=k;e=g;e+=0;f*=FHEAP[e+h];h=j;h=FHEAP[h+1];e=k;i=g;i+=4;f+=h*FHEAP[i+e];j=FHEAP[j+2];g+=8;g=f+j*FHEAP[g+k];j=a;k=d+16;h=f=c;h=FHEAP[h];e=j;i=k;i+=0;h*=FHEAP[i+e];e=f;e=FHEAP[e+1];i=j;l=k;l+=4;h+=e*FHEAP[l+i];f=FHEAP[f+2];k+=8;j=h+f*FHEAP[k+j]; +f=a;k=r;e=j+FHEAP[k+f];if(_fabsf(g)>e){f=9;break b}var u=a+1,a=u,g=10;f=6}if(f==8){f=b&1?11:12;b:for(;;)if(f==11){a=0;g=11;for(;;){if(!((g==17?y:0)<3)){f=12;continue b}k=(a+1)%3;j=(a+2)%3;f=a==0?1:0;h=a==2?1:2;p=0;for(g=14;;){if(!((g==19?v:0)<3))break;i=p==2?1:2;e=p==0?1:0;l=j;g=s;g=FHEAP[g+l];l=p;n=k;m=d+4;m+=n*4;g*=FHEAP[m+l];m=k;l=s;l=FHEAP[l+m];m=p;o=j;n=d+4;n+=o*4;g-=l*FHEAP[n+m];m=f;l=c;l=FHEAP[l+m];m=p;o=h;n=d+16;n+=o*4;l*=FHEAP[n+m];n=h;m=c;m=FHEAP[m+n];n=p;q=f;o=d+16;o+=q*4;l+=m*FHEAP[o+ +n];n=e;m=r;m=FHEAP[m+n];n=i;q=a;o=d+16;o+=q*4;l+=m*FHEAP[o+n];m=i;i=r;i=FHEAP[i+m];n=a;m=d+16;m+=n*4;e=l+i*FHEAP[m+e];if(_fabsf(g)>e){f=18;break b}var v=p+1;p=v;g=19}var y=a+1,a=y,g=17;f=13}}else if(f==12){p=1;break a}p=0}else f==9&&(p=0)}else f==3&&(p=0);while(0);STACKTOP=c;return p} +function __ZNK6btAABB17get_center_extendER9btVector3S1_(a,e,d){var b=STACKTOP;STACKTOP+=22;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j,k=b+6,l=b+7,m=b+8,n=b+9,o=b+13,q=b+14,p=b+18;j=a+4;FHEAP[k]=FHEAP[j]+FHEAP[a];FHEAP[l]=FHEAP[j+1]+FHEAP[a+1];FHEAP[m]=FHEAP[j+2]+FHEAP[a+2];FHEAP[n]=FHEAP[k];FHEAP[n+1]=FHEAP[l];FHEAP[n+2]=FHEAP[m];FHEAP[n+3]=0;FHEAP[o]=0.5;FHEAP[b]=FHEAP[n]*FHEAP[o];FHEAP[c]=FHEAP[n+1]*FHEAP[o];FHEAP[f]=FHEAP[n+2]*FHEAP[o];FHEAP[q]=FHEAP[b];FHEAP[q+1]=FHEAP[c];FHEAP[q+2]=FHEAP[f];FHEAP[q+ +3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,q,4,4,0);a+=4;FHEAP[g]=FHEAP[a]-FHEAP[e];FHEAP[h]=FHEAP[a+1]-FHEAP[e+1];FHEAP[i]=FHEAP[a+2]-FHEAP[e+2];FHEAP[p]=FHEAP[g];FHEAP[p+1]=FHEAP[h];FHEAP[p+2]=FHEAP[i];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,p,4,4,0);STACKTOP=b} +function __ZN20btAlignedObjectArrayI12GIM_BVH_DATAE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN18btQuantizedBvhTree17calc_quantizationER18GIM_BVH_DATA_ARRAYf(a,e,d){var b=STACKTOP;STACKTOP+=8;var c,f,g;FHEAP[b]=3.4028234663852886E38;FHEAP[b+1]=3.4028234663852886E38;FHEAP[b+2]=3.4028234663852886E38;FHEAP[b+4]=-3.4028234663852886E38;FHEAP[b+4+1]=-3.4028234663852886E38;FHEAP[b+4+2]=-3.4028234663852886E38;g=0;for(c=g<IHEAP[e+1]?0:1;;)if(c==0)f=g,c=e,__ZN6btAABB5mergeERKS_(b,IHEAP[c+3]+9*f),g+=1,f=g,c=e,c=f<IHEAP[c+1]?0:1;else if(c==1){__Z31bt_calc_quantization_parametersR9btVector3S0_S0_RKS_S2_f(a+ +21,a+21+4,a+29,b,b+4,d);STACKTOP=b;break}} +function __Z31bt_calc_quantization_parametersR9btVector3S0_S0_RKS_S2_f(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=40;var h=g+1,i=g+2,j=g+3,k=g+4,l=g+5,m=g+6,n=g+7,o=g+8,q=g+9,p=g+10,r=g+11,s=g+12,u=g+13,v=g+17,y=g+21,x=g+25,z=g+29,B=g+33,C=g+34,A=g+35,w=g+36;FHEAP[s]=f;FHEAP[u]=FHEAP[s];FHEAP[u+1]=FHEAP[s];FHEAP[u+2]=FHEAP[s];FHEAP[u+3]=0;FHEAP[g]=FHEAP[b]-FHEAP[u];FHEAP[h]=FHEAP[b+1]-FHEAP[u+1];FHEAP[i]=FHEAP[b+2]-FHEAP[u+2];FHEAP[v]=FHEAP[g];FHEAP[v+1]=FHEAP[h];FHEAP[v+2]=FHEAP[i];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a, +v,4,4,0);FHEAP[j]=FHEAP[c]+FHEAP[u];FHEAP[k]=FHEAP[c+1]+FHEAP[u+1];FHEAP[l]=FHEAP[c+2]+FHEAP[u+2];FHEAP[y]=FHEAP[j];FHEAP[y+1]=FHEAP[k];FHEAP[y+2]=FHEAP[l];FHEAP[y+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,y,4,4,0);FHEAP[m]=FHEAP[e]-FHEAP[a];FHEAP[n]=FHEAP[e+1]-FHEAP[a+1];FHEAP[o]=FHEAP[e+2]-FHEAP[a+2];FHEAP[x]=FHEAP[m];FHEAP[x+1]=FHEAP[n];FHEAP[x+2]=FHEAP[o];FHEAP[x+3]=0;FHEAP[B]=65535;FHEAP[C]=65535;FHEAP[A]=65535;FHEAP[z]=FHEAP[B];FHEAP[z+1]=FHEAP[C];FHEAP[z+2]=FHEAP[A];FHEAP[z+3]=0;FHEAP[q]=FHEAP[z]/ +FHEAP[x];FHEAP[p]=FHEAP[z+1]/FHEAP[x+1];FHEAP[r]=FHEAP[z+2]/FHEAP[x+2];FHEAP[w]=FHEAP[q];FHEAP[w+1]=FHEAP[p];FHEAP[w+2]=FHEAP[r];FHEAP[w+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,w,4,4,0);STACKTOP=g} +function __ZN18btQuantizedBvhTree20_calc_splitting_axisER18GIM_BVH_DATA_ARRAYii(a,e,d,b){a=STACKTOP;STACKTOP+=60;var c,f=null,g,h,i,j=a+1,k=a+2,l=a+3,m=a+4,n=a+5,o,q,p=a+6,r=a+7,s=a+8,u=a+9,v=a+10,y=a+11,x=a+12,z=a+13,B=a+14,C=a+15,A=a+16,w=a+17,D,E=a+18,F=a+22;o=a+23;c=a+24;D=a+25;g=a+29;h=a+30;i=a+31;var G=a+32,J=a+36,H=a+37;q=a+41;var M=a+42,K=a+46,N=a+47,R=a+51,O=a+55,Q=a+59;FHEAP[F]=0;FHEAP[o]=0;FHEAP[c]=0;FHEAP[E]=FHEAP[F];FHEAP[E+1]=FHEAP[o];FHEAP[E+2]=FHEAP[c];FHEAP[E+3]=0;FHEAP[g]=0;FHEAP[h]= +0;FHEAP[i]=0;FHEAP[D]=FHEAP[g];FHEAP[D+1]=FHEAP[h];FHEAP[D+2]=FHEAP[i];FHEAP[D+3]=0;F=b-d;o=d;c=o<b?0:1;a:for(;;)if(c==0)FHEAP[J]=0.5,g=o,c=e,c=IHEAP[c+3]+9*g+4,h=o,g=e,g=IHEAP[g+3]+9*h,FHEAP[a]=FHEAP[c]+FHEAP[g],FHEAP[j]=FHEAP[c+1]+FHEAP[g+1],FHEAP[k]=FHEAP[c+2]+FHEAP[g+2],c=H,g=a,h=j,i=k,FHEAP[c]=FHEAP[g],FHEAP[c+1]=FHEAP[h],FHEAP[c+2]=FHEAP[i],FHEAP[c+3]=0,g=J,c=H,FHEAP[l]=FHEAP[c]*FHEAP[g],FHEAP[m]=FHEAP[c+1]*FHEAP[g],FHEAP[n]=FHEAP[c+2]*FHEAP[g],c=G,g=l,h=m,i=n,FHEAP[c]=FHEAP[g],FHEAP[c+1]=FHEAP[h], +FHEAP[c+2]=FHEAP[i],FHEAP[c+3]=0,g=E,c=G,FHEAP[g]+=FHEAP[c],FHEAP[g+1]+=FHEAP[c+1],FHEAP[g+2]+=FHEAP[c+2],o+=1,c=o<b?0:1;else if(c==1){FHEAP[q]=1/F;o=E;FHEAP[o]*=FHEAP[q];FHEAP[o+1]*=FHEAP[q];FHEAP[o+2]*=FHEAP[q];o=d;c=o<b?2:3;break a}a:for(;;)if(c==2){d=R;for(q=O;;)if(FHEAP[K]=0.5,k=o,j=e,j=IHEAP[j+3]+9*k+4,l=o,k=e,k=IHEAP[k+3]+9*l,FHEAP[p]=FHEAP[j]+FHEAP[k],FHEAP[r]=FHEAP[j+1]+FHEAP[k+1],FHEAP[s]=FHEAP[j+2]+FHEAP[k+2],j=N,k=p,l=r,m=s,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[l],FHEAP[j+2]=FHEAP[m],FHEAP[j+ +3]=0,k=K,j=N,FHEAP[u]=FHEAP[j]*FHEAP[k],FHEAP[v]=FHEAP[j+1]*FHEAP[k],FHEAP[y]=FHEAP[j+2]*FHEAP[k],j=M,k=u,l=v,m=y,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[l],FHEAP[j+2]=FHEAP[m],FHEAP[j+3]=0,j=M,k=E,FHEAP[x]=FHEAP[j]-FHEAP[k],FHEAP[z]=FHEAP[j+1]-FHEAP[k+1],FHEAP[B]=FHEAP[j+2]-FHEAP[k+2],j=R,k=x,l=z,m=B,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[l],FHEAP[j+2]=FHEAP[m],FHEAP[j+3]=0,k=j=R,FHEAP[C]=FHEAP[j]*FHEAP[k],FHEAP[A]=FHEAP[j+1]*FHEAP[k+1],FHEAP[w]=FHEAP[j+2]*FHEAP[k+2],j=O,k=C,l=A,m=w,FHEAP[j]=FHEAP[k],FHEAP[j+ +1]=FHEAP[l],FHEAP[j+2]=FHEAP[m],FHEAP[j+3]=0,_llvm_memcpy_p0i8_p0i8_i32(d,q,4,4,0),k=D,j=R,FHEAP[k]+=FHEAP[j],FHEAP[k+1]+=FHEAP[j+1],FHEAP[k+2]+=FHEAP[j+2],o+=1,o<b)c=4;else{c=3;continue a}}else if(c==3){FHEAP[Q]=1/(F-1);e=D;b=Q;FHEAP[e]*=FHEAP[b];FHEAP[e+1]*=FHEAP[b];FHEAP[e+2]*=FHEAP[b];var I=D,L=I;c=FHEAP[I]<FHEAP[I+1]?5:6;break a}if(c==5)var P=FHEAP[L+1]<FHEAP[I+2]?2:1,f=5;else if(c==6)var S=FHEAP[L]<FHEAP[I+2]?2:0,f=6;STACKTOP=a;return f==5?P:S} +function __ZN18btQuantizedBvhTree30_sort_and_calc_splitting_indexER18GIM_BVH_DATA_ARRAYiii(a,e,d,b,c){a=STACKTOP;STACKTOP+=47;var f,g=null,h,i,j,k,l,m,n,o=a+1,q=a+2,p=a+3,r=a+4,s=a+5,u,v;l=a+6;m=a+7;n=a+8;var y=a+9,x=a+10,z=a+11,B=a+12,C,A,w=a+21;j=a+25;f=a+26;h=a+27;var D=a+28,E=a+32,F=a+33;k=a+37;var G=a+38,J=a+42,H=a+43,M;C=d;A=b-d;i=0;FHEAP[j]=0;FHEAP[f]=0;FHEAP[h]=0;FHEAP[w]=FHEAP[j];FHEAP[w+1]=FHEAP[f];FHEAP[w+2]=FHEAP[h];FHEAP[w+3]=0;j=d;f=j<b?0:1;a:for(;;)if(f==0)FHEAP[E]=0.5,h=j,f=e,f=IHEAP[f+ +3]+9*h+4,u=j,h=e,h=IHEAP[h+3]+9*u,FHEAP[y]=FHEAP[f]+FHEAP[h],FHEAP[x]=FHEAP[f+1]+FHEAP[h+1],FHEAP[z]=FHEAP[f+2]+FHEAP[h+2],f=F,h=y,u=x,v=z,FHEAP[f]=FHEAP[h],FHEAP[f+1]=FHEAP[u],FHEAP[f+2]=FHEAP[v],FHEAP[f+3]=0,h=E,f=F,FHEAP[l]=FHEAP[f]*FHEAP[h],FHEAP[m]=FHEAP[f+1]*FHEAP[h],FHEAP[n]=FHEAP[f+2]*FHEAP[h],f=D,h=l,u=m,v=n,FHEAP[f]=FHEAP[h],FHEAP[f+1]=FHEAP[u],FHEAP[f+2]=FHEAP[v],FHEAP[f+3]=0,h=w,f=D,FHEAP[h]+=FHEAP[f],FHEAP[h+1]+=FHEAP[f+1],FHEAP[h+2]+=FHEAP[f+2],j+=1,f=j<b?0:1;else if(f==1){FHEAP[k]= +1/A;i=w;j=k;FHEAP[i]*=FHEAP[j];FHEAP[i+1]*=FHEAP[j];FHEAP[i+2]*=FHEAP[j];i=c;j=w;i=FHEAP[j+i];j=d;f=j<b?2:3;break a}a:for(;;)if(f==2){w=B;b:for(;;){FHEAP[J]=0.5;l=j;k=e;k=IHEAP[k+3]+9*l+4;m=j;l=e;l=IHEAP[l+3]+9*m;FHEAP[a]=FHEAP[k]+FHEAP[l];FHEAP[o]=FHEAP[k+1]+FHEAP[l+1];FHEAP[q]=FHEAP[k+2]+FHEAP[l+2];k=H;l=a;m=o;n=q;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0;l=J;k=H;FHEAP[p]=FHEAP[k]*FHEAP[l];FHEAP[r]=FHEAP[k+1]*FHEAP[l];FHEAP[s]=FHEAP[k+2]*FHEAP[l];k=G;l=p;m=r;n=s;FHEAP[k]= +FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0;l=c;k=G;for(f=FHEAP[k+l]>i?5:6;;)if(f==5)k=j,l=C,m=e,y=IHEAP[m+3]+9*k,n=B,x=y,y=n,z=n=x,x=y,_llvm_memcpy_p0i8_p0i8_i32(x,z,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(x+4,z+4,4,4,0),IHEAP[y+8]=IHEAP[n+8],_llvm_memcpy_p0i8_p0i8_i32(IHEAP[m+3]+9*k,IHEAP[m+3]+9*l,9,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[m+3]+9*l,w,9,4,0),C+=1,f=6;else if(f==6)if(j+=1,j<b){f=4;continue b}else{f=3;continue a}}}else if(f==3){M=A/3|0;C<=M+d?(g=3,f=7):(g=3,f=8);break a}a:for(;;)if(f== +7){e=g==3?1:K;f=e&1?9:10;break a}else if(f==8){var K=C>=b+-1+(0-M),g=8;f=7}for(;;)if(f==9)C=(A>>1)+d,f=10;else if(f==10)return d=C,STACKTOP=a,d;return null} +function __ZN18btQuantizedBvhTree15_build_sub_treeER18GIM_BVH_DATA_ARRAYii(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f,g,h,i,j,k,l;k=IHEAP[a];IHEAP[a]+=1;j=b-d==1;a:do if(j)l=k,f=d,h=e,g=IHEAP[h+3]+9*f,h=a,f=l,l=g,i=f,g=h+1,__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[g+3]+7*i,l,h+21,h+21+4,h+29),g=f,f=h+1,__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[f+3]+7*g+3,l+4,h+21,h+21+4,h+29),h=k,l=a+1,l=IHEAP[l+3]+7*h,f=d,h=e,h=IHEAP[IHEAP[h+3]+9*f+8],IHEAP[l+6]=h;else{l=__ZN18btQuantizedBvhTree20_calc_splitting_axisER18GIM_BVH_DATA_ARRAYii(a, +e,d,b);l=__ZN18btQuantizedBvhTree30_sort_and_calc_splitting_indexER18GIM_BVH_DATA_ARRAYiii(a,e,d,b,l);f=h=c;FHEAP[f]=3.4028234663852886E38;f=h;FHEAP[f+1]=3.4028234663852886E38;f=h;FHEAP[f+2]=3.4028234663852886E38;f=h+4;FHEAP[f]=-3.4028234663852886E38;f=h+4;FHEAP[f+1]=-3.4028234663852886E38;h+=4;FHEAP[h+2]=-3.4028234663852886E38;h=d;for(f=h<b?1:2;;)if(f==1)g=h,f=e,__ZN6btAABB5mergeERKS_(c,IHEAP[f+3]+9*g),h+=1,f=h<b?1:2;else if(f==2){j=k;h=a;f=j;j=c;i=f;g=h+1;__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[g+ +3]+7*i,j,h+21,h+21+4,h+29);g=f;f=h+1;__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[f+3]+7*g+3,j+4,h+21,h+21+4,h+29);__ZN18btQuantizedBvhTree15_build_sub_treeER18GIM_BVH_DATA_ARRAYii(a,e,d,l);__ZN18btQuantizedBvhTree15_build_sub_treeER18GIM_BVH_DATA_ARRAYii(a,e,l,b);d=k;e=a+1;a=IHEAP[a]-k;k=IHEAP[e+3]+7*d;IHEAP[k+6]=0-a;break a}}while(0);STACKTOP=c} +function __ZN18btQuantizedBvhTree10build_treeER18GIM_BVH_DATA_ARRAY(a,e){var d=STACKTOP;STACKTOP+=7;__ZN18btQuantizedBvhTree17calc_quantizationER18GIM_BVH_DATA_ARRAYf(a,e,1);IHEAP[a]=0;var b=IHEAP[e+1]*2;IHEAP[d+6]=0;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE6resizeEiRKS0_(a+1,b,d);__ZN18btQuantizedBvhTree15_build_sub_treeER18GIM_BVH_DATA_ARRAYii(a,e,0,IHEAP[e+1]);STACKTOP=d} +function __ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE6resizeEiRKS0_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+7*f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(_llvm_memcpy_p0i8_p0i8_i32(i,d,7,4,0),b=6)}}while(0); +IHEAP[a+1]=e} +function __ZN21btGImpactQuantizedBvh5refitEv(a){var e=STACKTOP;STACKTOP+=24;var d,b=null,c,f,g,h,i,j,k,l,m,n,o=e+8,q=e+16,p=IHEAP[a];n=p+-1;d=p!=0?0:1;a:for(;;)if(d==0){p=a+33;for(;;){c=n;m=a;m+=1;m=IHEAP[m+3]+7*c;m=IHEAP[m+6]>=0;c:do if(m)c=IHEAP[p],d=IHEAP[IHEAP[c]+4],g=n,f=a,f+=1,f=IHEAP[f+3]+7*g,FUNCTION_TABLE[d](c,IHEAP[f+6],e),d=n,c=a,f=d,g=d=e,d=c,c=g,l=f,g=d+1,__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[g+3]+7*l,c,d+21,d+21+4,d+29),g=f,f=d+1,__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[f+3]+ +7*g+3,c+4,d+21,d+21+4,d+29);else{d=c=o;FHEAP[d]=3.4028234663852886E38;d=c;FHEAP[d+1]=3.4028234663852886E38;d=c;FHEAP[d+2]=3.4028234663852886E38;d=c+4;FHEAP[d]=-3.4028234663852886E38;d=c+4;FHEAP[d+1]=-3.4028234663852886E38;c+=4;FHEAP[c+2]=-3.4028234663852886E38;c=n;c+=1;d=c!=0?4:5;d:for(;;)if(d==4)f=c,d=a,g=q,__ZNK18btQuantizedBvhTree12getNodeBoundEiR6btAABB(d,f,g),__ZN6btAABB5mergeERKS_(o,q),d=5;else if(d==5){j=n;k=a;i=j;j=k;k=i;c=k+1;i=j+1;c=IHEAP[i+3]+7*c;i=k;d=IHEAP[c+6]>=0?6:7;break d}if(d==6)var r= +i+2,b=6;else d==7&&(h=k+1,b=j+1,b=IHEAP[b+3]+7*h,h=i+1+(0-IHEAP[b+6]),b=7);c=d=b==6?r:h;for(d=d!=0?9:10;;)if(d==9)f=c,d=a,g=q,__ZNK18btQuantizedBvhTree12getNodeBoundEiR6btAABB(d,f,g),__ZN6btAABB5mergeERKS_(o,q),d=10;else if(d==10){c=n;m=a;d=c;f=c=o;c=m;m=f;g=d;f=c+1;__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[f+3]+7*g,m,c+21,c+21+4,c+29);f=d;d=c+1;__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(IHEAP[d+3]+7*f+3,m+4,c+21,c+21+4,c+29);break c}}while(0);m=n;n=m+-1;if(m!=0)d=2;else{d=1;continue a}}}else if(d== +1){STACKTOP=e;break}} +function __ZN21btGImpactQuantizedBvh8buildSetEv(a){var e=STACKTOP;STACKTOP+=36;var d,b,c,f,g;b=e+7;var h=e+27,i;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;i=IHEAP[a+33];var j=IHEAP[IHEAP[i]+3],k;try{__THREW__=!1,k=FUNCTION_TABLE[j](i)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack);k=null}d=__THREW__?4:5;a:for(;;)if(d==5){_llvm_memset_p0i8_i32(h,0,9,4,0);__ZN20btAlignedObjectArrayI12GIM_BVH_DATAE6resizeEiRKS0_(b,k,h);i=0;for(var j= +b,m=a+33,n=b,o=b;;){var q=i;d=j;if(!(q<IHEAP[d+1]))break a;d=IHEAP[m];q=IHEAP[IHEAP[d]+4];g=c=i;f=n;f=IHEAP[f+3]+9*g;try{__THREW__=!1,FUNCTION_TABLE[q](d,c,f)}catch(p){if(ABORT)throw p;__THREW__=!0;print("Exception: "+p+" : "+p.stack+", currently at: "+Error().stack)}if(__THREW__){d=4;continue a}c=q=i;d=o;IHEAP[IHEAP[d+3]+9*c+8]=q;i+=1;d=0}}else if(d==4)throw a=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayI12GIM_BVH_DATAE5clearEv(b),__Unwind_Resume_or_Rethrow(a), +"Reached an unreachable! Original .ll line: 249272";__ZN18btQuantizedBvhTree17calc_quantizationER18GIM_BVH_DATA_ARRAYf(a,b,1);IHEAP[a]=0;h=IHEAP[b+1]*2;IHEAP[e+6]=0;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE6resizeEiRKS0_(a+1,h,e);__ZN18btQuantizedBvhTree15_build_sub_treeER18GIM_BVH_DATA_ARRAYii(a,b,0,IHEAP[b+1]);__ZN20btAlignedObjectArrayI12GIM_BVH_DATAE5clearEv(b);STACKTOP=e} +function __ZNK21btGImpactQuantizedBvh8boxQueryERK6btAABBR20btAlignedObjectArrayIiE(a,e,d){var b=STACKTOP;STACKTOP+=7;var c,f=null,g,h,i,j,k,l,m,n,o=b+3,q=b+6;m=0;n=IHEAP[a];__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(b,e,a+21,a+21+4,a+29);__Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(o,e+4,a+21,a+21+4,a+29);c=m<n?0:1;a:for(;;)if(c==0){var e=a,p=b,r=o;b:for(;;){k=__ZNK18btQuantizedBvhTree24testQuantizedBoxOverlappEiPtS0_(e,m,p,r);i=m;h=a;h+=1;h=IHEAP[h+3]+7*i;h=IHEAP[h+6]>=0;c=h&1?3:4;c:for(;;)if(c== +3){if(!(k&1)){c=4;continue c}i=d;f=m;g=a;g+=1;g=IHEAP[g+3]+7*f;IHEAP[q]=IHEAP[g+6];g=i;i=q;f=g;c=f=IHEAP[f+1];f=g;c=c==IHEAP[f+2]?6:7;d:for(;;)if(c==6){f=g;j=IHEAP[f+1];j!=0?(f=6,c=8):(f=6,c=9);for(;;)if(c==8){var s=j*2,f=8;c=9}else if(c==9){__ZN20btAlignedObjectArrayIiE7reserveEi(g,f==8?s:1);c=7;continue d}}else if(c==7){var u=IHEAP[g+3]+IHEAP[g+1];c=u==0?10:11;break d}for(;;)if(c==10){IHEAP[g+1]+=1;c=4;continue c}else c==11&&(IHEAP[u]=IHEAP[i],c=10)}else if(c==4){c=k&1?12:13;break c}c:for(;;)if(c== +12){m+=1;c=15;break c}else if(c==13)if(h&1)c=12;else{c=14;break c}for(;;)if(c==15)if(m<n){c=2;continue b}else{c=1;continue a}else c==14&&(h=m,k=a,k+=1,k=IHEAP[k+3]+7*h,m+=0-IHEAP[k+6],c=15)}}else if(c==1){a=d;c=IHEAP[a+1]>0?16:17;break a}c==16?l=1:c==17&&(l=0);STACKTOP=b;return l} +function __ZNK18btQuantizedBvhTree24testQuantizedBoxOverlappEiPtS0_(a,e,d,b){var c,e=IHEAP[a+1+3]+7*e,a=IHEAP[e]>IHEAP[b]?0:1;a:for(;;)if(a==0){c=0;a=7;break a}else if(a==1){if(IHEAP[e+3]<IHEAP[d]){a=0;continue a}if(IHEAP[e+1]>IHEAP[b+1]){a=0;continue a}if(IHEAP[e+3+1]<IHEAP[d+1]){a=0;continue a}if(IHEAP[e+2]>IHEAP[b+2]){a=0;continue a}if(IHEAP[e+3+2]<IHEAP[d+2])a=0;else{a=6;break a}}for(;;)if(a==6)c=1,a=7;else if(a==7)return c;return null} +function __ZN21btGImpactQuantizedBvh14find_collisionEPS_RK11btTransformS0_S3_R9btPairSet(a,e,d,b,c){var f=STACKTOP;STACKTOP+=28;var g;for(g=IHEAP[a]==0?0:1;;)if(g==0){STACKTOP=f;break}else g==1&&(g=d,IHEAP[g]!=0&&(__ZN26BT_BOX_BOX_TRANSFORM_CACHE19calc_from_homogenicERK11btTransformS2_(f,e,b),__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(a,d,c,f,0,0,1)),g=0)} +function __Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=18;var i,j,k,l,m,n,o,q;i=h+2;o=h+10;g&=1;__ZNK18btQuantizedBvhTree12getNodeBoundEiR6btAABB(a,c,i);__ZNK18btQuantizedBvhTree12getNodeBoundEiR6btAABB(e,f,o);for(i=__ZNK6btAABB23overlapping_trans_cacheERKS_RK26BT_BOX_BOX_TRANSFORM_CACHEb(i,o,b,g&1)==0?0:1;;)if(i==0){STACKTOP=h;break}else i==1&&(o=c,i=a,i+=1,i=IHEAP[i+3]+7*o,i=IHEAP[i+6]>= +0,g=f,o=e,o+=1,o=IHEAP[o+3]+7*g,k=IHEAP[o+6]>=0,i?k?(i=d,g=c,o=a,o+=1,o=IHEAP[o+3]+7*g,o=IHEAP[o+6],q=f,g=e,g+=1,g=IHEAP[g+3]+7*q,g=IHEAP[g+6],q=o,k=g,o=h,g=q,q=k,IHEAP[o]=g,IHEAP[o+1]=q,__ZN20btAlignedObjectArrayI8GIM_PAIRE9push_backERKS0_(i,h)):(i=a,o=e,g=d,q=b,k=c,l=f,__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i,o,g,q,k,l+1,0),i=a,o=e,g=d,q=b,k=c,m=f,l=e,j=m,m=l,l=j,n=l+1,j=m+1,n=IHEAP[j+3]+7*n,j=l,IHEAP[n+6]>=0?l=j+2:(n= +l+1,l=m+1,m=n,l=IHEAP[l+3]+7*m,l=j+1+(0-IHEAP[l+6])),__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i,o,g,q,k,l,0)):(i=a,o=e,g=d,q=b,l=c,l+=1,k?(__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i,o,g,q,l,f,0),i=a,o=e,g=d,q=b,l=c,k=a,m=l,l=k,k=m,j=k+1,m=l+1,j=IHEAP[m+3]+7*j,m=k,IHEAP[j+6]>=0?k=m+2:(j=k+1,k=l+1,l=j,k=IHEAP[k+3]+7*l,k=m+1+(0-IHEAP[k+6])),__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i, +o,g,q,k,f,0)):(k=f,__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i,o,g,q,l,k+1,0),i=a,o=e,g=d,q=b,k=c,k+=1,m=f,l=e,j=m,m=l,l=j,n=l+1,j=m+1,n=IHEAP[j+3]+7*n,j=l,IHEAP[n+6]>=0?l=j+2:(n=l+1,l=m+1,m=n,l=IHEAP[l+3]+7*m,l=j+1+(0-IHEAP[l+6])),__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i,o,g,q,k,l,0),i=a,o=e,g=d,q=b,l=c,k=a,m=l,l=k,k=m,j=k+1,m=l+1,j=IHEAP[m+3]+ +7*j,m=k,IHEAP[j+6]>=0?k=m+2:(j=k+1,k=l+1,l=j,k=IHEAP[k+3]+7*l,k=m+1+(0-IHEAP[k+6])),l=f,__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i,o,g,q,k,l+1,0),i=a,o=e,g=d,q=b,l=c,k=a,m=l,l=k,k=m,j=k+1,m=l+1,j=IHEAP[m+3]+7*j,m=k,IHEAP[j+6]>=0?k=m+2:(j=k+1,k=l+1,l=j,k=IHEAP[k+3]+7*l,k=m+1+(0-IHEAP[k+6])),m=f,l=e,j=m,m=l,l=j,n=l+1,j=m+1,n=IHEAP[j+3]+7*n,j=l,IHEAP[n+6]>=0?l=j+2:(n=l+1,l=m+1,m=n,l=IHEAP[l+3]+7*m,l=j+1+(0-IHEAP[l+6])),__Z41_find_quantized_collision_pairs_recursiveP21btGImpactQuantizedBvhS0_P9btPairSetRK26BT_BOX_BOX_TRANSFORM_CACHEiib(i, +o,g,q,k,l,0))),i=0)} +function __ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*16,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+7*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+7*f,7,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g? +8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __Z17bt_quantize_clampPtRK9btVector3S2_S2_S2_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=18;var g=f+1,h=f+2,i=f+3,j=f+4,k=f+5,l=f+6,m=f+10,n=f+14;_llvm_memcpy_p0i8_p0i8_i32(l,e,4,4,0);__ZN9btVector36setMaxERKS_(l,d);__ZN9btVector36setMinERKS_(l,b);FHEAP[i]=FHEAP[l]-FHEAP[d];FHEAP[j]=FHEAP[l+1]-FHEAP[d+1];FHEAP[k]=FHEAP[l+2]-FHEAP[d+2];FHEAP[n]=FHEAP[i];FHEAP[n+1]=FHEAP[j];FHEAP[n+2]=FHEAP[k];FHEAP[n+3]=0;FHEAP[f]=FHEAP[n]*FHEAP[c];FHEAP[g]=FHEAP[n+1]*FHEAP[c+1];FHEAP[h]=FHEAP[n+2]*FHEAP[c+2];FHEAP[m]= +FHEAP[f];FHEAP[m+1]=FHEAP[g];FHEAP[m+2]=FHEAP[h];FHEAP[m+3]=0;IHEAP[a]=Math.floor(FHEAP[m]+0.5);IHEAP[a+1]=Math.floor(FHEAP[m+1]+0.5);IHEAP[a+2]=Math.floor(FHEAP[m+2]+0.5);STACKTOP=f} +function __ZNK18btQuantizedBvhTree12getNodeBoundEiR6btAABB(a,e,d){var b=STACKTOP;STACKTOP+=14;var c,f=b+1,g=b+2,h=b+3,i=b+4,j=b+5,k=b+6,l=b+10,m=a+21,n=a+29;c=IHEAP[a+1+3]+7*e;FHEAP[b]=IHEAP[c]/FHEAP[n];FHEAP[f]=IHEAP[c+1]/FHEAP[n+1];FHEAP[g]=IHEAP[c+2]/FHEAP[n+2];FHEAP[k]=FHEAP[b];FHEAP[k+1]=FHEAP[f];FHEAP[k+2]=FHEAP[g];FHEAP[k+3]=0;FHEAP[k]+=FHEAP[m];FHEAP[k+1]+=FHEAP[m+1];FHEAP[k+2]+=FHEAP[m+2];_llvm_memcpy_p0i8_p0i8_i32(d,k,4,4,0);c=a+21;f=a+29;a=IHEAP[a+1+3]+7*e+3;FHEAP[h]=IHEAP[a]/FHEAP[f]; +FHEAP[i]=IHEAP[a+1]/FHEAP[f+1];FHEAP[j]=IHEAP[a+2]/FHEAP[f+2];FHEAP[l]=FHEAP[h];FHEAP[l+1]=FHEAP[i];FHEAP[l+2]=FHEAP[j];FHEAP[l+3]=0;FHEAP[l]+=FHEAP[c];FHEAP[l+1]+=FHEAP[c+1];FHEAP[l+2]+=FHEAP[c+2];_llvm_memcpy_p0i8_p0i8_i32(d+4,l,4,4,0);STACKTOP=b} +function __ZN20GIM_TRIANGLE_CONTACT12merge_pointsERK9btVector4fPK9btVector3i(a,e,d,b,c){var f=STACKTOP;STACKTOP+=16;var g,h,i,j;IHEAP[a+1]=0;FHEAP[a]=-1E3;j=0;g=j<c?0:1;a:for(;;)if(g==0){var k=a,l=a,m=f,n=a+1,o=a,q=a+1,p=a+1;b:for(;;){g=b+4*j;i=h=e;g=FHEAP[g]*FHEAP[i]+FHEAP[g+1]*FHEAP[i+1]+FHEAP[g+2]*FHEAP[i+2];h=g=0-(g-FHEAP[h+3])+d;for(g=g>=0?3:4;;)if(g==3){g=h;if(h>FHEAP[k])FHEAP[l]=g,IHEAP[m]=j,IHEAP[n]=1;else{if(!(g+1.1920928955078125E-7>=FHEAP[o])){g=4;continue}IHEAP[f+IHEAP[q]]=j;IHEAP[p]+= +1}g=4}else if(g==4)if(j+=1,j<c){g=2;continue b}else{g=1;continue a}}}else if(g==1){j=0;var r=a+1;g=j<IHEAP[r]?6:7;break a}a:for(;;)if(g==6)for(e=a+18;;)if(_llvm_memcpy_p0i8_p0i8_i32(e+j*4,b+4*IHEAP[f+j],4,4,0),j+=1,j<IHEAP[r])g=8;else{g=7;continue a}else if(g==7){STACKTOP=f;break}} +function __ZN19btPrimitiveTriangle25overlap_test_conservativeERKS_(a,e){var d,b,c,f,g,h,i;i=FHEAP[a+28]+FHEAP[e+28];d=a+12;d=FHEAP[e]*FHEAP[d]+FHEAP[e+1]*FHEAP[d+1]+FHEAP[e+2]*FHEAP[d+2]-FHEAP[d+3]-i;c=e+4;b=a+12;b=FHEAP[c]*FHEAP[b]+FHEAP[c+1]*FHEAP[b+1]+FHEAP[c+2]*FHEAP[b+2]-FHEAP[b+3]-i;f=e+8;c=a+12;c=FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2]-FHEAP[c+3]-i;d=d>0?0:1;a:for(;;)if(d==0){if(!(b>0)){d=1;continue a}if(c>0){d=3;break a}else d=1}else if(d==1){b=a;c=d=e+12;b=FHEAP[b]* +FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2];d=b-FHEAP[d+3]-i;c=a+4;f=b=e+12;c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2];b=c-FHEAP[b+3]-i;f=a+8;g=c=e+12;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];c=f-FHEAP[c+3]-i;d=d>0?5:6;break a}a:for(;;)if(d==3){h=0;d=4;break a}else if(d==5){if(!(b>0)){d=6;continue a}if(c>0){d=8;break a}else d=6}else if(d==6){h=1;d=4;break a}for(;;)if(d==4)return h;else d==8&&(h=0,d=4);return null} +function __ZN19btPrimitiveTriangle13clip_triangleERS_P9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=144;var c=b+64,f=b+80;__Z13bt_edge_planeRK9btVector3S1_S1_R9btVector4(a+0,a+4,a+12,c);e=__Z22bt_plane_clip_triangleRK9btVector4RK9btVector3S4_S4_PS2_(c,e,e+4,e+8,b);e==0?a=0:(__Z13bt_edge_planeRK9btVector3S1_S1_R9btVector4(a+4,a+8,a+12,c),e=__Z21bt_plane_clip_polygonRK9btVector4PK9btVector3iPS2_(c,b,e,f),e==0?a=0:(__Z13bt_edge_planeRK9btVector3S1_S1_R9btVector4(a+8,a+0,a+12,c),a=e=__Z21bt_plane_clip_polygonRK9btVector4PK9btVector3iPS2_(c, +f,e,d)));STACKTOP=b;return a} +function __Z22bt_plane_clip_triangleRK9btVector4RK9btVector3S4_S4_PS2_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=1;var g,h,i,j,k;IHEAP[f]=0;k=FHEAP[e]*FHEAP[a]+FHEAP[e+1]*FHEAP[a+1]+FHEAP[e+2]*FHEAP[a+2]-FHEAP[a+3];for(g=k>1.1920928955078125E-7?0:1;;)if(g==0)return g=k,i=d,j=h=a,i=FHEAP[i]*FHEAP[j]+FHEAP[i+1]*FHEAP[j+1]+FHEAP[i+2]*FHEAP[j+2],h=i-FHEAP[h+3],__Z29bt_plane_clip_polygon_collectRK9btVector3S1_ffPS_Ri(e,d,g,h,c,f),g=h,h=b,i=a,h=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2],h-= +FHEAP[a+3],__Z29bt_plane_clip_polygon_collectRK9btVector3S1_ffPS_Ri(d,b,g,h,c,f),g=h,__Z29bt_plane_clip_polygon_collectRK9btVector3S1_ffPS_Ri(b,e,g,k,c,f),e=IHEAP[f],STACKTOP=f,e;else g==1&&(_llvm_memcpy_p0i8_p0i8_i32(c+4*IHEAP[f],e,4,4,0),IHEAP[f]+=1,g=0);return null} +function __Z21bt_plane_clip_polygonRK9btVector4PK9btVector3iPS2_(a,e,d,b){var c=STACKTOP;STACKTOP+=1;var f,g,h,i,j,k;IHEAP[c]=0;i=FHEAP[e]*FHEAP[a]+FHEAP[e+1]*FHEAP[a+1]+FHEAP[e+2]*FHEAP[a+2]-FHEAP[a+3];f=i>1.1920928955078125E-7?0:1;a:for(;;)if(f==0){j=i;k=1;f=k<d?2:3;break a}else f==1&&(_llvm_memcpy_p0i8_p0i8_i32(b+4*IHEAP[c],e,4,4,0),IHEAP[c]+=1,f=0);for(;;)if(f==2)g=e+4*k,h=f=a,g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2],f=g-FHEAP[f+3],__Z29bt_plane_clip_polygon_collectRK9btVector3S1_ffPS_Ri(e+ +4*(k-1),e+4*k,j,f,b,c),j=f,k+=1,f=k<d?2:3;else if(f==3)return __Z29bt_plane_clip_polygon_collectRK9btVector3S1_ffPS_Ri(e+4*(d-1),e,j,i,b,c),a=IHEAP[c],STACKTOP=c,a;return null} +function __ZN19btPrimitiveTriangle35find_triangle_collision_clip_methodERS_R20GIM_TRIANGLE_CONTACT(a,e,d){var b=STACKTOP;STACKTOP+=229;var c,f,g=b+64,h=b+146,i=b+147;c=FHEAP[a+28]+FHEAP[e+28];_llvm_memcpy_p0i8_p0i8_i32(g+2,a+12,16,4,0);f=__ZN19btPrimitiveTriangle13clip_triangleERS_P9btVector3(a,e,b);if(f==0)d=0;else if(__ZN20GIM_TRIANGLE_CONTACT12merge_pointsERK9btVector4fPK9btVector3i(g,g+2,c,b,f),IHEAP[g+1]==0)d=0;else if(f=g+2,FHEAP[h]=-1,FHEAP[f]*=FHEAP[h],FHEAP[f+1]*=FHEAP[h],FHEAP[f+2]*=FHEAP[h], +_llvm_memcpy_p0i8_p0i8_i32(i+2,e+12,16,4,0),f=__ZN19btPrimitiveTriangle13clip_triangleERS_P9btVector3(e,a,b),f==0)d=0;else if(__ZN20GIM_TRIANGLE_CONTACT12merge_pointsERK9btVector4fPK9btVector3i(i,i+2,c,b,f),IHEAP[i+1]==0)d=0;else{a=FHEAP[i]<FHEAP[g];a:do{a?(c=d,e=i):(c=d,e=g);h=c;FHEAP[h]=FHEAP[e];_llvm_memcpy_p0i8_p0i8_i32(h+2,e+2,16,4,0);IHEAP[h+1]=IHEAP[e+1];f=IHEAP[h+1];c=f+-1;if(f==0)break a;for(h+=18;;)if(_llvm_memcpy_p0i8_p0i8_i32(h+c*4,e+18+c*4,4,4,0),f=c,c=f+-1,f==0)break a}while(0);d=1}STACKTOP= +b;return d}function __Z29bt_plane_clip_polygon_collectRK9btVector3S1_ffPS_Ri(a,e,d,b,c,f){var g,h;h=b>1.1920928955078125E-7;g=(h&1)!=(d>1.1920928955078125E-7&1)?0:1;a:for(;;)if(g==0)g=(0-d)/(b-d),__Z12bt_vec_blendR9btVector3RKS_S2_f(c+4*IHEAP[f],a,e,g),IHEAP[f]+=1,g=1;else if(g==1){g=h&1?2:3;break a}for(;;)if(g==2)break;else g==3&&(_llvm_memcpy_p0i8_p0i8_i32(c+4*IHEAP[f],e,4,4,0),IHEAP[f]+=1,g=2)} +function __Z12bt_vec_blendR9btVector3RKS_S2_f(a,e,d,b){var c=STACKTOP;STACKTOP+=23;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+9,o=c+10,q=c+14,p=c+15,r=c+19;FHEAP[n]=b;FHEAP[q]=1-FHEAP[n];FHEAP[k]=FHEAP[e]*FHEAP[q];FHEAP[l]=FHEAP[e+1]*FHEAP[q];FHEAP[m]=FHEAP[e+2]*FHEAP[q];FHEAP[o]=FHEAP[k];FHEAP[o+1]=FHEAP[l];FHEAP[o+2]=FHEAP[m];FHEAP[o+3]=0;FHEAP[c]=FHEAP[d]*FHEAP[n];FHEAP[f]=FHEAP[d+1]*FHEAP[n];FHEAP[g]=FHEAP[d+2]*FHEAP[n];FHEAP[p]=FHEAP[c];FHEAP[p+1]=FHEAP[f];FHEAP[p+2]=FHEAP[g];FHEAP[p+ +3]=0;FHEAP[h]=FHEAP[o]+FHEAP[p];FHEAP[i]=FHEAP[o+1]+FHEAP[p+1];FHEAP[j]=FHEAP[o+2]+FHEAP[p+2];FHEAP[r]=FHEAP[h];FHEAP[r+1]=FHEAP[i];FHEAP[r+2]=FHEAP[j];FHEAP[r+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a,r,4,4,0);STACKTOP=c} +function __Z13bt_edge_planeRK9btVector3S1_S1_R9btVector4(a,e,d,b){var c=STACKTOP;STACKTOP+=17;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n=c+12,o=c+16;FHEAP[j]=FHEAP[e]-FHEAP[a];FHEAP[k]=FHEAP[e+1]-FHEAP[a+1];FHEAP[l]=FHEAP[e+2]-FHEAP[a+2];FHEAP[n]=FHEAP[j];FHEAP[n+1]=FHEAP[k];FHEAP[n+2]=FHEAP[l];FHEAP[n+3]=0;FHEAP[c]=FHEAP[n+1]*FHEAP[d+2]-FHEAP[n+2]*FHEAP[d+1];FHEAP[f]=FHEAP[n+2]*FHEAP[d]-FHEAP[n]*FHEAP[d+2];FHEAP[g]=FHEAP[n]*FHEAP[d+1]-FHEAP[n+1]*FHEAP[d];FHEAP[m]=FHEAP[c];FHEAP[m+1]=FHEAP[f]; +FHEAP[m+2]=FHEAP[g];FHEAP[m+3]=0;a=_sqrtf(FHEAP[m]*FHEAP[m]+FHEAP[m+1]*FHEAP[m+1]+FHEAP[m+2]*FHEAP[m+2]);FHEAP[i]=a;FHEAP[h]=1/FHEAP[i];FHEAP[m]*=FHEAP[h];FHEAP[m+1]*=FHEAP[h];FHEAP[m+2]*=FHEAP[h];FHEAP[o]=FHEAP[e]*FHEAP[m]+FHEAP[e+1]*FHEAP[m+1]+FHEAP[e+2]*FHEAP[m+2];FHEAP[b]=FHEAP[m];FHEAP[b+1]=FHEAP[m+1];FHEAP[b+2]=FHEAP[m+2];FHEAP[b+3]=FHEAP[o];STACKTOP=c} +function __ZN27btGImpactCollisionAlgorithmC2ERK36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_(a,e){IHEAP[a]=__ZTV20btCollisionAlgorithm+2;IHEAP[a+1]=IHEAP[e];IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV27btGImpactCollisionAlgorithm+2;IHEAP[a+9]=0;IHEAP[a+8]=0} +function __ZN27btGImpactCollisionAlgorithmD0Ev(a){var e;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithmD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 253881";} +function __ZN27btGImpactCollisionAlgorithmD2Ev(a){var e,d;IHEAP[a]=__ZTV27btGImpactCollisionAlgorithm+2;e=IHEAP[a+9]==0?0:1;a:for(;;)if(e==0){d=a;e=IHEAP[d+8]!=0?2:3;break a}else if(e==1){e=IHEAP[a+1];var b=IHEAP[IHEAP[e]+4],c=IHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[b](e,c)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}if(__THREW__){e=5;break a}e=IHEAP[a+9]=0}for(;;)if(e==5)throw d=e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0, +0),IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2,IHEAP[a]=__ZTV20btCollisionAlgorithm+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 254011";else if(e==2){e=IHEAP[d+8];b=IHEAP[IHEAP[e]];try{__THREW__=!1,FUNCTION_TABLE[b](e)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}if(__THREW__)e=5;else{e=IHEAP[d+1];b=IHEAP[IHEAP[e]+15];c=IHEAP[d+8];try{__THREW__=!1,FUNCTION_TABLE[b](e,c)}catch(h){if(ABORT)throw h;__THREW__= +!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}__THREW__?e=5:(IHEAP[d+8]=0,e=3)}}else if(e==3){IHEAP[a+12]=-1;IHEAP[a+13]=-1;IHEAP[a+14]=-1;IHEAP[a+15]=-1;IHEAP[a]=__ZTV30btActivatingCollisionAlgorithm+2;IHEAP[a]=__ZTV20btCollisionAlgorithm+2;break}} +function __ZN27btGImpactCollisionAlgorithm15addContactPointEP17btCollisionObjectS1_RK9btVector3S4_f(a,e,d,b,c,f){var g,h,i;g=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[g]+2]](g,IHEAP[a+13],IHEAP[a+12]);g=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,IHEAP[a+15],IHEAP[a+14]);for(g=IHEAP[a+9]==0?0:1;;)if(g==0){g=e;i=d;h=a;var j=IHEAP[h+1];g=FUNCTION_TABLE[IHEAP[IHEAP[j]+3]](j,g,i);IHEAP[h+9]=g;g=1}else if(g==1){e=IHEAP[a+10];d=a;d=IHEAP[d+9];IHEAP[e+4]=d;a=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a, +c,b,f);break}} +function __ZN27btGImpactCollisionAlgorithm24shape_vs_shape_collisionEP17btCollisionObjectS1_P16btCollisionShapeS3_(a,e,d,b,c){var f,g;f=IHEAP[e+48];g=IHEAP[d+48];IHEAP[e+48]=b;IHEAP[d+48]=c;b=__ZN27btGImpactCollisionAlgorithm12newAlgorithmEP17btCollisionObjectS1_(a,e,d);c=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,IHEAP[a+13],IHEAP[a+12]);c=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[c]+3]](c,IHEAP[a+15],IHEAP[a+14]);FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,e,d,IHEAP[a+11],IHEAP[a+10]);FUNCTION_TABLE[IHEAP[IHEAP[b]]](b);a= +IHEAP[a+1];FUNCTION_TABLE[IHEAP[IHEAP[a]+15]](a,b);IHEAP[e+48]=f;IHEAP[d+48]=g}function __ZN27btGImpactCollisionAlgorithm12newAlgorithmEP17btCollisionObjectS1_(a,e,d){var b,c,f;for(b=IHEAP[a+9]==0?0:1;;)if(b==0){b=e;f=d;c=a;var g=IHEAP[c+1];b=FUNCTION_TABLE[IHEAP[IHEAP[g]+3]](g,b,f);IHEAP[c+9]=b;b=1}else if(b==1)return b=IHEAP[a+10],c=a,c=IHEAP[c+9],IHEAP[b+4]=c,b=IHEAP[a+1],c=IHEAP[IHEAP[b]+2],a=FUNCTION_TABLE[c](b,e,d,IHEAP[a+9]);return null} +function __ZN27btGImpactCollisionAlgorithm26convex_vs_convex_collisionEP17btCollisionObjectS1_P16btCollisionShapeS3_(a,e,d,b,c){var f,g;g=IHEAP[e+48];f=IHEAP[d+48];IHEAP[e+48]=b;IHEAP[d+48]=c;b=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,IHEAP[a+13],IHEAP[a+12]);b=IHEAP[a+10];FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,IHEAP[a+15],IHEAP[a+14]);for(b=IHEAP[a+8]!=0?0:1;;)if(b==0){b=IHEAP[a+8];FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,e,d,IHEAP[a+11],IHEAP[a+10]);a=g;IHEAP[e+48]=a;IHEAP[d+48]=f;break}else b== +1&&(b=__ZN27btGImpactCollisionAlgorithm12newAlgorithmEP17btCollisionObjectS1_(a,e,d),IHEAP[a+8]=b,b=0)} +function __ZN27btGImpactCollisionAlgorithm29gimpact_vs_gimpact_find_pairsERK11btTransformS2_P23btGImpactShapeInterfaceS4_R9btPairSet(a,e,d,b,c,f){a=STACKTOP;STACKTOP+=18;var g,h,i,j,k,l=a+2,m=a+10,n;h=IHEAP[b+29]==0;a:do{if(h)g=0;else if(h=c,h+=29,IHEAP[h]==0)g=0;else{h=b;var o=h+29,q=e;h=c;__ZN21btGImpactQuantizedBvh14find_collisionEPS_RK11btTransformS0_S3_R9btPairSet(o,q,h+29,d,f);g=1}break a}while(0);a:for(;;)if(g==0){h=b;o=FUNCTION_TABLE[IHEAP[IHEAP[h]+21]](h);h=o+-1;if(o==0){g=1;continue a}var o= +l,q=l+4,p=m,r=m+4;b:for(;;){n=b;FUNCTION_TABLE[IHEAP[IHEAP[n]+29]](n,h,e,o,q);n=c;g=FUNCTION_TABLE[IHEAP[IHEAP[n]+21]](n);n=g+-1;g=g!=0?4:5;c:for(;;)if(g==4){g=c;FUNCTION_TABLE[IHEAP[IHEAP[g]+29]](g,h,d,p,r);for(g=__ZNK6btAABB13has_collisionERKS_(m,l)?6:7;;)if(g==6){i=h;j=n;g=f;k=i;var s=j;i=a;j=k;k=s;IHEAP[i]=j;IHEAP[i+1]=k;__ZN20btAlignedObjectArrayI8GIM_PAIRE9push_backERKS0_(g,a);g=7}else if(g==7){g=n;n=g+-1;g=g!=0?4:5;continue c}}else if(g==5)if(n=h,h=n+-1,n!=0){g=3;continue b}else{g=1;continue a}}}else if(g== +1){STACKTOP=a;break}} +function __ZN27btGImpactCollisionAlgorithm27gimpact_vs_shape_find_pairsERK11btTransformS2_P23btGImpactShapeInterfaceP16btCollisionShapeR20btAlignedObjectArrayIiE(a,e,d,b,c,f){a=STACKTOP;STACKTOP+=37;var g,h=null,i,j,k,l,m,n=a+4,o=a+12,q=a+28,p=a+36,r=IHEAP[b+29]==0;a:do if(r){i=c;FUNCTION_TABLE[IHEAP[IHEAP[i]+2]](i,d,n,n+4);i=b;i=FUNCTION_TABLE[IHEAP[IHEAP[i]+21]](i);IHEAP[p]=i+-1;if(i==0)break a;i=q;l=q+4;b:for(;;){k=b;FUNCTION_TABLE[IHEAP[IHEAP[k]+29]](k,IHEAP[p],e,i,l);g=__ZNK6btAABB13has_collisionERKS_(n,q)? +4:5;c:for(;;)if(g==4){j=f;k=p;g=j;h=g=IHEAP[g+1];g=j;g=h==IHEAP[g+2]?6:7;d:for(;;)if(g==6){g=j;m=IHEAP[g+1];m!=0?(h=6,g=8):(h=6,g=9);for(;;)if(g==8){var s=m*2,h=8;g=9}else if(g==9){__ZN20btAlignedObjectArrayIiE7reserveEi(j,h==8?s:1);g=7;continue d}}else if(g==7){var u=IHEAP[j+3]+IHEAP[j+1];g=u==0?10:11;break d}for(;;)if(g==10){IHEAP[j+1]+=1;g=5;continue c}else g==11&&(IHEAP[u]=IHEAP[k],g=10)}else if(g==5)if(k=IHEAP[p],IHEAP[p]=k+-1,k!=0)continue b;else break a}}else __ZNK11btTransform7inverseEv(o, +e),i=d,l=o,k=l+12,__ZmlRK11btMatrix3x3RK9btVector3(a,l,i+12),j=k,k=a,FHEAP[j]+=FHEAP[k],FHEAP[j+1]+=FHEAP[k+1],FHEAP[j+2]+=FHEAP[k+2],__ZN11btMatrix3x3mLERKS_(l,i),i=c,FUNCTION_TABLE[IHEAP[IHEAP[i]+2]](i,o,n,n+4),i=b,__ZNK21btGImpactQuantizedBvh8boxQueryERK6btAABBR20btAlignedObjectArrayIiE(i+29,n,f);while(0);STACKTOP=a}function __ZN17btTriangleShapeExD1Ev(a){IHEAP[a]=__ZTV17btTriangleShapeEx+2;IHEAP[a]=__ZTV15btTriangleShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN27btGImpactCollisionAlgorithm21collide_sat_trianglesEP17btCollisionObjectS1_P22btGImpactMeshShapePartS3_PKii(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=198;var i,j,k=h+4,l=h+8,m=h+12,n=h+16,o=h+20,q,p,r=h+24,s=h+40,u=h+56,v=h+86,y=h+116;p=e+1;_llvm_memcpy_p0i8_p0i8_i32(r,p,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+4,p+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+8,p+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+12,p+12,4,4,0);p=d+1;_llvm_memcpy_p0i8_p0i8_i32(s,p,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+4,p+4,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(s+8,p+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+12,p+12,4,4,0);FHEAP[u+28]=0.009999999776482582;FHEAP[v+28]=0.009999999776482582;FUNCTION_TABLE[IHEAP[IHEAP[b]+27]](b);FUNCTION_TABLE[IHEAP[IHEAP[c]+27]](c);p=g;g=p+-1;i=p!=0?0:1;a:for(;;)if(i==0){p=a+12;var x=a+14,z=a+12,B=a+14,C=m,A=n,w=o,D=h,E=k,F=l,G=y+1,J=y+18,H=y+2,M=y;b:for(;;){IHEAP[p]=IHEAP[f];IHEAP[x]=IHEAP[f+1];f+=2;j=IHEAP[z];q=b;i=u;q=FUNCTION_TABLE[IHEAP[IHEAP[q]+20]](q);FUNCTION_TABLE[IHEAP[IHEAP[q]+5]](q,j,i); +j=IHEAP[B];q=c;i=v;q=FUNCTION_TABLE[IHEAP[IHEAP[q]+20]](q);FUNCTION_TABLE[IHEAP[IHEAP[q]+5]](q,j,i);i=u;j=r;q=i;__ZNK11btTransformclERK9btVector3(m,j,i);_llvm_memcpy_p0i8_p0i8_i32(q,C,4,4,0);q=i+4;__ZNK11btTransformclERK9btVector3(n,j,i+4);_llvm_memcpy_p0i8_p0i8_i32(q,A,4,4,0);q=i+8;__ZNK11btTransformclERK9btVector3(o,j,i+8);_llvm_memcpy_p0i8_p0i8_i32(q,w,4,4,0);i=v;j=s;q=i;__ZNK11btTransformclERK9btVector3(h,j,i);_llvm_memcpy_p0i8_p0i8_i32(q,D,4,4,0);q=i+4;__ZNK11btTransformclERK9btVector3(k,j,i+ +4);_llvm_memcpy_p0i8_p0i8_i32(q,E,4,4,0);q=i+8;__ZNK11btTransformclERK9btVector3(l,j,i+8);_llvm_memcpy_p0i8_p0i8_i32(q,F,4,4,0);__ZN19btPrimitiveTriangle13buildTriPlaneEv(u);__ZN19btPrimitiveTriangle13buildTriPlaneEv(v);i=__ZN19btPrimitiveTriangle25overlap_test_conservativeERKS_(u,v)?3:4;c:for(;;)if(i==3){if(!__ZN19btPrimitiveTriangle35find_triangle_collision_clip_methodERS_R20GIM_TRIANGLE_CONTACT(u,v,y)){i=4;continue c}q=IHEAP[G];j=q+-1;if(q==0){i=4;continue c}for(;;)if(__ZN27btGImpactCollisionAlgorithm15addContactPointEP17btCollisionObjectS1_RK9btVector3S4_f(a, +e,d,J+j*4,H,0-FHEAP[M]),i=j,j=i+-1,i!=0)i=6;else{i=4;continue c}}else if(i==4)if(j=g,g=j+-1,j!=0){i=2;continue b}else{i=1;continue a}}}else if(i==1){a=b;FUNCTION_TABLE[IHEAP[IHEAP[a]+28]](a);FUNCTION_TABLE[IHEAP[IHEAP[c]+28]](c);STACKTOP=h;break}} +function __ZN19btPrimitiveTriangle13buildTriPlaneEv(a){var e=STACKTOP;STACKTOP+=24;var d=e+1,b=e+2,c,f=e+3,g=e+4,h=e+5,i=e+6,j=e+7,k=e+8,l=e+9,m=e+10,n=e+11,o=e+15,q=e+19,p=e+23;c=a+4;FHEAP[k]=FHEAP[c]-FHEAP[a];FHEAP[l]=FHEAP[c+1]-FHEAP[a+1];FHEAP[m]=FHEAP[c+2]-FHEAP[a+2];FHEAP[o]=FHEAP[k];FHEAP[o+1]=FHEAP[l];FHEAP[o+2]=FHEAP[m];FHEAP[o+3]=0;c=a+8;FHEAP[f]=FHEAP[c]-FHEAP[a];FHEAP[g]=FHEAP[c+1]-FHEAP[a+1];FHEAP[h]=FHEAP[c+2]-FHEAP[a+2];FHEAP[q]=FHEAP[f];FHEAP[q+1]=FHEAP[g];FHEAP[q+2]=FHEAP[h];FHEAP[q+ +3]=0;FHEAP[e]=FHEAP[o+1]*FHEAP[q+2]-FHEAP[o+2]*FHEAP[q+1];FHEAP[d]=FHEAP[o+2]*FHEAP[q]-FHEAP[o]*FHEAP[q+2];FHEAP[b]=FHEAP[o]*FHEAP[q+1]-FHEAP[o+1]*FHEAP[q];FHEAP[n]=FHEAP[e];FHEAP[n+1]=FHEAP[d];FHEAP[n+2]=FHEAP[b];FHEAP[n+3]=0;d=_sqrtf(FHEAP[n]*FHEAP[n]+FHEAP[n+1]*FHEAP[n+1]+FHEAP[n+2]*FHEAP[n+2]);FHEAP[j]=d;FHEAP[i]=1/FHEAP[j];FHEAP[n]*=FHEAP[i];FHEAP[n+1]*=FHEAP[i];FHEAP[n+2]*=FHEAP[i];i=a+12;FHEAP[p]=FHEAP[a]*FHEAP[n]+FHEAP[a+1]*FHEAP[n+1]+FHEAP[a+2]*FHEAP[n+2];FHEAP[i]=FHEAP[n];FHEAP[i+1]=FHEAP[n+ +1];FHEAP[i+2]=FHEAP[n+2];FHEAP[i+3]=FHEAP[p];STACKTOP=e} +function __ZN27btGImpactCollisionAlgorithm18gimpact_vs_gimpactEP17btCollisionObjectS1_P23btGImpactShapeInterfaceS3_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=716;var g,h=null,i,j,k,l,m,n,o=f+12,q,p=f+16,r=f+28,s,u,v,y,x,z,B=f+32,C=f+48,A=f+64,w,D=f+84,E=f+368,F=f+652,G=f+668,J=f+684,H=f+700,M=FUNCTION_TABLE[IHEAP[IHEAP[b]+19]](b)==2;a:do if(M){s=q=b;s+=145;IHEAP[a+13]=IHEAP[s+1];s=a+13;h=IHEAP[s];IHEAP[s]=h+-1;if(h==0)break a;for(h=a+13;;)if(y=e,v=d,x=IHEAP[h],u=q,u+=145,__ZN27btGImpactCollisionAlgorithm18gimpact_vs_gimpactEP17btCollisionObjectS1_P23btGImpactShapeInterfaceS3_(a, +y,v,IHEAP[IHEAP[u+3]+x],c),y=IHEAP[s],IHEAP[s]=y+-1,y==0)break a}else if(q=c,FUNCTION_TABLE[IHEAP[IHEAP[q]+19]](q)==2){s=q=c;s+=145;IHEAP[a+15]=IHEAP[s+1];s=a+15;h=IHEAP[s];IHEAP[s]=h+-1;if(h==0)break a;for(h=a+15;;)if(y=e,v=d,u=b,z=IHEAP[h],x=q,x+=145,__ZN27btGImpactCollisionAlgorithm18gimpact_vs_gimpactEP17btCollisionObjectS1_P23btGImpactShapeInterfaceS3_(a,y,v,u,IHEAP[IHEAP[x+3]+z]),y=IHEAP[s],IHEAP[s]=y+-1,y==0)break a}else{q=e;s=q+1;q=B;h=s;s=q;y=q=h;h=s;_llvm_memcpy_p0i8_p0i8_i32(h,y,4,4,0); +_llvm_memcpy_p0i8_p0i8_i32(h+4,y+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,y+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+12,q+12,4,4,0);q=d;s=q+1;q=C;h=s;s=q;y=q=h;h=s;_llvm_memcpy_p0i8_p0i8_i32(h,y,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,y+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,y+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(s+12,q+12,4,4,0);s=q=A;IHEAP[s+4]=1;IHEAP[s+3]=0;IHEAP[s+1]=0;IHEAP[s+2]=0;__ZN20btAlignedObjectArrayI8GIM_PAIRE7reserveEi(q,32);q=b;s=c;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm29gimpact_vs_gimpact_find_pairsERK11btTransformS2_P23btGImpactShapeInterfaceS4_R9btPairSet(a, +B,C,q,s,A)}catch(K){if(ABORT)throw K;__THREW__=!0;print("Exception: "+K+" : "+K.stack+", currently at: "+Error().stack)}g=__THREW__?27:26;b:for(;;)if(g==26){q=A;if(IHEAP[q+1]==0){g=5;break b}q=b;s=IHEAP[IHEAP[q]+19];var N;try{__THREW__=!1,N=FUNCTION_TABLE[s](q)}catch(R){if(ABORT)throw R;__THREW__=!0;print("Exception: "+R+" : "+R.stack+", currently at: "+Error().stack);N=null}if(__THREW__){g=27;continue b}g=N==1?9:10;c:for(;;)if(g==9){q=c;s=IHEAP[IHEAP[q]+19];var O;try{__THREW__=!1,O=FUNCTION_TABLE[s](q)}catch(Q){if(ABORT)throw Q; +__THREW__=!0;print("Exception: "+Q+" : "+Q.stack+", currently at: "+Error().stack);O=null}if(__THREW__){g=27;continue b}if(O==1){g=11;break c}else g=10}else if(g==10){q=b;s=IHEAP[IHEAP[q]+27];try{__THREW__=!1,FUNCTION_TABLE[s](q)}catch(I){if(ABORT)throw I;__THREW__=!0;print("Exception: "+I+" : "+I.stack+", currently at: "+Error().stack)}if(__THREW__){g=27;continue b}else{g=29;break c}}if(g==11){h=b;y=c;q=e;s=d;v=A;v=IHEAP[v+3]+0;u=A;u=IHEAP[u+1];try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm21collide_sat_trianglesEP17btCollisionObjectS1_P22btGImpactMeshShapePartS3_PKii(a, +q,s,h,y,v,u)}catch(L){if(ABORT)throw L;__THREW__=!0;print("Exception: "+L+" : "+L.stack+", currently at: "+Error().stack)}if(__THREW__)g=27;else{g=28;break b}}else if(g==29){q=c;s=IHEAP[IHEAP[q]+27];try{__THREW__=!1,FUNCTION_TABLE[s](q)}catch(P){if(ABORT)throw P;__THREW__=!0;print("Exception: "+P+" : "+P.stack+", currently at: "+Error().stack)}if(__THREW__){g=27;continue b}s=b;q=D;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverC2EP23btGImpactShapeInterface(q,s)}catch(S){if(ABORT)throw S;__THREW__=!0;print("Exception: "+ +S+" : "+S.stack+", currently at: "+Error().stack)}if(__THREW__){g=27;continue b}s=c;q=E;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverC2EP23btGImpactShapeInterface(q,s)}catch(T){if(ABORT)throw T;__THREW__=!0;print("Exception: "+T+" : "+T.stack+", currently at: "+Error().stack)}if(__THREW__){g=33;break b}q=b;s=IHEAP[IHEAP[q]+22];var U;try{__THREW__=!1,U=FUNCTION_TABLE[s](q)}catch(W){if(ABORT)throw W;__THREW__=!0;print("Exception: "+W+" : "+W.stack+", currently at: "+Error().stack);U=null}if(__THREW__){g= +35;break b}q=U;s=c;var h=IHEAP[IHEAP[s]+22],Z;try{__THREW__=!1,Z=FUNCTION_TABLE[h](s)}catch(ca){if(ABORT)throw ca;__THREW__=!0;print("Exception: "+ca+" : "+ca.stack+", currently at: "+Error().stack);Z=null}if(__THREW__){g=35;break b}s=Z;h=A;v=IHEAP[h+1];u=A;x=a+12;z=a+14;var Y=a+12,ea=a+14,ha=a+12,ba=a+14,h=12;c:for(;;){k=h==14?ja:v;y=k+-1;if(k==0)break c;j=y;k=u;k=IHEAP[k+3]+2*j;IHEAP[x]=IHEAP[k];IHEAP[z]=IHEAP[k+1];k=IHEAP[Y];j=D;j=IHEAP[j+283];g=IHEAP[IHEAP[j]];var V;try{__THREW__=!1,V=FUNCTION_TABLE[g](j, +k)}catch(aa){if(ABORT)throw aa;__THREW__=!0;print("Exception: "+aa+" : "+aa.stack+", currently at: "+Error().stack);V=null}if(__THREW__){g=35;break b}k=V;j=IHEAP[ea];g=E;g=IHEAP[g+283];i=IHEAP[IHEAP[g]];var X;try{__THREW__=!1,X=FUNCTION_TABLE[i](g,j)}catch(ka){if(ABORT)throw ka;__THREW__=!0;print("Exception: "+ka+" : "+ka.stack+", currently at: "+Error().stack);X=null}if(__THREW__){g=35;break b}j=X;g=q&1?17:18;d:for(;;)if(g==17){g=e;i=b;l=IHEAP[IHEAP[i]+32];m=IHEAP[ha];try{__THREW__=!1,FUNCTION_TABLE[l](G, +i,m)}catch(da){if(ABORT)throw da;__THREW__=!0;print("Exception: "+da+" : "+da.stack+", currently at: "+Error().stack)}if(__THREW__){g=35;break b}l=B;i=G;__ZmlRK11btMatrix3x3S1_(p,l,i);__ZNK11btTransformclERK9btVector3(r,l,i+12);i=F;m=p;n=l=r;l=i;i=n;n=m;m=l;_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+4,n+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,i,4,4,0);l=i=F;i=g+1;m=g=l;l=i;_llvm_memcpy_p0i8_p0i8_i32(l,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+ +4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,g+12,4,4,0);g=18}else if(g==18){g=s&1?20:21;break d}d:for(;;)if(g==20){g=d;i=c;l=IHEAP[IHEAP[i]+32];m=IHEAP[ba];try{__THREW__=!1,FUNCTION_TABLE[l](H,i,m)}catch(fa){if(ABORT)throw fa;__THREW__=!0;print("Exception: "+fa+" : "+fa.stack+", currently at: "+Error().stack)}if(__THREW__){g=35;break b}l=C;i=H;__ZmlRK11btMatrix3x3S1_(f,l,i);__ZNK11btTransformclERK9btVector3(o,l,i+12);i=J;m=f;n=l=o;l=i;i=n;n=m;m=l;_llvm_memcpy_p0i8_p0i8_i32(m, +n,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+4,n+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,i,4,4,0);l=i=J;i=g+1;m=g=l;l=i;_llvm_memcpy_p0i8_p0i8_i32(l,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,g+12,4,4,0);g=21}else if(g==21){g=e;i=d;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm26convex_vs_convex_collisionEP17btCollisionObjectS1_P16btCollisionShapeS3_(a,g,i,k,j)}catch(ga){if(ABORT)throw ga; +__THREW__=!0;print("Exception: "+ga+" : "+ga.stack+", currently at: "+Error().stack)}if(__THREW__){g=35;break b}else break d}g=q&1?22:23;d:for(;;)if(g==22)k=e,g=j=B,j=k+1,i=k=g,g=j,_llvm_memcpy_p0i8_p0i8_i32(g,i,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+4,i+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+8,i+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+12,k+12,4,4,0),g=23;else if(g==23){g=s&1?24:14;break d}for(;;)if(g==24)k=d,g=j=C,j=k+1,i=k=g,g=j,_llvm_memcpy_p0i8_p0i8_i32(g,i,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+4,i+4, +4,4,0),_llvm_memcpy_p0i8_p0i8_i32(g+8,i+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+12,k+12,4,4,0),g=14;else if(g==14){var ja=y,h=14;continue c}}q=b;s=IHEAP[IHEAP[q]+28];try{__THREW__=!1,FUNCTION_TABLE[s](q)}catch(la){if(ABORT)throw la;__THREW__=!0;print("Exception: "+la+" : "+la.stack+", currently at: "+Error().stack)}if(__THREW__){g=35;break b}q=c;s=IHEAP[IHEAP[q]+28];try{__THREW__=!1,FUNCTION_TABLE[s](q)}catch(qa){if(ABORT)throw qa;__THREW__=!0;print("Exception: "+qa+" : "+qa.stack+", currently at: "+ +Error().stack)}if(__THREW__){g=35;break b}q=E;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverD2Ev(q)}catch(pa){if(ABORT)throw pa;__THREW__=!0;print("Exception: "+pa+" : "+pa.stack+", currently at: "+Error().stack)}if(__THREW__){g=33;break b}q=D;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverD2Ev(q)}catch(wa){if(ABORT)throw wa;__THREW__=!0;print("Exception: "+wa+" : "+wa.stack+", currently at: "+Error().stack)}if(__THREW__)g=27;else{g=42;break b}}}else if(g==27){w=q=_llvm_eh_exception();_llvm_eh_selector(q,___gxx_personality_v0, +0);g=8;break b}for(;;){if(g==5){g=7;break}else if(g==28){g=7;break}else if(g==8)throw a=A,__ZN20btAlignedObjectArrayI8GIM_PAIRE5clearEv(a),__Unwind_Resume_or_Rethrow(w),"Reached an unreachable! Original .ll line: 257155";else if(g==33)w=q=_llvm_eh_exception(),_llvm_eh_selector(q,___gxx_personality_v0,0);else if(g==35){w=q=_llvm_eh_exception();_llvm_eh_selector(q,___gxx_personality_v0,0);q=E;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverD2Ev(q)}catch(ua){if(ABORT)throw ua;__THREW__=!0;print("Exception: "+ +ua+" : "+ua.stack+", currently at: "+Error().stack)}if(__THREW__){g=36;break}}else if(g==42){g=7;break}q=D;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverD2Ev(q)}catch(na){if(ABORT)throw na;__THREW__=!0;print("Exception: "+na+" : "+na.stack+", currently at: "+Error().stack)}if(__THREW__){g=36;break}else g=8}if(g==7)q=A,__ZN20btAlignedObjectArrayI8GIM_PAIRE5clearEv(q);else if(g==36)throw w=_llvm_eh_exception(),_llvm_eh_selector(w,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 257161"; +}while(0);STACKTOP=f} +function __ZN27btGImpactCollisionAlgorithm16gimpact_vs_shapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP16btCollisionShapeb(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=369;var h,i=null,j,k,l,m,n,o,q=g+12,p,r,s,u,v,y,x=g+16,z=g+32,B=g+48,C,A=g+53,w=g+337,D=g+353,E=FUNCTION_TABLE[IHEAP[IHEAP[b]+19]](b)==2;a:do if(E){p=b;i=a+15;r=a+13;i=f&1?i:r;r=p;r+=145;IHEAP[i]=IHEAP[r+1];r=i;s=IHEAP[r];IHEAP[r]=s+-1;if(s==0)break a;for(;;)if(r=e,s=d,y=IHEAP[i],v=p,v+=145,__ZN27btGImpactCollisionAlgorithm16gimpact_vs_shapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP16btCollisionShapeb(a,r, +s,IHEAP[IHEAP[v+3]+y],c,f&1),r=i,s=IHEAP[r],IHEAP[r]=s+-1,s==0)break a}else{h=FUNCTION_TABLE[IHEAP[IHEAP[b]+19]](b)==1?2:3;b:for(;;)if(h==2)if(p=c,IHEAP[p+1]==28){h=4;break b}else h=3;else if(h==3){u=p=u=c;h=IHEAP[p+1]==31?6:7;break b}if(h==4)p=b,i=c,__ZN27btGImpactCollisionAlgorithm37gimpacttrimeshpart_vs_plane_collisionEP17btCollisionObjectS1_P22btGImpactMeshShapePartP18btStaticPlaneShapeb(a,e,d,p,i,f&1);else if(h==6)p=u,__ZN27btGImpactCollisionAlgorithm24gimpact_vs_compoundshapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP15btCompoundShapeb(a, +e,d,b,p,f&1);else if(h==7)if(p=u,p=IHEAP[p+1],p>20&p<30)p=c,__ZN27btGImpactCollisionAlgorithm18gimpact_vs_concaveEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP14btConcaveShapeb(a,e,d,b,p,f&1);else{p=e;i=p+1;p=x;r=i;i=p;s=p=r;r=i;_llvm_memcpy_p0i8_p0i8_i32(r,s,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+4,s+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+8,s+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,p+12,4,4,0);p=d;i=p+1;p=z;r=i;i=p;s=p=r;r=i;_llvm_memcpy_p0i8_p0i8_i32(r,s,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+4, +s+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+8,s+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,p+12,4,4,0);p=B;IHEAP[p+4]=1;IHEAP[p+3]=0;IHEAP[p+1]=0;IHEAP[p+2]=0;p=b;i=c;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm27gimpact_vs_shape_find_pairsERK11btTransformS2_P23btGImpactShapeInterfaceP16btCollisionShapeR20btAlignedObjectArrayIiE(a,x,z,p,i,B)}catch(F){if(ABORT)throw F;__THREW__=!0;print("Exception: "+F+" : "+F.stack+", currently at: "+Error().stack)}h=__THREW__?24:23;b:for(;;)if(h==23){p=B;if(IHEAP[p+ +1]==0){h=8;break b}p=b;i=IHEAP[IHEAP[p]+27];try{__THREW__=!1,FUNCTION_TABLE[i](p)}catch(G){if(ABORT)throw G;__THREW__=!0;print("Exception: "+G+" : "+G.stack+", currently at: "+Error().stack)}if(__THREW__){h=24;continue b}i=b;p=A;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverC2EP23btGImpactShapeInterface(p,i)}catch(J){if(ABORT)throw J;__THREW__=!0;print("Exception: "+J+" : "+J.stack+", currently at: "+Error().stack)}if(__THREW__){h=24;continue b}p=b;var i=IHEAP[IHEAP[p]+22],H;try{__THREW__=!1,H=FUNCTION_TABLE[i](p)}catch(M){if(ABORT)throw M; +__THREW__=!0;print("Exception: "+M+" : "+M.stack+", currently at: "+Error().stack);H=null}if(__THREW__){h=29;break b}p=H;i=B;s=IHEAP[i+1];v=a+14;y=a+12;i=12;c:for(;;){l=i==14?I:s;r=l+-1;if(l==0)break c;k=r;l=B;k=l=IHEAP[IHEAP[l+3]+k];f&1?IHEAP[v]=k:IHEAP[y]=k;k=l;h=A;h=IHEAP[h+283];j=IHEAP[IHEAP[h]];var K;try{__THREW__=!1,K=FUNCTION_TABLE[j](h,k)}catch(N){if(ABORT)throw N;__THREW__=!0;print("Exception: "+N+" : "+N.stack+", currently at: "+Error().stack);K=null}if(__THREW__){h=29;break b}k=K;h=p&1? +18:19;d:for(;;)if(h==18){h=e;j=b;m=IHEAP[IHEAP[j]+32];n=l;try{__THREW__=!1,FUNCTION_TABLE[m](D,j,n)}catch(R){if(ABORT)throw R;__THREW__=!0;print("Exception: "+R+" : "+R.stack+", currently at: "+Error().stack)}if(__THREW__){h=29;break b}m=x;j=D;__ZmlRK11btMatrix3x3S1_(g,m,j);__ZNK11btTransformclERK9btVector3(q,m,j+12);j=w;n=g;o=m=q;m=j;j=o;o=n;n=m;_llvm_memcpy_p0i8_p0i8_i32(n,o,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+4,o+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+8,o+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+12, +j,4,4,0);m=j=w;j=h+1;n=h=m;m=j;_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+4,n+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,h+12,4,4,0);h=19}else if(h==19){h=f&1?20:21;break d}if(h==20){l=d;h=e;j=c;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm24shape_vs_shape_collisionEP17btCollisionObjectS1_P16btCollisionShapeS3_(a,l,h,j,k)}catch(O){if(ABORT)throw O;__THREW__=!0;print("Exception: "+O+" : "+O.stack+", currently at: "+Error().stack)}if(__THREW__){h= +29;break b}}else if(h==21){l=e;h=d;j=c;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm24shape_vs_shape_collisionEP17btCollisionObjectS1_P16btCollisionShapeS3_(a,l,h,k,j)}catch(Q){if(ABORT)throw Q;__THREW__=!0;print("Exception: "+Q+" : "+Q.stack+", currently at: "+Error().stack)}if(__THREW__){h=29;break b}}for(h=p&1?22:14;;)if(h==22)l=e,h=k=x,k=l+1,j=l=h,h=k,_llvm_memcpy_p0i8_p0i8_i32(h,j,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+4,j+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+8,j+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+ +12,l+12,4,4,0),h=14;else if(h==14){var I=r,i=14;continue c}}p=b;i=IHEAP[IHEAP[p]+28];try{__THREW__=!1,FUNCTION_TABLE[i](p)}catch(L){if(ABORT)throw L;__THREW__=!0;print("Exception: "+L+" : "+L.stack+", currently at: "+Error().stack)}if(__THREW__){h=29;break b}p=A;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverD2Ev(p)}catch(P){if(ABORT)throw P;__THREW__=!0;print("Exception: "+P+" : "+P.stack+", currently at: "+Error().stack)}if(__THREW__)h=24;else{h=32;break b}}else if(h==24){C=p=_llvm_eh_exception();_llvm_eh_selector(p, +___gxx_personality_v0,0);h=11;break b}for(;;)if(h==8){h=10;break}else if(h==29){C=p=_llvm_eh_exception();_llvm_eh_selector(p,___gxx_personality_v0,0);p=A;try{__THREW__=!1,__ZN18GIM_ShapeRetrieverD2Ev(p)}catch(S){if(ABORT)throw S;__THREW__=!0;print("Exception: "+S+" : "+S.stack+", currently at: "+Error().stack)}if(__THREW__){h=27;break}else h=11}else if(h==32){h=10;break}else if(h==11)throw a=B,__ZN20btAlignedObjectArrayIiE5clearEv(a),__Unwind_Resume_or_Rethrow(C),"Reached an unreachable! Original .ll line: 257980"; +if(h==10)p=B,__ZN20btAlignedObjectArrayIiE5clearEv(p);else if(h==27)throw C=_llvm_eh_exception(),_llvm_eh_selector(C,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 257986";}}while(0);STACKTOP=g} +function __ZN27btGImpactCollisionAlgorithm37gimpacttrimeshpart_vs_plane_collisionEP17btCollisionObjectS1_P22btGImpactMeshShapePartP18btStaticPlaneShapeb(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=73;var h,i=null,j,k,l,m,n=g+1,o=g+2,q,p,r,s,u=g+3,v=g+4,y,x=g+5;r=g+21;var z=g+37;s=g+53;var B=g+61,C=g+65,A=g+69;y=e+1;_llvm_memcpy_p0i8_p0i8_i32(x,y,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+4,y+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+8,y+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(x+12,y+12,4,4,0);y=d+1;_llvm_memcpy_p0i8_p0i8_i32(r, +y,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+4,y+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+8,y+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(r+12,y+12,4,4,0);__ZN12btPlaneShape30get_plane_equation_transformedERK11btTransformR9btVector4(c,r,z);FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,x,s,s+4);r=FUNCTION_TABLE[IHEAP[IHEAP[c]+11]](c);FHEAP[s]-=r;FHEAP[s+1]-=r;FHEAP[s+2]-=r;FHEAP[s+4]+=r;FHEAP[s+4+1]+=r;FHEAP[s+4+2]+=r;__ZNK6btAABB19projection_intervalERK9btVector3RfS3_(s,z,u,v);v=FHEAP[z+3]>FHEAP[v]+9.999999974752427E-7;a:do if(!v&& +(s=z,FHEAP[s+3]+9.999999974752427E-7>=FHEAP[u])){s=b;FUNCTION_TABLE[IHEAP[IHEAP[s]+27]](s);s=b;s=FUNCTION_TABLE[IHEAP[IHEAP[s]+11]](s);r=c;r=FUNCTION_TABLE[IHEAP[IHEAP[r]+11]](r);s+=r;r=b;r+=144;var w=IHEAP[r+13];r=w+-1;y=b;w!=0?(i=1,h=2):(i=1,h=3);b:for(;;)if(h==2){var w=B,D=C,E=z,F=z,G=z,J=z,i=2;c:for(;;){h=r;q=i==2?y:H;p=B;__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(q+144,h,p);__ZNK11btTransformclERK9btVector3(C,x,B);_llvm_memcpy_p0i8_p0i8_i32(w,D,4,4,0);h=B; +q=E;h=FHEAP[h]*FHEAP[q]+FHEAP[h+1]*FHEAP[q+1]+FHEAP[h+2]*FHEAP[q+2];q=F;q=h-FHEAP[q+3]-s;for(h=q<0?6:5;;)if(h==6)f&1?(h=d,p=e,j=G,FHEAP[g]=0-FHEAP[j],FHEAP[n]=0-FHEAP[j+1],FHEAP[o]=0-FHEAP[j+2],j=A,k=g,l=n,m=o,FHEAP[j]=FHEAP[k],FHEAP[j+1]=FHEAP[l],FHEAP[j+2]=FHEAP[m],FHEAP[j+3]=0,__ZN27btGImpactCollisionAlgorithm15addContactPointEP17btCollisionObjectS1_RK9btVector3S4_f(a,h,p,B,A,q)):__ZN27btGImpactCollisionAlgorithm15addContactPointEP17btCollisionObjectS1_RK9btVector3S4_f(a,e,d,B,J,q),h=5;else if(h== +5){i=r;r=i+-1;var H=b;if(i!=0){i=5;h=4;continue c}else{i=5;h=3;continue b}}}}else if(h==3){a=i==1?y:H;FUNCTION_TABLE[IHEAP[IHEAP[a]+28]](a);break a}}while(0);STACKTOP=g} +function __ZN27btGImpactCollisionAlgorithm24gimpact_vs_compoundshapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP15btCompoundShapeb(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=48;var h,i,j,k,l,m=g+12,n,o=g+16,q=g+32;n=d+1;_llvm_memcpy_p0i8_p0i8_i32(o,n,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+4,n+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+8,n+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(o+12,n+12,4,4,0);h=IHEAP[c+12+1];n=h+-1;for(h=h!=0?0:1;;)if(h==0)k=n,h=c,h+=12,h=IHEAP[IHEAP[h+3]+20*k+16],i=n,k=c,k+=12,i=IHEAP[k+ +3]+20*i,k=o,__ZmlRK11btMatrix3x3S1_(g,k,i),__ZNK11btTransformclERK9btVector3(m,k,i+12),k=q,j=g,l=i=m,i=k,k=l,l=j,j=i,_llvm_memcpy_p0i8_p0i8_i32(j,l,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+4,l+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+8,l+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i+12,k,4,4,0),k=d,j=i=q,i=k+1,l=k=j,j=i,_llvm_memcpy_p0i8_p0i8_i32(j,l,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+4,l+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(j+8,l+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i+12,k+12,4,4,0),__ZN27btGImpactCollisionAlgorithm16gimpact_vs_shapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP16btCollisionShapeb(a, +e,d,b,h,f&1),h=d,i=k=o,k=h+1,j=h=i,i=k,_llvm_memcpy_p0i8_p0i8_i32(i,j,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i+4,j+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(i+8,j+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+12,h+12,4,4,0),h=n,n=h+-1,h=h!=0?0:1;else if(h==1){STACKTOP=g;break}} +function __ZN27btGImpactCollisionAlgorithm18gimpact_vs_concaveEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP14btConcaveShapeb(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=82;var h,i,j=g+12,k;k=g+16;var l=g+26,m=g+42,n=g+58,o=g+74,q=g+78;IHEAP[k]=__ZTV18btTriangleCallback+2;IHEAP[k]=__ZTV25btGImpactTriangleCallback+2;IHEAP[k+4]=a;IHEAP[k+5]=e;IHEAP[k+6]=d;IHEAP[k+7]=b;IHEAP[k+8]=f&1;var a=IHEAP[IHEAP[c]+11],p;try{__THREW__=!1,p=FUNCTION_TABLE[a](c)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+ +r+" : "+r.stack+", currently at: "+Error().stack);p=null}for(a=__THREW__?1:3;;)if(a==3){FHEAP[k+9]=p;a=d;__ZNK11btTransform7inverseEv(n,a+1);a=e;f=a+1;a=n;__ZmlRK11btMatrix3x3S1_(g,a,f);__ZNK11btTransformclERK9btVector3(j,a,f+12);a=m;h=g;i=f=j;f=a;a=i;i=h;h=f;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,a,4,4,0);f=l;i=a=m;h=f;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+ +4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,a+12,4,4,0);a=b;f=IHEAP[IHEAP[a]+2];try{__THREW__=!1,FUNCTION_TABLE[f](a,l,o,q)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+", currently at: "+Error().stack)}if(__THREW__)a=1;else{a=c;f=IHEAP[IHEAP[a]+15];h=k;try{__THREW__=!1,FUNCTION_TABLE[f](a,h,o,q)}catch(u){if(ABORT)throw u;__THREW__=!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack)}if(__THREW__)a=1;else break}}else if(a== +1)throw e=d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),IHEAP[k]=__ZTV25btGImpactTriangleCallback+2,IHEAP[k]=__ZTV18btTriangleCallback+2,__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 259196";IHEAP[k]=__ZTV25btGImpactTriangleCallback+2;IHEAP[k]=__ZTV18btTriangleCallback+2;STACKTOP=g} +function __ZN12btPlaneShape30get_plane_equation_transformedERK11btTransformR9btVector4(a,e,d){var b,c=a+24;b=e+0;FHEAP[d]=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2];c=a+24;b=e+4;FHEAP[d+1]=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2];c=a+24;b=e+8;FHEAP[d+2]=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2];b=a+24;e+=12;FHEAP[d+3]=FHEAP[e]*FHEAP[b]+FHEAP[e+1]*FHEAP[b+1]+FHEAP[e+2]*FHEAP[b+2]+FHEAP[a+28]} +function __ZN25btGImpactTriangleCallbackD1Ev(a){IHEAP[a]=__ZTV25btGImpactTriangleCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2} +function __ZN27btGImpactCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(a,e,d,b,c){var f,g;f=IHEAP[a+9]==0?0:1;a:for(;;)if(f==0){g=f=a;f=IHEAP[g+8]!=0?2:3;break a}else f==1&&(f=IHEAP[a+1],FUNCTION_TABLE[IHEAP[IHEAP[f]+4]](f,IHEAP[a+9]),f=IHEAP[a+9]=0);a:for(;;)if(f==2)f=IHEAP[g+8],FUNCTION_TABLE[IHEAP[IHEAP[f]]](f),f=IHEAP[g+1],FUNCTION_TABLE[IHEAP[IHEAP[f]+15]](f,IHEAP[g+8]),IHEAP[g+8]=0,f=3;else if(f==3){IHEAP[a+12]=-1;IHEAP[a+13]=-1;IHEAP[a+14]= +-1;IHEAP[a+15]=-1;IHEAP[a+10]=c;IHEAP[a+11]=b;f=e;f=IHEAP[f+48];f=IHEAP[f+1]==25?4:5;break a}a:do if(f==4)if(b=e,b=IHEAP[b+48],c=d,c=IHEAP[c+48],IHEAP[c+1]==25)c=d,g=IHEAP[c+48],__ZN27btGImpactCollisionAlgorithm18gimpact_vs_gimpactEP17btCollisionObjectS1_P23btGImpactShapeInterfaceS3_(a,e,d,b,g);else{c=e;g=d;var h=b,b=d;__ZN27btGImpactCollisionAlgorithm16gimpact_vs_shapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP16btCollisionShapeb(a,c,g,h,IHEAP[b+48],0)}else if(f==5){b=d;b=IHEAP[b+48];if(IHEAP[b+ +1]!=25)break a;b=d;g=IHEAP[b+48];b=d;c=e;h=g;g=e;__ZN27btGImpactCollisionAlgorithm16gimpact_vs_shapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP16btCollisionShapeb(a,b,c,h,IHEAP[g+48],1)}while(0)}function __ZN27btGImpactCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult(){return 1} +function __ZN27btGImpactCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE(a,e){var d,b=null,c,f,g;d=IHEAP[a+9]!=0?0:1;a:for(;;)if(d==0){g=a+9;d=f=e;b=d=IHEAP[d+1];d=f;d=b==IHEAP[d+2]?2:3;b:for(;;)if(d==2){d=f;c=IHEAP[d+1];c!=0?(b=2,d=4):(b=2,d=5);for(;;)if(d==4){var h=c*2,b=4;d=5}else if(d==5){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(f,b==4?h:1);d=3;continue b}}else if(d==3){var i=IHEAP[f+3]+IHEAP[f+1];d=i==0?6:7;break b}for(;;)if(d== +6){IHEAP[f+1]+=1;d=1;continue a}else d==7&&(IHEAP[i]=IHEAP[g],d=6)}else if(d==1)break}function __ZN25btGImpactTriangleCallbackD0Ev(a){IHEAP[a]=__ZTV25btGImpactTriangleCallback+2;IHEAP[a]=__ZTV18btTriangleCallback+2;__ZdlPv(a)} +function __ZN25btGImpactTriangleCallback15processTriangleEP9btVector3ii(a,e,d,b){var c=STACKTOP;STACKTOP+=104;var f,g;__ZN15btTriangleShapeC2ERK9btVector3S2_S2_(c,e,e+4,e+8);IHEAP[c]=__ZTV17btTriangleShapeEx+2;e=IHEAP[IHEAP[c]+10];f=FHEAP[a+9];try{__THREW__=!1,FUNCTION_TABLE[e](c,f)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}for(e=__THREW__?2:1;;)if(e==1){f=IHEAP[a+4];e=d;IHEAP[a+8]&1?(IHEAP[f+13]=e,f=b,e=IHEAP[a+4],IHEAP[e+12]=f): +(IHEAP[f+15]=e,f=b,e=IHEAP[a+4],IHEAP[e+14]=f);e=IHEAP[a+4];f=IHEAP[a+5];var i=IHEAP[a+6],j=IHEAP[a+7],k=c,l=IHEAP[a+8]&1;try{__THREW__=!1,__ZN27btGImpactCollisionAlgorithm16gimpact_vs_shapeEP17btCollisionObjectS1_P23btGImpactShapeInterfaceP16btCollisionShapeb(e,f,i,j,k,l)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__)e=2;else{e=5;break}}else if(e==2){g=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);a= +c;IHEAP[a]=__ZTV17btTriangleShapeEx+2;IHEAP[a]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}e=__THREW__?4:3;break}if(e==3)throw __Unwind_Resume_or_Rethrow(g),"Reached an unreachable! Original .ll line: 260048";else if(e==4)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 260054"; +else e==5&&(IHEAP[c]=__ZTV17btTriangleShapeEx+2,IHEAP[c]=__ZTV15btTriangleShape+2,__ZN23btPolyhedralConvexShapeD2Ev(c),STACKTOP=c)} +function __ZN17btTriangleShapeExD0Ev(a){var e,d;IHEAP[a]=__ZTV17btTriangleShapeEx+2;IHEAP[a]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(e= +a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 260177";}} +function __ZNK17btTriangleShapeEx7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=20;var f=c+4,g=c+8,h=c+12;__ZNK11btTransformclERK9btVector3(c,e,a+56);__ZNK11btTransformclERK9btVector3(f,e,a+56+4);__ZNK11btTransformclERK9btVector3(g,e,a+56+8);__ZN6btAABBC2ERK9btVector3S2_S2_f(h,c,f,g,FHEAP[a+20]);_llvm_memcpy_p0i8_p0i8_i32(d,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,h+4,4,4,0);STACKTOP=c} +function __ZN6btAABBC2ERK9btVector3S2_S2_f(a,e,d,b,c){var f=null,g=FHEAP[e];if(FHEAP[d]>FHEAP[b])var h=FHEAP[b],f=0;else var i=FHEAP[d],f=2;if(g>(f==0?h:i))if(FHEAP[d]>FHEAP[b])var j=FHEAP[b],f=3;else var k=FHEAP[d],f=5;else var l=FHEAP[e],f=6;FHEAP[a]=f==6?l:f==3?j:k;g=FHEAP[e+1];if(FHEAP[d+1]>FHEAP[b+1])var m=FHEAP[b+1],f=7;else var n=FHEAP[d+1],f=9;if(g>(f==7?m:n))if(FHEAP[d+1]>FHEAP[b+1])var o=FHEAP[b+1],f=10;else var q=FHEAP[d+1],f=12;else var p=FHEAP[e+1],f=13;FHEAP[a+1]=f==13?p:f==10?o:q;m= +FHEAP[e+2];if(FHEAP[d+2]>FHEAP[b+2])var r=FHEAP[b+2],f=14;else var s=FHEAP[d+2],f=16;if(m>(f==14?r:s))if(FHEAP[d+2]>FHEAP[b+2])var u=FHEAP[b+2],f=17;else var v=FHEAP[d+2],f=19;else var y=FHEAP[e+2],f=20;FHEAP[a+2]=f==20?y:f==17?u:v;r=FHEAP[e];if(FHEAP[d]<FHEAP[b])var x=FHEAP[b],f=21;else var z=FHEAP[d],f=23;if(r<(f==21?x:z))if(FHEAP[d]<FHEAP[b])var B=FHEAP[b],f=24;else var C=FHEAP[d],f=26;else var A=FHEAP[e],f=27;FHEAP[a+4]=f==27?A:f==24?B:C;x=FHEAP[e+1];if(FHEAP[d+1]<FHEAP[b+1])var w=FHEAP[b+1], +f=28;else var D=FHEAP[d+1],f=30;if(x<(f==28?w:D))if(FHEAP[d+1]<FHEAP[b+1])var E=FHEAP[b+1],f=31;else var F=FHEAP[d+1],f=33;else var G=FHEAP[e+1],f=34;FHEAP[a+4+1]=f==34?G:f==31?E:F;w=FHEAP[e+2];if(FHEAP[d+2]<FHEAP[b+2])var J=FHEAP[b+2],f=35;else var H=FHEAP[d+2],f=37;if(w<(f==35?J:H))if(FHEAP[d+2]<FHEAP[b+2])var M=FHEAP[b+2],f=38;else var K=FHEAP[d+2],f=40;else var N=FHEAP[e+2],f=41;FHEAP[a+4+2]=f==41?N:f==38?M:K;FHEAP[a]-=c;FHEAP[a+1]-=c;FHEAP[a+2]-=c;FHEAP[a+4]+=c;FHEAP[a+4+1]+=c;FHEAP[a+4+2]+= +c}function __ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a,e,d){var e=IHEAP[a+12]+IHEAP[a+15]*e,b=IHEAP[a+14]==1?FHEAP[e]:FHEAP[e];FHEAP[d]=b*FHEAP[a+6];b=FHEAP[e+1];FHEAP[d+1]=b*FHEAP[a+6+1];e=FHEAP[e+2];FHEAP[d+2]=e*FHEAP[a+6+2]} +function __ZNK6btAABB19projection_intervalERK9btVector3RfS3_(a,e,d,b){var c=STACKTOP;STACKTOP+=29;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l=c+7,m=c+8,n,o=c+9,q=c+10,p=c+11,r=c+12,s=c+16,u=c+20,v=c+21,y=c+25;n=a+4;FHEAP[o]=FHEAP[n]+FHEAP[a];FHEAP[q]=FHEAP[n+1]+FHEAP[a+1];FHEAP[p]=FHEAP[n+2]+FHEAP[a+2];FHEAP[s]=FHEAP[o];FHEAP[s+1]=FHEAP[q];FHEAP[s+2]=FHEAP[p];FHEAP[s+3]=0;FHEAP[u]=0.5;FHEAP[h]=FHEAP[s]*FHEAP[u];FHEAP[i]=FHEAP[s+1]*FHEAP[u];FHEAP[j]=FHEAP[s+2]*FHEAP[u];FHEAP[r]=FHEAP[h];FHEAP[r+1]=FHEAP[i]; +FHEAP[r+2]=FHEAP[j];FHEAP[r+3]=0;a+=4;FHEAP[c]=FHEAP[a]-FHEAP[r];FHEAP[f]=FHEAP[a+1]-FHEAP[r+1];FHEAP[g]=FHEAP[a+2]-FHEAP[r+2];FHEAP[v]=FHEAP[c];FHEAP[v+1]=FHEAP[f];FHEAP[v+2]=FHEAP[g];FHEAP[v+3]=0;f=FHEAP[e]*FHEAP[r]+FHEAP[e+1]*FHEAP[r+1]+FHEAP[e+2]*FHEAP[r+2];g=_fabsf(FHEAP[e]);FHEAP[k]=g;g=_fabsf(FHEAP[e+1]);FHEAP[l]=g;e=_fabsf(FHEAP[e+2]);FHEAP[m]=e;FHEAP[y]=FHEAP[k];FHEAP[y+1]=FHEAP[l];FHEAP[y+2]=FHEAP[m];FHEAP[y+3]=0;k=FHEAP[v]*FHEAP[y]+FHEAP[v+1]*FHEAP[y+1]+FHEAP[v+2]*FHEAP[y+2];FHEAP[d]=f- +k;FHEAP[b]=f+k;STACKTOP=c}function __ZN20btAlignedObjectArrayI8GIM_PAIRE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN18GIM_ShapeRetrieverD2Ev(a){var e,d=a+275;IHEAP[d]=__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE+2;IHEAP[d]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;d=a+267;IHEAP[d]=__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE+2;IHEAP[d]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;IHEAP[a+265]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;d=a+105;IHEAP[d]=__ZTV20btTetrahedronShapeEx+2;IHEAP[d]=__ZTV16btBU_Simplex1to4+2;IHEAP[d]=__ZTV34btPolyhedralConvexAabbCachingShape+ +2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(d)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)a+=1,IHEAP[a]=__ZTV17btTriangleShapeEx+2,IHEAP[a]=__ZTV15btTriangleShape+2,__ZN23btPolyhedralConvexShapeD2Ev(a);else if(e==1){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);a+=1;IHEAP[a]=__ZTV17btTriangleShapeEx+2;IHEAP[a]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(c){if(ABORT)throw c; +__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}e=__THREW__?3:2;if(e==2)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 261904";else if(e==3)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 261910";}} +function __ZN18GIM_ShapeRetriever19TetraShapeRetrieverD1Ev(a){IHEAP[a]=__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE+2;IHEAP[a]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2}function __ZN18GIM_ShapeRetriever22TriangleShapeRetrieverD1Ev(a){IHEAP[a]=__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE+2;IHEAP[a]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2}function __ZN18GIM_ShapeRetriever19ChildShapeRetrieverD1Ev(a){IHEAP[a]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2} +function __ZN20btTetrahedronShapeExD1Ev(a){IHEAP[a]=__ZTV20btTetrahedronShapeEx+2;IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;__ZN23btPolyhedralConvexShapeD2Ev(a)} +function __ZN20btTetrahedronShapeExD0Ev(a){var e,d;IHEAP[a]=__ZTV20btTetrahedronShapeEx+2;IHEAP[a]=__ZTV16btBU_Simplex1to4+2;IHEAP[a]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(a)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}e=__THREW__?7:6;if(e==6)for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,d=a,d!=0&&(d=IHEAP[d+-1],_free(d)),e=1;else{if(e==1)break}else if(e==7){d=_llvm_eh_exception(); +_llvm_eh_selector(d,___gxx_personality_v0,0);for(e=a!=0?3:4;;)if(e==3)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 262134";}}function __ZN18GIM_ShapeRetriever19ChildShapeRetriever13getChildShapeEi(a,e){var d=IHEAP[IHEAP[a+1]];return FUNCTION_TABLE[IHEAP[IHEAP[d]+30]](d,e)} +function __ZN18GIM_ShapeRetriever19ChildShapeRetrieverD0Ev(a){IHEAP[a]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;__ZdlPv(a)}function __ZN18GIM_ShapeRetriever22TriangleShapeRetriever13getChildShapeEi(a,e){var d=IHEAP[IHEAP[a+1]];FUNCTION_TABLE[IHEAP[IHEAP[d]+25]](d,e,IHEAP[a+1]+1);return IHEAP[a+1]+1} +function __ZN18GIM_ShapeRetriever22TriangleShapeRetrieverD0Ev(a){IHEAP[a]=__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE+2;IHEAP[a]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;__ZdlPv(a)}function __ZN18GIM_ShapeRetriever19TetraShapeRetriever13getChildShapeEi(a,e){var d=IHEAP[IHEAP[a+1]];FUNCTION_TABLE[IHEAP[IHEAP[d]+26]](d,e,IHEAP[a+1]+105);return IHEAP[a+1]+105} +function __ZN18GIM_ShapeRetriever19TetraShapeRetrieverD0Ev(a){IHEAP[a]=__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE+2;IHEAP[a]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;__ZdlPv(a)} +function __ZN18GIM_ShapeRetrieverC2EP23btGImpactShapeInterface(a,e){var d,b,c;__ZN17btTriangleShapeExC2Ev(a+1);var f=a+105;try{__THREW__=!1,__ZN34btPolyhedralConvexAabbCachingShapeC2Ev(f)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}d=__THREW__?5:4;a:do if(d==4){IHEAP[f]=__ZTV16btBU_Simplex1to4+2;IHEAP[f+89]=0;IHEAP[f+1]=2;IHEAP[f]=__ZTV20btTetrahedronShapeEx+2;IHEAP[f+89]=4;c=a+265;IHEAP[c]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+ +2;c=d=c=a+267;IHEAP[c]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;IHEAP[d]=__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE+2;c=d=c=a+275;IHEAP[c]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;IHEAP[d]=__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE+2;IHEAP[a]=e;c=IHEAP[a];d=IHEAP[IHEAP[c]+23];try{__THREW__=!1,b=FUNCTION_TABLE[d](c)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack);b=null}for(d=__THREW__?9:8;;)if(d==8){if(b){d= +0;break}c=IHEAP[a];d=IHEAP[IHEAP[c]+24];var i;try{__THREW__=!1,i=FUNCTION_TABLE[d](c)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack);i=null}if(__THREW__)d=9;else{d=10;break}}else if(d==9){c=b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);b=a+275;IHEAP[b]=__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE+2;IHEAP[b]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;b=a+267;IHEAP[b]=__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE+ +2;IHEAP[b]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;b=a+265;IHEAP[b]=__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+2;b=a+105;IHEAP[b]=__ZTV20btTetrahedronShapeEx+2;IHEAP[b]=__ZTV16btBU_Simplex1to4+2;IHEAP[b]=__ZTV34btPolyhedralConvexAabbCachingShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(b)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}d=__THREW__?6:3;break a}d==0?IHEAP[a+283]=a+267:d==10&&(IHEAP[a+283]=i?a+ +275:a+265);IHEAP[IHEAP[a+283]+1]=a;return}else if(d==5){c=b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);d=3;break a}while(0);for(;;)if(d==3){b=a+1;IHEAP[b]=__ZTV17btTriangleShapeEx+2;IHEAP[b]=__ZTV15btTriangleShape+2;try{__THREW__=!1,__ZN23btPolyhedralConvexShapeD2Ev(b)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__)d=6;else break}else if(d==6)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0, +0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 262577";__Unwind_Resume_or_Rethrow(c);throw"Reached an unreachable! Original .ll line: 262571";} +function __ZN17btTriangleShapeExC2Ev(a){var e=STACKTOP;STACKTOP+=21;var d=e+4,b=e+5,c=e+6,f=e+7,g=e+11,h=e+12,i=e+13,j=e+14,k=e+18,l=e+19,m=e+20;FHEAP[d]=0;FHEAP[b]=0;FHEAP[c]=0;FHEAP[e]=FHEAP[d];FHEAP[e+1]=FHEAP[b];FHEAP[e+2]=FHEAP[c];FHEAP[e+3]=0;FHEAP[g]=0;FHEAP[h]=0;FHEAP[i]=0;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[m];FHEAP[j+3]=0;__ZN15btTriangleShapeC2ERK9btVector3S2_S2_(a, +e,f,j);IHEAP[a]=__ZTV17btTriangleShapeEx+2;STACKTOP=e} +function __ZNK22btGImpactCompoundShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=15;var c,f,g,h,i=b+1,j=b+2,k=b+3,l=b+7,m=b+11;FUNCTION_TABLE[IHEAP[IHEAP[a]+27]](a);FHEAP[b]=0;FHEAP[i]=0;FHEAP[j]=0;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[i];FHEAP[d+2]=FHEAP[j];FHEAP[d+3]=0;j=i=FUNCTION_TABLE[IHEAP[IHEAP[a]+21]](a);e/=j;i=j+-1;c=j!=0?0:1;a:for(;;)if(c==0)for(var j=a+154,n=a,o=a+149,q=l,p=m;;)if(h=i,c=j,c=IHEAP[IHEAP[c+3]+h],FUNCTION_TABLE[IHEAP[IHEAP[c]+8]](c,e,k),f=FUNCTION_TABLE[IHEAP[IHEAP[n]+ +22]](a),h=c=d,f?(g=i,f=o,__Z27gim_inertia_add_transformedRK9btVector3S1_RK11btTransform(l,h,k,IHEAP[f+3]+16*g),_llvm_memcpy_p0i8_p0i8_i32(c,q,4,4,0)):(__ZN11btTransform11getIdentityEv(),__Z27gim_inertia_add_transformedRK9btVector3S1_RK11btTransform(m,h,k,__ZZN11btTransform11getIdentityEvE17identityTransform),_llvm_memcpy_p0i8_p0i8_i32(c,p,4,4,0)),c=i,i=c+-1,c!=0)c=2;else{c=1;continue a}else if(c==1){FUNCTION_TABLE[IHEAP[IHEAP[a]+28]](a);STACKTOP=b;break}} +function __Z27gim_inertia_add_transformedRK9btVector3S1_RK11btTransform(a,e,d,b){var c=STACKTOP;STACKTOP+=39;var f=c+12,g=c+24,h=c+36,i=c+37,j=c+38;__ZNK11btMatrix3x36scaledERK9btVector3(f,b,d);__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(g,b,b+4,b+8,b+1,b+4+1,b+8+1,b+2,b+4+2,b+8+2);__ZmlRK11btMatrix3x3S1_(c,f,g);d=FHEAP[b+12];d*=d;f=FHEAP[b+12+1];f*=f;g=FHEAP[b+12+2];g*=g;b=FHEAP[c+0]*(f+g);g=FHEAP[c+4+1]*(d+g);d=FHEAP[c+8+2]*(d+f);FHEAP[h]=FHEAP[e]+b;FHEAP[i]=FHEAP[e+1]+g;FHEAP[j]=FHEAP[e+2]+ +d;FHEAP[a]=FHEAP[h];FHEAP[a+1]=FHEAP[i];FHEAP[a+2]=FHEAP[j];FHEAP[a+3]=0;STACKTOP=c} +function __ZNK22btGImpactMeshShapePart21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=14;var c,f,g,h,i,j=b+1,k=b+2,l=b+3,m=b+4,n=b+5,o=b+6,q=b+10;FUNCTION_TABLE[IHEAP[IHEAP[a]+27]](a);FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[d]=FHEAP[l];FHEAP[d+1]=FHEAP[m];FHEAP[d+2]=FHEAP[n];FHEAP[d+3]=0;m=l=IHEAP[a+144+13];e/=m;l=m+-1;c=m!=0?0:1;a:for(;;)if(c==0){m=o;for(n=q;;)if(f=l,c=a,g=o,__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(c+144,f,g),c=e,g=f=o,h= +FHEAP[g],g=f,g=h*FHEAP[g],h=f,i=FHEAP[h+1],h=f,h=i*FHEAP[h+1],i=f,i=FHEAP[i+2],f=i*FHEAP[f+2],FHEAP[b]=c*(h+f),FHEAP[j]=c*(g+f),FHEAP[k]=c*(g+h),c=q,f=b,g=j,h=k,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+2]=FHEAP[h],FHEAP[c+3]=0,_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0),f=d,c=o,FHEAP[f]+=FHEAP[c],FHEAP[f+1]+=FHEAP[c+1],FHEAP[f+2]+=FHEAP[c+2],c=l,l=c+-1,c!=0)c=2;else{c=1;continue a}}else if(c==1){FUNCTION_TABLE[IHEAP[IHEAP[a]+28]](a);STACKTOP=b;break}} +function __ZNK18btGImpactMeshShape21calculateLocalInertiaEfR9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=7;var c,f,g=b+1;c=b+2;var h=b+3;FHEAP[b]=0;FHEAP[g]=0;FHEAP[c]=0;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[c];FHEAP[d+3]=0;c=g=IHEAP[a+145+1];e/=c;g=c+-1;for(c=c!=0?0:1;;)if(c==0)f=g,c=a,c+=145,c=IHEAP[IHEAP[c+3]+f],FUNCTION_TABLE[IHEAP[IHEAP[c]+8]](c,e,h),f=d,c=h,FHEAP[f]+=FHEAP[c],FHEAP[f+1]+=FHEAP[c+1],FHEAP[f+2]+=FHEAP[c+2],c=g,g=c+-1,c=c!=0?0:1;else if(c==1){STACKTOP=b;break}} +function __ZNK18btGImpactMeshShape7rayTestERK9btVector3S2_RN16btCollisionWorld17RayResultCallbackE(){} +function __ZNK22btGImpactMeshShapePart19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=43;var f=null,g,h,i,j,k=c+8,l=c+13,m;FUNCTION_TABLE[IHEAP[IHEAP[a]+27]](a);_llvm_memcpy_p0i8_p0i8_i32(c,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,b,4,4,0);IHEAP[k+4]=1;IHEAP[k+3]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;__ZNK21btGImpactQuantizedBvh8boxQueryERK6btAABBR20btAlignedObjectArrayIiE(a+29,c,k);b=IHEAP[k+1]==0;a:do{if(b){e=IHEAP[IHEAP[a]+28];try{__THREW__=!1,FUNCTION_TABLE[e](a)}catch(n){if(ABORT)throw n; +__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}}else{d=a;d=IHEAP[d+144+10];b=l;FHEAP[b+28]=0.009999999776482582;for(var b=k,b=IHEAP[b+1],o=a,q=l,f=1;;){f=f==3?m:b;m=f+-1;if(f==0)break;g=m;f=k;f=IHEAP[IHEAP[f+3]+g];h=o;g=f;f=l;i=IHEAP[IHEAP[h]+20];var p;try{__THREW__=!1,p=FUNCTION_TABLE[i](h)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+r+" : "+r.stack+", currently at: "+Error().stack);p=null}if(__THREW__){d=7;break a}h=IHEAP[IHEAP[p]+5];try{__THREW__= +!1,FUNCTION_TABLE[h](p,g,f)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+", currently at: "+Error().stack)}if(__THREW__){d=7;break a}f=e;g=IHEAP[IHEAP[f]+2];h=d;j=m;i=k;i=IHEAP[IHEAP[i+3]+j];try{__THREW__=!1,FUNCTION_TABLE[g](f,q,h,i)}catch(u){if(ABORT)throw u;__THREW__=!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack)}if(__THREW__){d=7;break a}f=3}e=IHEAP[IHEAP[a]+28];try{__THREW__=!1,FUNCTION_TABLE[e](a)}catch(v){if(ABORT)throw v;__THREW__=!0; +print("Exception: "+v+" : "+v.stack+", currently at: "+Error().stack)}}if(__THREW__){d=7;break a}d=0;break a}while(0);if(d==0)__ZN20btAlignedObjectArrayIiE5clearEv(k),STACKTOP=c;else if(d==7)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIiE5clearEv(k),__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 263902";} +function __ZNK18btGImpactMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(a,e,d,b){var c,f,g,h=IHEAP[a+145+1];g=h+-1;c=h!=0?0:1;a:for(;;)if(c==0)for(h=a+145;;)if(f=g,c=h,c=IHEAP[IHEAP[c+3]+f],FUNCTION_TABLE[IHEAP[IHEAP[c]+15]](c,e,d,b),c=g,g=c+-1,c!=0)c=2;else{c=1;continue a}else if(c==1)break} +function __ZNK18btGImpactMeshShape9serializeEPvP12btSerializer(a,e,d){var b;__ZNK16btCollisionShape9serializeEPvP12btSerializer(a,e,d);b=IHEAP[a+144];FUNCTION_TABLE[IHEAP[IHEAP[b]+14]](b,e+6,d);FHEAP[e+20]=FHEAP[a+12];var c=e+16,d=a+25;for(b=0;;){FHEAP[c+b]=FHEAP[d+b];var f=b+1;b=f;if(!(f<4))break}a=FUNCTION_TABLE[IHEAP[IHEAP[a]+19]](a);IHEAP[e+21]=a;return __str225}function __ZN22btGImpactCompoundShapeD1Ev(a){__ZN22btGImpactCompoundShapeD2Ev(a)} +function __ZN22btGImpactCompoundShapeD0Ev(a){var e;try{__THREW__=!1,__ZN22btGImpactCompoundShapeD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 264097";} +function __ZNK23btGImpactShapeInterface7getAabbERK11btTransformR9btVector3S4_(a,e,d,b){var c=STACKTOP;STACKTOP+=8;a+=16;_llvm_memcpy_p0i8_p0i8_i32(c,a,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,a+4,4,4,0);__ZN6btAABB14appy_transformERK11btTransform(c,e);_llvm_memcpy_p0i8_p0i8_i32(d,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,c+4,4,4,0);STACKTOP=c}function __ZN23btGImpactShapeInterface15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+25,e,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[a]+17]](a)} +function __ZNK23btGImpactShapeInterface15getLocalScalingEv(a){return a+25}function __ZNK22btGImpactCompoundShape7getNameEv(){return __str3228}function __ZN23btGImpactShapeInterface9setMarginEf(a,e){var d,b;FHEAP[a+12]=e;var c=FUNCTION_TABLE[IHEAP[IHEAP[a]+21]](a);b=c+-1;d=c!=0?0:1;a:for(;;)if(d==0)for(c=a;;)if(d=FUNCTION_TABLE[IHEAP[IHEAP[c]+30]](a,b),FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,e),d=b,b=d+-1,d!=0)d=2;else{d=1;continue a}else if(d==1){IHEAP[a+24]=1;break}} +function __ZNK23btGImpactShapeInterface19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_(){}function __ZN23btGImpactShapeInterface13calcLocalAABBEv(a){var e=STACKTOP;STACKTOP+=8;FUNCTION_TABLE[IHEAP[IHEAP[a]+27]](a);var d=a+29;IHEAP[a+29]==0?__ZN21btGImpactQuantizedBvh8buildSetEv(d):__ZN21btGImpactQuantizedBvh5refitEv(d);FUNCTION_TABLE[IHEAP[IHEAP[a]+28]](a);d=a+16;__ZNK18btQuantizedBvhTree12getNodeBoundEiR6btAABB(a+29,0,e);_llvm_memcpy_p0i8_p0i8_i32(d,e,8,4,0);STACKTOP=e} +function __ZN23btGImpactShapeInterface10postUpdateEv(a){IHEAP[a+24]=1}function __ZNK23btGImpactShapeInterface12getShapeTypeEv(){return 25}function __ZNK22btGImpactCompoundShape19getGImpactShapeTypeEv(){return 0}function __ZNK22btGImpactCompoundShape19getPrimitiveManagerEv(a){return a+144}function __ZNK22btGImpactCompoundShape17getNumChildShapesEv(a){return IHEAP[a+154+1]}function __ZNK22btGImpactCompoundShape20childrenHasTransformEv(a){return IHEAP[a+149+1]==0?0:1} +function __ZNK22btGImpactCompoundShape22needsRetrieveTrianglesEv(){return 0}function __ZNK22btGImpactCompoundShape25needsRetrieveTetrahedronsEv(){return 0}function __ZNK22btGImpactCompoundShape17getBulletTriangleEiR17btTriangleShapeEx(){}function __ZNK22btGImpactCompoundShape20getBulletTetrahedronEiR20btTetrahedronShapeEx(){}function __ZNK23btGImpactShapeInterface15lockChildShapesEv(){}function __ZNK23btGImpactShapeInterface17unlockChildShapesEv(){} +function __ZNK22btGImpactCompoundShape12getChildAabbEiRK11btTransformR9btVector3S4_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=32;var g=f+12,h=f+16,i=FUNCTION_TABLE[IHEAP[IHEAP[a]+22]](a),j=IHEAP[IHEAP[a+154+3]+e],k=IHEAP[IHEAP[j]+2];if(i)a=IHEAP[a+149+3]+16*e,__ZmlRK11btMatrix3x3S1_(f,d,a),__ZNK11btTransformclERK9btVector3(g,d,a+12),_llvm_memcpy_p0i8_p0i8_i32(h,f,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+4,f+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+8,f+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(h+12,g,4,4,0),FUNCTION_TABLE[k](j, +h,b,c);else FUNCTION_TABLE[k](j,d,b,c);STACKTOP=f}function __ZN22btGImpactCompoundShape13getChildShapeEi(a,e){return IHEAP[IHEAP[a+154+3]+e]}function __ZNK22btGImpactCompoundShape13getChildShapeEi(a,e){return IHEAP[IHEAP[a+154+3]+e]}function __ZNK22btGImpactCompoundShape17getChildTransformEi(a,e,d){e=IHEAP[e+149+3]+16*d;_llvm_memcpy_p0i8_p0i8_i32(a,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+12,e+12,4,4,0)} +function __ZN22btGImpactCompoundShape17setChildTransformEiRK11btTransform(a,e,d){e=IHEAP[a+149+3]+16*e;_llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[a]+17]](a)}function __ZNK23btGImpactShapeInterface7rayTestERK9btVector3S2_RN16btCollisionWorld17RayResultCallbackE(){} +function __ZN22btGImpactMeshShapePartD1Ev(a){IHEAP[a]=__ZTV22btGImpactMeshShapePart+2;var e=a+144;IHEAP[e]=__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+2;IHEAP[e]=__ZTV22btPrimitiveManagerBase+2;IHEAP[a]=__ZTV23btGImpactShapeInterface+2;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+29+1);IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2} +function __ZN22btGImpactMeshShapePartD0Ev(a){IHEAP[a]=__ZTV22btGImpactMeshShapePart+2;var e=a+144;IHEAP[e]=__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+2;IHEAP[e]=__ZTV22btPrimitiveManagerBase+2;IHEAP[a]=__ZTV23btGImpactShapeInterface+2;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+29+1);IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)} +function __ZN22btGImpactMeshShapePart15setLocalScalingERK9btVector3(a,e){_llvm_memcpy_p0i8_p0i8_i32(a+144+6,e,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[a]+17]](a)}function __ZNK22btGImpactMeshShapePart15getLocalScalingEv(a){return a+144+6}function __ZNK22btGImpactMeshShapePart7getNameEv(){return __str2227}function __ZN22btGImpactMeshShapePart9setMarginEf(a,e){FHEAP[a+144+4]=e;FUNCTION_TABLE[IHEAP[IHEAP[a]+17]](a)}function __ZNK22btGImpactMeshShapePart9getMarginEv(a){return FHEAP[a+144+4]} +function __ZNK22btGImpactMeshShapePart19getGImpactShapeTypeEv(){return 1}function __ZNK22btGImpactMeshShapePart19getPrimitiveManagerEv(a){return a+144}function __ZNK22btGImpactMeshShapePart17getNumChildShapesEv(a){a+=144;return FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a)}function __ZNK22btGImpactMeshShapePart20childrenHasTransformEv(){return 0}function __ZNK22btGImpactMeshShapePart22needsRetrieveTrianglesEv(){return 1}function __ZNK22btGImpactMeshShapePart25needsRetrieveTetrahedronsEv(){return 0} +function __ZNK22btGImpactMeshShapePart17getBulletTriangleEiR17btTriangleShapeEx(a,e,d){__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager19get_bullet_triangleEiR17btTriangleShapeEx(a+144,e,d)}function __ZNK22btGImpactMeshShapePart20getBulletTetrahedronEiR20btTetrahedronShapeEx(){} +function __ZNK22btGImpactMeshShapePart15lockChildShapesEv(a){a=IHEAP[a+29+33];if(IHEAP[a+11]>0)IHEAP[a+11]+=1;else{var e=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[e]+4]](e,a+12,a+13,a+14,a+15,a+16,a+17,a+18,a+19,IHEAP[a+10]);IHEAP[a+11]=1}} +function __ZNK22btGImpactMeshShapePart17unlockChildShapesEv(a){var e,a=IHEAP[a+29+33];for(e=IHEAP[a+11]==0?0:1;;)if(e==0)break;else e==1&&(IHEAP[a+11]>1?IHEAP[a+11]+=-1:(e=IHEAP[a+5],FUNCTION_TABLE[IHEAP[IHEAP[e]+6]](e,IHEAP[a+10]),IHEAP[a+12]=0,IHEAP[a+11]=0),e=0)} +function __ZNK23btGImpactShapeInterface12getChildAabbEiRK11btTransformR9btVector3S4_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=8;a=FUNCTION_TABLE[IHEAP[IHEAP[a]+20]](a);FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,e,f);__ZN6btAABB14appy_transformERK11btTransform(f,d);_llvm_memcpy_p0i8_p0i8_i32(b,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c,f+4,4,4,0);STACKTOP=f}function __ZN22btGImpactMeshShapePart13getChildShapeEi(){return 0}function __ZNK22btGImpactMeshShapePart13getChildShapeEi(){return 0} +function __ZNK22btGImpactMeshShapePart17getChildTransformEi(){}function __ZN22btGImpactMeshShapePart17setChildTransformEiRK11btTransform(){}function __ZN18btGImpactMeshShapeD1Ev(a){__ZN18btGImpactMeshShapeD2Ev(a)} +function __ZN18btGImpactMeshShapeD0Ev(a){var e;try{__THREW__=!1,__ZN18btGImpactMeshShapeD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 265553";} +function __ZN18btGImpactMeshShape15setLocalScalingERK9btVector3(a,e){var d,b,c;_llvm_memcpy_p0i8_p0i8_i32(a+25,e,4,4,0);var f=IHEAP[a+145+1];c=f+-1;d=f!=0?0:1;a:for(;;)if(d==0)for(f=a+145;;)if(b=c,d=f,d=IHEAP[IHEAP[d+3]+b],FUNCTION_TABLE[IHEAP[IHEAP[d]+6]](d,e),d=c,c=d+-1,d!=0)d=2;else{d=1;continue a}else if(d==1){IHEAP[a+24]=1;break}}function __ZNK18btGImpactMeshShape7getNameEv(){return __str1226} +function __ZN18btGImpactMeshShape9setMarginEf(a,e){var d,b,c;FHEAP[a+12]=e;var f=IHEAP[a+145+1];c=f+-1;d=f!=0?0:1;a:for(;;)if(d==0)for(f=a+145;;)if(b=c,d=f,d=IHEAP[IHEAP[d+3]+b],FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,e),d=c,c=d+-1,d!=0)d=2;else{d=1;continue a}else if(d==1){IHEAP[a+24]=1;break}}function __ZNK18btGImpactMeshShape28calculateSerializeBufferSizeEv(){return 64} +function __ZN18btGImpactMeshShape13calcLocalAABBEv(a){var e,d,b;b=a+16;FHEAP[b]=3.4028234663852886E38;FHEAP[b+1]=3.4028234663852886E38;FHEAP[b+2]=3.4028234663852886E38;FHEAP[b+4]=-3.4028234663852886E38;FHEAP[b+4+1]=-3.4028234663852886E38;FHEAP[b+4+2]=-3.4028234663852886E38;var c=IHEAP[a+145+1];b=c+-1;e=c!=0?0:1;a:for(;;)if(e==0){var c=a+145,f=a+16,g=a+145;b:for(;;){d=b;e=c;d=e=IHEAP[IHEAP[e+3]+d];for(e=IHEAP[d+24]&1?3:4;;)if(e==3)FUNCTION_TABLE[IHEAP[IHEAP[d]+16]](d),IHEAP[d+24]=0,e=4;else if(e== +4)if(d=b,e=g,e=IHEAP[IHEAP[e+3]+d],__ZN6btAABB5mergeERKS_(f,e+16),e=b,b=e+-1,e!=0){e=2;continue b}else{e=1;continue a}}}else if(e==1)break}function __ZN18btGImpactMeshShape10postUpdateEv(a){var e,d,b,c=IHEAP[a+145+1];b=c+-1;e=c!=0?0:1;a:for(;;)if(e==0)for(c=a+145;;)if(d=b,e=c,e=IHEAP[IHEAP[e+3]+d],FUNCTION_TABLE[IHEAP[IHEAP[e]+17]](e),e=b,b=e+-1,e!=0)e=2;else{e=1;continue a}else if(e==1){IHEAP[a+24]=1;break}}function __ZNK18btGImpactMeshShape19getGImpactShapeTypeEv(){return 2} +function __ZNK18btGImpactMeshShape19getPrimitiveManagerEv(){return 0}function __ZNK18btGImpactMeshShape17getNumChildShapesEv(){return 0}function __ZNK18btGImpactMeshShape20childrenHasTransformEv(){return 0}function __ZNK18btGImpactMeshShape22needsRetrieveTrianglesEv(){return 0}function __ZNK18btGImpactMeshShape25needsRetrieveTetrahedronsEv(){return 0}function __ZNK18btGImpactMeshShape17getBulletTriangleEiR17btTriangleShapeEx(){} +function __ZNK18btGImpactMeshShape20getBulletTetrahedronEiR20btTetrahedronShapeEx(){}function __ZNK18btGImpactMeshShape15lockChildShapesEv(){}function __ZNK18btGImpactMeshShape17unlockChildShapesEv(){}function __ZNK18btGImpactMeshShape12getChildAabbEiRK11btTransformR9btVector3S4_(){}function __ZN18btGImpactMeshShape13getChildShapeEi(){return 0}function __ZNK18btGImpactMeshShape13getChildShapeEi(){return 0}function __ZNK18btGImpactMeshShape17getChildTransformEi(){} +function __ZN18btGImpactMeshShape17setChildTransformEiRK11btTransform(){} +function __ZN18btGImpactMeshShapeD2Ev(a){var e,d=null,b,c;IHEAP[a]=__ZTV18btGImpactMeshShape+2;var f=IHEAP[a+145+1],g=a+145,d=-1;a:for(;;){b=d==1?h:f;c=b+-1;if(b==0){e=3;break a}e=c;b=g;b=IHEAP[IHEAP[b+3]+e];for(e=b==0?1:4;;)if(e==1){var h=c,d=1;e=0;continue a}else if(e==4){e=IHEAP[IHEAP[b]+1];try{__THREW__=!1,FUNCTION_TABLE[e](b)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__){e=5;break a}else e=1}}if(e==3)__ZN20btAlignedObjectArrayIP22btGImpactMeshShapePartE5clearEv(g), +__ZN20btAlignedObjectArrayIP22btGImpactMeshShapePartE5clearEv(a+145),IHEAP[a]=__ZTV23btGImpactShapeInterface+2,__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+29+1),IHEAP[a]=__ZTV14btConcaveShape+2,IHEAP[a]=__ZTV16btCollisionShape+2;else if(e==5)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP22btGImpactMeshShapePartE5clearEv(a+145),IHEAP[a]=__ZTV23btGImpactShapeInterface+2,__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+ +29+1),IHEAP[a]=__ZTV14btConcaveShape+2,IHEAP[a]=__ZTV16btCollisionShape+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 266306";} +function __ZN20btAlignedObjectArrayIP22btGImpactMeshShapePartE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN23btGImpactShapeInterfaceD1Ev(a){IHEAP[a]=__ZTV23btGImpactShapeInterface+2;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+29+1);IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2}function __ZN23btGImpactShapeInterfaceD0Ev(a){IHEAP[a]=__ZTV23btGImpactShapeInterface+2;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+29+1);IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+2;__ZdlPv(a)} +function __ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN6btAABB14appy_transformERK11btTransform(a,e){var d=STACKTOP;STACKTOP+=68;var b=d+1,c=d+2,f=d+3,g=d+4,h=d+5,i,j=d+6,k=d+7,l=d+8;i=d+9;var m=d+10,n=d+11,o=d+12,q=d+13,p=d+14,r=d+15,s=d+16,u=d+17,v=d+18,y=d+19,x=d+20,z,B=d+21,C=d+22,A=d+23,w=d+24,D=d+28,E=d+32,F=d+33,G=d+37,J=d+41,H=d+45,M=d+49,K=d+50,N=d+54,R=d+55,O=d+59,Q=d+60,I=d+64;z=a+4;FHEAP[B]=FHEAP[z]+FHEAP[a];FHEAP[C]=FHEAP[z+1]+FHEAP[a+1];FHEAP[A]=FHEAP[z+2]+FHEAP[a+2];FHEAP[D]=FHEAP[B];FHEAP[D+1]=FHEAP[C];FHEAP[D+2]=FHEAP[A]; +FHEAP[D+3]=0;FHEAP[E]=0.5;FHEAP[i]=FHEAP[D]*FHEAP[E];FHEAP[m]=FHEAP[D+1]*FHEAP[E];FHEAP[n]=FHEAP[D+2]*FHEAP[E];FHEAP[w]=FHEAP[i];FHEAP[w+1]=FHEAP[m];FHEAP[w+2]=FHEAP[n];FHEAP[w+3]=0;i=a+4;FHEAP[j]=FHEAP[i]-FHEAP[w];FHEAP[k]=FHEAP[i+1]-FHEAP[w+1];FHEAP[l]=FHEAP[i+2]-FHEAP[w+2];FHEAP[F]=FHEAP[j];FHEAP[F+1]=FHEAP[k];FHEAP[F+2]=FHEAP[l];FHEAP[F+3]=0;__ZNK11btTransformclERK9btVector3(G,e,w);_llvm_memcpy_p0i8_p0i8_i32(w,G,4,4,0);j=e+0;k=_fabsf(FHEAP[j]);FHEAP[d]=k;k=_fabsf(FHEAP[j+1]);FHEAP[b]=k;j=_fabsf(FHEAP[j+ +2]);FHEAP[c]=j;FHEAP[H]=FHEAP[d];FHEAP[H+1]=FHEAP[b];FHEAP[H+2]=FHEAP[c];FHEAP[H+3]=0;FHEAP[M]=FHEAP[F]*FHEAP[H]+FHEAP[F+1]*FHEAP[H+1]+FHEAP[F+2]*FHEAP[H+2];b=e+4;c=_fabsf(FHEAP[b]);FHEAP[f]=c;c=_fabsf(FHEAP[b+1]);FHEAP[g]=c;b=_fabsf(FHEAP[b+2]);FHEAP[h]=b;FHEAP[K]=FHEAP[f];FHEAP[K+1]=FHEAP[g];FHEAP[K+2]=FHEAP[h];FHEAP[K+3]=0;FHEAP[N]=FHEAP[F]*FHEAP[K]+FHEAP[F+1]*FHEAP[K+1]+FHEAP[F+2]*FHEAP[K+2];f=e+8;g=_fabsf(FHEAP[f]);FHEAP[o]=g;g=_fabsf(FHEAP[f+1]);FHEAP[q]=g;f=_fabsf(FHEAP[f+2]);FHEAP[p]=f;FHEAP[R]= +FHEAP[o];FHEAP[R+1]=FHEAP[q];FHEAP[R+2]=FHEAP[p];FHEAP[R+3]=0;FHEAP[O]=FHEAP[F]*FHEAP[R]+FHEAP[F+1]*FHEAP[R+1]+FHEAP[F+2]*FHEAP[R+2];FHEAP[J]=FHEAP[M];FHEAP[J+1]=FHEAP[N];FHEAP[J+2]=FHEAP[O];FHEAP[J+3]=0;FHEAP[r]=FHEAP[w]-FHEAP[J];FHEAP[s]=FHEAP[w+1]-FHEAP[J+1];FHEAP[u]=FHEAP[w+2]-FHEAP[J+2];FHEAP[Q]=FHEAP[r];FHEAP[Q+1]=FHEAP[s];FHEAP[Q+2]=FHEAP[u];FHEAP[Q+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a,Q,4,4,0);FHEAP[v]=FHEAP[w]+FHEAP[J];FHEAP[y]=FHEAP[w+1]+FHEAP[J+1];FHEAP[x]=FHEAP[w+2]+FHEAP[J+2];FHEAP[I]=FHEAP[v]; +FHEAP[I+1]=FHEAP[y];FHEAP[I+2]=FHEAP[x];FHEAP[I+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+4,I,4,4,0);STACKTOP=d} +function __ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager19get_bullet_triangleEiR17btTriangleShapeEx(a,e,d){var b=STACKTOP;STACKTOP+=3;e=IHEAP[a+16]+IHEAP[a+17]*e;IHEAP[b]=IHEAP[e];IHEAP[b+1]=IHEAP[e+1];IHEAP[b+2]=IHEAP[e+2];__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a,IHEAP[b],d+56);__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a,IHEAP[b+1],d+56+4);__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a, +IHEAP[b+2],d+56+8);FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,FHEAP[a+4]);STACKTOP=b}function __ZN22btGImpactMeshShapePart23TrimeshPrimitiveManagerD1Ev(a){IHEAP[a]=__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+2;IHEAP[a]=__ZTV22btPrimitiveManagerBase+2}function __ZN22btGImpactMeshShapePart23TrimeshPrimitiveManagerD0Ev(a){IHEAP[a]=__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+2;IHEAP[a]=__ZTV22btPrimitiveManagerBase+2;__ZdlPv(a)} +function __ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10is_trimeshEv(){return 1}function __ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager19get_primitive_countEv(a){return IHEAP[a+18]}function __ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager17get_primitive_boxEiR6btAABB(a,e,d){var b=STACKTOP;STACKTOP+=30;FHEAP[b+28]=0.009999999776482582;FUNCTION_TABLE[IHEAP[IHEAP[a]+5]](a,e,b);__ZN6btAABB25calc_from_triangle_marginI9btVector3EEvRKT_S4_S4_f(d,b,b+4,b+8,FHEAP[b+28]);STACKTOP=b} +function __ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager22get_primitive_triangleEiR19btPrimitiveTriangle(a,e,d){var b=STACKTOP;STACKTOP+=3;e=IHEAP[a+16]+IHEAP[a+17]*e;IHEAP[b]=IHEAP[e];IHEAP[b+1]=IHEAP[e+1];IHEAP[b+2]=IHEAP[e+2];__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a,IHEAP[b],d);__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a,IHEAP[b+1],d+4);__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10get_vertexEiR9btVector3(a, +IHEAP[b+2],d+8);FHEAP[d+28]=FHEAP[a+4];STACKTOP=b} +function __ZN6btAABB25calc_from_triangle_marginI9btVector3EEvRKT_S4_S4_f(a,e,d,b,c){var f=null,g=FHEAP[e];if(FHEAP[d]>FHEAP[b])var h=FHEAP[b],f=0;else var i=FHEAP[d],f=2;if(g>(f==0?h:i))if(FHEAP[d]>FHEAP[b])var j=FHEAP[b],f=3;else var k=FHEAP[d],f=5;else var l=FHEAP[e],f=6;FHEAP[a]=f==6?l:f==3?j:k;g=FHEAP[e+1];if(FHEAP[d+1]>FHEAP[b+1])var m=FHEAP[b+1],f=7;else var n=FHEAP[d+1],f=9;if(g>(f==7?m:n))if(FHEAP[d+1]>FHEAP[b+1])var o=FHEAP[b+1],f=10;else var q=FHEAP[d+1],f=12;else var p=FHEAP[e+1],f=13; +FHEAP[a+1]=f==13?p:f==10?o:q;m=FHEAP[e+2];if(FHEAP[d+2]>FHEAP[b+2])var r=FHEAP[b+2],f=14;else var s=FHEAP[d+2],f=16;if(m>(f==14?r:s))if(FHEAP[d+2]>FHEAP[b+2])var u=FHEAP[b+2],f=17;else var v=FHEAP[d+2],f=19;else var y=FHEAP[e+2],f=20;FHEAP[a+2]=f==20?y:f==17?u:v;r=FHEAP[e];if(FHEAP[d]<FHEAP[b])var x=FHEAP[b],f=21;else var z=FHEAP[d],f=23;if(r<(f==21?x:z))if(FHEAP[d]<FHEAP[b])var B=FHEAP[b],f=24;else var C=FHEAP[d],f=26;else var A=FHEAP[e],f=27;FHEAP[a+4]=f==27?A:f==24?B:C;x=FHEAP[e+1];if(FHEAP[d+ +1]<FHEAP[b+1])var w=FHEAP[b+1],f=28;else var D=FHEAP[d+1],f=30;if(x<(f==28?w:D))if(FHEAP[d+1]<FHEAP[b+1])var E=FHEAP[b+1],f=31;else var F=FHEAP[d+1],f=33;else var G=FHEAP[e+1],f=34;FHEAP[a+4+1]=f==34?G:f==31?E:F;w=FHEAP[e+2];if(FHEAP[d+2]<FHEAP[b+2])var J=FHEAP[b+2],f=35;else var H=FHEAP[d+2],f=37;if(w<(f==35?J:H))if(FHEAP[d+2]<FHEAP[b+2])var M=FHEAP[b+2],f=38;else var K=FHEAP[d+2],f=40;else var N=FHEAP[e+2],f=41;FHEAP[a+4+2]=f==41?N:f==38?M:K;FHEAP[a]-=c;FHEAP[a+1]-=c;FHEAP[a+2]-=c;FHEAP[a+4]+=c; +FHEAP[a+4+1]+=c;FHEAP[a+4+2]+=c}function __ZN22btPrimitiveManagerBaseD1Ev(a){IHEAP[a]=__ZTV22btPrimitiveManagerBase+2}function __ZN22btPrimitiveManagerBaseD0Ev(a){IHEAP[a]=__ZTV22btPrimitiveManagerBase+2;__ZdlPv(a)} +function __ZN22btGImpactCompoundShapeD2Ev(a){IHEAP[a]=__ZTV22btGImpactCompoundShape+2;__ZN20btAlignedObjectArrayIP16btCollisionShapeE5clearEv(a+154);__ZN20btAlignedObjectArrayI11btTransformE5clearEv(a+149);var e=a+144;IHEAP[e]=__ZTVN22btGImpactCompoundShape24CompoundPrimitiveManagerE+2;IHEAP[e]=__ZTV22btPrimitiveManagerBase+2;IHEAP[a]=__ZTV23btGImpactShapeInterface+2;__ZN20btAlignedObjectArrayI21BT_QUANTIZED_BVH_NODEE5clearEv(a+29+1);IHEAP[a]=__ZTV14btConcaveShape+2;IHEAP[a]=__ZTV16btCollisionShape+ +2}function __ZN22btGImpactCompoundShape24CompoundPrimitiveManagerD1Ev(a){IHEAP[a]=__ZTVN22btGImpactCompoundShape24CompoundPrimitiveManagerE+2;IHEAP[a]=__ZTV22btPrimitiveManagerBase+2}function __ZN22btGImpactCompoundShape24CompoundPrimitiveManagerD0Ev(a){IHEAP[a]=__ZTVN22btGImpactCompoundShape24CompoundPrimitiveManagerE+2;IHEAP[a]=__ZTV22btPrimitiveManagerBase+2;__ZdlPv(a)}function __ZNK22btGImpactCompoundShape24CompoundPrimitiveManager10is_trimeshEv(){return 0} +function __ZNK22btGImpactCompoundShape24CompoundPrimitiveManager19get_primitive_countEv(a){a=IHEAP[a+4];return FUNCTION_TABLE[IHEAP[IHEAP[a]+21]](a)} +function __ZNK22btGImpactCompoundShape24CompoundPrimitiveManager17get_primitive_boxEiR6btAABB(a,e,d){var b=STACKTOP;STACKTOP+=44;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8,m=b+9,n=b+10,o=b+11,q=b+12,p=b+28,r=IHEAP[a+4];FUNCTION_TABLE[IHEAP[IHEAP[r]+22]](r)?(m=IHEAP[a+4],FUNCTION_TABLE[IHEAP[IHEAP[m]+32]](p,m,e),_llvm_memcpy_p0i8_p0i8_i32(q,p,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(q+4,p+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(q+8,p+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(q+12,p+12,4,4,0)):(FHEAP[b]=1, +FHEAP[c]=0,FHEAP[f]=0,FHEAP[g]=0,FHEAP[h]=1,FHEAP[i]=0,FHEAP[j]=0,FHEAP[k]=0,FHEAP[l]=1,__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(q,b,c,f,g,h,i,j,k,l),p=q+12,FHEAP[m]=0,FHEAP[n]=0,FHEAP[o]=0,FHEAP[p]=FHEAP[m],FHEAP[p+1]=FHEAP[n],FHEAP[p+2]=FHEAP[o],FHEAP[p+3]=0);a=IHEAP[a+4];e=FUNCTION_TABLE[IHEAP[IHEAP[a]+30]](a,e);FUNCTION_TABLE[IHEAP[IHEAP[e]+2]](e,q,d,d+4);STACKTOP=b} +function __ZNK22btGImpactCompoundShape24CompoundPrimitiveManager22get_primitive_triangleEiR19btPrimitiveTriangle(){} +function __ZN20btAlignedObjectArrayI11btTransformE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZNK11btMatrix3x36scaledERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=9;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8;FHEAP[b]=FHEAP[e]*FHEAP[d];FHEAP[c]=FHEAP[e+1]*FHEAP[d+1];FHEAP[f]=FHEAP[e+2]*FHEAP[d+2];FHEAP[g]=FHEAP[e+4]*FHEAP[d];FHEAP[h]=FHEAP[e+4+1]*FHEAP[d+1];FHEAP[i]=FHEAP[e+4+2]*FHEAP[d+2];FHEAP[j]=FHEAP[e+8]*FHEAP[d];FHEAP[k]=FHEAP[e+8+1]*FHEAP[d+1];FHEAP[l]=FHEAP[e+8+2]*FHEAP[d+2];__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a,b,c,f,g,h,i,j,k,l);STACKTOP=b} +function __ZN25btContinuousDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(a,e,d,b,c){__ZN23btDiscreteDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(a,e,d,b,c);IHEAP[a]=__ZTV25btContinuousDynamicsWorld+2} +function __ZN25btContinuousDynamicsWorldD0Ev(a){var e;IHEAP[a]=__ZTV25btContinuousDynamicsWorld+2;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorldD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 269539";} +function __ZN25btContinuousDynamicsWorldD2Ev(a){IHEAP[a]=__ZTV25btContinuousDynamicsWorld+2;__ZN23btDiscreteDynamicsWorldD2Ev(a)} +function __ZN25btContinuousDynamicsWorld28internalSingleStepSimulationEf(a,e){var d,b;__ZN15CProfileManager5ResetEv();d=0!=IHEAP[a+86]?0:1;a:for(;;)if(d==0)FUNCTION_TABLE[IHEAP[a+86]](a,e),d=1;else if(d==1){b=a;FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b);b=a;FUNCTION_TABLE[IHEAP[IHEAP[b]+34]](b,e);b=a;b+=7;FHEAP[b]=e;IHEAP[b+1]=0;d=a;d=FUNCTION_TABLE[IHEAP[IHEAP[d]+4]](d);IHEAP[b+5]=d;d=a;FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d);d=a;FUNCTION_TABLE[IHEAP[IHEAP[d]+37]](d);var c=e;d=a;FHEAP[d+88+3]=c;var c=a, +f=IHEAP[IHEAP[c]+38];d=a;FUNCTION_TABLE[f](c,d+88);FUNCTION_TABLE[IHEAP[IHEAP[a]+44]](a,e);b=d=FHEAP[b+3];d=d<0?2:3;break a}a:for(;;)if(d==2)_printf(__str13,b),d=3;else if(d==3){d=a;FUNCTION_TABLE[IHEAP[IHEAP[d]+35]](d,e*b);__ZN23btDiscreteDynamicsWorld13updateActionsEf(a,e);__ZN23btDiscreteDynamicsWorld21updateActivationStateEf(a,e);d=0!=IHEAP[a+85]?4:5;break a}for(;;)if(d==4)FUNCTION_TABLE[IHEAP[a+85]](a,e),d=5;else if(d==5)break} +function __ZN25btContinuousDynamicsWorld22calculateTimeOfImpactsEf(a,e){var d,b,c;__ZN25btContinuousDynamicsWorld19updateTemporalAabbsEf(a,e);b=a+7;FHEAP[b]=e;FHEAP[b+3]=1;IHEAP[b+1]=0;IHEAP[b+2]=2;c=IHEAP[a+6];for(d=c!=0?0:1;;)if(d==0){d=c;var f=IHEAP[IHEAP[d]+8],g=IHEAP[a+21],g=FUNCTION_TABLE[IHEAP[IHEAP[g]+9]](g);FUNCTION_TABLE[f](d,g,b,IHEAP[a+6]);d=1}else if(d==1){IHEAP[b+2]=1;break}} +function __ZN25btContinuousDynamicsWorld19updateTemporalAabbsEf(a,e){var d=STACKTOP;STACKTOP+=35;var b,c,f,g,h,i,j=d+1,k=d+2,l,m=d+3,n=d+4,o=d+8,q,p=d+12,r=d+13,s=d+14,u=d+15,v=d+16,y=d+17,x=d+18,z=d+22,B=d+23,C=d+27,A=d+31;FHEAP[m]=e;q=0;var w=a+1;b=q<IHEAP[w+1]?0:1;a:for(;;)if(b==0){var D=a+1,E=a+1,F=n,G=C,J=o,H=A,M=a+21,K=a+6;for(;;){c=q;b=D;c=b=IHEAP[IHEAP[b+3]+c];c=(IHEAP[c+58]&2)!=0;c:do if(c){l=f=b;if(f==0)break c;f=l;f=IHEAP[f+48];i=IHEAP[IHEAP[f]+2];h=q;g=E;g=IHEAP[IHEAP[g+3]+h];FUNCTION_TABLE[i](f, +g+1,n,o);f=l;f+=268;i=o;FHEAP[p]=FHEAP[i];i=o;FHEAP[r]=FHEAP[i+1];i=o;FHEAP[s]=FHEAP[i+2];i=n;FHEAP[u]=FHEAP[i];i=n;FHEAP[v]=FHEAP[i+1];i=n;FHEAP[y]=FHEAP[i+2];i=m;FHEAP[d]=FHEAP[f]*FHEAP[i];FHEAP[j]=FHEAP[f+1]*FHEAP[i];FHEAP[k]=FHEAP[f+2]*FHEAP[i];f=x;i=d;g=j;h=k;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[g];FHEAP[f+2]=FHEAP[h];FHEAP[f+3]=0;f=x;f=FHEAP[f]>0;i=x;i=FHEAP[i];f?FHEAP[p]+=i:FHEAP[u]+=i;f=x;f=FHEAP[f+1]>0;i=x;i=FHEAP[i+1];f?FHEAP[r]+=i:FHEAP[v]+=i;f=x;f=FHEAP[f+2]>0;i=x;i=FHEAP[i+2];f?FHEAP[s]+= +i:FHEAP[y]+=i;FHEAP[z]=0;f=B;h=g=i=z;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[g];FHEAP[f+2]=FHEAP[h];FHEAP[f+3]=0;f=C;i=u;g=v;h=y;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[g];FHEAP[f+2]=FHEAP[h];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(F,G,4,4,0);f=A;i=p;g=r;h=s;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[g];FHEAP[f+2]=FHEAP[h];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(J,H,4,4,0);i=n;f=B;FHEAP[i]-=FHEAP[f];FHEAP[i+1]-=FHEAP[f+1];FHEAP[i+2]-=FHEAP[f+2];i=o;f=B;FHEAP[i]+=FHEAP[f];FHEAP[i+1]+=FHEAP[f+1];FHEAP[i+2]+=FHEAP[f+ +2];f=IHEAP[M];i=IHEAP[IHEAP[f]+4];FUNCTION_TABLE[i](f,IHEAP[l+47],n,o,IHEAP[K])}while(0);q+=1;c=q;b=w;if(c<IHEAP[b+1])b=2;else{b=1;continue a}}}else if(b==1){j=IHEAP[a+21];FUNCTION_TABLE[IHEAP[IHEAP[j]+8]](j,IHEAP[a+6]);STACKTOP=d;break}}function __ZNK25btContinuousDynamicsWorld12getWorldTypeEv(){return 3}function __ZN23btDiscreteDynamicsWorld11setNumTasksEi(){}function __ZN23btDiscreteDynamicsWorld14updateVehiclesEf(a,e){__ZN23btDiscreteDynamicsWorld13updateActionsEf(a,e)} +function __ZN11btRigidBodyC2ERKNS_27btRigidBodyConstructionInfoE(a,e){var d;__ZN17btCollisionObjectC2Ev(a);IHEAP[a]=__ZTV11btRigidBody+2;d=a+311;IHEAP[d+4]=1;IHEAP[d+3]=0;IHEAP[d+1]=0;IHEAP[d+2]=0;try{__THREW__=!1,__ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE(a,e)}catch(b){if(ABORT)throw b;__THREW__=!0;print("Exception: "+b+" : "+b.stack+", currently at: "+Error().stack)}d=__THREW__?1:0;if(d!=0&&d==1)throw d=_llvm_eh_exception(),_llvm_eh_selector(d,___gxx_personality_v0,0), +__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a+311),IHEAP[a]=__ZTV17btCollisionObject+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 270488";} +function __ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE(a,e){var d=STACKTOP;STACKTOP+=49;var b,c=d+1,f=d+2,g=d+3,h=d+4,i=d+5,j=d+6,k=d+7,l=d+8,m=d+9,n=d+10,o=d+11,q=d+12,p=d+13,r=d+14,s=d+15,u=d+16,v=d+17,y=d+18,x=d+19,z=d+20,B=d+21,C=d+22,A=d+23,w=d+24,D=d+25,E=d+26,F=d+27,G=d+28,J=d+29,H=d+30,M=d+31,K=d+32,N=d+33,R=d+34,O=d+35;b=d+36;var Q=d+37,I=d+38,L=d+39,P=d+40,S=d+41,T=d+42,U=d+43,W=d+44,Z=d+45;IHEAP[a+58]=2;var ca=a+268;FHEAP[s]=0;FHEAP[u]=0;FHEAP[v]=0;FHEAP[ca]=FHEAP[s]; +FHEAP[ca+1]=FHEAP[u];FHEAP[ca+2]=FHEAP[v];FHEAP[ca+3]=0;s=a+272;FHEAP[y]=0;FHEAP[x]=0;FHEAP[z]=0;FHEAP[s]=FHEAP[y];FHEAP[s+1]=FHEAP[x];FHEAP[s+2]=FHEAP[z];FHEAP[s+3]=0;y=a+326;FHEAP[B]=1;FHEAP[C]=1;FHEAP[A]=1;FHEAP[y]=FHEAP[B];FHEAP[y+1]=FHEAP[C];FHEAP[y+2]=FHEAP[A];FHEAP[y+3]=0;B=a+277;FHEAP[w]=1;FHEAP[D]=1;FHEAP[E]=1;FHEAP[B]=FHEAP[w];FHEAP[B+1]=FHEAP[D];FHEAP[B+2]=FHEAP[E];FHEAP[B+3]=0;w=a+281;FHEAP[F]=0;FHEAP[G]=0;FHEAP[J]=0;FHEAP[w]=FHEAP[F];FHEAP[w+1]=FHEAP[G];FHEAP[w+2]=FHEAP[J];FHEAP[w+3]= +0;F=a+285;FHEAP[H]=0;FHEAP[M]=0;FHEAP[K]=0;FHEAP[F]=FHEAP[H];FHEAP[F+1]=FHEAP[M];FHEAP[F+2]=FHEAP[K];FHEAP[F+3]=0;H=a+293;FHEAP[N]=0;FHEAP[R]=0;FHEAP[O]=0;FHEAP[H]=FHEAP[N];FHEAP[H+1]=FHEAP[R];FHEAP[H+2]=FHEAP[O];FHEAP[H+3]=0;N=a+297;FHEAP[b]=0;FHEAP[Q]=0;FHEAP[I]=0;FHEAP[N]=FHEAP[b];FHEAP[N+1]=FHEAP[Q];FHEAP[N+2]=FHEAP[I];FHEAP[N+3]=0;__ZN11btRigidBody10setDampingEff(a,FHEAP[e+23],FHEAP[e+24]);FHEAP[a+308]=FHEAP[e+27];FHEAP[a+309]=FHEAP[e+28];IHEAP[a+310]=IHEAP[e+1];IHEAP[a+342]=0;IHEAP[a+343]=0; +IHEAP[a+303]=IHEAP[e+29]&1;FHEAP[a+304]=FHEAP[e+30];FHEAP[a+305]=FHEAP[e+31];FHEAP[a+306]=FHEAP[e+32];FHEAP[a+307]=FHEAP[e+33];IHEAP[a+310]!=0?(b=IHEAP[a+310],FUNCTION_TABLE[IHEAP[IHEAP[b]+2]](b,a+1)):(Q=e+2,b=a+1,_llvm_memcpy_p0i8_p0i8_i32(b,Q,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+4,Q+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+8,Q+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+12,Q+12,4,4,0));Q=a+1;b=a+17;_llvm_memcpy_p0i8_p0i8_i32(b,Q,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,Q+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+ +8,Q+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,Q+12,4,4,0);b=a+33;FHEAP[L]=0;FHEAP[P]=0;FHEAP[S]=0;FHEAP[b]=FHEAP[L];FHEAP[b+1]=FHEAP[P];FHEAP[b+2]=FHEAP[S];FHEAP[b+3]=0;L=a+37;FHEAP[T]=0;FHEAP[U]=0;FHEAP[W]=0;FHEAP[L]=FHEAP[T];FHEAP[L+1]=FHEAP[U];FHEAP[L+2]=FHEAP[W];FHEAP[L+3]=0;FHEAP[a+56]=FHEAP[e+25];FHEAP[a+57]=FHEAP[e+26];FUNCTION_TABLE[IHEAP[IHEAP[a]+3]](a,IHEAP[e+18]);T=IHEAP[__ZL8uniqueId];IHEAP[__ZL8uniqueId]=T+1;IHEAP[a+317]=T;__ZN11btRigidBody12setMassPropsEfRK9btVector3(a,FHEAP[e],e+19); +__ZN11btRigidBody19updateInertiaTensorEv(a);IHEAP[a+316]=0;T=a+318;FHEAP[d]=0;FHEAP[c]=0;FHEAP[f]=0;FHEAP[T]=FHEAP[d];FHEAP[T+1]=FHEAP[c];FHEAP[T+2]=FHEAP[f];FHEAP[T+3]=0;c=a+322;FHEAP[g]=0;FHEAP[h]=0;FHEAP[i]=0;FHEAP[c]=FHEAP[g];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]=0;h=a+277;g=a+276;FHEAP[j]=FHEAP[h]*FHEAP[g];FHEAP[k]=FHEAP[h+1]*FHEAP[g];FHEAP[l]=FHEAP[h+2]*FHEAP[g];FHEAP[Z]=FHEAP[j];FHEAP[Z+1]=FHEAP[k];FHEAP[Z+2]=FHEAP[l];FHEAP[Z+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+330,Z,4,4,0);j=a+ +334;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[j]=FHEAP[m];FHEAP[j+1]=FHEAP[n];FHEAP[j+2]=FHEAP[o];FHEAP[j+3]=0;m=a+338;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[m]=FHEAP[q];FHEAP[m+1]=FHEAP[p];FHEAP[m+2]=FHEAP[r];FHEAP[m+3]=0;STACKTOP=d} +function __ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(a,e,d,b,c){var f=STACKTOP;STACKTOP+=34;__ZN17btCollisionObjectC2Ev(a);IHEAP[a]=__ZTV11btRigidBody+2;var g=a+311;IHEAP[g+4]=1;IHEAP[g+3]=0;IHEAP[g+1]=0;IHEAP[g+2]=0;__ZN11btRigidBody27btRigidBodyConstructionInfoC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(f,e,d,b,c);try{__THREW__=!1,__ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE(a,f)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+ +h+" : "+h.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)STACKTOP=f;else if(e==1)throw f=_llvm_eh_exception(),_llvm_eh_selector(f,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a+311),IHEAP[a]=__ZTV17btCollisionObject+2,__Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 271397";} +function __ZN11btRigidBody10setDampingEff(a,e,d){var b=STACKTOP;STACKTOP+=6;var c=null,f=b+1,c=b+2,g=b+3,h=b+4,i=b+5;FHEAP[b]=e;FHEAP[f]=d;FHEAP[c]=0;FHEAP[g]=1;if(FHEAP[b]<FHEAP[c])var j=c,c=0;else var k=FHEAP[g]<FHEAP[b]?g:b,c=2;FHEAP[a+301]=FHEAP[c==0?j:k];FHEAP[h]=0;FHEAP[i]=1;if(FHEAP[f]<FHEAP[h])var l=h,c=3;else var m=FHEAP[i]<FHEAP[f]?i:f,c=5;FHEAP[a+302]=FHEAP[c==3?l:m];STACKTOP=b} +function __ZN11btRigidBody12setMassPropsEfRK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=18;var c,f=null,g,h,i,j,k,l,m,n;n=b+1;m=b+2;var o=b+3,f=b+4;c=b+5;var q=b+6,p=b+7;j=b+11;k=b+12;l=b+13;var r=b+14;FHEAP[q]=e;var e=a+51,s=IHEAP[e];FHEAP[q]==0?(IHEAP[e]=s|1,FHEAP[a+276]=0):(IHEAP[e]=s&-2,FHEAP[a+276]=1/FHEAP[q]);e=a+285;FHEAP[o]=FHEAP[e]*FHEAP[q];FHEAP[f]=FHEAP[e+1]*FHEAP[q];FHEAP[c]=FHEAP[e+2]*FHEAP[q];FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[f];FHEAP[p+2]=FHEAP[c];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+ +281,p,4,4,0);o=a+289;FHEAP[d]!=0?(f=1,c=2):(f=1,c=3);a:for(;;)if(c==2)g=d,g=1/FHEAP[g],f=2,c=3;else if(c==3){FHEAP[j]=f==2?g:0;g=d;FHEAP[g+1]!=0?(f=3,c=4):(f=3,c=5);break a}a:for(;;)if(c==4)h=d,h=1/FHEAP[h+1],f=4,c=5;else if(c==5){FHEAP[k]=f==4?h:0;h=d;FHEAP[h+2]!=0?(f=5,c=6):(f=5,c=7);break a}for(;;)if(c==6)i=d,i=1/FHEAP[i+2],f=6,c=7;else if(c==7){FHEAP[l]=f==6?i:0;d=o;FHEAP[d]=FHEAP[j];FHEAP[d+1]=FHEAP[k];FHEAP[d+2]=FHEAP[l];FHEAP[d+3]=0;l=a+330;k=a+276;a+=277;FHEAP[b]=FHEAP[a]*FHEAP[k];FHEAP[n]= +FHEAP[a+1]*FHEAP[k];FHEAP[m]=FHEAP[a+2]*FHEAP[k];a=r;k=b;j=n;n=k;k=j;j=m;m=a;a=k;k=j;FHEAP[m]=FHEAP[n];FHEAP[m+1]=FHEAP[a];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(l,r,4,4,0);STACKTOP=b;break}} +function __ZN11btRigidBody19updateInertiaTensorEv(a){var e=STACKTOP;STACKTOP+=36;var d=e+12,b=e+24,c=a+256;__ZNK11btMatrix3x36scaledERK9btVector3(d,a+1,a+289);a+=1;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(b,a,a+4,a+8,a+1,a+4+1,a+8+1,a+2,a+4+2,a+8+2);__ZmlRK11btMatrix3x3S1_(e,d,b);_llvm_memcpy_p0i8_p0i8_i32(c,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,e+8,4,4,0);STACKTOP=e} +function __ZN11btRigidBody26predictIntegratedTransformEfR11btTransform(a,e,d){__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(a+1,a+268,a+272,e,d)} +function __ZN11btRigidBody18saveKinematicStateEf(a,e){var d,b,c,f;d=e!=0?0:1;a:for(;;)if(d==0){d=a;for(d=IHEAP[d+310]!=0?2:3;;)if(d==2)d=a,d=IHEAP[d+310],FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d,a+1),d=3;else if(d==3){__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(a+17,a+1,e,a+268,a+272);_llvm_memcpy_p0i8_p0i8_i32(a+33,a+268,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+37,a+272,4,4,0);d=a+1;f=a+17;c=d;b=f;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0); +_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,d+12,4,4,0);d=1;continue a}}else if(d==1)break} +function __ZN11btRigidBody10setGravityERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=8;var b,c,f,g,h,i=d+1,j=d+2,k=d+3,l=d+4;for(b=FHEAP[a+276]!=0?0:1;;)if(b==0)b=a+281,c=e,FHEAP[k]=1/FHEAP[a+276],f=k,FHEAP[d]=FHEAP[c]*FHEAP[f],FHEAP[i]=FHEAP[c+1]*FHEAP[f],FHEAP[j]=FHEAP[c+2]*FHEAP[f],c=l,f=d,g=i,h=j,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+2]=FHEAP[h],FHEAP[c+3]=0,_llvm_memcpy_p0i8_p0i8_i32(b,l,4,4,0),b=1;else if(b==1){_llvm_memcpy_p0i8_p0i8_i32(a+285,e,4,4,0);STACKTOP=d;break}} +function __ZN11btRigidBody12applyDampingEf(a,e){var d=STACKTOP;STACKTOP+=42;var b,c,f,g,h,i=d+1,j=d+2,k=d+3,l=d+4,m,n=d+5,o=d+6,q=d+7,p,r=d+8,s=d+9,u=d+10,v=d+11,y=d+12,x=d+13,z=d+14,B=d+15;c=d+16;b=d+17;var C=d+18,A=d+19,w=d+23,D=d+27,E=d+28,F=d+29,G=d+30,J=d+31,H=d+35,M=d+39,K=d+40,N=d+41;g=a+268;h=_llvm_pow_f32(1-FHEAP[a+301],e);FHEAP[c]=h;FHEAP[g]*=FHEAP[c];FHEAP[g+1]*=FHEAP[c];FHEAP[g+2]*=FHEAP[c];c=a+272;g=_llvm_pow_f32(1-FHEAP[a+302],e);FHEAP[b]=g;FHEAP[c]*=FHEAP[b];FHEAP[c+1]*=FHEAP[b];FHEAP[c+ +2]*=FHEAP[b];b=IHEAP[a+303]&1?0:1;a:for(;;)if(b==0){b=c=b=a+272;b=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2]<FHEAP[a+306]?2:3;b:for(;;)if(b==2){b=c=b=a+268;if(!(FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2]<FHEAP[a+305])){b=3;continue b}c=a+304;b=a+272;FHEAP[b]*=FHEAP[c];FHEAP[b+1]*=FHEAP[c];FHEAP[b+2]*=FHEAP[c];c=a+304;b=a+268;FHEAP[b]*=FHEAP[c];FHEAP[b+1]*=FHEAP[c];FHEAP[b+2]*=FHEAP[c];b=3}else if(b==3){f=b=f=a+268;f=FHEAP[f]*FHEAP[b]+FHEAP[f+1]*FHEAP[b+1]+FHEAP[f+ +2]*FHEAP[b+2];f=_sqrtf(f);b=f<FHEAP[a+301]?5:6;break b}for(;;)if(b==5)FHEAP[C]=0.004999999888241291,b=a+268,f>FHEAP[C]?(c=g=c=b,c=FHEAP[c]*FHEAP[g]+FHEAP[c+1]*FHEAP[g+1]+FHEAP[c+2]*FHEAP[g+2],c=_sqrtf(c),FHEAP[l]=c,c=b,b=l,FHEAP[k]=1/FHEAP[b],b=c,c=k,FHEAP[d]=FHEAP[b]*FHEAP[c],FHEAP[i]=FHEAP[b+1]*FHEAP[c],FHEAP[j]=FHEAP[b+2]*FHEAP[c],b=A,c=d,g=i,h=j,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[g],FHEAP[b+2]=FHEAP[h],FHEAP[b+3]=0,b=a+268,c=A,g=C,FHEAP[n]=FHEAP[c]*FHEAP[g],FHEAP[o]=FHEAP[c+1]*FHEAP[g],FHEAP[q]= +FHEAP[c+2]*FHEAP[g],c=w,g=n,h=o,m=q,FHEAP[c]=FHEAP[g],FHEAP[c+1]=FHEAP[h],FHEAP[c+2]=FHEAP[m],FHEAP[c+3]=0,c=b,b=w,FHEAP[c]-=FHEAP[b],FHEAP[c+1]-=FHEAP[b+1],FHEAP[c+2]-=FHEAP[b+2]):(FHEAP[D]=0,FHEAP[E]=0,FHEAP[F]=0,h=b,b=D,c=E,g=F,FHEAP[h]=FHEAP[b],FHEAP[h+1]=FHEAP[c],FHEAP[h+2]=FHEAP[g],FHEAP[h+3]=0),b=6;else if(b==6)if(p=b=p=a+272,p=FHEAP[p]*FHEAP[b]+FHEAP[p+1]*FHEAP[b+1]+FHEAP[p+2]*FHEAP[b+2],p=_sqrtf(p),p<FHEAP[a+302])break;else{b=1;continue a}FHEAP[G]=0.004999999888241291;b=a+272;p>FHEAP[G]? +(c=g=c=b,c=FHEAP[c]*FHEAP[g]+FHEAP[c+1]*FHEAP[g+1]+FHEAP[c+2]*FHEAP[g+2],c=_sqrtf(c),FHEAP[y]=c,c=b,b=y,FHEAP[v]=1/FHEAP[b],b=c,c=v,FHEAP[r]=FHEAP[b]*FHEAP[c],FHEAP[s]=FHEAP[b+1]*FHEAP[c],FHEAP[u]=FHEAP[b+2]*FHEAP[c],b=J,c=r,g=s,h=u,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[g],FHEAP[b+2]=FHEAP[h],FHEAP[b+3]=0,b=a+272,c=J,g=G,FHEAP[x]=FHEAP[c]*FHEAP[g],FHEAP[z]=FHEAP[c+1]*FHEAP[g],FHEAP[B]=FHEAP[c+2]*FHEAP[g],c=H,g=x,h=z,m=B,FHEAP[c]=FHEAP[g],FHEAP[c+1]=FHEAP[h],FHEAP[c+2]=FHEAP[m],FHEAP[c+3]=0,c=b,b=H,FHEAP[c]-= +FHEAP[b],FHEAP[c+1]-=FHEAP[b+1],FHEAP[c+2]-=FHEAP[b+2]):(FHEAP[M]=0,FHEAP[K]=0,FHEAP[N]=0,h=b,b=M,c=K,g=N,FHEAP[h]=FHEAP[b],FHEAP[h+1]=FHEAP[c],FHEAP[h+2]=FHEAP[g],FHEAP[h+3]=0);b=1}else if(b==1){STACKTOP=d;break}}function __ZN11btRigidBody12applyGravityEv(a){var e;for(e=(IHEAP[a+51]&3)!=0?0:1;;)if(e==0)break;else e==1&&(__ZN11btRigidBody17applyCentralForceERK9btVector3(a,a+281),e=0)} +function __ZN11btRigidBody17applyCentralForceERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=7;var b,c=d+1,f=d+2,g=d+3,h=a+293;b=a+277;FHEAP[d]=FHEAP[e]*FHEAP[b];FHEAP[c]=FHEAP[e+1]*FHEAP[b+1];FHEAP[f]=FHEAP[e+2]*FHEAP[b+2];FHEAP[g]=FHEAP[d];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;FHEAP[h]+=FHEAP[g];FHEAP[h+1]+=FHEAP[g+1];FHEAP[h+2]+=FHEAP[g+2];STACKTOP=d}function __ZN11btRigidBody18proceedToTransformERK11btTransform(a,e){__ZN11btRigidBody24setCenterOfMassTransformERK11btTransform(a,e)} +function __ZN11btRigidBody24setCenterOfMassTransformERK11btTransform(a,e){var d,b=a+17;(IHEAP[a+51]&3)!=0?(d=a+1,_llvm_memcpy_p0i8_p0i8_i32(b,d,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+4,d+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+8,d+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+12,d+12,4,4,0)):(_llvm_memcpy_p0i8_p0i8_i32(b,e,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+4,e+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+8,e+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+12,e+12,4,4,0));_llvm_memcpy_p0i8_p0i8_i32(a+33,a+268,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+ +37,a+272,4,4,0);d=a+1;_llvm_memcpy_p0i8_p0i8_i32(d,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,e+12,4,4,0);__ZN11btRigidBody19updateInertiaTensorEv(a)} +function __ZN11btRigidBody19integrateVelocitiesEf(a,e){var d=STACKTOP;STACKTOP+=21;var b,c,f,g,h,i=d+1,j=d+2,k=d+3,l=d+4,m=d+5,n=d+6,o=d+7,q=d+11,p=d+12,r=d+16,s=d+20;FHEAP[n]=e;for(b=(IHEAP[a+51]&3)!=0?0:1;;)if(b==0){STACKTOP=d;break}else b==1&&(b=a+268,c=a+293,FHEAP[q]=FHEAP[a+276]*FHEAP[n],f=q,FHEAP[k]=FHEAP[c]*FHEAP[f],FHEAP[l]=FHEAP[c+1]*FHEAP[f],FHEAP[m]=FHEAP[c+2]*FHEAP[f],c=o,f=k,g=l,h=m,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+2]=FHEAP[h],FHEAP[c+3]=0,c=b,b=o,FHEAP[c]+=FHEAP[b],FHEAP[c+ +1]+=FHEAP[b+1],FHEAP[c+2]+=FHEAP[b+2],b=a+272,__ZmlRK11btMatrix3x3RK9btVector3(r,a+256,a+297),c=r,f=n,FHEAP[d]=FHEAP[c]*FHEAP[f],FHEAP[i]=FHEAP[c+1]*FHEAP[f],FHEAP[j]=FHEAP[c+2]*FHEAP[f],c=p,f=d,g=i,h=j,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+2]=FHEAP[h],FHEAP[c+3]=0,c=b,b=p,FHEAP[c]+=FHEAP[b],FHEAP[c+1]+=FHEAP[b+1],FHEAP[c+2]+=FHEAP[b+2],b=c=b=a+272,b=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2],b=_sqrtf(b),b*FHEAP[n]>1.5707963705062866&&(c=a+272,FHEAP[s]=1.5707963705062866/ +FHEAP[n]/b,b=s,FHEAP[c]*=FHEAP[b],FHEAP[c+1]*=FHEAP[b],FHEAP[c+2]*=FHEAP[b]),b=0)} +function __ZN11btRigidBody24checkCollideWithOverrideEP17btCollisionObject(a,e){var d,b,c,f,g,h=(IHEAP[e+58]&2)!=0;a:do if(h){f=g=e;if(g==0){d=0;break a}g=0;for(var i=a+311,j=a+311;;){b=g;d=i;if(!(b<IHEAP[d+1])){d=5;break}b=g;d=j;d=b=IHEAP[IHEAP[d+3]+b];if(IHEAP[d+10]==f){d=6;break}d=b;if(IHEAP[d+11]==f){d=6;break}g+=1;d=3}if(d==5){c=1;d=2;break a}else if(d==6){c=0;d=2;break a}}else{d=0;break a}while(0);for(;;)if(d==2)return c;else d==0&&(c=1,d=2);return null} +function __ZN11btRigidBody25internalWritebackVelocityEf(a,e){var d=STACKTOP;STACKTOP+=30;var b,c,f,g,h=d+1,i=d+2,j=d+3,k=d+4,l=d+5,m=d+6,n=d+10,o=d+14;for(b=FHEAP[a+276]!=0?0:1;;)if(b==0)b=a,c=a+318,b+=268,FHEAP[j]=FHEAP[b]+FHEAP[c],FHEAP[k]=FHEAP[b+1]+FHEAP[c+1],FHEAP[l]=FHEAP[b+2]+FHEAP[c+2],b=m,c=j,f=k,g=l,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,b=a,c=m,_llvm_memcpy_p0i8_p0i8_i32(b+268,c,4,4,0),b=a,c=a+322,b+=272,FHEAP[d]=FHEAP[b]+FHEAP[c],FHEAP[h]=FHEAP[b+1]+FHEAP[c+ +1],FHEAP[i]=FHEAP[b+2]+FHEAP[c+2],b=n,c=d,f=h,g=i,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,b=a,c=n,_llvm_memcpy_p0i8_p0i8_i32(b+272,c,4,4,0),b=a,__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(b+1,a+334,a+338,e,o),b=a,f=c=o,c=b+1,g=b=f,f=c,_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(c+12,b+12,4,4,0),b=1;else if(b==1){STACKTOP=d;break}} +function __ZN11btRigidBody16addConstraintRefEP17btTypedConstraint(a,e){var d=STACKTOP;STACKTOP+=1;var b,c=null,f,g,h;IHEAP[d]=e;g=a+311;h=IHEAP[g+1];var c=0,i=g+3;a:for(;;){var j=c;b=g;if(!(j<IHEAP[b+1])){b=2;break a}f=c;if(IHEAP[IHEAP[i]+c]==IHEAP[d]){b=3;break a}c=f+1;b=0}a:for(;;)if(b==2){b=f=h;f=a+311;b=b==IHEAP[f+1]?5:6;break a}else b==3&&(h=f,b=2);a:for(;;)if(b==5){b=a+311;f=d;b=h=b;c=b=IHEAP[b+1];b=h;b=c==IHEAP[b+2]?7:8;b:for(;;)if(b==7){b=h;g=IHEAP[b+1];g!=0?(c=7,b=9):(c=7,b=10);for(;;)if(b== +9){var k=g*2,c=9;b=10}else if(b==10){__ZN20btAlignedObjectArrayIP17btTypedConstraintE7reserveEi(h,c==9?k:1);b=8;continue b}}else if(b==8){var l=IHEAP[h+3]+IHEAP[h+1];b=l==0?11:12;break b}for(;;)if(b==11){IHEAP[h+1]+=1;b=6;continue a}else b==12&&(IHEAP[l]=IHEAP[f],b=11)}else if(b==6){IHEAP[a+63]=1;STACKTOP=d;break}} +function __ZN11btRigidBody19removeConstraintRefEP17btTypedConstraint(a,e){var d=STACKTOP;STACKTOP+=1;IHEAP[d]=e;__ZN20btAlignedObjectArrayIP17btTypedConstraintE6removeERKS1_(a+311,d);IHEAP[a+63]=IHEAP[a+311+1]>0;STACKTOP=d} +function __ZN20btAlignedObjectArrayIP17btTypedConstraintE6removeERKS1_(a,e){var d,b,c,f,g;b=IHEAP[a+1];c=0;f=a+3;a:for(;;){var h=c;d=a;if(!(h<IHEAP[d+1])){d=2;break a}var i=c;if(IHEAP[IHEAP[f]+c]==IHEAP[e]){d=3;break a}c=i+1;d=0}a:for(;;)if(d==2){c=g=b;b=a;d=c<IHEAP[b+1]?5:6;break a}else d==3&&(b=i,d=2);for(;;)if(d==5)b=g,c=a,f=IHEAP[c+1]-1,i=c=a,c=IHEAP[IHEAP[i+3]+b],IHEAP[IHEAP[i+3]+b]=IHEAP[IHEAP[i+3]+f],IHEAP[IHEAP[i+3]+f]=c,b=a,IHEAP[b+1]+=-1,d=6;else if(d==6)break} +function __ZNK11btRigidBody28calculateSerializeBufferSizeEv(){return 480} +function __ZNK11btRigidBody9serializeEPvP12btSerializer(a,e,d){var b,c,f;__ZNK17btCollisionObject9serializeEPvP12btSerializer(a,e,d);var g=e+62,d=a+256;b=0;a:for(;;){f=g+b*4;var h=c=d+b*4;for(c=0;;){FHEAP[f+c]=FHEAP[h+c];var i=c+1;c=i;if(!(i<4))break}b=f=b+1;if(!(f<3))break a}g=e+74;d=a+268;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;g=e+78;d=a+272;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;FHEAP[e+110]=FHEAP[a+276];g=e+82;d=a+326;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+ +b],b=f=b+1,!(f<4))break a;g=e+86;d=a+277;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;g=e+90;d=a+281;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;g=e+94;d=a+285;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;g=e+98;d=a+289;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;g=e+102;d=a+293;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;g=e+106;d=a+297;for(b=0;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+111]=FHEAP[a+301]; +FHEAP[e+112]=FHEAP[a+302];IHEAP[e+119]=IHEAP[a+303]&1;FHEAP[e+113]=FHEAP[a+304];FHEAP[e+114]=FHEAP[a+305];FHEAP[e+115]=FHEAP[a+306];FHEAP[e+116]=FHEAP[a+307];FHEAP[e+117]=FHEAP[a+308];FHEAP[e+118]=FHEAP[a+309];return __str114}function __ZNK11btRigidBody21serializeSingleObjectEP12btSerializer(a,e){var d;d=IHEAP[IHEAP[e]+4];var b=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);d=FUNCTION_TABLE[d](e,b,1);b=FUNCTION_TABLE[IHEAP[IHEAP[a]+5]](a,IHEAP[d+2],e);FUNCTION_TABLE[IHEAP[IHEAP[e]+5]](e,d,b,1497645650,a)} +function __ZN11btRigidBodyD1Ev(a){IHEAP[a]=__ZTV11btRigidBody+2;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a+311);IHEAP[a]=__ZTV17btCollisionObject+2}function __ZN11btRigidBodyD0Ev(a){var e;IHEAP[a]=__ZTV11btRigidBody+2;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a+311);IHEAP[a]=__ZTV17btCollisionObject+2;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN20btAlignedObjectArrayIP17btTypedConstraintE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+ +3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN21btSimpleDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(a,e,d,b,c){var f=STACKTOP;STACKTOP+=3;var g=f+1,h=f+2;__ZN16btCollisionWorldC2EP12btDispatcherP21btBroadphaseInterfaceP24btCollisionConfiguration(a,e,d,c);IHEAP[a]=__ZTV15btDynamicsWorld+2;IHEAP[a+85]=0;IHEAP[a+86]=0;IHEAP[a+87]=0;e=a+88;FHEAP[e]=0.6000000238418579;FHEAP[e+1]=1;FHEAP[e+2]=0.30000001192092896;FHEAP[e+4]=0;FHEAP[e+6]=20;IHEAP[e+5]=10;FHEAP[e+8]=0.20000000298023224; +FHEAP[e+9]=0.10000000149011612;FHEAP[e+10]=0;FHEAP[e+7]=1;IHEAP[e+11]=0;FHEAP[e+12]=-0.019999999552965164;FHEAP[e+13]=0;FHEAP[e+14]=0.8500000238418579;IHEAP[e+15]=260;IHEAP[e+16]=2;IHEAP[e+17]=128;IHEAP[a]=__ZTV21btSimpleDynamicsWorld+2;IHEAP[a+172]=b;IHEAP[a+173]=0;a+=174;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=-10;FHEAP[a]=FHEAP[f];FHEAP[a+1]=FHEAP[g];FHEAP[a+2]=FHEAP[h];FHEAP[a+3]=0;STACKTOP=f} +function __ZN21btSimpleDynamicsWorldD0Ev(a){var e;try{__THREW__=!1,__ZN21btSimpleDynamicsWorldD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 275737";} +function __ZN21btSimpleDynamicsWorldD2Ev(a){var e;IHEAP[a]=__ZTV21btSimpleDynamicsWorld+2;for(e=IHEAP[a+173]&1?0:1;;)if(e==0)e=IHEAP[a+172],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=1;else if(e==1){IHEAP[a]=__ZTV15btDynamicsWorld+2;__ZN16btCollisionWorldD2Ev(a);break}} +function __ZN21btSimpleDynamicsWorld14stepSimulationEfif(a,e){var d=STACKTOP;STACKTOP+=72;var b,c,f,g,h;__ZN21btSimpleDynamicsWorld25predictUnconstraintMotionEf(a,e);h=a+7;FHEAP[h]=e;IHEAP[h+1]=0;b=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);IHEAP[h+5]=b;FUNCTION_TABLE[IHEAP[IHEAP[a]+10]](a);h=IHEAP[a+6];h=FUNCTION_TABLE[IHEAP[IHEAP[h]+9]](h);for(b=h!=0?0:1;;)if(b==0){b=IHEAP[a+6];b=FUNCTION_TABLE[IHEAP[IHEAP[b]+11]](b);g=d;FHEAP[g]=0.6000000238418579;FHEAP[g+1]=1;FHEAP[g+2]=0.30000001192092896;FHEAP[g+ +4]=0;FHEAP[g+6]=20;IHEAP[g+5]=10;FHEAP[g+8]=0.20000000298023224;FHEAP[g+9]=0.10000000149011612;FHEAP[g+10]=0;FHEAP[g+7]=1;IHEAP[g+11]=0;FHEAP[g+12]=-0.019999999552965164;FHEAP[g+13]=0;FHEAP[g+14]=0.8500000238418579;IHEAP[g+15]=260;IHEAP[g+16]=2;IHEAP[g+17]=128;FHEAP[d+3]=e;g=IHEAP[a+172];FUNCTION_TABLE[IHEAP[IHEAP[g]+2]](g,0,h);g=IHEAP[a+172];var i=IHEAP[IHEAP[g]+3];f=a;f+=1;f=IHEAP[f+3]+0;c=a;c+=1;FUNCTION_TABLE[i](g,f,IHEAP[c+1],b,h,0,0,d,IHEAP[a+22],IHEAP[a+20],IHEAP[a+6]);b=IHEAP[a+172];FUNCTION_TABLE[IHEAP[IHEAP[b]+ +4]](b,d,IHEAP[a+22],IHEAP[a+20]);b=1}else if(b==1)return __ZN21btSimpleDynamicsWorld19integrateTransformsEf(a,e),FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a),FUNCTION_TABLE[IHEAP[IHEAP[a]+19]](a),FUNCTION_TABLE[IHEAP[IHEAP[a]+29]](a),STACKTOP=d,1;return null} +function __ZN21btSimpleDynamicsWorld25predictUnconstraintMotionEf(a,e){var d,b,c,f,g,h;h=0;var i=a+1;d=h<IHEAP[i+1]?0:1;a:for(;;)if(d==0){var j=a+1;for(;;){f=h;c=j;c=f=c=IHEAP[IHEAP[c+3]+f];g=(IHEAP[c+58]&2)!=0;c:do if(g){c=b=f;if(b==0)break c;b=c;if((IHEAP[b+51]&1)!=0)break c;b=d=b=c;if(IHEAP[b+54]==2)break c;b=d;if(IHEAP[b+54]==5)break c;d=b=c;for(d=(IHEAP[d+51]&3)!=0?9:10;;)if(d==9){__ZN11btRigidBody19integrateVelocitiesEf(c,e);__ZN11btRigidBody12applyDampingEf(c,e);g=c;f=e;b=c+17;c=g;g=b;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(c+ +1,c+268,c+272,f,g);break c}else d==10&&(__ZN11btRigidBody17applyCentralForceERK9btVector3(b,b+281),d=9)}while(0);h+=1;f=h;c=i;if(f<IHEAP[c+1])d=2;else{d=1;continue a}}}else if(d==1)break} +function __ZN21btSimpleDynamicsWorld19integrateTransformsEf(a,e){var d=STACKTOP;STACKTOP+=16;var b,c,f,g,h,i,j;j=0;var k=a+1;b=j<IHEAP[k+1]?0:1;a:for(;;)if(b==0){var l=a+1;for(;;){c=j;b=l;c=b=IHEAP[IHEAP[b+3]+c];c=(IHEAP[c+58]&2)!=0;c:do if(c){i=f=b;if(f==0)break c;f=g=f=i;if(IHEAP[f+54]==2)break c;f=g;if(IHEAP[f+54]==5)break c;f=i;if((IHEAP[f+51]&1)!=0)break c;g=e;f=i;h=d;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(f+1,f+268,f+272,g,h);f=d;__ZN11btRigidBody24setCenterOfMassTransformERK11btTransform(i, +f)}while(0);j+=1;c=j;b=k;if(c<IHEAP[b+1])b=2;else{b=1;continue a}}}else if(b==1){STACKTOP=d;break}} +function __ZN21btSimpleDynamicsWorld11clearForcesEv(a){var e=STACKTOP;STACKTOP+=6;var d,b,c,f,g,h,i,j=e+1,k=e+2,l=e+3,m=e+4,n=e+5,o;o=0;var q=a+1;d=o<IHEAP[q+1]?0:1;a:for(;;)if(d==0){var p=a+1;for(;;){b=o;d=p;b=d=IHEAP[IHEAP[d+3]+b];b=(IHEAP[b+58]&2)!=0;c:do if(b){f=g=d;if(g==0)break c;g=f+293;FHEAP[e]=0;FHEAP[j]=0;FHEAP[k]=0;i=g;g=e;h=j;c=k;FHEAP[i]=FHEAP[g];FHEAP[i+1]=FHEAP[h];FHEAP[i+2]=FHEAP[c];FHEAP[i+3]=0;f+=297;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;c=f;f=l;g=m;h=n;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g]; +FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0}while(0);o+=1;b=o;d=q;if(b<IHEAP[d+1])d=2;else{d=1;continue a}}}else if(d==1){STACKTOP=e;break}} +function __ZN21btSimpleDynamicsWorld10setGravityERK9btVector3(a,e){var d,b,c;_llvm_memcpy_p0i8_p0i8_i32(a+174,e,4,4,0);c=0;var f=a+1;d=c<IHEAP[f+1]?0:1;a:for(;;)if(d==0){var g=a+1;for(;;){b=c;d=g;b=d=IHEAP[IHEAP[d+3]+b];var h=(IHEAP[b+58]&2)!=0;c:do if(h){var i=d;b=i;if(i==0)break c;__ZN11btRigidBody10setGravityERK9btVector3(b,e)}while(0);c+=1;b=c;d=f;if(b<IHEAP[d+1])d=2;else{d=1;continue a}}}else if(d==1)break} +function __ZNK21btSimpleDynamicsWorld10getGravityEv(a,e){_llvm_memcpy_p0i8_p0i8_i32(a,e+174,4,4,0)}function __ZN21btSimpleDynamicsWorld15removeRigidBodyEP11btRigidBody(a,e){__ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(a,e)} +function __ZN21btSimpleDynamicsWorld21removeCollisionObjectEP17btCollisionObject(a,e){var d,b=(IHEAP[e+58]&2)!=0;a:do{if(b){d=b=e;if(b==0){d=0;break a}FUNCTION_TABLE[IHEAP[IHEAP[a]+22]](a,d);d=2}else d=0;break a}while(0);for(;;)if(d==2)break;else d==0&&(__ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(a,e),d=2)} +function __ZN21btSimpleDynamicsWorld12addRigidBodyEP11btRigidBody(a,e){var d;__ZN11btRigidBody10setGravityERK9btVector3(e,a+174);for(d=IHEAP[e+48]!=0?0:1;;)if(d==0)d=a,FUNCTION_TABLE[IHEAP[IHEAP[d]+8]](d,e,1,-1),d=1;else if(d==1)break}function __ZN21btSimpleDynamicsWorld12addRigidBodyEP11btRigidBodyss(a,e,d,b){var c;__ZN11btRigidBody10setGravityERK9btVector3(e,a+174);for(c=IHEAP[e+48]!=0?0:1;;)if(c==0)c=a,FUNCTION_TABLE[IHEAP[IHEAP[c]+8]](c,e,d,b),c=1;else if(c==1)break} +function __ZN21btSimpleDynamicsWorld14debugDrawWorldEv(){}function __ZN21btSimpleDynamicsWorld9addActionEP17btActionInterface(){}function __ZN21btSimpleDynamicsWorld12removeActionEP17btActionInterface(){} +function __ZN21btSimpleDynamicsWorld11updateAabbsEv(a){var e=STACKTOP;STACKTOP+=8;var d,b,c,f,g,h,i=e+4;h=0;var j=a+1;d=h<IHEAP[j+1]?0:1;a:for(;;)if(d==0){var k=a+1,l=a,m=a+6;for(;;){f=h;d=k;b=d=f=IHEAP[IHEAP[d+3]+f];b=(IHEAP[b+58]&2)!=0;c:do if(b){g=c=d;if(c==0)break c;var n=c=g;c=n;if(IHEAP[c+54]==2)break c;c=n;if(IHEAP[c+54]==5)break c;c=g;if((IHEAP[c+51]&1)!=0)break c;c=f;var n=IHEAP[c+48],o=IHEAP[IHEAP[n]+2];c=f;FUNCTION_TABLE[o](n,c+1,e,i);c=l;c=IHEAP[c+21];n=IHEAP[IHEAP[c]+4];FUNCTION_TABLE[n](c, +IHEAP[g+47],e,i,IHEAP[m])}while(0);h+=1;f=h;d=j;if(f<IHEAP[d+1])d=2;else{d=1;continue a}}}else if(d==1){STACKTOP=e;break}} +function __ZN21btSimpleDynamicsWorld23synchronizeMotionStatesEv(a){var e,d,b,c,f;f=0;var g=a+1;e=f<IHEAP[g+1]?0:1;a:for(;;)if(e==0){var h=a+1;for(;;){d=f;e=h;d=e=IHEAP[IHEAP[e+3]+d];d=(IHEAP[d+58]&2)!=0;c:do if(d){c=b=e;if(b==0)break c;b=c;if(IHEAP[b+310]==0)break c;b=c;if(IHEAP[b+54]==2)break c;b=c;b=IHEAP[b+310];var i=IHEAP[IHEAP[b]+3];FUNCTION_TABLE[i](b,c+1)}while(0);f+=1;d=f;e=g;if(d<IHEAP[e+1])e=2;else{e=1;continue a}}}else if(e==1)break} +function __ZN21btSimpleDynamicsWorld19setConstraintSolverEP18btConstraintSolver(a,e){var d;for(d=IHEAP[a+173]&1?0:1;;)if(d==0)d=IHEAP[a+172],d!=0&&(IHEAP[_gNumAlignedFree]+=1,d!=0&&(d=IHEAP[d+-1],_free(d))),d=1;else if(d==1){IHEAP[a+173]=0;IHEAP[a+172]=e;break}}function __ZN21btSimpleDynamicsWorld19getConstraintSolverEv(a){return IHEAP[a+172]}function __ZN15btDynamicsWorld13addConstraintEP17btTypedConstraintb(){}function __ZN15btDynamicsWorld16removeConstraintEP17btTypedConstraint(){} +function __ZNK15btDynamicsWorld17getNumConstraintsEv(){return 0}function __ZN15btDynamicsWorld13getConstraintEi(){return 0}function __ZNK15btDynamicsWorld13getConstraintEi(){return 0}function __ZNK21btSimpleDynamicsWorld12getWorldTypeEv(){return 1}function __ZN15btDynamicsWorld10addVehicleEP17btActionInterface(){}function __ZN15btDynamicsWorld13removeVehicleEP17btActionInterface(){}function __ZN15btDynamicsWorld12addCharacterEP17btActionInterface(){} +function __ZN15btDynamicsWorld15removeCharacterEP17btActionInterface(){}function __ZN15btDynamicsWorldD1Ev(a){IHEAP[a]=__ZTV15btDynamicsWorld+2;__ZN16btCollisionWorldD2Ev(a)} +function __ZN15btDynamicsWorldD0Ev(a){var e;IHEAP[a]=__ZTV15btDynamicsWorld+2;try{__THREW__=!1,__ZN16btCollisionWorldD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 277420";} +function __ZN23btDiscreteDynamicsWorldC2EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration(a,e,d,b,c){var f=STACKTOP;STACKTOP+=3;var g=null,h;h=f+1;g=f+2;__ZN16btCollisionWorldC2EP12btDispatcherP21btBroadphaseInterfaceP24btCollisionConfiguration(a,e,d,c);IHEAP[a]=__ZTV15btDynamicsWorld+2;IHEAP[a+85]=0;IHEAP[a+86]=0;IHEAP[a+87]=0;e=a+88;FHEAP[e]=0.6000000238418579;FHEAP[e+1]=1;FHEAP[e+2]=0.30000001192092896;FHEAP[e+4]=0;FHEAP[e+6]=20;IHEAP[e+5]=10;FHEAP[e+8]=0.20000000298023224; +FHEAP[e+9]=0.10000000149011612;FHEAP[e+10]=0;FHEAP[e+7]=1;IHEAP[e+11]=0;FHEAP[e+12]=-0.019999999552965164;FHEAP[e+13]=0;FHEAP[e+14]=0.8500000238418579;IHEAP[e+15]=260;IHEAP[e+16]=2;IHEAP[e+17]=128;IHEAP[a]=__ZTV23btDiscreteDynamicsWorld+2;IHEAP[a+172]=b;b=a+174;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;b=a+179;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;b=a+184;FHEAP[f]=0;FHEAP[h]=-10;FHEAP[g]=0;FHEAP[b]=FHEAP[f];FHEAP[b+1]=FHEAP[h];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;FHEAP[a+188]= +0;IHEAP[a+191]=0;h=a+192;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;IHEAP[a+197]=0;h=IHEAP[a+172]!=0;a:do if(h)IHEAP[a+190]=0;else{e=g=__Z22btAlignedAllocInternalji(128,16);e==0?(g=0,b=1):(g=0,b=2);for(;;)if(b==1){IHEAP[a+172]=g==0?0:i;IHEAP[a+190]=1;break a}else if(b==2){var i=e;try{__THREW__=!1,__ZN35btSequentialImpulseConstraintSolverC2Ev(i)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__)break;else g=2,b=1}g=b= +_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);b=a+192;__ZN20btAlignedObjectArrayIP17btActionInterfaceE5clearEv(b);b=a+179;__ZN20btAlignedObjectArrayIP11btRigidBodyE5clearEv(b);b=a+174;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(b);b=a;IHEAP[b]=__ZTV15btDynamicsWorld+2;try{__THREW__=!1,__ZN16btCollisionWorldD2Ev(b)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}b=__THREW__?9:8;if(b==8)throw __Unwind_Resume_or_Rethrow(g), +"Reached an unreachable! Original .ll line: 277905";else if(b==9)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 277911";}while(0);i=__Z22btAlignedAllocInternalji(68,16);i==0?(g=3,b=5):(g=3,b=6);for(;;)if(b==5){IHEAP[a+173]=g==3?0:l;IHEAP[a+189]=1;STACKTOP=f;break}else if(b==6){var l=i;h=l;IHEAP[h]=__ZTV25btSimulationIslandManager+2;g=h+1;IHEAP[g+4]=1;IHEAP[g+3]=0;IHEAP[g+1]=0;IHEAP[g+2]=0;g=h+6;IHEAP[g+4]=1; +IHEAP[g+3]=0;IHEAP[g+1]=0;IHEAP[g+2]=0;g=h+11;IHEAP[g+4]=1;IHEAP[g+3]=0;IHEAP[g+1]=0;IHEAP[g+2]=0;IHEAP[h+16]=1;g=6;b=5}} +function __ZN23btDiscreteDynamicsWorldD0Ev(a){var e;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorldD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 277940";} +function __ZN23btDiscreteDynamicsWorldD2Ev(a){var e,d;IHEAP[a]=__ZTV23btDiscreteDynamicsWorld+2;e=IHEAP[a+189]&1?0:1;a:for(;;)if(e==0){e=IHEAP[a+173];var b=IHEAP[IHEAP[e]];try{__THREW__=!1,FUNCTION_TABLE[b](e)}catch(c){if(ABORT)throw c;__THREW__=!0;print("Exception: "+c+" : "+c.stack+", currently at: "+Error().stack)}if(__THREW__){e=9;break a}e=IHEAP[a+173];if(e==0){e=1;continue a}IHEAP[_gNumAlignedFree]+=1;if(e==0){e=1;continue a}e=IHEAP[e+-1];_free(e);e=1}else if(e==1){e=IHEAP[a+190]&1?4:5;break a}for(;;)if(e== +9){d=e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);e=a+192;__ZN20btAlignedObjectArrayIP17btActionInterfaceE5clearEv(e);e=a+179;__ZN20btAlignedObjectArrayIP11btRigidBodyE5clearEv(e);e=a+174;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(e);IHEAP[a]=__ZTV15btDynamicsWorld+2;try{__THREW__=!1,__ZN16btCollisionWorldD2Ev(a)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}e=__THREW__?12:11;break}else if(e==4){e= +IHEAP[a+172];b=IHEAP[IHEAP[e]];try{__THREW__=!1,FUNCTION_TABLE[b](e)}catch(g){if(ABORT)throw g;__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}__THREW__?e=9:(e=IHEAP[a+172],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5)}else if(e==5){d=a+192;__ZN20btAlignedObjectArrayIP17btActionInterfaceE5clearEv(d);d=a+179;__ZN20btAlignedObjectArrayIP11btRigidBodyE5clearEv(d);d=a+174;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(d);IHEAP[a]=__ZTV15btDynamicsWorld+ +2;__ZN16btCollisionWorldD2Ev(a);return}if(e==11)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 278154";else if(e==12)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),__ZSt9terminatev(),"Reached an unreachable! Original .ll line: 278160";} +function __ZN23btDiscreteDynamicsWorld18saveKinematicStateEf(a,e){var d,b,c,f;f=0;var g=a+1;d=f<IHEAP[g+1]?0:1;a:for(;;)if(d==0){var h=a+1;for(;;){b=f;d=h;b=d=IHEAP[IHEAP[d+3]+b];var i=(IHEAP[b+58]&2)!=0;c:do if(i){b=c=d;if(c==0)break c;c=b;if(IHEAP[c+54]==2)break c;c=b;if((IHEAP[c+51]&2)==0)break c;__ZN11btRigidBody18saveKinematicStateEf(b,e)}while(0);f+=1;b=f;d=g;if(b<IHEAP[d+1])d=2;else{d=1;continue a}}}else if(d==1)break} +function __ZN23btDiscreteDynamicsWorld14debugDrawWorldEv(a){var e=STACKTOP;STACKTOP+=1;var d,b=null,c,f,g;__ZN15CProfileManager13Start_ProfileEPKc(__str519);try{__THREW__=!1,__ZN16btCollisionWorld14debugDrawWorldEv(a)}catch(h){if(ABORT)throw h;__THREW__=!0;print("Exception: "+h+" : "+h.stack+", currently at: "+Error().stack)}d=__THREW__?21:20;a:for(;;)if(d==20){g=0;d=a;var i=IHEAP[IHEAP[d]+4],j;try{__THREW__=!1,j=FUNCTION_TABLE[i](d)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+ +k.stack+", currently at: "+Error().stack);j=null}if(__THREW__){d=21;continue a}d=j!=0?0:1;b:for(;;)if(d==0){d=a;var i=IHEAP[IHEAP[d]+4],l;try{__THREW__=!1,l=FUNCTION_TABLE[i](d)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack);l=null}if(__THREW__){d=21;continue a}d=IHEAP[IHEAP[l]+12];var n;try{__THREW__=!1,n=FUNCTION_TABLE[d](l)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack);n= +null}if(__THREW__){d=21;continue a}d=n;if((d&6144)==0){d=1;continue b}d=g=1}else if(d==1){d=g&1?5:6;break b}b:for(;;)if(d==5){g=IHEAP[IHEAP[a]+25];var q;try{__THREW__=!1,q=FUNCTION_TABLE[g](a)}catch(p){if(ABORT)throw p;__THREW__=!0;print("Exception: "+p+" : "+p.stack+", currently at: "+Error().stack);q=null}if(__THREW__){d=21;continue a}g=i=q-1;for(var r=a,b=7;;){if(!((b==10?y:i)>=0)){d=6;continue b}d=IHEAP[IHEAP[r]+26];var b=g,s;try{__THREW__=!1,s=FUNCTION_TABLE[d](a,b)}catch(u){if(ABORT)throw u; +__THREW__=!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack);s=null}if(__THREW__){d=21;continue a}d=s;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorld19debugDrawConstraintEP17btTypedConstraint(a,d)}catch(v){if(ABORT)throw v;__THREW__=!0;print("Exception: "+v+" : "+v.stack+", currently at: "+Error().stack)}if(__THREW__){d=21;continue a}var y=g+-1;g=y;b=10;d=8}}else if(d==6){d=a;g=IHEAP[IHEAP[d]+4];var x;try{__THREW__=!1,x=FUNCTION_TABLE[g](d)}catch(z){if(ABORT)throw z;__THREW__= +!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack);x=null}if(__THREW__){d=21;continue a}else{d=27;break b}}if(x==0){d=12;break a}g=a;var i=IHEAP[IHEAP[g]+4],B;try{__THREW__=!1,B=FUNCTION_TABLE[i](g)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack);B=null}if(__THREW__){d=21;continue a}g=IHEAP[IHEAP[B]+12];var A;try{__THREW__=!1,A=FUNCTION_TABLE[g](B)}catch(w){if(ABORT)throw w;__THREW__=!0;print("Exception: "+w+" : "+ +w.stack+", currently at: "+Error().stack);A=null}if(__THREW__){d=21;continue a}if((A&3)==0){d=12;break a}g=a;var i=IHEAP[IHEAP[g]+4],D;try{__THREW__=!1,D=FUNCTION_TABLE[i](g)}catch(E){if(ABORT)throw E;__THREW__=!0;print("Exception: "+E+" : "+E.stack+", currently at: "+Error().stack);D=null}if(__THREW__){d=21;continue a}if(D==0){d=12;break a}g=a;var i=IHEAP[IHEAP[g]+4],F;try{__THREW__=!1,F=FUNCTION_TABLE[i](g)}catch(G){if(ABORT)throw G;__THREW__=!0;print("Exception: "+G+" : "+G.stack+", currently at: "+ +Error().stack);F=null}if(__THREW__){d=21;continue a}g=IHEAP[IHEAP[F]+12];var J;try{__THREW__=!1,J=FUNCTION_TABLE[g](F)}catch(H){if(ABORT)throw H;__THREW__=!0;print("Exception: "+H+" : "+H.stack+", currently at: "+Error().stack);J=null}if(__THREW__){d=21;continue a}if(J==0){d=12;break a}g=0;i=a+192;r=a+192;for(b=a+22;;){c=g;d=i;if(!(c<IHEAP[d+1])){d=12;break a}c=g;d=r;d=IHEAP[IHEAP[d+3]+c];c=IHEAP[IHEAP[d]+3];var M=IHEAP[b];try{__THREW__=!1,FUNCTION_TABLE[c](d,M)}catch(K){if(ABORT)throw K;__THREW__= +!0;print("Exception: "+K+" : "+K.stack+", currently at: "+Error().stack)}if(__THREW__){d=21;continue a}g+=1;d=16}}else if(d==21){f=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?3:4;break a}a:for(;;)if(d==3)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=4;else if(d==4)throw __Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 278584"; +else if(d==12){d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?18:19;break a}for(;;)if(d==18)f=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[f+5],d=19;else if(d==19){STACKTOP=e;break}} +function __ZN23btDiscreteDynamicsWorld19debugDrawConstraintEP17btTypedConstraint(a,e){var cb;var d=STACKTOP;STACKTOP+=451;var b,c=null,f,g,h,i,j,k,l,m,n,o=d+1,q=d+2,p,r,s,u,v,y=d+3,x=d+15,z=d+19,B=d+31,C,A,w=d+35,D=d+47,E=d+51,F=d+63,G,J,H=d+67,M=d+79,K=d+83,N=d+95,R,O,Q=d+99,I=d+100,L=d+101,P=d+102,S=d+103,T=d+104,U=d+105,W=d+106,Z=d+107,ca=d+108,Y=d+109,ea=d+110,ha,ba,V,aa=d+111,X=d+127,ka=d+131,da=d+135,fa=d+139,ga=d+155,ja=d+171,la=d+175,qa=d+179,pa=d+183,wa=d+184,ua=d+185,na=d+186,ya=d+202,xa= +d+218,ia=d+222,ma=d+226,ta=d+230,ra=d+234,oa=d+238,Da=d+239,Ba=d+240,Oa=d+241,Fa=d+245,Ha=d+246,La=d+247,Ea=d+248,Ca=d+264,Aa=d+280,za=d+284,Ja=d+288,Ra=d+292,Ua=d+296,Xa=d+297,Wa=d+298,Sa=d+299,Ga=d+315,Ia=d+319,Pa=d+323,Ta=d+327,Va=d+328,fb=d+329,ib=d+330,Na=d+334,Za=d+338,gb=d+342,lb=d+346,$a=d+350,eb=d+351,bb=d+352,sb=d+353,Ka=d+357,Ya=d+358,jb=d+359,kb=d+360,tb=d+364,Bb=d+368,Qa=d+372,wb=d+373,mb=d+374,yb=d+375,ub=d+391,Ma=d+407,sa=d+411,va=d+415,pb=d+416,ab=d+417,db=d+418,vb=d+422,Fb=d+426, +zb=d+427,Kb=d+428,nb=d+429,Cb=d+433,Eb=d+434,Ib=d+435,Jb=d+436,Ab=d+440,qb=d+444,Nb=d+448,rb=d+449,Gb=d+450;ha=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);ha=(FUNCTION_TABLE[IHEAP[IHEAP[ha]+12]](ha)&2048)!=0;ba=FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a);ba=(FUNCTION_TABLE[IHEAP[IHEAP[ba]+12]](ba)&4096)!=0;V=FHEAP[e+13];b=V<=0?0:1;a:for(;;)if(b==0){STACKTOP=d;break}else if(b==1){p=e;p=IHEAP[p+4];if(p==3)b=41;else if(p==4)b=42;else if(p==5)b=43;else if(p==9)b=44;else if(p==6)b=44;else if(p==7)b=45;else{b=0;continue a}if(b== +41){p=e;l=c=aa;FHEAP[Q]=1;FHEAP[I]=0;FHEAP[L]=0;FHEAP[P]=0;FHEAP[S]=1;FHEAP[T]=0;FHEAP[U]=0;FHEAP[W]=0;FHEAP[Z]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(l,Q,I,L,P,S,T,U,W,Z);c+=12;FHEAP[ca]=0;FHEAP[Y]=0;FHEAP[ea]=0;m=c;c=ca;l=Y;k=ea;FHEAP[m]=FHEAP[c];FHEAP[m+1]=FHEAP[l];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;c=p;_llvm_memcpy_p0i8_p0i8_i32(X,c+103,4,4,0);c=p;c=IHEAP[c+10];c+=1;l=X;__ZNK11btTransformclERK9btVector3(ka,c,l);_llvm_memcpy_p0i8_p0i8_i32(X,ka,4,4,0);c=aa;l=X;_llvm_memcpy_p0i8_p0i8_i32(c+ +12,l,4,4,0);c=a;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c);FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,aa,V);c=p;_llvm_memcpy_p0i8_p0i8_i32(X,c+107,4,4,0);p=IHEAP[p+11];p+=1;c=X;__ZNK11btTransformclERK9btVector3(da,p,c);_llvm_memcpy_p0i8_p0i8_i32(X,da,4,4,0);p=aa;c=X;_llvm_memcpy_p0i8_p0i8_i32(p+12,c,4,4,0);if(!(ha&1)){b=0;continue a}p=a;p=FUNCTION_TABLE[IHEAP[IHEAP[p]+4]](p);FUNCTION_TABLE[IHEAP[IHEAP[p]+14]](p,aa,V);b=0}else if(b==42){c=p=e;c=IHEAP[c+10];c+=1;l=p;l+=166;__ZmlRK11btMatrix3x3S1_(K,c,l);__ZNK11btTransformclERK9btVector3(N, +c,l+12);c=fa;k=K;m=l=N;l=c;c=m;m=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c,4,4,0);b=ha&1?3:4;b:for(;;)if(b==3)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,fa,V),b=4;else if(b==4){c=p;c=IHEAP[c+11];c+=1;l=p;l+=182;__ZmlRK11btMatrix3x3S1_(H,c,l);__ZNK11btTransformclERK9btVector3(M,c,l+12);c=ga;k=H;m=l=M;l=c;c=m;m=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k, +m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c,4,4,0);l=fa;m=c=ga;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);b=ha&1?5:6;break b}b:for(;;)if(b==5)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,fa,V),b=6;else if(b==6){G=p;G+=200;G=FHEAP[G]-FHEAP[G+1];var Ob=_fmodf(G, +6.2831854820251465);G=Ob;b=Ob<-3.1415927410125732?7:8;break b}b==7?J=Ob+6.2831854820251465:b==8&&(J=G,J=Ob>3.1415927410125732?J-6.2831854820251465:J);c=J;p+=200;cb=l=FHEAP[p]+FHEAP[p+1],p=cb;l=p=_fmodf(p,6.2831854820251465);p<-3.1415927410125732?p+=6.2831854820251465:p=p>3.1415927410125732?l-6.2831854820251465:l;l=p;if(c==l){b=0;continue a}p=1;for(b=c>l?12:13;;)if(b==12)c=0,l=6.2831854820251465,p=0,b=13;else if(b==13)if(ba&1)break;else{b=0;continue a}k=fa;k+=12;n=m=fa;n+=2;r=m+4;r+=2;m+=8;s=m+2;m= +ja;FHEAP[m]=FHEAP[n];FHEAP[m+1]=FHEAP[r];FHEAP[m+2]=FHEAP[s];FHEAP[m+3]=0;n=m=fa;n+=0;r=m+4;r+=0;m+=8;s=m+0;m=la;FHEAP[m]=FHEAP[n];FHEAP[m+1]=FHEAP[r];FHEAP[m+2]=FHEAP[s];FHEAP[m+3]=0;m=a;m=FUNCTION_TABLE[IHEAP[IHEAP[m]+4]](m);n=IHEAP[IHEAP[m]+15];s=r=V;FHEAP[pa]=0;FHEAP[wa]=0;FHEAP[ua]=0;u=qa;v=pa;j=wa;b=ua;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[j];FHEAP[u+2]=FHEAP[b];FHEAP[u+3]=0;FUNCTION_TABLE[n](m,k,ja,la,r,s,c,l,qa,p&1,10);b=0}else if(b==43){c=p=e;c=IHEAP[c+10];c+=1;l=p;l+=103;__ZmlRK11btMatrix3x3S1_(E, +c,l);__ZNK11btTransformclERK9btVector3(F,c,l+12);c=na;k=E;m=l=F;l=c;c=m;m=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c,4,4,0);b=ha&1?15:16;b:for(;;)if(b==15)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,na,V),b=16;else if(b==16){c=p;c=IHEAP[c+11];c+=1;l=p;l+=119;__ZmlRK11btMatrix3x3S1_(w,c,l);__ZNK11btTransformclERK9btVector3(D,c,l+12);c=ya;k=w;m=l= +D;l=c;c=m;m=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c,4,4,0);l=na;m=c=ya;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);b=ha&1?17:18;break b}b:for(;;)if(b==17)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,na,V),b=18;else if(b== +18)if(ba&1)break b;else{b=0;continue a}c=V;b=6.0868353843688965;__ZNK21btConeTwistConstraint16GetPointForAngleEff(xa,p,b,c);l=na;k=xa;__ZNK11btTransformclERK9btVector3(ia,l,k);_llvm_memcpy_p0i8_p0i8_i32(xa,ia,4,4,0);l=0;k=ma;m=ta;u=s=r=n=a;v=xa;j=ma;b:for(;;){b=6.283185005187988*l/32;__ZNK21btConeTwistConstraint16GetPointForAngleEff(ma,p,b,c);b=na;f=ma;__ZNK11btTransformclERK9btVector3(ta,b,f);_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);b=FUNCTION_TABLE[IHEAP[IHEAP[r]+4]](n);f=IHEAP[IHEAP[b]+2];FHEAP[oa]= +0;FHEAP[Da]=0;FHEAP[Ba]=0;g=ra;h=oa;i=Da;C=Ba;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[C];FHEAP[g+3]=0;FUNCTION_TABLE[f](b,xa,ma,ra);for(b=l%4==0?21:22;;)if(b==21)b=FUNCTION_TABLE[IHEAP[IHEAP[u]+4]](s),f=IHEAP[IHEAP[b]+2],g=na,g+=12,FHEAP[Fa]=0,FHEAP[Ha]=0,FHEAP[La]=0,h=Oa,i=Fa,C=Ha,A=La,FHEAP[h]=FHEAP[i],FHEAP[h+1]=FHEAP[C],FHEAP[h+2]=FHEAP[A],FHEAP[h+3]=0,FUNCTION_TABLE[f](b,g,ma,Oa),b=22;else if(b==22)if(_llvm_memcpy_p0i8_p0i8_i32(v,j,4,4,0),l=b=l+1,b<32)continue b;else break b}c= +p;c=FHEAP[c+141];l=p;l=FHEAP[l+156];k=p;k=IHEAP[k+11];k=FHEAP[k+276]>0;m=p;k&1?(k=m,k=IHEAP[k+11],k+=1,m=p+119,p=k,k=m,__ZmlRK11btMatrix3x3S1_(z,p,k),__ZNK11btTransformclERK9btVector3(B,p,k+12),p=Ea,m=z,n=k=B,k=p,p=n,n=m,m=k,_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(m+4,n+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+12,p,4,4,0),k=na,p=Ea):(k=m,k=IHEAP[k+10],k+=1,m=p+103,p=k,k=m,__ZmlRK11btMatrix3x3S1_(y,p,k),__ZNK11btTransformclERK9btVector3(x, +p,k+12),p=Ca,m=y,n=k=x,k=p,p=n,n=m,m=k,_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(m+4,n+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+12,p,4,4,0),k=na,p=Ca);n=p;m=k;_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+4,n+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,p+12,4,4,0);p=na;_llvm_memcpy_p0i8_p0i8_i32(Aa,p+12,4,4,0);k=p=na;k+=0;m=p+4;m+=0;p+=8;n=p+0;p=za;FHEAP[p]=FHEAP[k];FHEAP[p+1]= +FHEAP[m];FHEAP[p+2]=FHEAP[n];FHEAP[p+3]=0;k=p=na;k+=1;m=p+4;m+=1;p+=8;n=p+1;p=Ja;FHEAP[p]=FHEAP[k];FHEAP[p+1]=FHEAP[m];FHEAP[p+2]=FHEAP[n];FHEAP[p+3]=0;p=a;p=FUNCTION_TABLE[IHEAP[IHEAP[p]+4]](p);k=IHEAP[IHEAP[p]+15];n=m=V;r=0-l-c;c=0-l+c;FHEAP[Ua]=0;FHEAP[Xa]=0;FHEAP[Wa]=0;l=Ra;s=Ua;u=Xa;v=Wa;FHEAP[l]=FHEAP[s];FHEAP[l+1]=FHEAP[u];FHEAP[l+2]=FHEAP[v];FHEAP[l+3]=0;FUNCTION_TABLE[k](p,Aa,za,Ja,m,n,r,c,Ra,1,10);b=0}else if(b==44){c=p=e;l=c+296;c=Sa;k=l;l=c;m=c=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4, +0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);b=ha&1?25:26;b:for(;;)if(b==25)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,Sa,V),b=26;else if(b==26){c=p;c+=312;l=Sa;m=c;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);b=ha&1?27:28;break b}b:for(;;)if(b==27)c=a, +c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,Sa,V),b=28;else if(b==28)if(ba&1)break b;else{b=0;continue a}c=p;c+=296;l=Sa;m=c;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);c=p;c+=312;c+=12;k=l=Sa;k+=2;m=l+4;m+=2;l+=8;n=l+2;l=Ga;FHEAP[l]=FHEAP[k];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[n];FHEAP[l+3]=0;k=l=Sa;k+=0;m=l+4;m+=0;l+=8;n=l+0;l=Ia;FHEAP[l]= +FHEAP[k];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[n];FHEAP[l+3]=0;l=p;r=FHEAP[l+247+16];l=p;s=FHEAP[l+247+16+1];l=p;u=FHEAP[l+247+32];l=p;v=FHEAP[l+247+32+1];l=a;l=FUNCTION_TABLE[IHEAP[IHEAP[l]+4]](l);k=IHEAP[IHEAP[l]+16];m=c;n=V*0.8999999761581421;FHEAP[Ta]=0;FHEAP[Va]=0;FHEAP[fb]=0;j=Pa;b=Ta;f=Va;g=fb;FHEAP[j]=FHEAP[b];FHEAP[j+1]=FHEAP[f];FHEAP[j+2]=FHEAP[g];FHEAP[j+3]=0;FUNCTION_TABLE[k](l,m,Ga,Ia,n,r,s,u,v,Pa,10);k=l=Sa;k+=1;m=l+4;m+=1;l+=8;n=l+1;l=ib;FHEAP[l]=FHEAP[k];FHEAP[l+1]=FHEAP[m];FHEAP[l+ +2]=FHEAP[n];FHEAP[l+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ia,ib,4,4,0);l=p;l+=328;k=FHEAP[l+1];l=p;l+=328;m=FHEAP[l+2];l=k;l=_cosf(l);k=_sinf(k);n=m;n=_cosf(n);m=_sinf(m);s=l*n;r=Ia;s*=FHEAP[r];u=l*m;r=Ia;s+=u*FHEAP[r+1];u=k;r=Ia;s-=u*FHEAP[r+2];r=Na;FHEAP[r]=s;s=0-m;r=Ia;s*=FHEAP[r];u=n;r=Ia;s+=u*FHEAP[r+1];r=Na;FHEAP[r+1]=s;r=n*k;n=Ia;n=r*FHEAP[n];m*=k;k=Ia;k=n+m*FHEAP[k+1];m=l;l=Ia;k+=m*FHEAP[l+2];l=Na;FHEAP[l+2]=k;l=p;l+=312;k=Sa;n=l;m=k;_llvm_memcpy_p0i8_p0i8_i32(m,n,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+ +4,n+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(m+8,n+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,l+12,4,4,0);k=l=Sa;k+=0;m=l+4;m+=0;l+=8;n=l+0;l=gb;FHEAP[l]=FHEAP[k];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[n];FHEAP[l+3]=0;l=gb;FHEAP[d]=0-FHEAP[l];FHEAP[o]=0-FHEAP[l+1];FHEAP[q]=0-FHEAP[l+2];l=Za;k=d;m=o;n=q;FHEAP[l]=FHEAP[k];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[n];FHEAP[l+3]=0;l=p;l=FHEAP[l+247+0];k=p;k=FHEAP[k+247+0+1];m=l>k;b:do if(m)n=a,n=FUNCTION_TABLE[IHEAP[IHEAP[n]+4]](n),r=IHEAP[IHEAP[n]+15],s=c,v=u=V,FHEAP[$a]= +0,FHEAP[eb]=0,FHEAP[bb]=0,j=lb,b=$a,f=eb,g=bb,FHEAP[j]=FHEAP[b],FHEAP[j+1]=FHEAP[f],FHEAP[j+2]=FHEAP[g],FHEAP[j+3]=0,FUNCTION_TABLE[r](n,s,Za,Na,u,v,-3.1415927410125732,3.1415927410125732,lb,0,10);else{if(!(l<k))break b;n=a;n=FUNCTION_TABLE[IHEAP[IHEAP[n]+4]](n);r=IHEAP[IHEAP[n]+15];s=c;v=u=V;j=l;b=k;FHEAP[Ka]=0;FHEAP[Ya]=0;FHEAP[jb]=0;f=sb;g=Ka;h=Ya;i=jb;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;FUNCTION_TABLE[r](n,s,Za,Na,u,v,j,b,sb,1,10)}while(0);c=p;c+=296;l=Sa;m= +c;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);c=p;_llvm_memcpy_p0i8_p0i8_i32(kb,c+198,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(tb,p+198+4,4,4,0);p=a;p=FUNCTION_TABLE[IHEAP[IHEAP[p]+4]](p);c=IHEAP[IHEAP[p]+18];FHEAP[Qa]=0;FHEAP[wb]=0;FHEAP[mb]=0;l=Bb;k=Qa;m=wb;n=mb;FHEAP[l]=FHEAP[k];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[n];FHEAP[l+3]=0;FUNCTION_TABLE[c](p,kb,tb,Sa,Bb);b=0}else if(b== +45){c=p=e;l=c+236;c=yb;k=l;l=c;m=c=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);b=ha&1?33:34;b:for(;;)if(b==33)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,yb,V),b=34;else if(b==34){c=p;c+=252;l=yb;m=c;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+ +12,c+12,4,4,0);b=ha&1?35:36;break b}for(;;)if(b==35)c=a,c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c),FUNCTION_TABLE[IHEAP[IHEAP[c]+14]](c,yb,V),b=36;else if(b==36)if(ba&1)break;else{b=0;continue a}l=c=p;IHEAP[c+74]&1?(R=l,R+=236,c=38):(O=l,O+=252,c=40);l=c==38?R:O;c=ub;k=l;l=c;m=c=k;k=l;_llvm_memcpy_p0i8_p0i8_i32(k,m,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,m+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,m+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,c+12,4,4,0);c=p;FHEAP[va]=FHEAP[c+75];FHEAP[pb]=0;FHEAP[ab]=0;c=sa; +l=va;k=pb;m=ab;FHEAP[c]=FHEAP[l];FHEAP[c+1]=FHEAP[k];FHEAP[c+2]=FHEAP[m];FHEAP[c+3]=0;c=ub;l=sa;__ZNK11btTransformclERK9btVector3(Ma,c,l);c=p;FHEAP[Fb]=FHEAP[c+76];FHEAP[zb]=0;FHEAP[Kb]=0;c=vb;l=Fb;k=zb;m=Kb;FHEAP[c]=FHEAP[l];FHEAP[c+1]=FHEAP[k];FHEAP[c+2]=FHEAP[m];FHEAP[c+3]=0;c=ub;l=vb;__ZNK11btTransformclERK9btVector3(db,c,l);c=a;c=FUNCTION_TABLE[IHEAP[IHEAP[c]+4]](c);l=IHEAP[IHEAP[c]+2];FHEAP[Cb]=0;FHEAP[Eb]=0;FHEAP[Ib]=0;k=nb;m=Cb;n=Eb;r=Ib;FHEAP[k]=FHEAP[m];FHEAP[k+1]=FHEAP[n];FHEAP[k+2]=FHEAP[r]; +FHEAP[k+3]=0;FUNCTION_TABLE[l](c,Ma,db,nb);l=c=ub;l+=0;k=c+4;k+=0;c+=8;m=c+0;c=Jb;FHEAP[c]=FHEAP[l];FHEAP[c+1]=FHEAP[k];FHEAP[c+2]=FHEAP[m];FHEAP[c+3]=0;l=c=ub;l+=1;k=c+4;k+=1;c+=8;m=c+1;c=Ab;FHEAP[c]=FHEAP[l];FHEAP[c+1]=FHEAP[k];FHEAP[c+2]=FHEAP[m];FHEAP[c+3]=0;c=p;n=FHEAP[c+77];c=p;r=FHEAP[c+78];p+=252;l=p+12;p=a;p=FUNCTION_TABLE[IHEAP[IHEAP[p]+4]](p);c=IHEAP[IHEAP[p]+15];m=k=V;FHEAP[Nb]=0;FHEAP[rb]=0;FHEAP[Gb]=0;s=qb;u=Nb;v=rb;j=Gb;FHEAP[s]=FHEAP[u];FHEAP[s+1]=FHEAP[v];FHEAP[s+2]=FHEAP[j];FHEAP[s+ +3]=0;FUNCTION_TABLE[c](p,l,Jb,Ab,k,m,n,r,qb,1,10);b=0}}} +function __ZN23btDiscreteDynamicsWorld11clearForcesEv(a){var e=STACKTOP;STACKTOP+=6;var d,b,c,f,g,h=e+1,i=e+2,j=e+3,k=e+4,l=e+5,m;m=0;var n=a+179;d=m<IHEAP[n+1]?0:1;a:for(;;)if(d==0)for(var o=a+179;;)if(b=m,d=o,d=IHEAP[IHEAP[d+3]+b],b=d+293,FHEAP[e]=0,FHEAP[h]=0,FHEAP[i]=0,g=b,b=e,f=h,c=i,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[f],FHEAP[g+2]=FHEAP[c],FHEAP[g+3]=0,d+=297,FHEAP[j]=0,FHEAP[k]=0,FHEAP[l]=0,c=d,d=j,b=k,f=l,FHEAP[c]=FHEAP[d],FHEAP[c+1]=FHEAP[b],FHEAP[c+2]=FHEAP[f],FHEAP[c+3]=0,m+=1,b=m,d=n, +b<IHEAP[d+1])d=2;else{d=1;continue a}else if(d==1){STACKTOP=e;break}} +function __ZN23btDiscreteDynamicsWorld12applyGravityEv(a){var e,d,b,c;c=0;var f=a+179;e=c<IHEAP[f+1]?0:1;a:for(;;)if(e==0){var g=a+179;b:for(;;){d=c;b=g;e=d=b=IHEAP[IHEAP[b+3]+d];for(e=IHEAP[e+54]!=2?3:4;;)if(e==3){e=d;if(IHEAP[e+54]!=5){var h=e=b;e=h;(IHEAP[e+51]&3)==0&&__ZN11btRigidBody17applyCentralForceERK9btVector3(h,h+281)}e=4}else if(e==4)if(c+=1,d=c,b=f,d<IHEAP[b+1]){e=2;continue b}else{e=1;continue a}}}else if(e==1)break} +function __ZN23btDiscreteDynamicsWorld28synchronizeSingleMotionStateEP11btRigidBody(a,e){var d=STACKTOP;STACKTOP+=16;var b,c,f;for(b=IHEAP[e+310]!=0?0:1;;)if(b==0){b=e;if((IHEAP[b+51]&3)==0){b=e;b+=17;c=e;c+=33;f=e;var g=f+37,h=FHEAP[a+188];f=e;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(b,c,g,h*FHEAP[f+60],d);b=e;b=IHEAP[b+310];FUNCTION_TABLE[IHEAP[IHEAP[b]+3]](b,d)}b=1}else if(b==1){STACKTOP=d;break}} +function __ZN23btDiscreteDynamicsWorld23synchronizeMotionStatesEv(a){var e=STACKTOP;STACKTOP+=1;var d,b,c,f;__ZN15CProfileManager13Start_ProfileEPKc(__str1620);var g=IHEAP[a+191]&1;a:do if(g){c=0;var h=a+1,i=a+1;for(;;){b=c;d=h;if(!(b<IHEAP[d+1])){d=2;break a}b=c;d=i;b=d=IHEAP[IHEAP[d+3]+b];b=(IHEAP[b+58]&2)!=0;c:do if(b){var j=d;f=j;if(j==0)break c;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorld28synchronizeSingleMotionStateEP11btRigidBody(a,f)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+ +k+" : "+k.stack+", currently at: "+Error().stack)}if(__THREW__){d=15;break a}}while(0);c+=1;d=0}}else{c=0;h=a+179;i=a+179;b:for(;;){b=c;d=h;if(!(b<IHEAP[d+1])){d=2;break a}b=c;d=i;d=f=d=b=IHEAP[IHEAP[d+3]+b];for(d=IHEAP[d+54]!=2?10:11;;)if(d==10)if(d=f,IHEAP[d+54]==5)d=11;else{d=b;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorld28synchronizeSingleMotionStateEP11btRigidBody(a,d)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__){d= +15;break a}else d=11}else if(d==11){c+=1;d=8;continue b}}}while(0);if(d==15){e=_llvm_eh_exception();_llvm_eh_selector(e,___gxx_personality_v0,0);for(d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?6:7;;)if(d==6)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=7;else if(d==7)throw __Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 283145";}else if(d==2)for(d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])? +13:14;;)if(d==13)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=14;else if(d==14){STACKTOP=e;break}} +function __ZN23btDiscreteDynamicsWorld14stepSimulationEfif(a,e,d,b){var c=STACKTOP;STACKTOP+=1;var f,g,h,i,j;h=d;__ZN15CProfileManager5ResetEv();__ZN15CProfileManager13Start_ProfileEPKc(__str27);d=0;i=h!=0;a:do if(i){FHEAP[a+188]+=e;if(!(FHEAP[a+188]>=b))break a;d=FHEAP[a+188]/b|0;FHEAP[a+188]-=d*b}else b=e,d=FHEAP[a+188]=e,h=_fabsf(d)<1.1920928955078125E-7?d=0:d=1;while(0);var e=IHEAP[IHEAP[a]+4],k;try{__THREW__=!1,k=FUNCTION_TABLE[e](a)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+ +l+" : "+l.stack+", currently at: "+Error().stack);k=null}e=__THREW__?15:21;a:for(;;)if(e==21){e=k!=0?5:6;b:for(;;)if(e==5){e=a;i=IHEAP[IHEAP[e]+4];var m;try{__THREW__=!1,m=FUNCTION_TABLE[i](e)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack);m=null}if(__THREW__){e=15;continue a}e=m;i=IHEAP[IHEAP[e]+12];var o;try{__THREW__=!1,o=FUNCTION_TABLE[i](e)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+ +Error().stack);o=null}if(__THREW__){e=15;continue a}IHEAP[_gDisableDeactivation]=(o&16)!=0;e=6}else if(e==6){e=d!=0?7:8;break b}b:do if(e==7){i=h;j=d;i=d>h?i:j;j=IHEAP[IHEAP[a]+40];var p=b*i;try{__THREW__=!1,FUNCTION_TABLE[j](a,p)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+r+" : "+r.stack+", currently at: "+Error().stack)}if(__THREW__){e=15;continue a}j=IHEAP[IHEAP[a]+41];try{__THREW__=!1,FUNCTION_TABLE[j](a)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+ +", currently at: "+Error().stack)}if(__THREW__){e=15;continue a}j=0;for(var u=p=a;;){if(!(j<i))break b;var e=IHEAP[IHEAP[p]+39],v=b;try{__THREW__=!1,FUNCTION_TABLE[e](a,v)}catch(y){if(ABORT)throw y;__THREW__=!0;print("Exception: "+y+" : "+y.stack+", currently at: "+Error().stack)}if(__THREW__){e=15;continue a}e=IHEAP[IHEAP[u]+19];try{__THREW__=!1,FUNCTION_TABLE[e](a)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack)}if(__THREW__){e=15;continue a}j+= +1;e=9}}else if(e==8){i=IHEAP[IHEAP[a]+19];try{__THREW__=!1,FUNCTION_TABLE[i](a)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack)}if(__THREW__){e=15;continue a}}while(0);e=IHEAP[IHEAP[a]+29];try{__THREW__=!1,FUNCTION_TABLE[e](a)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+B+" : "+B.stack+", currently at: "+Error().stack)}if(__THREW__)e=15;else{e=20;break a}}else if(e==15){f=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0, +0);e=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?3:4;break a}a:for(;;)if(e==3)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 283447";else if(e==20){IHEAP[__ZN15CProfileManager12FrameCounterE]+=1;g=d;e=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?12:13;break a}for(;;)if(e==12)f=IHEAP[__ZN15CProfileManager11CurrentNodeE], +IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[f+5],e=13;else if(e==13)return STACKTOP=c,g;return null}function __ZN23btDiscreteDynamicsWorld14startProfilingEf(){__ZN15CProfileManager5ResetEv()} +function __ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf(a,e){var d=STACKTOP;STACKTOP+=1;var b,c,f,g;__ZN15CProfileManager13Start_ProfileEPKc(__str38);b=0!=IHEAP[a+86]?0:1;a:for(;;)if(b==0){b=IHEAP[a+86];c=a;var h=e;try{__THREW__=!1,FUNCTION_TABLE[b](c,h)}catch(i){if(ABORT)throw i;__THREW__=!0;print("Exception: "+i+" : "+i.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;break a}else b=1}else if(b==1){b=IHEAP[IHEAP[a]+34];c=e;try{__THREW__=!1,FUNCTION_TABLE[b](a,c)}catch(j){if(ABORT)throw j; +__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}b=__THREW__?10:11;break a}a:for(;;)if(b==10){f=g=_llvm_eh_exception();_llvm_eh_selector(g,___gxx_personality_v0,0);b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?2:3;break a}else if(b==11){b=a;b+=7;FHEAP[b]=e;IHEAP[b+1]=0;c=a;h=IHEAP[IHEAP[c]+4];try{__THREW__=!1,g=FUNCTION_TABLE[h](c)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack); +g=null}if(__THREW__){b=10;continue a}IHEAP[b+5]=g;b=a;c=IHEAP[IHEAP[b]+10];try{__THREW__=!1,FUNCTION_TABLE[c](b)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}b=a;for(b=IHEAP[b+7+4]&1?4:5;;)if(b==4){b=IHEAP[IHEAP[a]+36];c=e;try{__THREW__=!1,FUNCTION_TABLE[b](a,c)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}else b= +5}else if(b==5){b=IHEAP[IHEAP[a]+37];try{__THREW__=!1,FUNCTION_TABLE[b](a)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}else break}c=e;b=a;FHEAP[b+88+3]=c;b=IHEAP[IHEAP[a]+38];c=a;c+=88;try{__THREW__=!1,FUNCTION_TABLE[b](a,c)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}b=IHEAP[IHEAP[a]+35];c=e;try{__THREW__=!1, +FUNCTION_TABLE[b](a,c)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}b=e;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorld13updateActionsEf(a,b)}catch(p){if(ABORT)throw p;__THREW__=!0;print("Exception: "+p+" : "+p.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}b=e;try{__THREW__=!1,__ZN23btDiscreteDynamicsWorld21updateActivationStateEf(a,b)}catch(r){if(ABORT)throw r;__THREW__=!0;print("Exception: "+ +r+" : "+r.stack+", currently at: "+Error().stack)}if(__THREW__){b=10;continue a}if(0==IHEAP[a+85]){b=7;break a}b=IHEAP[a+85];c=a;h=e;try{__THREW__=!1,FUNCTION_TABLE[b](c,h)}catch(s){if(ABORT)throw s;__THREW__=!0;print("Exception: "+s+" : "+s.stack+", currently at: "+Error().stack)}if(__THREW__)b=10;else{b=7;break a}}a:for(;;)if(b==2)g=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[g+5],b=3;else if(b==3)throw __Unwind_Resume_or_Rethrow(f),"Reached an unreachable! Original .ll line: 283698"; +else if(b==7){b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?8:9;break a}for(;;)if(b==8)f=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[f+5],b=9;else if(b==9){STACKTOP=d;break}} +function __ZN23btDiscreteDynamicsWorld13updateActionsEf(a,e){var d=STACKTOP;STACKTOP+=1;var b,c,f;__ZN15CProfileManager13Start_ProfileEPKc(__str4921);c=0;var g=a+192,h=a+192;a:for(;;){f=c;b=g;if(!(f<IHEAP[b+1])){b=2;break a}f=c;b=h;b=IHEAP[IHEAP[b+3]+f];f=IHEAP[IHEAP[b]+2];var i=e;try{__THREW__=!1,FUNCTION_TABLE[f](b,a,i)}catch(j){if(ABORT)throw j;__THREW__=!0;print("Exception: "+j+" : "+j.stack+", currently at: "+Error().stack)}if(__THREW__){b=8;break a}c+=1;b=0}if(b==2)for(b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])? +5:6;;)if(b==5)c=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[c+5],b=6;else{if(b==6){STACKTOP=d;break}}else if(b==8){d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);for(b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?3:4;;)if(b==3)c=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[c+5],b=4;else if(b==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 283834"; +}} +function __ZN23btDiscreteDynamicsWorld21updateActivationStateEf(a,e){var d=STACKTOP;STACKTOP+=15;var b,c,f,g,h,i,j,k=d+1,l=d+5,m=d+6,n=d+7,o=d+8,q=d+12,p=d+13,r=d+14;__ZN15CProfileManager13Start_ProfileEPKc(__str510);j=0;var s=a+179;b=j<IHEAP[s+1]?0:1;a:for(;;)if(b==0){var u=a+179;b:for(;;){c=j;i=u;i=c=IHEAP[IHEAP[i+3]+c];b=c!=0?3:4;c:for(;;)if(b==3){__ZN11btRigidBody18updateDeactivationEf(i,e);b=c=i;if(IHEAP[b+54]!=4&&!(IHEAP[_gDisableDeactivation]&1|FHEAP[_gDeactivationTime]==0)){b=c;b=IHEAP[b+54]== +2?6:7;d:for(;;)if(b==6){b=9;break d}else if(b==7)if(b=c,IHEAP[b+54]==3)b=6;else{b=8;break d}d:for(;;)if(b==9){var v=c=i;b=(IHEAP[c+51]&3)!=0?12:13;break d}else if(b==8){if(!(FHEAP[c+55]>FHEAP[_gDeactivationTime])){b=11;break d}b=9}if(b==12){c=v;if(IHEAP[c+54]==4){b=4;continue c}if(IHEAP[c+54]==5){b=4;continue c}IHEAP[c+54]=2;b=4;continue c}else if(b==13){c=v;for(b=IHEAP[c+54]==1?16:17;;)if(b==16)c=i,IHEAP[c+54]!=4&&IHEAP[c+54]!=5&&(IHEAP[c+54]=3),b=17;else if(b==17)if(c=i,IHEAP[c+54]==2)break;else{b= +4;continue c}c=i;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;b=k;f=l;g=m;h=n;FHEAP[b]=FHEAP[f];FHEAP[b+1]=FHEAP[g];FHEAP[b+2]=FHEAP[h];FHEAP[b+3]=0;b=k;_llvm_memcpy_p0i8_p0i8_i32(c+272,b,4,4,0);c=i;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;b=o;f=q;g=p;h=r;FHEAP[b]=FHEAP[f];FHEAP[b+1]=FHEAP[g];FHEAP[b+2]=FHEAP[h];FHEAP[b+3]=0;b=o;_llvm_memcpy_p0i8_p0i8_i32(c+268,b,4,4,0);b=4;continue c}}c=i;if(IHEAP[c+54]==4){b=4;continue c}c=i;if(IHEAP[c+54]==4){b=4;continue c}if(IHEAP[c+54]==5){b=4;continue c}IHEAP[c+54]=1;b=4}else if(b== +4)if(j+=1,c=j,i=s,c<IHEAP[i+1]){b=2;continue b}else{b=1;continue a}}}else if(b==1){b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?24:25;break a}for(;;)if(b==24)j=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[j+5],b=25;else if(b==25){STACKTOP=d;break}} +function __ZN23btDiscreteDynamicsWorld10setGravityERK9btVector3(a,e){var d,b,c,f;_llvm_memcpy_p0i8_p0i8_i32(a+184,e,4,4,0);f=0;var g=a+179;d=f<IHEAP[g+1]?0:1;a:for(;;)if(d==0){var h=a+179;b:for(;;){b=f;c=h;d=b=c=IHEAP[IHEAP[c+3]+b];for(d=IHEAP[d+54]!=2?3:4;;)if(d==3)d=b,IHEAP[d+54]!=5&&(d=c,(IHEAP[d+316]&1)==0&&__ZN11btRigidBody10setGravityERK9btVector3(c,e)),d=4;else if(d==4)if(f+=1,b=f,c=g,b<IHEAP[c+1]){d=2;continue b}else{d=1;continue a}}}else if(d==1)break} +function __ZNK23btDiscreteDynamicsWorld10getGravityEv(a,e){_llvm_memcpy_p0i8_p0i8_i32(a,e+184,4,4,0)}function __ZN23btDiscreteDynamicsWorld18addCollisionObjectEP17btCollisionObjectss(a,e,d,b){__ZN16btCollisionWorld18addCollisionObjectEP17btCollisionObjectss(a,e,d,b)} +function __ZN23btDiscreteDynamicsWorld21removeCollisionObjectEP17btCollisionObject(a,e){var d,b=(IHEAP[e+58]&2)!=0;a:do{if(b){d=b=e;if(b==0){d=0;break a}FUNCTION_TABLE[IHEAP[IHEAP[a]+22]](a,d);d=2}else d=0;break a}while(0);for(;;)if(d==2)break;else d==0&&(__ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(a,e),d=2)} +function __ZN23btDiscreteDynamicsWorld15removeRigidBodyEP11btRigidBody(a,e){var d=STACKTOP;STACKTOP+=1;IHEAP[d]=e;__ZN20btAlignedObjectArrayIP11btRigidBodyE6removeERKS1_(a+179,d);__ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject(a,IHEAP[d]);STACKTOP=d} +function __ZN20btAlignedObjectArrayIP11btRigidBodyE6removeERKS1_(a,e){var d,b,c,f,g;b=IHEAP[a+1];c=0;f=a+3;a:for(;;){var h=c;d=a;if(!(h<IHEAP[d+1])){d=2;break a}var i=c;if(IHEAP[IHEAP[f]+c]==IHEAP[e]){d=3;break a}c=i+1;d=0}a:for(;;)if(d==2){c=g=b;b=a;d=c<IHEAP[b+1]?5:6;break a}else d==3&&(b=i,d=2);for(;;)if(d==5)b=g,c=a,f=IHEAP[c+1]-1,i=c=a,c=IHEAP[IHEAP[i+3]+b],IHEAP[IHEAP[i+3]+b]=IHEAP[IHEAP[i+3]+f],IHEAP[IHEAP[i+3]+f]=c,b=a,IHEAP[b+1]+=-1,d=6;else if(d==6)break} +function __ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBody(a,e){var d=STACKTOP;STACKTOP+=1;var b,c=null,f,g,h,i,j;IHEAP[d]=e;b=(IHEAP[IHEAP[d]+51]&3)!=0?0:1;a:for(;;)if(b==0){f=IHEAP[d];b=IHEAP[f+48]!=0?3:4;break a}else if(b==1){f=IHEAP[d];if((IHEAP[f+316]&1)!=0){b=0;continue a}__ZN11btRigidBody10setGravityERK9btVector3(IHEAP[d],a+184);b=0}a:for(;;)if(b==3){f=IHEAP[d];f=(IHEAP[f+51]&1)!=0;b:do if(f){i=IHEAP[d];if(IHEAP[i+54]==4)break b;if(IHEAP[i+54]==5)break b;IHEAP[i+54]=2}else{h=a+179; +i=d;b=h;c=b=IHEAP[b+1];b=h;b=c==IHEAP[b+2]?5:6;c:for(;;)if(b==5){b=h;g=IHEAP[b+1];g!=0?(c=5,b=7):(c=5,b=8);for(;;)if(b==7){var k=g*2,c=7;b=8}else if(b==8){__ZN20btAlignedObjectArrayIP11btRigidBodyE7reserveEi(h,c==7?k:1);b=6;continue c}}else if(b==6){var l=IHEAP[h+3]+IHEAP[h+1];b=l==0?9:10;break c}for(;;)if(b==9){IHEAP[h+1]+=1;break b}else b==10&&(IHEAP[l]=IHEAP[i],b=9)}while(0);f=IHEAP[d];(IHEAP[f+51]&1)!=0?(c=11,b=15):(c=11,b=16);for(;;)if(b==15){i=(c==11?1:j)^1;f=i&1?1:2;i=i&1?-1:-3;FUNCTION_TABLE[IHEAP[IHEAP[a]+ +8]](a,IHEAP[d],f,i);b=4;continue a}else b==16&&(j=IHEAP[d],j=(IHEAP[j+51]&2)!=0,c=16,b=15)}else if(b==4){STACKTOP=d;break}} +function __ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBodyss(a,e,d,b){var c=STACKTOP;STACKTOP+=1;var f,g=null,h,i,j;IHEAP[c]=e;f=(IHEAP[IHEAP[c]+51]&3)!=0?0:1;a:for(;;)if(f==0){e=IHEAP[c];f=IHEAP[e+48]!=0?3:4;break a}else if(f==1){e=IHEAP[c];if((IHEAP[e+316]&1)!=0){f=0;continue a}__ZN11btRigidBody10setGravityERK9btVector3(IHEAP[c],a+184);f=0}for(;;)if(f==3){e=IHEAP[c];e=(IHEAP[e+51]&1)!=0;b:do if(e){j=IHEAP[c];if(IHEAP[j+54]==4)break b;if(IHEAP[j+54]==5)break b;IHEAP[j+54]=2}else{i=a+179; +j=c;g=i;f=g=IHEAP[g+1];g=i;f=f==IHEAP[g+2]?5:6;c:for(;;)if(f==5){g=i;h=IHEAP[g+1];h!=0?(g=5,f=7):(g=5,f=8);for(;;)if(f==7){var k=h*2,g=7;f=8}else if(f==8){__ZN20btAlignedObjectArrayIP11btRigidBodyE7reserveEi(i,g==7?k:1);f=6;continue c}}else if(f==6){var l=IHEAP[i+3]+IHEAP[i+1];f=l==0?9:10;break c}for(;;)if(f==9){IHEAP[i+1]+=1;break b}else f==10&&(IHEAP[l]=IHEAP[j],f=9)}while(0);FUNCTION_TABLE[IHEAP[IHEAP[a]+8]](a,IHEAP[c],d,b);f=4}else if(f==4){STACKTOP=c;break}} +function __ZN11btRigidBody18updateDeactivationEf(a,e){var d,b,c,f;d=IHEAP[a+54]==2?0:1;a:for(;;)if(d==0)break;else if(d==1){d=a;if(IHEAP[d+54]==4){d=0;continue a}d=a;d+=268;d=b=d;for(d=FHEAP[d]*FHEAP[b]+FHEAP[d+1]*FHEAP[b+1]+FHEAP[d+2]*FHEAP[b+2]<FHEAP[a+308]*FHEAP[a+308]?3:4;;)if(d==3)if(d=a,d+=272,d=b=d,FHEAP[d]*FHEAP[b]+FHEAP[d+1]*FHEAP[b+1]+FHEAP[d+2]*FHEAP[b+2]<FHEAP[a+309]*FHEAP[a+309]){d=5;break}else d=4;else if(d==4)if(FHEAP[a+55]=0,c=a,f=0,IHEAP[c+54]!=4){d=6;break}else{d=0;continue a}if(d== +5)FHEAP[a+55]+=e,d=0;else if(d==6){if(IHEAP[c+54]==5){d=0;continue a}IHEAP[c+54]=f;d=0}}} +function __ZN23btDiscreteDynamicsWorld13addConstraintEP17btTypedConstraintb(a,e,d){var b=STACKTOP;STACKTOP+=1;var c=null,f;IHEAP[b]=e;a+=174;e=IHEAP[a+1]==IHEAP[a+2]?0:1;a:for(;;)if(e==0){c=a;f=IHEAP[c+1];f!=0?(c=0,e=2):(c=0,e=3);for(;;)if(e==2)var g=f*2,c=2,e=3;else if(e==3){__ZN20btAlignedObjectArrayIP17btTypedConstraintE7reserveEi(a,c==2?g:1);e=1;continue a}}else if(e==1){var h=IHEAP[a+3]+IHEAP[a+1],e=h==0?4:5;break a}a:for(;;)if(e==4){IHEAP[a+1]+=1;e=d&1?6:7;break a}else e==5&&(IHEAP[h]=IHEAP[b], +e=4);for(;;)if(e==6)d=IHEAP[b],__ZN11btRigidBody16addConstraintRefEP17btTypedConstraint(IHEAP[d+10],IHEAP[b]),d=IHEAP[b],__ZN11btRigidBody16addConstraintRefEP17btTypedConstraint(IHEAP[d+11],IHEAP[b]),e=7;else if(e==7){STACKTOP=b;break}} +function __ZN23btDiscreteDynamicsWorld16removeConstraintEP17btTypedConstraint(a,e){var d=STACKTOP;STACKTOP+=3;var b,c,f=d+1;c=d+2;IHEAP[c]=e;__ZN20btAlignedObjectArrayIP17btTypedConstraintE6removeERKS1_(a+174,c);var g=IHEAP[c];b=IHEAP[IHEAP[c]+10];IHEAP[d]=g;__ZN20btAlignedObjectArrayIP17btTypedConstraintE6removeERKS1_(b+311,d);IHEAP[b+63]=IHEAP[b+311+1]>0;b=IHEAP[c];c=IHEAP[IHEAP[c]+11];IHEAP[f]=b;__ZN20btAlignedObjectArrayIP17btTypedConstraintE6removeERKS1_(c+311,f);IHEAP[c+63]=IHEAP[c+311+1]>0; +STACKTOP=d} +function __ZN23btDiscreteDynamicsWorld9addActionEP17btActionInterface(a,e){var d=STACKTOP;STACKTOP+=1;var b,c=null,f;IHEAP[d]=e;var g=a+192;b=IHEAP[g+1]==IHEAP[g+2]?0:1;a:for(;;)if(b==0){b=g;f=IHEAP[b+1];f!=0?(c=0,b=2):(c=0,b=3);for(;;)if(b==2){var h=f*2,c=2;b=3}else if(b==3){__ZN20btAlignedObjectArrayIP17btActionInterfaceE7reserveEi(g,c==2?h:1);b=1;continue a}}else if(b==1){var i=IHEAP[g+3]+IHEAP[g+1];b=i==0?4:5;break a}for(;;)if(b==4){IHEAP[g+1]+=1;STACKTOP=d;break}else b==5&&(IHEAP[i]=IHEAP[d], +b=4)}function __ZN23btDiscreteDynamicsWorld12removeActionEP17btActionInterface(a,e){var d=STACKTOP;STACKTOP+=1;IHEAP[d]=e;__ZN20btAlignedObjectArrayIP17btActionInterfaceE6removeERKS1_(a+192,d);STACKTOP=d} +function __ZN20btAlignedObjectArrayIP17btActionInterfaceE6removeERKS1_(a,e){var d,b,c,f,g;b=IHEAP[a+1];c=0;f=a+3;a:for(;;){var h=c;d=a;if(!(h<IHEAP[d+1])){d=2;break a}var i=c;if(IHEAP[IHEAP[f]+c]==IHEAP[e]){d=3;break a}c=i+1;d=0}a:for(;;)if(d==2){c=g=b;b=a;d=c<IHEAP[b+1]?5:6;break a}else d==3&&(b=i,d=2);for(;;)if(d==5)b=g,c=a,f=IHEAP[c+1]-1,i=c=a,c=IHEAP[IHEAP[i+3]+b],IHEAP[IHEAP[i+3]+b]=IHEAP[IHEAP[i+3]+f],IHEAP[IHEAP[i+3]+f]=c,b=a,IHEAP[b+1]+=-1,d=6;else if(d==6)break} +function __ZN23btDiscreteDynamicsWorld10addVehicleEP17btActionInterface(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a]+15]](a,e)}function __ZN23btDiscreteDynamicsWorld13removeVehicleEP17btActionInterface(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](a,e)}function __ZN23btDiscreteDynamicsWorld12addCharacterEP17btActionInterface(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a]+15]](a,e)}function __ZN23btDiscreteDynamicsWorld15removeCharacterEP17btActionInterface(a,e){FUNCTION_TABLE[IHEAP[IHEAP[a]+16]](a,e)} +function __ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo(a,e){var d=STACKTOP;STACKTOP+=36;var b,c=null,f,g,h,i,j,k,l,m,n,o,q,c=d+1,p,r,s;k=d+3;o=d+8;g=d+9;j=d+10;__ZN15CProfileManager13Start_ProfileEPKc(__str622);IHEAP[k+4]=1;IHEAP[k+3]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;n=IHEAP[a+174+1];IHEAP[o]=0;__ZN20btAlignedObjectArrayIP17btTypedConstraintE6resizeEiRKS1_(k,n,o);o=0;n=a+174;a:for(;;){b=o;r=IHEAP[IHEAP[a]+25];try{__THREW__=!1,f=FUNCTION_TABLE[r](a)}catch(u){if(ABORT)throw u;__THREW__= +!0;print("Exception: "+u+" : "+u.stack+", currently at: "+Error().stack);f=null}if(__THREW__){b=19;break a}if(!(b<f)){b=2;break a}r=o;b=n;r=IHEAP[IHEAP[b+3]+r];p=o;b=k;IHEAP[IHEAP[b+3]+p]=r;o+=1;b=0}a:for(;;)if(b==19){i=c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);b=3;break a}else if(b==2){_llvm_memcpy_p0i8_p0i8_i64(c,g,1,1,0);o=f=k;for(b=IHEAP[o+1]>1?4:5;;)if(b==4)o=f,__ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(f, +d,0,IHEAP[o+1]-1),b=5;else if(b==5){f=IHEAP[IHEAP[a]+25];try{__THREW__=!1,s=FUNCTION_TABLE[f](a)}catch(v){if(ABORT)throw v;__THREW__=!0;print("Exception: "+v+" : "+v.stack+", currently at: "+Error().stack);s=null}if(__THREW__){b=19;continue a}else{b=6;break a}}}a:for(;;)if(b==3){s=k;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(s);b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?11:12;break a}else if(b==6){s!=0?(c=6,b=7):(c=6,b=8);b:for(;;)if(b==7)q=k,q=IHEAP[q+ +3]+0,c=7,b=8;else if(b==8){m=c==7?q:0;l=e;h=IHEAP[a+172];c=m;m=k;f=IHEAP[m+1];n=IHEAP[a+22];o=IHEAP[a+20];g=IHEAP[a+6];b=m=j;IHEAP[b]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2;IHEAP[m]=__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+2;IHEAP[m+4]=l;IHEAP[m+5]=h;IHEAP[m+6]=c;IHEAP[m+7]=f;IHEAP[m+8]=n;IHEAP[m+9]=o;IHEAP[m+10]=g;l=m+11;IHEAP[l+4]=1;IHEAP[l+3]=0;IHEAP[l+1]=0;IHEAP[l+2]=0;l=m+16;IHEAP[l+4]=1;IHEAP[l+3]=0;IHEAP[l+1]=0;IHEAP[l+ +2]=0;m+=21;IHEAP[m+4]=1;IHEAP[m+3]=0;IHEAP[m+1]=0;IHEAP[m+2]=0;m=IHEAP[a+172];l=IHEAP[IHEAP[m]+2];h=a;h+=1;h=IHEAP[h+1];c=a;c=IHEAP[c+6];g=IHEAP[IHEAP[c]+9];var y;try{__THREW__=!1,y=FUNCTION_TABLE[g](c)}catch(x){if(ABORT)throw x;__THREW__=!0;print("Exception: "+x+" : "+x.stack+", currently at: "+Error().stack);y=null}b=__THREW__?14:20;break b}for(;;)if(b==20){try{__THREW__=!1,FUNCTION_TABLE[l](m,h,y)}catch(z){if(ABORT)throw z;__THREW__=!0;print("Exception: "+z+" : "+z.stack+", currently at: "+Error().stack)}if(__THREW__)b= +14;else{c=IHEAP[a+173];g=a;g=IHEAP[g+6];f=a;o=j;try{__THREW__=!1,__ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE(c,g,f,o)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+B+" : "+B.stack+", currently at: "+Error().stack)}if(__THREW__)b=14;else{try{__THREW__=!1,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback18processConstraintsEv(j)}catch(C){if(ABORT)throw C;__THREW__=!0; +print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack)}if(__THREW__)b=14;else{c=IHEAP[a+172];g=IHEAP[IHEAP[c]+4];f=e;o=IHEAP[a+22];n=IHEAP[a+20];try{__THREW__=!1,FUNCTION_TABLE[g](c,f,o,n)}catch(A){if(ABORT)throw A;__THREW__=!0;print("Exception: "+A+" : "+A.stack+", currently at: "+Error().stack)}if(__THREW__)b=14;else{b=17;break a}}}}}else if(b==14){i=c=_llvm_eh_exception();_llvm_eh_selector(c,___gxx_personality_v0,0);c=j;IHEAP[c]=__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+ +2;g=c+21;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(g);g=c+16;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(g);g=c+11;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(g);IHEAP[c]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2;b=3;continue a}}a:for(;;)if(b==17){i=j;IHEAP[i]=__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+2;j=i+21;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(j);j=i+16;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(j); +j=i+11;__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(j);IHEAP[i]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(k);b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?9:10;break a}else if(b==11)s=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[s+5],b=12;else if(b==12)throw __Unwind_Resume_or_Rethrow(i),"Reached an unreachable! Original .ll line: 286387";for(;;)if(b== +9)k=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[k+5],b=10;else if(b==10){STACKTOP=d;break}} +function __ZN20btAlignedObjectArrayIP17btTypedConstraintE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIP17btTypedConstraintE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+1]=e} +function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback18processConstraintsEv(a){var e=STACKTOP;STACKTOP+=3;var d,b,c,f,g,h,i=e+1,j=e+2;for(d=IHEAP[a+21+1]+IHEAP[a+16+1]>0?0:1;;)if(d==0){d=IHEAP[a+5];var k=IHEAP[IHEAP[d]+3];h=a+11;h=IHEAP[h+3]+0;g=a+11;g=IHEAP[g+1];f=a+16;f=IHEAP[f+3]+0;b=a+16;b=IHEAP[b+1];c=a+21;var l=IHEAP[c+3]+0;c=a+21;FUNCTION_TABLE[k](d,h,g,f,b,l,IHEAP[c+1],IHEAP[a+4],IHEAP[a+8],IHEAP[a+9],IHEAP[a+10]);d=1}else if(d==1){d= +a+11;IHEAP[e]=0;__ZN20btAlignedObjectArrayIP17btCollisionObjectE6resizeEiRKS1_(d,0,e);d=a+16;IHEAP[i]=0;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE6resizeEiRKS1_(d,0,i);a+=21;IHEAP[j]=0;__ZN20btAlignedObjectArrayIP17btTypedConstraintE6resizeEiRKS1_(a,0,j);STACKTOP=e;break}} +function __ZN23btDiscreteDynamicsWorld26calculateSimulationIslandsEv(a){var e=STACKTOP;STACKTOP+=1;var d,b,c,f,g,h,i,j,k;__ZN15CProfileManager13Start_ProfileEPKc(__str723);h=IHEAP[a+173];k=IHEAP[IHEAP[h]+2];i=IHEAP[a+6];try{__THREW__=!1,FUNCTION_TABLE[k](h,a,i)}catch(l){if(ABORT)throw l;__THREW__=!0;print("Exception: "+l+" : "+l.stack+", currently at: "+Error().stack)}d=__THREW__?17:16;a:for(;;)if(d==16){h=a+174;k=IHEAP[h+1];h=0;d=h<k?0:1;b:for(;;)if(d==0){i=a+174;c:for(;;){c=h;b=i;b=c=IHEAP[IHEAP[b+ +3]+c];b=IHEAP[b+10];c=IHEAP[c+11];d=b!=0?3:4;d:for(;;)if(d==3){f=b;if((IHEAP[f+51]&3)!=0){d=4;continue d}if(c==0){d=4;continue d}f=c;if((IHEAP[f+51]&3)!=0){d=4;continue d}d=f=b;d=IHEAP[d+54]!=2?8:9;e:for(;;)if(d==8)if(d=f,IHEAP[d+54]!=5){d=10;break e}else d=9;else if(d==9)if(f=g=c,IHEAP[f+54]!=2){d=11;break e}else{d=4;continue d}for(;;)if(d==10){f=a;f=IHEAP[f+173];f+=1;d=b;var m=IHEAP[d+52];d=c;__ZN11btUnionFind5uniteEii(f,m,IHEAP[d+52]);d=4;continue d}else if(d==11)if(f=g,IHEAP[f+54]!=5)d=10;else{d= +4;continue d}}else if(d==4)if(h+=1,h<k){d=2;continue c}else{d=1;continue b}}}else if(d==1){h=a;h=IHEAP[h+173];k=IHEAP[IHEAP[h]+3];i=a;try{__THREW__=!1,FUNCTION_TABLE[k](h,i)}catch(n){if(ABORT)throw n;__THREW__=!0;print("Exception: "+n+" : "+n.stack+", currently at: "+Error().stack)}if(__THREW__){d=17;continue a}else{d=18;break a}}}else if(d==17){j=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?12:13;break a}a:for(;;)if(d== +12)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],d=13;else if(d==13)throw __Unwind_Resume_or_Rethrow(j),"Reached an unreachable! Original .ll line: 286940";else if(d==18){d=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?14:15;break a}for(;;)if(d==14)j=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[j+5],d=15;else if(d==15){STACKTOP=e;break}} +function __ZN23btDiscreteDynamicsWorld19integrateTransformsEf(a,e){var d=STACKTOP;STACKTOP+=177;var b,c,f,g,h,i,j,k,l,m=d+1,n=d+2,o,q,p,r,s,u=d+4,v,y,x=d+20;s=d+25;q=d+109;var z=d+161;__ZN15CProfileManager13Start_ProfileEPKc(__str824);y=0;var B=a+179,C=a+179,A=s+81,w=s+2,D=s+3,E=s+1,F=s+1,G=s+28,J=s+24,H=s+20;a:for(;;){p=y;r=B;if(!(p<IHEAP[r+1])){b=2;break a}p=y;r=C;p=r=IHEAP[IHEAP[r+3]+p];FHEAP[p+60]=1;l=p=r;b=IHEAP[l+54]!=2?3:4;b:for(;;)if(b==3){l=p;if(IHEAP[l+54]==5){b=4;continue b}l=r;if((IHEAP[l+ +51]&3)!=0){b=4;continue b}b=e;l=r;j=u;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(l+1,l+268,l+272,b,j);l=u;l+=12;b=r;b+=1;b+=12;FHEAP[d]=FHEAP[l]-FHEAP[b];FHEAP[m]=FHEAP[l+1]-FHEAP[b+1];FHEAP[n]=FHEAP[l+2]-FHEAP[b+2];l=x;b=d;j=m;k=n;FHEAP[l]=FHEAP[b];FHEAP[l+1]=FHEAP[j];FHEAP[l+2]=FHEAP[k];FHEAP[l+3]=0;l=b=l=x;l=FHEAP[l]*FHEAP[b]+FHEAP[l+1]*FHEAP[b+1]+FHEAP[l+2]*FHEAP[b+2];b=a;b=IHEAP[b+7+4]&1?7:8;c:for(;;)if(b==7){b=r;if(FHEAP[b+62]*FHEAP[b+62]==0){b=8;continue c}b= +r;if(!(FHEAP[b+62]*FHEAP[b+62]<l)){b=8;continue c}b=__str925;try{__THREW__=!1,__ZN15CProfileManager13Start_ProfileEPKc(b)}catch(M){if(ABORT)throw M;__THREW__=!0;print("Exception: "+M+" : "+M.stack+", currently at: "+Error().stack)}if(__THREW__){b=29;break a}b=r;b=IHEAP[b+48];b=IHEAP[b+1];b=b<20?11:12;d:for(;;)if(b==11){IHEAP[_gNumClampedCcdMotions]+=1;b=j=r;b+=1;k=b+12;b=u;g=b+12;b=a;b=IHEAP[b+21];i=IHEAP[IHEAP[b]+9];var K;try{__THREW__=!1,K=FUNCTION_TABLE[i](b)}catch(N){if(ABORT)throw N;__THREW__= +!0;print("Exception: "+N+" : "+N.stack+", currently at: "+Error().stack);K=null}if(__THREW__){b=35;break a}b=a;h=IHEAP[b+6];b=s;i=k;k=K;f=h;h=j;j=k;k=f;f=i;c=g;i=b;b=h;g=f;h=c;c=f=i;IHEAP[c]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;FHEAP[c+1]=1;IHEAP[c+2]=1;IHEAP[c+3]=-1;IHEAP[f]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;_llvm_memcpy_p0i8_p0i8_i32(f+12,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+16,h,4,4,0);IHEAP[f+28]=0;IHEAP[i]=__ZTV34btClosestNotMeConvexResultCallback+2;IHEAP[i+ +80]=b;FHEAP[i+81]=0;IHEAP[i+82]=j;IHEAP[i+83]=k;b=r;b=FHEAP[b+61];try{__THREW__=!1,__ZN13btSphereShapeC1Ef(q,b)}catch(R){if(ABORT)throw R;__THREW__=!0;print("Exception: "+R+" : "+R.stack+", currently at: "+Error().stack)}if(__THREW__){b=31;break a}b=a;FHEAP[A]=FHEAP[b+7+9];b=r;IHEAP[w]=IHEAP[IHEAP[b+47]+1];b=r;IHEAP[D]=IHEAP[IHEAP[b+47]+2];b=z;k=j=u;j=b;i=b=k;k=j;_llvm_memcpy_p0i8_p0i8_i32(k,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+ +12,b+12,4,4,0);b=r;b+=1;j=b;b=z;_llvm_memcpy_p0i8_p0i8_i32(b,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,j+8,4,4,0);b=r;b+=1;try{__THREW__=!1,__ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(a,q,b,z,s,0)}catch(O){if(ABORT)throw O;__THREW__=!0;print("Exception: "+O+" : "+O.stack+", currently at: "+Error().stack)}if(__THREW__){b=33;break a}b=s;b=FHEAP[b+1]<1?13:14;e:for(;;)if(b==13)if(FHEAP[E]<1){b=15;break e}else b= +14;else if(b==14){o=0;b=16;break e}for(;;)if(b==15)b=FHEAP[F],o=r,FHEAP[o+60]=b,o=r,j=e,b=r,b=j*FHEAP[b+60],j=u,__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(o+1,o+268,o+272,b,j),o=r,FHEAP[o+60]=0,o=r,b=u,__ZN11btRigidBody24setCenterOfMassTransformERK11btTransform(o,b),b=r,j=IHEAP[G],o=a,__Z22resolveSingleCollisionP11btRigidBodyP17btCollisionObjectRK9btVector3S5_RK19btContactSolverInfof(b,j,J,H,o+88,0),o=4,b=16;else if(b==16)if(b=q,IHEAP[b]=__ZTV13btSphereShape+2,IHEAP[b]= +__ZTV21btConvexInternalShape+2,IHEAP[b]=__ZTV13btConvexShape+2,IHEAP[b]=__ZTV16btCollisionShape+2,b=s,IHEAP[b]=__ZTV34btClosestNotMeConvexResultCallback+2,IHEAP[b]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[b]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,o==0){b=12;continue d}else break d}else if(b==12){o=0;break d}for(b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?21:22;;)if(b==21)b=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]= +IHEAP[b+5],b=22;else if(b==22)if(o==4){b=4;continue b}else{b=8;continue c}}else if(b==8){l=r;b=u;__ZN11btRigidBody24setCenterOfMassTransformERK11btTransform(l,b);b=4;continue b}}else if(b==4){y+=1;b=0;continue a}}a:do if(b==2)for(b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?24:25;;)if(b==24)m=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[m+5],b=25;else{if(b==25){STACKTOP=d;return}}else if(b==29){v=q=_llvm_eh_exception();_llvm_eh_selector(q, +___gxx_personality_v0,0);b=17;break a}else if(b==35){v=q=_llvm_eh_exception();_llvm_eh_selector(q,___gxx_personality_v0,0);b=18;break a}else if(b==31){v=q=_llvm_eh_exception();_llvm_eh_selector(q,___gxx_personality_v0,0);b=19;break a}else if(b==33){v=d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);IHEAP[q]=__ZTV13btSphereShape+2;IHEAP[q]=__ZTV21btConvexInternalShape+2;IHEAP[q]=__ZTV13btConvexShape+2;IHEAP[q]=__ZTV16btCollisionShape+2;b=19;break a}while(0);a:for(;;)if(b==17){b= +__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?26:27;break a}else if(b==18){if(!__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])){b=17;continue a}q=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[q+5];b=17}else b==19&&(q=s,IHEAP[q]=__ZTV34btClosestNotMeConvexResultCallback+2,IHEAP[q]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[q]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,b=18);for(;;)if(b== +26)s=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[s+5],b=27;else if(b==27)throw __Unwind_Resume_or_Rethrow(v),"Reached an unreachable! Original .ll line: 288004";}function __ZN34btClosestNotMeConvexResultCallbackD1Ev(a){IHEAP[a]=__ZTV34btClosestNotMeConvexResultCallback+2;IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2} +function __ZN23btDiscreteDynamicsWorld22addSpeculativeContactsEf(a,e){var d=STACKTOP;STACKTOP+=245;var b,c,f,g,h,i,j,k,l=d+1,m=d+2,n=d+3,o=d+4,q=d+5,p=d+6,r,s=d+7,u=d+8,v=d+9,y,x,z,B=d+11,C,A,w=d+27;z=d+32;var D=d+116,E=d+168,F=d+184;r=d+189;var G=d+232,J=d+236,H=d+237,M=d+241;__ZN15CProfileManager13Start_ProfileEPKc(__str1026);A=0;var K=a+179,N=a+179,R=z+2,O=z+3,Q=z+1,I=z+28,L=z+82,P=z+28,S=z+1,T=z+24,U=z+20;a:for(;;){y=A;x=K;if(!(y<IHEAP[x+1])){b=2;break a}y=A;x=N;y=x=IHEAP[IHEAP[x+3]+y];FHEAP[y+ +60]=1;c=y=x;b=IHEAP[c+54]!=2?3:4;b:for(;;)if(b==3){c=y;if(IHEAP[c+54]==5){b=4;continue b}c=x;if((IHEAP[c+51]&3)!=0){b=4;continue b}b=e;c=x;f=B;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(c+1,c+268,c+272,b,f);c=B;c+=12;b=x;b+=1;b+=12;FHEAP[n]=FHEAP[c]-FHEAP[b];FHEAP[o]=FHEAP[c+1]-FHEAP[b+1];FHEAP[q]=FHEAP[c+2]-FHEAP[b+2];c=w;b=n;f=o;g=q;FHEAP[c]=FHEAP[b];FHEAP[c+1]=FHEAP[f];FHEAP[c+2]=FHEAP[g];FHEAP[c+3]=0;c=b=c=w;c=FHEAP[c]*FHEAP[b]+FHEAP[c+1]*FHEAP[b+1]+FHEAP[c+ +2]*FHEAP[b+2];b=x;if(FHEAP[b+62]*FHEAP[b+62]==0){b=4;continue b}b=x;if(!(FHEAP[b+62]*FHEAP[b+62]<c)){b=4;continue b}c=__str1127;try{__THREW__=!1,__ZN15CProfileManager13Start_ProfileEPKc(c)}catch(W){if(ABORT)throw W;__THREW__=!0;print("Exception: "+W+" : "+W.stack+", currently at: "+Error().stack)}if(__THREW__){b=34;break a}c=x;c=IHEAP[c+48];c=IHEAP[c+1];b=c<20?9:10;c:for(;;)if(b==9){IHEAP[_gNumClampedCcdMotions]+=1;c=b=x;c+=1;f=c+12;c=B;j=c+12;c=a;c=IHEAP[c+21];g=IHEAP[IHEAP[c]+9];var Z;try{__THREW__= +!1,Z=FUNCTION_TABLE[g](c)}catch(ca){if(ABORT)throw ca;__THREW__=!0;print("Exception: "+ca+" : "+ca.stack+", currently at: "+Error().stack);Z=null}if(__THREW__){b=44;break a}c=a;k=IHEAP[c+6];c=z;g=f;f=Z;i=k;k=b;b=f;f=i;i=g;h=j;g=c;c=k;j=i;k=h;h=i=g;IHEAP[h]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;FHEAP[h+1]=1;IHEAP[h+2]=1;IHEAP[h+3]=-1;IHEAP[i]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;_llvm_memcpy_p0i8_p0i8_i32(i+12,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+16,k,4,4,0);IHEAP[i+ +28]=0;IHEAP[g]=__ZTV34btClosestNotMeConvexResultCallback+2;IHEAP[g+80]=c;FHEAP[g+81]=0;IHEAP[g+82]=b;IHEAP[g+83]=f;c=x;c=FHEAP[c+61];try{__THREW__=!1,__ZN13btSphereShapeC1Ef(D,c)}catch(Y){if(ABORT)throw Y;__THREW__=!0;print("Exception: "+Y+" : "+Y.stack+", currently at: "+Error().stack)}if(__THREW__){b=36;break a}c=x;IHEAP[R]=IHEAP[IHEAP[c+47]+1];c=x;IHEAP[O]=IHEAP[IHEAP[c+47]+2];b=E;g=c=B;f=b;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+ +8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);c=x;c+=1;b=c;c=E;_llvm_memcpy_p0i8_p0i8_i32(c,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,b+8,4,4,0);c=x;c+=1;try{__THREW__=!1,__ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(a,D,c,E,z,0)}catch(ea){if(ABORT)throw ea;__THREW__=!0;print("Exception: "+ea+" : "+ea.stack+", currently at: "+Error().stack)}if(__THREW__){b=38;break a}c=z;b=FHEAP[c+1]<1?11: +12;d:for(;;)if(b==11){if(!(FHEAP[Q]<1)){b=12;continue d}c=x;f=IHEAP[c+47];c=IHEAP[I];g=IHEAP[c+47];c=IHEAP[L];b=IHEAP[IHEAP[c]+13];var ha;try{__THREW__=!1,ha=FUNCTION_TABLE[b](c,f,g)}catch(ba){if(ABORT)throw ba;__THREW__=!0;print("Exception: "+ba+" : "+ba.stack+", currently at: "+Error().stack);ha=null}if(__THREW__){b=38;break a}c=ha;if(c==0){b=12;continue d}if(IHEAP[c+2]==0){b=12;continue d}b=F;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;c=IHEAP[c+2];b=IHEAP[IHEAP[c]+4];try{__THREW__=!1, +FUNCTION_TABLE[b](c,F)}catch(V){if(ABORT)throw V;__THREW__=!0;print("Exception: "+V+" : "+V.stack+", currently at: "+Error().stack)}if(__THREW__){b=40;break a}c=F;b=IHEAP[c+1]!=0?16:17;for(;;)if(b==16){f=x;c=IHEAP[P];g=b=r;IHEAP[g]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;IHEAP[b]=__ZTV16btManifoldResult+2;IHEAP[b+4]=0;IHEAP[b+37]=f;IHEAP[b+38]=c;IHEAP[b+39]=-1;IHEAP[b+40]=-1;IHEAP[b+41]=-1;IHEAP[b+42]=-1;g=b+5;f+=1;k=f;j=g;_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+ +4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f+12,4,4,0);b+=21;c+=1;g=c;f=b;_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);c=F;b=IHEAP[IHEAP[c+3]+0];c=r;IHEAP[c+4]=b;c=E;c+=12;b=x;b+=1;b+=12;FHEAP[d]=FHEAP[c]-FHEAP[b];FHEAP[l]=FHEAP[c+1]-FHEAP[b+1];FHEAP[m]=FHEAP[c+2]-FHEAP[b+2];c=G;b=d;f=l;g=m;FHEAP[c]=FHEAP[b];FHEAP[c+1]=FHEAP[f];FHEAP[c+ +2]=FHEAP[g];FHEAP[c+3]=0;b=G;c=S;FHEAP[b]*=FHEAP[c];FHEAP[b+1]*=FHEAP[c];FHEAP[b+2]*=FHEAP[c];c=b=c=G;c=FHEAP[c]*FHEAP[b]+FHEAP[c+1]*FHEAP[b+1]+FHEAP[c+2]*FHEAP[b+2];FHEAP[J]=0;_llvm_memcpy_p0i8_p0i8_i32(H,T,4,4,0);for(b=c>1.1920928955078125E-7?18:19;;)if(b==18)b=c,b=_sqrtf(b),FHEAP[J]=b,f=H,b=G,FHEAP[f]-=FHEAP[b],FHEAP[f+1]-=FHEAP[b+1],FHEAP[f+2]-=FHEAP[b+2],f=G,b=J,FHEAP[p]=1/FHEAP[b],b=p,FHEAP[f]*=FHEAP[b],FHEAP[f+1]*=FHEAP[b],FHEAP[f+2]*=FHEAP[b],b=19;else if(b==19){c=F;c=IHEAP[IHEAP[c+3]+0]; +b=IHEAP[c+280]==x?25:26;break}if(b==25){c=FHEAP[J];try{__THREW__=!1,__ZN16btManifoldResult15addContactPointERK9btVector3S2_f(r,U,H,c)}catch(aa){if(ABORT)throw aa;__THREW__=!0;print("Exception: "+aa+" : "+aa.stack+", currently at: "+Error().stack)}if(__THREW__){b=42;break a}}else if(b==26){c=U;FHEAP[s]=0-FHEAP[c];FHEAP[u]=0-FHEAP[c+1];FHEAP[v]=0-FHEAP[c+2];c=M;b=s;f=u;g=v;FHEAP[c]=FHEAP[b];FHEAP[c+1]=FHEAP[f];FHEAP[c+2]=FHEAP[g];FHEAP[c+3]=0;c=FHEAP[J];try{__THREW__=!1,__ZN16btManifoldResult15addContactPointERK9btVector3S2_f(r, +M,H,c)}catch(X){if(ABORT)throw X;__THREW__=!0;print("Exception: "+X+" : "+X.stack+", currently at: "+Error().stack)}if(__THREW__){b=42;break a}}c=r;IHEAP[c]=__ZTV16btManifoldResult+2;IHEAP[c]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;b=17}else if(b==17){c=F;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(c);b=12;continue d}}else if(b==12){c=D;IHEAP[c]=__ZTV13btSphereShape+2;IHEAP[c]=__ZTV21btConvexInternalShape+2;IHEAP[c]=__ZTV13btConvexShape+2;IHEAP[c]=__ZTV16btCollisionShape+ +2;c=z;IHEAP[c]=__ZTV34btClosestNotMeConvexResultCallback+2;IHEAP[c]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[c]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;b=10;continue c}}else if(b==10)if(__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE]))break c;else{b=4;continue b}c=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[c+5];b=4}else if(b==4){A+=1;b=0;continue a}}a:do if(b==2)for(b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])? +29:30;;)if(b==29)l=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[l+5],b=30;else{if(b==30){STACKTOP=d;return}}else if(b==34){C=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);b=20;break a}else if(b==44){C=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);b=21;break a}else if(b==36){C=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);b=22;break a}else if(b==38){C=r=_llvm_eh_exception();_llvm_eh_selector(r, +___gxx_personality_v0,0);b=23;break a}else if(b==40){C=r=_llvm_eh_exception();_llvm_eh_selector(r,___gxx_personality_v0,0);b=24;break a}else if(b==42){C=d=_llvm_eh_exception();_llvm_eh_selector(d,___gxx_personality_v0,0);IHEAP[r]=__ZTV16btManifoldResult+2;IHEAP[r]=__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+2;b=24;break a}while(0);a:for(;;)if(b==20){b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?31:32;break a}else if(b==21){if(!__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])){b= +20;continue a}r=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[r+5];b=20}else b==22?(r=z,IHEAP[r]=__ZTV34btClosestNotMeConvexResultCallback+2,IHEAP[r]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[r]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,b=21):b==23?(r=D,IHEAP[r]=__ZTV13btSphereShape+2,IHEAP[r]=__ZTV21btConvexInternalShape+2,IHEAP[r]=__ZTV13btConvexShape+2,IHEAP[r]=__ZTV16btCollisionShape+2,b=22):b==24&&(r=F,__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(r), +b=23);for(;;)if(b==31)z=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[z+5],b=32;else if(b==32)throw __Unwind_Resume_or_Rethrow(C),"Reached an unreachable! Original .ll line: 289637";} +function __ZN23btDiscreteDynamicsWorld25predictUnconstraintMotionEf(a,e){var d=STACKTOP;STACKTOP+=1;var b,c,f,g,h;__ZN15CProfileManager13Start_ProfileEPKc(__str1228);h=0;var i=a+179;b=h<IHEAP[i+1]?0:1;a:for(;;)if(b==0){var j=a+179;b:for(;;){b=h;g=j;b=g=IHEAP[IHEAP[g+3]+b];for(b=(IHEAP[b+51]&3)!=0?3:4;;)if(b==3)if(h+=1,b=h,g=i,b<IHEAP[g+1]){b=2;continue b}else{b=1;continue a}else b==4&&(__ZN11btRigidBody19integrateVelocitiesEf(g,e),__ZN11btRigidBody12applyDampingEf(g,e),b=g,f=e,c=g,c+=17,__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(b+ +1,b+268,b+272,f,c),b=3)}}else if(b==1){b=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?5:6;break a}for(;;)if(b==5)h=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[h+5],b=6;else if(b==6){STACKTOP=d;break}} +function __ZN23btDiscreteDynamicsWorld19setConstraintSolverEP18btConstraintSolver(a,e){var d;for(d=IHEAP[a+190]&1?0:1;;)if(d==0)d=IHEAP[a+172],d!=0&&(IHEAP[_gNumAlignedFree]+=1,d!=0&&(d=IHEAP[d+-1],_free(d))),d=1;else if(d==1){IHEAP[a+190]=0;IHEAP[a+172]=e;break}}function __ZN23btDiscreteDynamicsWorld19getConstraintSolverEv(a){return IHEAP[a+172]}function __ZNK23btDiscreteDynamicsWorld17getNumConstraintsEv(a){return IHEAP[a+174+1]} +function __ZN23btDiscreteDynamicsWorld13getConstraintEi(a,e){return IHEAP[IHEAP[a+174+3]+e]}function __ZNK23btDiscreteDynamicsWorld13getConstraintEi(a,e){return IHEAP[IHEAP[a+174+3]+e]} +function __ZN23btDiscreteDynamicsWorld20serializeRigidBodiesEP12btSerializer(a,e){var d,b,c,f,g;f=0;var h=a+1;d=f<IHEAP[h+1]?0:1;a:for(;;)if(d==0){b=a+1;b:for(;;){d=f;c=b;d=c=IHEAP[IHEAP[c+3]+d];for(d=(IHEAP[d+58]&2)!=0?3:4;;)if(d==3){d=c;d=FUNCTION_TABLE[IHEAP[IHEAP[d]+4]](d);g=e;d=FUNCTION_TABLE[IHEAP[IHEAP[g]+4]](g,d,1);g=c;g=FUNCTION_TABLE[IHEAP[IHEAP[g]+5]](g,IHEAP[d+2],e);var i=e;FUNCTION_TABLE[IHEAP[IHEAP[i]+5]](i,d,g,1497645650,c);d=4}else if(d==4)if(f+=1,d=f,c=h,d<IHEAP[c+1]){d=2;continue b}else{d= +1;continue a}}}else if(d==1){var h=f=0,j=a+174;b=j;d=h<IHEAP[b+1]?5:6;break a}a:for(;;)if(d==5)for(h=a+174;;)if(c=f,b=h,c=b=IHEAP[IHEAP[b+3]+c],c=FUNCTION_TABLE[IHEAP[IHEAP[c]+9]](c),d=e,c=FUNCTION_TABLE[IHEAP[IHEAP[d]+4]](d,c,1),d=b,d=FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,IHEAP[c+2],e),g=e,FUNCTION_TABLE[IHEAP[IHEAP[g]+5]](g,c,d,1397641027,b),f+=1,c=f,b=j,c<IHEAP[b+1])d=7;else{d=6;continue a}else if(d==6)break} +function __ZN23btDiscreteDynamicsWorld9serializeEP12btSerializer(a,e){FUNCTION_TABLE[IHEAP[IHEAP[e]+8]](e);__ZN23btDiscreteDynamicsWorld20serializeRigidBodiesEP12btSerializer(a,e);__ZN16btCollisionWorld25serializeCollisionObjectsEP12btSerializer(a,e);FUNCTION_TABLE[IHEAP[IHEAP[e]+9]](e)}function __ZNK23btDiscreteDynamicsWorld12getWorldTypeEv(){return 2} +function __ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=2;var f,g,h,i,j,k,l=c+1;i=d;j=b;k=IHEAP[IHEAP[a+3]+((b+d)/2|0)];var m=a+3,n=a+3;a:for(;;)if(__ZN33btSortConstraintOnIslandPredicateclEPK17btTypedConstraintS2_(e,IHEAP[IHEAP[m]+i],k))i+=1;else{f=__ZN33btSortConstraintOnIslandPredicateclEPK17btTypedConstraintS2_(e,k,IHEAP[IHEAP[n]+j])?1:2;b:for(;;)if(f==1)j+=-1,f=__ZN33btSortConstraintOnIslandPredicateclEPK17btTypedConstraintS2_(e, +k,IHEAP[IHEAP[n]+j])?1:2;else if(f==2){f=i<=j?3:4;break b}for(;;)if(f==3){f=i;h=j;var o=g=a;g=IHEAP[IHEAP[o+3]+f];IHEAP[IHEAP[o+3]+f]=IHEAP[IHEAP[o+3]+h];IHEAP[IHEAP[o+3]+h]=g;i+=1;j+=-1;f=4}else if(f==4)if(i<=j)continue a;else break a}f=d<j?6:7;a:for(;;)if(f==6)__ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(a,c,d,j),f=7;else if(f==7){f=i<b?8:9;break a}for(;;)if(f==8)__ZN20btAlignedObjectArrayIP17btTypedConstraintE17quickSortInternalI33btSortConstraintOnIslandPredicateEEvT_ii(a, +l,i,b),f=9;else if(f==9){STACKTOP=c;break}}function __ZN33btSortConstraintOnIslandPredicateclEPK17btTypedConstraintS2_(a,e,d){var a=null,b,c,a=IHEAP[d+10],d=IHEAP[d+11];IHEAP[a+52]>=0?(c=IHEAP[a+52],a=0):(b=IHEAP[d+52],a=2);c=a==0?c:b;b=IHEAP[e+10];e=IHEAP[e+11];if(IHEAP[b+52]>=0)var f=IHEAP[b+52],a=3;else var g=IHEAP[e+52],a=5;return(a==3?f:g)<c} +function __ZN20btAlignedObjectArrayIP17btActionInterfaceE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+ +3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP11btRigidBodyE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!= +0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIP17btActionInterfaceE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayIP11btRigidBodyE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN34btClosestNotMeConvexResultCallbackD0Ev(a){IHEAP[a]=__ZTV34btClosestNotMeConvexResultCallback+2;IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;__ZdlPv(a)} +function __ZNK34btClosestNotMeConvexResultCallback14needsCollisionEP17btBroadphaseProxy(a,e){var d,b=null,c;if(IHEAP[e]==IHEAP[a+80])c=0;else{d=(IHEAP[a+3]&IHEAP[e+1])!=0;d&1?(b=1,d=2):(b=1,d=3);for(;;)if(d==2){var f=(IHEAP[e+2]&IHEAP[a+2])!=0,b=2;d=3}else if(d==3){d=b==1?0:f;d=d&1?4:5;break}d==4?(c=IHEAP[e],f=IHEAP[a+83],c=FUNCTION_TABLE[IHEAP[IHEAP[f]+7]](f,IHEAP[a+80],c)?1:0):d==5&&(c=0)}return c} +function __ZN34btClosestNotMeConvexResultCallback15addSingleResultERN16btCollisionWorld17LocalConvexResultEb(a,e,d){var b=STACKTOP;STACKTOP+=33;var c=b+1,f=b+2,g,h=b+3,i=b+4,j=b+5,k=b+6,l=b+10,m=b+14,n=b+18,o=b+22,q=b+26,p=b+27,r=b+28,s=b+29;if(IHEAP[e]==IHEAP[a+80])a=1;else if(g=IHEAP[e],(IHEAP[g+51]&4)==0){var u=a+12;g=a+16;FHEAP[h]=FHEAP[g]-FHEAP[u];FHEAP[i]=FHEAP[g+1]-FHEAP[u+1];FHEAP[j]=FHEAP[g+2]-FHEAP[u+2];FHEAP[n]=FHEAP[h];FHEAP[n+1]=FHEAP[i];FHEAP[n+2]=FHEAP[j];FHEAP[n+3]=0;_llvm_memcpy_p0i8_p0i8_i32(l, +n,4,4,0);FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[o]=FHEAP[q];FHEAP[o+1]=FHEAP[p];FHEAP[o+2]=FHEAP[r];FHEAP[o+3]=0;_llvm_memcpy_p0i8_p0i8_i32(m,o,4,4,0);FHEAP[b]=FHEAP[l]-FHEAP[m];FHEAP[c]=FHEAP[l+1]-FHEAP[m+1];FHEAP[f]=FHEAP[l+2]-FHEAP[m+2];FHEAP[s]=FHEAP[b];FHEAP[s+1]=FHEAP[c];FHEAP[s+2]=FHEAP[f];FHEAP[s+3]=0;c=e+2;FHEAP[c]*FHEAP[s]+FHEAP[c+1]*FHEAP[s+1]+FHEAP[c+2]*FHEAP[s+2]>=0-FHEAP[a+81]?a=1:(FHEAP[a+1]=FHEAP[e+10],IHEAP[a+28]=IHEAP[e],s=a+20,d&1?_llvm_memcpy_p0i8_p0i8_i32(s,e+2,4,4,0):(d=IHEAP[a+ +28],__ZmlRK11btMatrix3x3RK9btVector3(k,d+1,e+2),_llvm_memcpy_p0i8_p0i8_i32(s,k,4,4,0)),_llvm_memcpy_p0i8_p0i8_i32(a+24,e+6,4,4,0),a=FHEAP[e+10])}else a=1;STACKTOP=b;return a} +function __ZN16btCollisionWorld27ClosestConvexResultCallback15addSingleResultERNS_17LocalConvexResultEb(a,e,d){var b=STACKTOP;STACKTOP+=4;FHEAP[a+1]=FHEAP[e+10];IHEAP[a+28]=IHEAP[e];var c=a+20;d&1?_llvm_memcpy_p0i8_p0i8_i32(c,e+2,4,4,0):(d=IHEAP[a+28],__ZmlRK11btMatrix3x3RK9btVector3(b,d+1,e+2),_llvm_memcpy_p0i8_p0i8_i32(c,b,4,4,0));_llvm_memcpy_p0i8_p0i8_i32(a+24,e+6,4,4,0);a=FHEAP[e+10];STACKTOP=b;return a} +function __ZN16btCollisionWorld27ClosestConvexResultCallbackD1Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2}function __ZN16btCollisionWorld27ClosestConvexResultCallbackD0Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;__ZdlPv(a)} +function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD2Ev(a){IHEAP[a]=__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+2;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a+21);__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+16);__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+11);IHEAP[a]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2} +function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD0Ev(a){IHEAP[a]=__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+2;__ZN20btAlignedObjectArrayIP17btTypedConstraintE5clearEv(a+21);__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+16);__ZN20btAlignedObjectArrayIP17btCollisionObjectE5clearEv(a+11);IHEAP[a]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2;__ZdlPv(a)} +function __ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback13ProcessIslandEPP17btCollisionObjectiPP20btPersistentManifoldii(a,e,d,b,c,f){var g,h=null,i,j,k,l,m,n,o,q,p,r,s,u,v=f<0;a:do if(v){if(IHEAP[a+7]+c==0)break a;m=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[m]+3]](m,e,d,b,c,IHEAP[a+6],IHEAP[a+7],IHEAP[a+4],IHEAP[a+8],IHEAP[a+9],IHEAP[a+10])}else{u=s=m=0;l=a+7;j=a+6;b:for(;;){if(!(u<IHEAP[l])){g=5;break b}r=g=IHEAP[IHEAP[j]+u];r=IHEAP[r+10];h=IHEAP[g+ +11];g=r;IHEAP[g+52]>=0?(q=r,q=IHEAP[q+52],h=9):(p=h,p=IHEAP[p+52],h=11);g=h==9?q:p;r=u;if(g==f){g=12;break b}u=r+1;g=3}b:for(;;)if(g==5){var y=a+7;g=u<IHEAP[y]?6:7;break b}else g==12&&(m=IHEAP[a+6]+r,g=5);b:for(;;)if(g==6){l=a+6;c:for(;;){g=h=IHEAP[IHEAP[l]+u];g=IHEAP[g+10];j=IHEAP[h+11];h=g;IHEAP[h+52]>=0?(n=g,n=IHEAP[n+52],h=14):(o=j,o=IHEAP[o+52],h=16);g=h==14?n:o;for(g=g==f?17:18;;)if(g==17)s+=1,g=18;else if(g==18)if(u+=1,u<IHEAP[y]){g=8;continue c}else{g=7;continue b}}}else if(g==7){g=IHEAP[IHEAP[a+ +4]+17]<=1?19:20;break b}if(g==19){if(s+c==0)break a;u=IHEAP[a+5];FUNCTION_TABLE[IHEAP[IHEAP[u]+3]](u,e,d,b,c,m,s,IHEAP[a+4],IHEAP[a+8],IHEAP[a+9],IHEAP[a+10])}else if(g==20){u=0;g=u<d?22:23;b:for(;;)if(g==22){l=a+11;c:for(;;){h=e+u;g=l;j=h;g=k=g;h=g=IHEAP[g+1];g=k;g=h==IHEAP[g+2]?25:26;d:for(;;)if(g==25){g=k;i=IHEAP[g+1];i!=0?(h=25,g=27):(h=25,g=28);for(;;)if(g==27){var x=i*2,h=27;g=28}else if(g==28){__ZN20btAlignedObjectArrayIP17btCollisionObjectE7reserveEi(k,h==27?x:1);g=26;continue d}}else if(g== +26){var z=IHEAP[k+3]+IHEAP[k+1];g=z==0?29:30;break d}for(;;)if(g==29)if(IHEAP[k+1]+=1,u+=1,u<d){g=24;continue c}else{g=23;continue b}else g==30&&(IHEAP[z]=IHEAP[j],g=29)}}else if(g==23){u=0;g=u<c?31:32;break b}b:for(;;)if(g==31){l=a+16;c:for(;;){h=b+u;g=l;j=h;g=k=g;h=g=IHEAP[g+1];g=k;g=h==IHEAP[g+2]?34:35;d:for(;;)if(g==34){g=k;i=IHEAP[g+1];i!=0?(h=34,g=36):(h=34,g=37);for(;;)if(g==36){var B=i*2,h=36;g=37}else if(g==37){__ZN20btAlignedObjectArrayIP20btPersistentManifoldE7reserveEi(k,h==36?B:1);g= +35;continue d}}else if(g==35){var C=IHEAP[k+3]+IHEAP[k+1];g=C==0?38:39;break d}for(;;)if(g==38)if(IHEAP[k+1]+=1,u+=1,u<c){g=33;continue c}else{g=32;continue b}else g==39&&(IHEAP[C]=IHEAP[j],g=38)}}else if(g==32){u=0;var A=a+21;g=u<s?40:41;break b}b:for(;;)if(g==40){h=m+u;g=A;l=h;g=j=g;h=g=IHEAP[g+1];g=j;g=h==IHEAP[g+2]?42:43;c:for(;;)if(g==42){g=j;k=IHEAP[g+1];k!=0?(h=42,g=44):(h=42,g=45);for(;;)if(g==44){var w=k*2,h=44;g=45}else if(g==45){__ZN20btAlignedObjectArrayIP17btTypedConstraintE7reserveEi(j, +h==44?w:1);g=43;continue c}}else if(g==43){var D=IHEAP[j+3]+IHEAP[j+1];g=D==0?46:47;break c}for(;;)if(g==46){IHEAP[j+1]+=1;u+=1;g=u<s?40:41;continue b}else g==47&&(IHEAP[D]=IHEAP[l],g=46)}else if(g==41)if(m=A,s=IHEAP[m+1],m=a+16,IHEAP[m+1]+s>IHEAP[IHEAP[a+4]+17]){g=48;break b}else break a;__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback18processConstraintsEv(a)}}while(0)} +function __ZN25btSimulationIslandManager14IslandCallbackD1Ev(a){IHEAP[a]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2}function __ZN25btSimulationIslandManager14IslandCallbackD0Ev(a){IHEAP[a]=__ZTVN25btSimulationIslandManager14IslandCallbackE+2;__ZdlPv(a)} +function __ZN23btGeneric6DofConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,b,c,f){IHEAP[a+4]=6;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;IHEAP[a+11]=d;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;e=a+40;_llvm_memcpy_p0i8_p0i8_i32(e,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+ +12,b+12,4,4,0);b=a+56;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);c=0;a:for(;;)if(c=b=c+1,!(b<3))break a;c=0;a:for(;;)if(c=b=c+1,!(b<3))break a;__ZN25btTranslationalLimitMotorC2Ev(a+198);b=a+247;for(c=0;;)if(e=b+16*c,FHEAP[e+15]=0,FHEAP[e+2]=0,FHEAP[e+3]=0.10000000149011612,FHEAP[e+4]=300,FHEAP[e]=1,FHEAP[e+1]=-1,FHEAP[e+7]=0,FHEAP[e+8]=0.20000000298023224,FHEAP[e+9]=0,FHEAP[e+ +10]=0,FHEAP[e+5]=1,FHEAP[e+6]=0.5,IHEAP[e+14]=0,FHEAP[e+12]=0,IHEAP[e+11]=0,c=e=c+1,!(e<3))break;IHEAP[a+355]=f&1;IHEAP[a+356]=1;IHEAP[a+357]=0;IHEAP[a+358]=0;__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1)}function __ZN23btGeneric6DofConstraint19calculateTransformsEv(a){__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1)} +function __ZN23btGeneric6DofConstraintC2ER11btRigidBodyRK11btTransformb(a,e,d,b){var c=STACKTOP;STACKTOP+=32;var f=c+12,g,h,i=c+16;__ZN17btTypedConstraint12getFixedBodyEv();h=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;IHEAP[a+4]=6;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=h;IHEAP[a+11]=e;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;h=a+56;_llvm_memcpy_p0i8_p0i8_i32(h, +d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,d+12,4,4,0);d=0;a:for(;;)if(d=h=d+1,!(h<3))break a;d=0;a:for(;;)if(d=h=d+1,!(h<3))break a;__ZN25btTranslationalLimitMotorC2Ev(a+198);h=a+247;for(d=0;;)if(g=h+16*d,FHEAP[g+15]=0,FHEAP[g+2]=0,FHEAP[g+3]=0.10000000149011612,FHEAP[g+4]=300,FHEAP[g]=1,FHEAP[g+1]=-1,FHEAP[g+7]=0,FHEAP[g+8]=0.20000000298023224,FHEAP[g+9]=0,FHEAP[g+10]=0,FHEAP[g+5]=1,FHEAP[g+6]=0.5,IHEAP[g+14]=0,FHEAP[g+ +12]=0,IHEAP[g+11]=0,d=g=d+1,!(g<3))break;IHEAP[a+355]=b&1;IHEAP[a+356]=1;IHEAP[a+357]=0;IHEAP[a+358]=0;b=a+40;d=a+56;e+=1;__ZmlRK11btMatrix3x3S1_(c,e,d);__ZNK11btTransformclERK9btVector3(f,e,d+12);_llvm_memcpy_p0i8_p0i8_i32(i,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+ +12,i+12,4,4,0);__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1);STACKTOP=c}function __Z15btGetMatrixElemRK11btMatrix3x3i(a,e){return FHEAP[a+e%3*4+(e/3|0)]} +function __Z16matrixToEulerXYZRK11btMatrix3x3R9btVector3(a,e){var d;d=FHEAP[a+8+(2/3|0)];if(d<1)if(d>-1){var b=0-FHEAP[a+8+(5/3|0)];d=FHEAP[a+8+(8/3|0)];d=_atan2f(b,d);FHEAP[e]=d;var b=d=FHEAP[a+8+(2/3|0)],c=b<-1;a:do if(c)d=-1;else{if(!(b>1))break a;d=1}while(0);d=_asinf(d);FHEAP[e+1]=d;b=0-FHEAP[a+4+(1/3|0)];d=FHEAP[a+0+0];d=_atan2f(b,d);FHEAP[e+2]=d;d=1}else b=FHEAP[a+0+1],d=FHEAP[a+4+(4/3|0)],d=0-_atan2f(b,d),FHEAP[e]=d,FHEAP[e+1]=-1.5707963705062866,d=FHEAP[e+2]=0;else b=FHEAP[a+0+1],d=FHEAP[a+ +4+(4/3|0)],d=_atan2f(b,d),FHEAP[e]=d,FHEAP[e+1]=1.5707963705062866,d=FHEAP[e+2]=0;return d}function __ZN22btRotationalLimitMotor14testLimitValueEf(a,e){var d;FHEAP[a]>FHEAP[a+1]?d=IHEAP[a+14]=0:e<FHEAP[a]?(IHEAP[a+14]=1,FHEAP[a+12]=e-FHEAP[a],d=1):(d=a+14,e>FHEAP[a+1]?(IHEAP[d]=2,FHEAP[a+12]=e-FHEAP[a+1],d=2):d=IHEAP[d]=0);return d} +function __ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(a,e,d,b){var c=STACKTOP;STACKTOP+=22;var f,g,h,i,j,k=c+1,l=c+2,m=c+3,n=c+4,o=c+5,q=c+6,p=c+7,r=c+8,s=c+9,u=c+10,v=c+14,y=c+18;FHEAP[s]=b;for(b=FHEAP[a+276]!=0?0:1;;)if(b==0)b=a+318,f=e,g=s,FHEAP[q]=FHEAP[f]*FHEAP[g],FHEAP[p]=FHEAP[f+1]*FHEAP[g],FHEAP[r]=FHEAP[f+2]*FHEAP[g],f=u,g=q,h=p,i=r,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=b,b=u,FHEAP[f]+=FHEAP[b],FHEAP[f+1]+=FHEAP[b+1],FHEAP[f+2]+=FHEAP[b+2],b= +a+322,f=d,h=a+326,i=g=s,g=h,h=i,FHEAP[c]=FHEAP[g]*FHEAP[h],FHEAP[k]=FHEAP[g+1]*FHEAP[h],FHEAP[l]=FHEAP[g+2]*FHEAP[h],g=y,h=c,i=k,j=l,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,g=y,FHEAP[m]=FHEAP[f]*FHEAP[g],FHEAP[n]=FHEAP[f+1]*FHEAP[g+1],FHEAP[o]=FHEAP[f+2]*FHEAP[g+2],f=v,g=m,h=n,i=o,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=b,b=v,FHEAP[f]+=FHEAP[b],FHEAP[f+1]+=FHEAP[b+1],FHEAP[f+2]+=FHEAP[b+2],b=1;else if(b==1){STACKTOP=c;break}} +function __ZN25btTranslationalLimitMotor14testLimitValueEif(a,e,d){var b,c;b=FHEAP[a+e];c=FHEAP[a+4+e];b>c?(IHEAP[a+46+e]=0,a=FHEAP[a+38+e]=0):d<b?(IHEAP[a+46+e]=2,FHEAP[a+38+e]=d-b,a=2):(b=a+46+e,d>c?(IHEAP[b]=1,FHEAP[a+38+e]=d-c,a=1):(IHEAP[b]=0,a=FHEAP[a+38+e]=0));return a} +function __ZNK11btRigidBody39internalGetVelocityInLocalPointObsoleteERK9btVector3RS0_(a,e,d){var b=STACKTOP;STACKTOP+=28;var c,f=b+1,g=b+2,h=b+3,i=b+4,j=b+5,k=b+6,l=b+7,m=b+8,n=b+9,o=b+10,q=b+11,p=b+12,r=b+16,s=b+20,u=b+24,v=a+318;c=a+268;FHEAP[b]=FHEAP[c]+FHEAP[v];FHEAP[f]=FHEAP[c+1]+FHEAP[v+1];FHEAP[g]=FHEAP[c+2]+FHEAP[v+2];FHEAP[p]=FHEAP[b];FHEAP[p+1]=FHEAP[f];FHEAP[p+2]=FHEAP[g];FHEAP[p+3]=0;c=a+322;a+=272;FHEAP[h]=FHEAP[a]+FHEAP[c];FHEAP[i]=FHEAP[a+1]+FHEAP[c+1];FHEAP[j]=FHEAP[a+2]+FHEAP[c+2]; +FHEAP[s]=FHEAP[h];FHEAP[s+1]=FHEAP[i];FHEAP[s+2]=FHEAP[j];FHEAP[s+3]=0;FHEAP[k]=FHEAP[s+1]*FHEAP[e+2]-FHEAP[s+2]*FHEAP[e+1];FHEAP[l]=FHEAP[s+2]*FHEAP[e]-FHEAP[s]*FHEAP[e+2];FHEAP[m]=FHEAP[s]*FHEAP[e+1]-FHEAP[s+1]*FHEAP[e];FHEAP[r]=FHEAP[k];FHEAP[r+1]=FHEAP[l];FHEAP[r+2]=FHEAP[m];FHEAP[r+3]=0;FHEAP[n]=FHEAP[p]+FHEAP[r];FHEAP[o]=FHEAP[p+1]+FHEAP[r+1];FHEAP[q]=FHEAP[p+2]+FHEAP[r+2];FHEAP[u]=FHEAP[n];FHEAP[u+1]=FHEAP[o];FHEAP[u+2]=FHEAP[q];FHEAP[u+3]=0;_llvm_memcpy_p0i8_p0i8_i32(d,u,4,4,0);STACKTOP=b} +function __ZN23btGeneric6DofConstraint18calculateAngleInfoEv(a){var e=STACKTOP;STACKTOP+=59;var d,b=e+1,c=e+2,f=e+3,g=e+4,h=e+5,i=e+6,j=e+7,k=e+8,l=e+9,m=e+10,n=e+11,o=e+12,q=e+13,p=e+14;d=e+15;var r=e+27,s=e+39,u=e+43,v=e+47,y=e+51,x=e+55;__ZNK11btMatrix3x37inverseEv(r,a+296);__ZmlRK11btMatrix3x3S1_(d,r,a+312);__Z16matrixToEulerXYZRK11btMatrix3x3R9btVector3(d,a+328);d=a+312;FHEAP[s]=FHEAP[d+0];FHEAP[s+1]=FHEAP[d+4+0];FHEAP[s+2]=FHEAP[d+8+0];FHEAP[s+3]=0;d=a+296;FHEAP[u]=FHEAP[d+2];FHEAP[u+1]=FHEAP[d+ +4+2];FHEAP[u+2]=FHEAP[d+8+2];FHEAP[u+3]=0;FHEAP[e]=FHEAP[u+1]*FHEAP[s+2]-FHEAP[u+2]*FHEAP[s+1];FHEAP[b]=FHEAP[u+2]*FHEAP[s]-FHEAP[u]*FHEAP[s+2];FHEAP[c]=FHEAP[u]*FHEAP[s+1]-FHEAP[u+1]*FHEAP[s];FHEAP[v]=FHEAP[e];FHEAP[v+1]=FHEAP[b];FHEAP[v+2]=FHEAP[c];FHEAP[v+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+332+4,v,4,4,0);b=a+332+4;FHEAP[f]=FHEAP[b+1]*FHEAP[u+2]-FHEAP[b+2]*FHEAP[u+1];FHEAP[g]=FHEAP[b+2]*FHEAP[u]-FHEAP[b]*FHEAP[u+2];FHEAP[h]=FHEAP[b]*FHEAP[u+1]-FHEAP[b+1]*FHEAP[u];FHEAP[y]=FHEAP[f];FHEAP[y+1]=FHEAP[g]; +FHEAP[y+2]=FHEAP[h];FHEAP[y+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+332,y,4,4,0);f=a+332+4;FHEAP[i]=FHEAP[s+1]*FHEAP[f+2]-FHEAP[s+2]*FHEAP[f+1];FHEAP[j]=FHEAP[s+2]*FHEAP[f]-FHEAP[s]*FHEAP[f+2];FHEAP[k]=FHEAP[s]*FHEAP[f+1]-FHEAP[s+1]*FHEAP[f];FHEAP[x]=FHEAP[i];FHEAP[x+1]=FHEAP[j];FHEAP[x+2]=FHEAP[k];FHEAP[x+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+332+8,x,4,4,0);i=a+332;j=_sqrtf(FHEAP[i]*FHEAP[i]+FHEAP[i+1]*FHEAP[i+1]+FHEAP[i+2]*FHEAP[i+2]);FHEAP[m]=j;FHEAP[l]=1/FHEAP[m];FHEAP[i]*=FHEAP[l];FHEAP[i+1]*=FHEAP[l]; +FHEAP[i+2]*=FHEAP[l];l=a+332+4;m=_sqrtf(FHEAP[l]*FHEAP[l]+FHEAP[l+1]*FHEAP[l+1]+FHEAP[l+2]*FHEAP[l+2]);FHEAP[o]=m;FHEAP[n]=1/FHEAP[o];FHEAP[l]*=FHEAP[n];FHEAP[l+1]*=FHEAP[n];FHEAP[l+2]*=FHEAP[n];a=a+332+8;n=_sqrtf(FHEAP[a]*FHEAP[a]+FHEAP[a+1]*FHEAP[a+1]+FHEAP[a+2]*FHEAP[a+2]);FHEAP[p]=n;FHEAP[q]=1/FHEAP[p];FHEAP[a]*=FHEAP[q];FHEAP[a+1]*=FHEAP[q];FHEAP[a+2]*=FHEAP[q];STACKTOP=e} +function __ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,e,d){var b=STACKTOP;STACKTOP+=64;var c=null,c=b+12,f,g=b+16,h=b+28,i=b+32,j=b+48,k,l=a+296;f=a+40;__ZmlRK11btMatrix3x3S1_(g,e,f);__ZNK11btTransformclERK9btVector3(h,e,f+12);_llvm_memcpy_p0i8_p0i8_i32(i,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+12,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+ +8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,i+12,4,4,0);f=a+312;e=a+56;__ZmlRK11btMatrix3x3S1_(b,d,e);__ZNK11btTransformclERK9btVector3(c,d,e+12);_llvm_memcpy_p0i8_p0i8_i32(j,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+12,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+4,j+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+8,j+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,j+12,4,4,0);__ZN23btGeneric6DofConstraint19calculateLinearInfoEv(a); +__ZN23btGeneric6DofConstraint18calculateAngleInfoEv(a);e=IHEAP[a+356]&1?0:1;for(;;)if(e==0){d=a;d=IHEAP[d+10];d=FHEAP[d+276];c=a;c=IHEAP[c+11];j=FHEAP[c+276];d<1.1920928955078125E-7?(c=0,e=2):(c=0,e=3);for(;;)if(e==2){IHEAP[a+350]=c==0?1:m;d+=j;k=d;e=d>0?4:5;break}else if(e==3)var m=j<1.1920928955078125E-7,c=3,e=2;e==4?FHEAP[a+348]=j/k:e==5&&(FHEAP[a+348]=0.5);FHEAP[a+349]=1-FHEAP[a+348];e=1}else if(e==1){STACKTOP=b;break}} +function __ZN23btGeneric6DofConstraint19calculateLinearInfoEv(a){var e=STACKTOP;STACKTOP+=23;var d,b=e+1,c=e+2,f=e+3,g=e+7,h=e+19,i=a+296+12;d=a+312+12;FHEAP[e]=FHEAP[d]-FHEAP[i];FHEAP[b]=FHEAP[d+1]-FHEAP[i+1];FHEAP[c]=FHEAP[d+2]-FHEAP[i+2];FHEAP[f]=FHEAP[e];FHEAP[f+1]=FHEAP[b];FHEAP[f+2]=FHEAP[c];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+344,f,4,4,0);d=a+344;__ZNK11btMatrix3x37inverseEv(g,a+296);__ZmlRK11btMatrix3x3RK9btVector3(h,g,a+344);_llvm_memcpy_p0i8_p0i8_i32(d,h,4,4,0);g=0;h=a+344;d=a+198+ +42;b=a+198;for(a+=344;;)if(f=g,c=h,f=FHEAP[c+f],i=g,c=d,FHEAP[c+i]=f,i=f=g,c=a,__ZN25btTranslationalLimitMotor14testLimitValueEif(b,f,FHEAP[c+i]),g=c=g+1,!(c<3))break;STACKTOP=e} +function __ZN23btGeneric6DofConstraint19buildLinearJacobianER15btJacobianEntryRK9btVector3S4_S4_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=38;var g,h,i,j,k,l,m,n,o,q,p=f+1,r=f+2,s=f+3,u=f+4,v=f+5,y=f+6,x=f+18,z=f+30,B=f+34;for(g=e==0?0:1;;)if(g==0){STACKTOP=f;break}else g==1&&(g=e,n=IHEAP[a+10],n+=1,q=n,o=n+4,h=n+8,i=n,i+=1,j=n+4,j+=1,k=n+8,k+=1,l=n,l+=2,m=n+4,m+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(y,q,o,h,i,j,k,l,m,n+2),n=IHEAP[a+11],n+=1,q=n,o=n+4,h=n+8,i=n,i+=1,j=n+4,j+=1,k=n+8,k+= +1,l=n,l+=2,m=n+4,m+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(x,q,o,h,i,j,k,l,m,n+2),n=b,q=IHEAP[a+10],q+=1,q+=12,FHEAP[f]=FHEAP[n]-FHEAP[q],FHEAP[p]=FHEAP[n+1]-FHEAP[q+1],FHEAP[r]=FHEAP[n+2]-FHEAP[q+2],n=z,q=f,o=p,h=r,FHEAP[n]=FHEAP[q],FHEAP[n+1]=FHEAP[o],FHEAP[n+2]=FHEAP[h],FHEAP[n+3]=0,n=c,q=IHEAP[a+11],q+=1,q+=12,FHEAP[s]=FHEAP[n]-FHEAP[q],FHEAP[u]=FHEAP[n+1]-FHEAP[q+1],FHEAP[v]=FHEAP[n+2]-FHEAP[q+2],n=B,q=s,o=u,h=v,FHEAP[n]=FHEAP[q],FHEAP[n+1]=FHEAP[o],FHEAP[n+2]=FHEAP[h],FHEAP[n+ +3]=0,i=d,n=IHEAP[a+10],j=n+289,n=IHEAP[a+10],k=FHEAP[n+276],n=IHEAP[a+11],l=n+289,n=IHEAP[a+11],m=FHEAP[n+276],n=y,q=x,o=z,h=B,__ZN15btJacobianEntryC2ERK11btMatrix3x3S2_RK9btVector3S5_S5_S5_fS5_f(g,n,q,o,h,i,j,k,l,m),g=0)} +function __ZN23btGeneric6DofConstraint20buildAngularJacobianER15btJacobianEntryRK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=24;var c,f,g,h,i,j,k,l,m,n,o,q=b+12;for(c=e==0?0:1;;)if(c==0){STACKTOP=b;break}else c==1&&(o=e,c=d,l=IHEAP[a+10],l+=1,n=l,m=l+4,f=l+8,g=l,g+=1,h=l+4,h+=1,i=l+8,i+=1,j=l,j+=2,k=l+4,k+=2,l+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(b,n,m,f,g,h,i,j,k,l+2),l=IHEAP[a+11],l+=1,n=l,m=l+4,f=l+8,g=l,g+=1,h=l+4,h+=1,i=l+8,i+=1,j=l,j+=2,k=l+4,k+=2,l+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(q, +n,m,f,g,h,i,j,k,l+2),l=IHEAP[a+10],l+=289,n=IHEAP[a+11],n+=289,m=b,f=q,__ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(o,c,m,f,l,n),c=0)} +function __ZN23btGeneric6DofConstraint21testAngularLimitMotorEi(a,e){var d,b;d=FHEAP[a+328+e];d=__Z21btAdjustAngleToLimitsfff(d,FHEAP[a+247+e*16],FHEAP[a+247+e*16+1]);var c=FHEAP[a+247+e*16+13]=d;d=a+247+e*16;if(FHEAP[d]>FHEAP[d+1])IHEAP[d+14]=0;else if(c<FHEAP[d])IHEAP[d+14]=1,FHEAP[d+12]=c-FHEAP[d];else{var f=d+14;c>FHEAP[d+1]?(IHEAP[f]=2,FHEAP[d+12]=c-FHEAP[d+1]):IHEAP[f]=0}c=a+247+e*16;d=IHEAP[c+14]==0?1:2;a:for(;;)if(d==1)if((IHEAP[c+11]&1)==0){d=3;break a}else d=2;else if(d==2){b=1;d=4;break a}for(;;)if(d== +3)b=0,d=4;else if(d==4)return b;return null} +function __Z21btAdjustAngleToLimitsfff(a,e,d){var b,c=null,f,g,h=e>=d;a:do if(h)g=a;else if(a<e){b=f=e-a;b=f=_fmodf(b,6.2831854820251465);f<-3.1415927410125732?b+=6.2831854820251465:b=b>3.1415927410125732?f-6.2831854820251465:f;b=_fabsf(b);f=c=d-a;c=f=_fmodf(f,6.2831854820251465);f<-3.1415927410125732?f+=6.2831854820251465:f=f>3.1415927410125732?c-6.2831854820251465:c;c=_fabsf(f);f=a;b<c?(c=3,b=4):(c=3,b=5);for(;;)if(b==4){g=c==5?i:f;break a}else if(b==5){var i=f+6.2831854820251465,c=5;b=4}}else if(b= +a,a>d){b=f=b-d;b=f=_fmodf(b,6.2831854820251465);f<-3.1415927410125732?b+=6.2831854820251465:b=b>3.1415927410125732?f-6.2831854820251465:f;b=_fabsf(b);f=c=a-e;c=f=_fmodf(f,6.2831854820251465);f<-3.1415927410125732?f+=6.2831854820251465:f=f>3.1415927410125732?c-6.2831854820251465:c;c=_fabsf(f);f=a;c<b?(c=9,b=10):(c=9,b=11);for(;;)if(b==10){var j=f-6.2831854820251465,c=10;b=11}else if(b==11){g=c==10?j:f;break a}}else g=b;while(0);return g} +function __ZN23btGeneric6DofConstraint13buildJacobianEv(a){var e=STACKTOP;STACKTOP+=27;var d,b,c,f,g,h,i,j,k,l,m=e+1,n=e+2,o=e+3,q=e+7,p=e+11,r=e+15,s=e+19,u=e+23;d=IHEAP[a+358]&1?0:1;a:for(;;)if(d==0){g=a+198+8;FHEAP[e]=0;FHEAP[m]=0;FHEAP[n]=0;j=g;g=e;k=m;l=n;FHEAP[j]=FHEAP[g];FHEAP[j+1]=FHEAP[k];FHEAP[j+2]=FHEAP[l];g=FHEAP[j+3]=0;k=a+247;b:for(;;)if(FHEAP[k+g*16+15]=0,g=l=g+1,l<3)d=2;else{d=3;break b}g=IHEAP[a+10];k=g+1;g=IHEAP[a+11];__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a, +k,g+1);FUNCTION_TABLE[IHEAP[IHEAP[a]+11]](a);_llvm_memcpy_p0i8_p0i8_i32(o,a+351,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(q,a+351,4,4,0);g=0;k=a+198;l=a+355;j=a+296;h=p;i=r;var v=a+72,y=a+312,x=p,z=s;b:for(;;){d=g;b=k;c=d;f=b+4;f=FHEAP[f+c];for(d=f>=FHEAP[b+d]?5:6;;)if(d==5){if(IHEAP[l]&1){b=j;d=g;f=b;c=d;b=f;b+=c;var B=d;c=f+4;c+=B;f+=8;B=f+d;d=r;f=c;c=B;FHEAP[d]=FHEAP[b];FHEAP[d+1]=FHEAP[f];FHEAP[d+2]=FHEAP[c];FHEAP[d+3]=0;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0)}else b=y,d=g,f=b,c=d,b=f,b+=c,B=d,c=f+4,c+= +B,f+=8,B=f+d,d=s,f=c,c=B,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[f],FHEAP[d+2]=FHEAP[c],FHEAP[d+3]=0,_llvm_memcpy_p0i8_p0i8_i32(x,z,4,4,0);__ZN23btGeneric6DofConstraint19buildLinearJacobianER15btJacobianEntryRK9btVector3S4_S4_(a,v+g*21,p,o,q);d=6}else if(d==6)if(g=d=g+1,d<3){d=4;continue b}else{d=8;break b}}g=0;k=u;l=p;j=a+135;b:for(;;)for(d=__ZN23btGeneric6DofConstraint21testAngularLimitMotorEi(a,g)?10:11;;)if(d==10)i=g,h=a,h=h+332+i*4,_llvm_memcpy_p0i8_p0i8_i32(k,h,4,4,0),_llvm_memmove_p0i8_p0i8_i32(l, +h,4,4,0),__ZN23btGeneric6DofConstraint20buildAngularJacobianER15btJacobianEntryRK9btVector3(a,j+g*21,p),d=11;else if(d==11)if(g=h=g+1,h<3){d=9;continue b}else{d=1;continue a}}else if(d==1){STACKTOP=e;break}}function __ZNK23btGeneric6DofConstraint7getAxisEi(a,e,d){_llvm_memcpy_p0i8_p0i8_i32(a,e+332+d*4,4,4,0)} +function __ZN23btGeneric6DofConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E(a,e){var d,b,c,f=IHEAP[a+358]&1;a:do if(f)IHEAP[e]=0,IHEAP[e+1]=0;else{c=IHEAP[a+10];var g=c+1;c=IHEAP[a+11];__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,g,c+1);IHEAP[e]=0;IHEAP[e+1]=6;c=0;g=a+198;b:for(;;){b=c;var h=d=g;d=IHEAP[h+46+b]==0?2:3;c:for(;;)if(d==2)if((IHEAP[h+27+b]&1)==0){d=4;break c}else d=3;else if(d==3){IHEAP[e]+=1;IHEAP[e+1]+=-1;d=5;break c}for(;;)if(d==4)d=5;else if(d== +5)if(c=b=c+1,b<3)continue b;else break b}c=0;b:for(;;)for(d=__ZN23btGeneric6DofConstraint21testAngularLimitMotorEi(a,c)?8:9;;)if(d==8)IHEAP[e]+=1,IHEAP[e+1]+=-1,d=9;else if(d==9)if(c=g=c+1,g<3)continue b;else break a}while(0)} +function __ZN23btGeneric6DofConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e){var d,b,c,f,g,h,i;d=IHEAP[a+10]+1;b=IHEAP[a+11]+1;c=IHEAP[a+10]+268;f=IHEAP[a+11]+268;g=IHEAP[a+10]+272;h=IHEAP[a+11]+272;IHEAP[a+356]&1?(i=__ZN23btGeneric6DofConstraint16setAngularLimitsEPN17btTypedConstraint17btConstraintInfo2EiRK11btTransformS5_RK9btVector3S8_S8_S8_(a,e,0,d,b,c,f,g,h),__ZN23btGeneric6DofConstraint15setLinearLimitsEPN17btTypedConstraint17btConstraintInfo2EiRK11btTransformS5_RK9btVector3S8_S8_S8_(a, +e,i,d,b,c,f,g,h)):(i=__ZN23btGeneric6DofConstraint15setLinearLimitsEPN17btTypedConstraint17btConstraintInfo2EiRK11btTransformS5_RK9btVector3S8_S8_S8_(a,e,0,d,b,c,f,g,h),__ZN23btGeneric6DofConstraint16setAngularLimitsEPN17btTypedConstraint17btConstraintInfo2EiRK11btTransformS5_RK9btVector3S8_S8_S8_(a,e,i,d,b,c,f,g,h))} +function __ZN23btGeneric6DofConstraint16setAngularLimitsEPN17btTypedConstraint17btConstraintInfo2EiRK11btTransformS5_RK9btVector3S8_S8_S8_(a,e,d,b,c,f,g,h,i){var j=STACKTOP;STACKTOP+=4;var k,l,m,n;n=0;var o=a+357,q=a+247,p=a+247,r=a+247;a:for(;;){m=n;k=a;m=k=k+247+m*16;k=IHEAP[m+14]==0?1:2;b:for(;;)if(k==1)if((IHEAP[m+11]&1)==0){k=3;break b}else k=2;else if(k==2){k=n;l=a;_llvm_memcpy_p0i8_p0i8_i32(j,l+332+k*4,4,4,0);l=IHEAP[o]>>(n+3)*3;k=(l&1)!=0?5:6;break b}b:for(;;)if(k==3){k=4;break b}else if(k== +5){k=(l&2)!=0?7:8;break b}else k==6&&(FHEAP[r+n*16+7]=FHEAP[IHEAP[e+8]],k=5);b:for(;;)if(k==4)if(n=k=n+1,k<3)continue a;else break a;else if(k==7)for(k=(l&4)!=0?9:10;;)if(k==9){m=n;k=a;k=__ZN23btGeneric6DofConstraint21get_limit_motor_info2EP22btRotationalLimitMotorRK11btTransformS4_RK9btVector3S7_S7_S7_PN17btTypedConstraint17btConstraintInfo2EiRS5_ii(a,k+247+m*16,b,c,f,g,h,i,e,d,j,1,0);d+=k;k=4;continue b}else k==10&&(FHEAP[q+n*16+8]=FHEAP[e+1],k=9);else k==8&&(FHEAP[p+n*16+9]=FHEAP[IHEAP[e+8]],k= +7)}STACKTOP=j;return d} +function __ZN23btGeneric6DofConstraint15setLinearLimitsEPN17btTypedConstraint17btConstraintInfo2EiRK11btTransformS5_RK9btVector3S8_S8_S8_(a,e,d,b,c,f,g,h,i){var j=STACKTOP;STACKTOP+=20;var k,l=null,m,n,o,q,p,r,s,u=j+16;FHEAP[j+15]=0;FHEAP[j+2]=0;FHEAP[j+3]=0.10000000149011612;FHEAP[j+4]=300;FHEAP[j]=1;FHEAP[j+1]=-1;FHEAP[j+7]=0;FHEAP[j+8]=0.20000000298023224;FHEAP[j+9]=0;FHEAP[j+10]=0;FHEAP[j+5]=1;FHEAP[j+6]=0.5;IHEAP[j+14]=0;FHEAP[j+12]=0;s=IHEAP[j+11]=0;var v=a+198,y=j+10,x=a+198+46,z=j+14,B=a+ +198+42,C=j+13,A=a+198+38,w=j+12,D=a+198+13,E=j+5,F=a+198+27,G=j+11,J=a+198+4,H=j+1,M=a+198+12,K=j+6,N=a+198,R=j+4,O=a+198+34,Q=j+3,I=a+198+30,L=j+2,P=a+296,S=a+357,T=a+198+15,U=j+7,W=a+198+23,Z=j+9,ca=a+198+19,Y=j+8,ea=a+356,ha=a+247,ba=a+247;a:for(;;){o=s;n=k=v;k=IHEAP[n+46+o]==0?1:2;b:for(;;)if(k==1)if((IHEAP[n+27+o]&1)==0){k=3;break b}else k=2;else if(k==2){FHEAP[y]=0;IHEAP[z]=IHEAP[x+s];k=s;m=B;FHEAP[C]=FHEAP[m+k];k=s;m=A;FHEAP[w]=FHEAP[m+k];FHEAP[E]=FHEAP[D];IHEAP[G]=IHEAP[F+s]&1;k=s;m=J;FHEAP[H]= +FHEAP[m+k];FHEAP[K]=FHEAP[M];k=s;m=N;FHEAP[j]=FHEAP[m+k];FHEAP[R]=0;k=s;m=O;FHEAP[Q]=FHEAP[m+k];k=s;m=I;FHEAP[L]=FHEAP[m+k];k=P;m=s;o=k;n=m;k=o;k+=n;var V=m;n=o+4;n+=V;o+=8;V=o+m;m=u;o=n;n=V;FHEAP[m]=FHEAP[k];FHEAP[m+1]=FHEAP[o];FHEAP[m+2]=FHEAP[n];FHEAP[m+3]=0;m=IHEAP[S]>>s*3;k=(m&1)!=0?5:6;break b}b:do if(k==3){k=4;break b}else if(k==5){l=s;q=T;q=FHEAP[q+l];l=5;k=7;break b}else if(k==6){var aa=FHEAP[IHEAP[e+8]],l=6;k=7;break b}while(0);b:for(;;)if(k==4)if(s=k=s+1,k<3)continue a;else break a;else if(k== +7){FHEAP[U]=l==5?q:aa;if((m&2)!=0)l=s,p=W,p=FHEAP[p+l],l=8;else var X=FHEAP[IHEAP[e+8]],l=10;FHEAP[Z]=l==8?p:X;if((m&4)!=0)l=s,r=ca,r=FHEAP[r+l],l=11;else var ka=FHEAP[e+1],l=13;FHEAP[Y]=l==11?r:ka;if(IHEAP[ea]&1){k=(s+1)%3;o=(s+2)%3;n=1;for(k=IHEAP[ha+k*16+14]!=0?14:15;;)if(k==14)IHEAP[ba+o*16+14]!=0&&(n=0),k=15;else if(k==15){k=__ZN23btGeneric6DofConstraint21get_limit_motor_info2EP22btRotationalLimitMotorRK11btTransformS4_RK9btVector3S7_S7_S7_PN17btTypedConstraint17btConstraintInfo2EiRS5_ii(a,j, +b,c,f,g,h,i,e,d,u,0,n);d+=k;k=4;continue b}}else k=__ZN23btGeneric6DofConstraint21get_limit_motor_info2EP22btRotationalLimitMotorRK11btTransformS4_RK9btVector3S7_S7_S7_PN17btTypedConstraint17btConstraintInfo2EiRS5_ii(a,j,b,c,f,g,h,i,e,d,u,0,0),d+=k,k=4}}STACKTOP=j;return d} +function __ZN23btGeneric6DofConstraint21get_limit_motor_info2EP22btRotationalLimitMotorRK11btTransformS4_RK9btVector3S7_S7_S7_PN17btTypedConstraint17btConstraintInfo2EiRS5_ii(a,e,d,b,c,f,g,h,i,j,k,l,m){var n=STACKTOP;STACKTOP+=163;var o,q=null,p,r,s,u=n+1,v=n+2,y=n+3,x=n+4,z=n+5,B=n+6,C=n+7,A=n+8,w=n+9,D=n+10,E=n+11,F=n+12,G=n+13,J=n+14,H=n+15,M=n+16,K=n+17,N=n+18,R=n+19,O=n+20,Q=n+21,I=n+22,L=n+23,P=n+24,S=n+25,T=n+26,U=n+27,W=n+28,Z=n+29,ca=n+30,Y=n+31,ea=n+32,ha=n+33,ba=n+34,V=n+35,aa=n+36,X=n+ +37,ka=n+38,da=n+39,fa=n+40,ga=n+41,ja=n+42,la=n+43,qa=n+44,pa=n+45,wa=n+46,ua=n+47,na=n+48,ya=n+49,xa=n+50,ia=n+51,ma=n+52,ta=n+53,ra=n+54,oa=n+55,Da=n+56,Ba=n+57,Oa=n+58,Fa=n+59,Ha,La,Ea,Ca,Aa,za,Ja=n+60,Ra=n+64,Ua=n+68,Xa=n+72,Wa=n+76,Sa=n+80,Ga=n+84,Ia=n+85,Pa=n+89,Ta=n+93,Va=n+97,fb=n+98,ib=n+102,Na=n+103,Za=n+107,gb=n+111,lb=n+115,$a=n+119,eb=n+123,bb=n+127,sb=n+131,Ka=n+135,Ya,jb=n+139,kb=n+143,tb=n+147,Bb=n+151,Qa=n+155,wb=n+159;j*=IHEAP[i+6];Ca=IHEAP[e+11]&1;Aa=IHEAP[e+14];o=Ca!=0?0:1;a:for(;;)if(o== +0){p=i;o=l!=0?3:4;break a}else if(o==1)if(Aa!=0)o=0;else{o=2;break a}a:do if(o==2){Ea=0;o=39;break a}else if(o==3){var mb=IHEAP[p+3],q=3;o=5;break a}else if(o==4){var yb=IHEAP[p+2],q=4;o=5;break a}while(0);a:for(;;)if(o==39)return a=Ea,STACKTOP=n,a;else if(o==5){p=q==3?mb:yb;l!=0?(q=5,o=6):(q=5,o=7);b:for(;;)if(o==6){var ub=IHEAP[i+5],q=6;o=7}else if(o==7){za=q==6?ub:0;o=k;FHEAP[p+j]=FHEAP[o];o=k;FHEAP[p+(j+1)]=FHEAP[o+1];o=k;FHEAP[p+(j+2)]=FHEAP[o+2];o=l!=0?8:9;break b}b:for(;;)if(o==8)if(p=k,FHEAP[za+ +j]=0-FHEAP[p],p=k,FHEAP[za+(j+1)]=0-FHEAP[p+1],p=k,FHEAP[za+(j+2)]=0-FHEAP[p+2],l!=0){o=10;break b}else o=9;else if(o==9){var Ma=a+312;o=IHEAP[a+356]&1?11:12;break b}b:for(;;)if(o==10){o=Aa!=0?19:20;break b}else if(o==11){p=Ma;p+=12;o=b;o+=12;FHEAP[n]=FHEAP[p]-FHEAP[o];FHEAP[u]=FHEAP[p+1]-FHEAP[o+1];FHEAP[v]=FHEAP[p+2]-FHEAP[o+2];p=Wa;o=n;r=u;s=v;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Xa,Wa,4,4,0);r=p=k;o=Xa;FHEAP[Ga]=FHEAP[o]*FHEAP[r]+FHEAP[o+ +1]*FHEAP[r+1]+FHEAP[o+2]*FHEAP[r+2];o=Ga;FHEAP[y]=FHEAP[p]*FHEAP[o];FHEAP[x]=FHEAP[p+1]*FHEAP[o];FHEAP[z]=FHEAP[p+2]*FHEAP[o];p=Sa;o=y;r=x;s=z;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=Xa;o=Sa;FHEAP[B]=FHEAP[p]-FHEAP[o];FHEAP[C]=FHEAP[p+1]-FHEAP[o+1];FHEAP[A]=FHEAP[p+2]-FHEAP[o+2];p=Ia;o=B;r=C;s=A;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=a+296;p+=12;o=d;o+=12;FHEAP[w]=FHEAP[p]-FHEAP[o];FHEAP[D]=FHEAP[p+1]-FHEAP[o+1];FHEAP[E]=FHEAP[p+2]- +FHEAP[o+2];p=Pa;o=w;r=D;s=E;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ua,Pa,4,4,0);r=p=k;o=Ua;FHEAP[Va]=FHEAP[o]*FHEAP[r]+FHEAP[o+1]*FHEAP[r+1]+FHEAP[o+2]*FHEAP[r+2];o=Va;FHEAP[F]=FHEAP[p]*FHEAP[o];FHEAP[G]=FHEAP[p+1]*FHEAP[o];FHEAP[J]=FHEAP[p+2]*FHEAP[o];p=Ta;o=F;r=G;s=J;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=Ua;o=Ta;FHEAP[H]=FHEAP[p]-FHEAP[o];FHEAP[M]=FHEAP[p+1]-FHEAP[o+1];FHEAP[K]=FHEAP[p+2]-FHEAP[o+2];p= +fb;o=H;r=M;s=K;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;FHEAP[ib]=FHEAP[e+13]-FHEAP[e+12];p=k;o=ib;FHEAP[N]=FHEAP[p]*FHEAP[o];FHEAP[R]=FHEAP[p+1]*FHEAP[o];FHEAP[O]=FHEAP[p+2]*FHEAP[o];p=gb;o=N;r=R;s=O;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=Ta;o=gb;FHEAP[Q]=FHEAP[p]+FHEAP[o];FHEAP[I]=FHEAP[p+1]+FHEAP[o+1];FHEAP[L]=FHEAP[p+2]+FHEAP[o+2];p=Za;o=Q;r=I;s=L;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=Za;o=Sa;FHEAP[P]= +FHEAP[p]-FHEAP[o];FHEAP[S]=FHEAP[p+1]-FHEAP[o+1];FHEAP[T]=FHEAP[p+2]-FHEAP[o+2];p=Na;o=P;r=S;s=T;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;o=a+348;p=Na;FHEAP[U]=FHEAP[p]*FHEAP[o];FHEAP[W]=FHEAP[p+1]*FHEAP[o];FHEAP[Z]=FHEAP[p+2]*FHEAP[o];p=lb;o=U;r=W;s=Z;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=fb;o=lb;FHEAP[ca]=FHEAP[p]+FHEAP[o];FHEAP[Y]=FHEAP[p+1]+FHEAP[o+1];FHEAP[ea]=FHEAP[p+2]+FHEAP[o+2];p=$a;o=ca;r=Y;s=ea;FHEAP[p]=FHEAP[o];FHEAP[p+1]= +FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ua,$a,4,4,0);o=a+349;p=Na;FHEAP[ha]=FHEAP[p]*FHEAP[o];FHEAP[ba]=FHEAP[p+1]*FHEAP[o];FHEAP[V]=FHEAP[p+2]*FHEAP[o];p=eb;o=ha;r=ba;s=V;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;p=Ia;o=eb;FHEAP[aa]=FHEAP[p]-FHEAP[o];FHEAP[X]=FHEAP[p+1]-FHEAP[o+1];FHEAP[ka]=FHEAP[p+2]-FHEAP[o+2];p=bb;o=aa;r=X;s=ka;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Xa,bb,4,4,0); +o=k;p=Ua;FHEAP[da]=FHEAP[p+1]*FHEAP[o+2]-FHEAP[p+2]*FHEAP[o+1];FHEAP[fa]=FHEAP[p+2]*FHEAP[o]-FHEAP[p]*FHEAP[o+2];FHEAP[ga]=FHEAP[p]*FHEAP[o+1]-FHEAP[p+1]*FHEAP[o];p=sb;o=da;r=fa;s=ga;FHEAP[p]=FHEAP[o];FHEAP[p+1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ja,sb,4,4,0);o=k;p=Xa;FHEAP[ja]=FHEAP[p+1]*FHEAP[o+2]-FHEAP[p+2]*FHEAP[o+1];FHEAP[la]=FHEAP[p+2]*FHEAP[o]-FHEAP[p]*FHEAP[o+2];FHEAP[qa]=FHEAP[p]*FHEAP[o+1]-FHEAP[p+1]*FHEAP[o];p=Ka;o=ja;r=la;s=qa;FHEAP[p]=FHEAP[o];FHEAP[p+ +1]=FHEAP[r];FHEAP[p+2]=FHEAP[s];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ra,Ka,4,4,0);o=IHEAP[a+350]&1?13:14;c:for(;;)if(o==13){if(m!=0){o=14;continue c}o=a+348;p=Ja;FHEAP[p]*=FHEAP[o];FHEAP[p+1]*=FHEAP[o];FHEAP[p+2]*=FHEAP[o];o=a+349;p=Ra;FHEAP[p]*=FHEAP[o];FHEAP[p+1]*=FHEAP[o];FHEAP[p+2]*=FHEAP[o];o=14}else if(o==14){Ya=0;o=16;break c}c:for(;;)if(o=Ya,p=Ja,FHEAP[IHEAP[i+3]+(Ya+j)]=FHEAP[p+o],Ya=p=Ya+1,p<3)o=16;else{o=17;break c}for(Ya=0;;)if(o=Ya,p=Ra,FHEAP[IHEAP[i+5]+(Ya+j)]=0-FHEAP[p+o],Ya=p=Ya+ +1,p<3)o=18;else{o=10;continue b}}else o==12&&(p=Ma,p+=12,o=d,o+=12,FHEAP[pa]=FHEAP[p]-FHEAP[o],FHEAP[wa]=FHEAP[p+1]-FHEAP[o+1],FHEAP[ua]=FHEAP[p+2]-FHEAP[o+2],p=kb,o=pa,r=wa,s=ua,FHEAP[p]=FHEAP[o],FHEAP[p+1]=FHEAP[r],FHEAP[p+2]=FHEAP[s],FHEAP[p+3]=0,o=k,p=kb,FHEAP[na]=FHEAP[p+1]*FHEAP[o+2]-FHEAP[p+2]*FHEAP[o+1],FHEAP[ya]=FHEAP[p+2]*FHEAP[o]-FHEAP[p]*FHEAP[o+2],FHEAP[xa]=FHEAP[p]*FHEAP[o+1]-FHEAP[p+1]*FHEAP[o],p=tb,o=na,r=ya,s=xa,FHEAP[p]=FHEAP[o],FHEAP[p+1]=FHEAP[r],FHEAP[p+2]=FHEAP[s],FHEAP[p+3]= +0,_llvm_memcpy_p0i8_p0i8_i32(jb,tb,4,4,0),p=jb,FHEAP[IHEAP[i+3]+j]=FHEAP[p],p=jb,FHEAP[IHEAP[i+3]+(j+1)]=FHEAP[p+1],p=jb,FHEAP[IHEAP[i+3]+(j+2)]=FHEAP[p+2],p=a+312,p+=12,o=b,o+=12,FHEAP[ia]=FHEAP[p]-FHEAP[o],FHEAP[ma]=FHEAP[p+1]-FHEAP[o+1],FHEAP[ta]=FHEAP[p+2]-FHEAP[o+2],p=Bb,o=ia,r=ma,s=ta,FHEAP[p]=FHEAP[o],FHEAP[p+1]=FHEAP[r],FHEAP[p+2]=FHEAP[s],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(kb,Bb,4,4,0),o=k,p=kb,FHEAP[ra]=FHEAP[p+1]*FHEAP[o+2]-FHEAP[p+2]*FHEAP[o+1],FHEAP[oa]=FHEAP[p+2]*FHEAP[o]-FHEAP[p]* +FHEAP[o+2],FHEAP[Da]=FHEAP[p]*FHEAP[o+1]-FHEAP[p+1]*FHEAP[o],p=Qa,o=ra,r=oa,s=Da,FHEAP[p]=FHEAP[o],FHEAP[p+1]=FHEAP[r],FHEAP[p+2]=FHEAP[s],FHEAP[p+3]=0,p=Qa,FHEAP[Ba]=0-FHEAP[p],FHEAP[Oa]=0-FHEAP[p+1],FHEAP[Fa]=0-FHEAP[p+2],p=wb,o=Ba,r=Oa,s=Fa,FHEAP[p]=FHEAP[o],FHEAP[p+1]=FHEAP[r],FHEAP[p+2]=FHEAP[s],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(jb,wb,4,4,0),p=jb,FHEAP[IHEAP[i+5]+j]=FHEAP[p],p=jb,FHEAP[IHEAP[i+5]+(j+1)]=FHEAP[p+1],p=jb,FHEAP[IHEAP[i+5]+(j+2)]=FHEAP[p+2],o=10);b:for(;;)if(o==19){if(FHEAP[e]!= +FHEAP[e+1]){o=20;continue b}Ca=0;o=20}else if(o==20){FHEAP[IHEAP[i+7]+j]=0;o=Ca!=0?22:23;break b}b:for(;;)if(o==22){FHEAP[IHEAP[i+8]+j]=FHEAP[e+7];if(Aa!=0){o=24;break b}p=FHEAP[e+2];l!=0?(q=25,o=26):(q=25,o=27);for(;;)if(o==26){p=q==27?sa:p;p=__ZN17btTypedConstraint14getMotorFactorEfffff(a,FHEAP[e+13],FHEAP[e],FHEAP[e+1],p,FHEAP[i]*FHEAP[e+8]);FHEAP[IHEAP[i+7]+j]+=p*FHEAP[e+2];FHEAP[IHEAP[i+9]+j]=0-FHEAP[e+3];FHEAP[IHEAP[i+10]+j]=FHEAP[e+3];o=23;continue b}else if(o==27){var sa=0-p,q=27;o=26}}else if(o== +23){o=Aa!=0?24:28;break b}for(;;)if(o==24){p=FHEAP[i]*FHEAP[e+8];FHEAP[IHEAP[i+7]+j]+=l!=0?(0-p)*FHEAP[e+12]:p*FHEAP[e+12];FHEAP[IHEAP[i+8]+j]=FHEAP[e+9];if(FHEAP[e]==FHEAP[e+1])FHEAP[IHEAP[i+9]+j]=-3.4028234663852886E38,FHEAP[IHEAP[i+10]+j]=3.4028234663852886E38;else{p=IHEAP[i+9]+j;Aa==1?(FHEAP[p]=0,FHEAP[IHEAP[i+10]+j]=3.4028234663852886E38):(FHEAP[p]=-3.4028234663852886E38,FHEAP[IHEAP[i+10]+j]=0);if(!(FHEAP[e+10]>0)){o=28;continue}l!=0?(q=k,Ha=g,p=FHEAP[Ha]*FHEAP[q]+FHEAP[Ha+1]*FHEAP[q+1]+FHEAP[Ha+ +2]*FHEAP[q+2],q=k,Ha=h,p=Ha=p-(FHEAP[Ha]*FHEAP[q]+FHEAP[Ha+1]*FHEAP[q+1]+FHEAP[Ha+2]*FHEAP[q+2]),q=32):(q=k,La=c,p=FHEAP[La]*FHEAP[q]+FHEAP[La+1]*FHEAP[q+1]+FHEAP[La+2]*FHEAP[q+2],q=k,La=f,p=La=p-(FHEAP[La]*FHEAP[q]+FHEAP[La+1]*FHEAP[q+1]+FHEAP[La+2]*FHEAP[q+2]),q=34);o=q==34?La:Ha;if(Aa==1){if(!(o<0)){o=28;continue}p*=0-FHEAP[e+10];if(!(p>FHEAP[IHEAP[i+7]+j])){o=28;continue}}else{if(!(o>0)){o=28;continue}p*=0-FHEAP[e+10];if(!(p<FHEAP[IHEAP[i+7]+j])){o=28;continue}}FHEAP[IHEAP[i+7]+j]=p}o=28}else if(o== +28){Ea=1;o=39;continue a}}return null}function __ZNK23btGeneric6DofConstraint8getAngleEi(a,e){return FHEAP[a+328+e]} +function __ZN23btGeneric6DofConstraint13calcAnchorPosEv(a){var e=STACKTOP;STACKTOP+=23;var d=e+1,b=e+2,c=e+3,f=e+4,g=e+5,h=e+6,i=e+7,j=e+8,k,l,m=e+9,n=e+10,o=e+14,q=e+18,p=e+19;k=FHEAP[IHEAP[a+10]+276];l=FHEAP[IHEAP[a+11]+276];FHEAP[m]=l==0?1:k/(k+l);k=a+296+12;l=a+312+12;FHEAP[e]=FHEAP[k]*FHEAP[m];FHEAP[d]=FHEAP[k+1]*FHEAP[m];FHEAP[b]=FHEAP[k+2]*FHEAP[m];FHEAP[n]=FHEAP[e];FHEAP[n+1]=FHEAP[d];FHEAP[n+2]=FHEAP[b];FHEAP[n+3]=0;FHEAP[q]=1-FHEAP[m];FHEAP[c]=FHEAP[l]*FHEAP[q];FHEAP[f]=FHEAP[l+1]*FHEAP[q]; +FHEAP[g]=FHEAP[l+2]*FHEAP[q];FHEAP[o]=FHEAP[c];FHEAP[o+1]=FHEAP[f];FHEAP[o+2]=FHEAP[g];FHEAP[o+3]=0;FHEAP[h]=FHEAP[n]+FHEAP[o];FHEAP[i]=FHEAP[n+1]+FHEAP[o+1];FHEAP[j]=FHEAP[n+2]+FHEAP[o+2];FHEAP[p]=FHEAP[h];FHEAP[p+1]=FHEAP[i];FHEAP[p+2]=FHEAP[j];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+351,p,4,4,0);STACKTOP=e} +function __ZN23btGeneric6DofConstraint8setParamEifi(a,e,d,b){var c,f=b>=0&b<3;a:do if(f){c=e;if(c==2)c=3;else if(c==4)c=4;else if(c==3)c=5;else break a;if(c==3){var g=d,h=b;c=a+198+19;FHEAP[c+h]=g;IHEAP[a+357]|=4<<b*3}else c==4?(g=d,h=b,c=a+198+23,FHEAP[c+h]=g,IHEAP[a+357]|=2<<b*3):c==5&&(g=d,h=b,c=a+198+15,FHEAP[c+h]=g,IHEAP[a+357]|=1<<b*3)}else{if(!(b>=3&b<6))break a;c=e;if(c==2)c=6;else if(c==4)c=7;else if(c==3)c=8;else break a;c==6?(FHEAP[a+247+(b-3)*16+8]=d,IHEAP[a+357]|=4<<b*3):c==7?(FHEAP[a+ +247+(b-3)*16+9]=d,IHEAP[a+357]|=2<<b*3):c==8&&(FHEAP[a+247+(b-3)*16+7]=d,IHEAP[a+357]|=1<<b*3)}while(0)} +function __ZNK23btGeneric6DofConstraint8getParamEii(a,e,d){var b,c;c=0;var f=d>=0&d<3;a:do if(f){b=e;if(b==2)b=3;else if(b==4)b=4;else if(b==3)b=5;else break a;b==3?(b=d,c=a+198+19,c=FHEAP[c+b]):b==4?(b=d,c=a+198+23,c=FHEAP[c+b]):b==5&&(b=d,c=a+198+15,c=FHEAP[c+b])}else{if(!(d>=3&d<6))break a;b=e;if(b==2)b=6;else if(b==4)b=7;else if(b==3)b=8;else break a;b==6?c=FHEAP[a+247+(d-3)*16+8]:b==7?c=FHEAP[a+247+(d-3)*16+9]:b==8&&(c=FHEAP[a+247+(d-3)*16+7])}while(0);return c} +function __ZN23btGeneric6DofConstraintD1Ev(a){IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN23btGeneric6DofConstraintD0Ev(a){IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZNK23btGeneric6DofConstraint28calculateSerializeBufferSizeEv(){return 244} +function __ZNK23btGeneric6DofConstraint9serializeEPvP12btSerializer(a,e,d){var b,c,f,g,h;__ZNK17btTypedConstraint9serializeEPvP12btSerializer(a,e,d);b=e+14;d=a+40;g=0;a:for(;;){f=b+g*4;h=c=d+g*4;for(c=0;;){FHEAP[f+c]=FHEAP[h+c];var i=c+1;c=i;if(!(i<4))break}g=f=g+1;if(!(f<3))break a}g=b+12;d+=12;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;b=e+30;d=a+56;g=0;a:for(;;){f=b+g*4;h=c=d+g*4;for(c=0;;)if(FHEAP[f+c]=FHEAP[h+c],c=i=c+1,!(i<4))break;g=f=g+1;if(!(f<3))break a}g=b+12;d+=12;b= +0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;d=0;g=a+247;b=a+247;f=a+198;for(c=a+198+4;;)if(FHEAP[e+58+d]=FHEAP[g+d*16],FHEAP[e+54+d]=FHEAP[b+d*16+1],i=d,h=f,FHEAP[e+50+d]=FHEAP[h+i],i=d,h=c,FHEAP[e+46+d]=FHEAP[h+i],d=h=d+1,!(h<3))break;IHEAP[e+62]=IHEAP[a+355]&1?1:0;IHEAP[e+63]=IHEAP[a+356]&1?1:0;return __str50} +function __ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=32;var h=g+1,i=g+2,j=g+3,k=g+4,l=g+5,m=g+6,n=g+7,o=g+8,q=g+9,p=g+10,r=g+11,s=g+12,u=g+16,v=g+20,y=g+24,x=g+28;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[a]=FHEAP[q];FHEAP[a+1]=FHEAP[p];FHEAP[a+2]=FHEAP[r];FHEAP[a+3]=0;q=a+4;__ZmlRK11btMatrix3x3RK9btVector3(s,d,e);_llvm_memcpy_p0i8_p0i8_i32(q,s,4,4,0);d=a+8;FHEAP[g]=0-FHEAP[e];FHEAP[h]=0-FHEAP[e+1];FHEAP[i]=0-FHEAP[e+2];FHEAP[u]=FHEAP[g];FHEAP[u+ +1]=FHEAP[h];FHEAP[u+2]=FHEAP[i];FHEAP[u+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(v,b,u);_llvm_memcpy_p0i8_p0i8_i32(d,v,4,4,0);e=a+4;FHEAP[j]=FHEAP[c]*FHEAP[e];FHEAP[k]=FHEAP[c+1]*FHEAP[e+1];FHEAP[l]=FHEAP[c+2]*FHEAP[e+2];FHEAP[y]=FHEAP[j];FHEAP[y+1]=FHEAP[k];FHEAP[y+2]=FHEAP[l];FHEAP[y+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+12,y,4,4,0);c=a+8;FHEAP[m]=FHEAP[f]*FHEAP[c];FHEAP[n]=FHEAP[f+1]*FHEAP[c+1];FHEAP[o]=FHEAP[f+2]*FHEAP[c+2];FHEAP[x]=FHEAP[m];FHEAP[x+1]=FHEAP[n];FHEAP[x+2]=FHEAP[o];FHEAP[x+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+ +16,x,4,4,0);m=a+4;f=a+12;m=FHEAP[f]*FHEAP[m]+FHEAP[f+1]*FHEAP[m+1]+FHEAP[f+2]*FHEAP[m+2];n=a+8;f=a+16;FHEAP[a+20]=m+(FHEAP[f]*FHEAP[n]+FHEAP[f+1]*FHEAP[n+1]+FHEAP[f+2]*FHEAP[n+2]);STACKTOP=g} +function __ZN15btJacobianEntryC2ERK11btMatrix3x3S2_RK9btVector3S5_S5_S5_fS5_f(a,e,d,b,c,f,g,h,i,j){var k=STACKTOP;STACKTOP+=43;var l=k+1,m=k+2,n=k+3,o=k+4,q=k+5,p=k+6,r=k+7,s=k+8,u=k+9,v=k+10,y=k+11,x=k+12,z=k+13,B=k+14,C=k+15,A=k+19,w=k+23,D=k+27,E=k+31,F=k+35,G=k+39;_llvm_memcpy_p0i8_p0i8_i32(a,f,4,4,0);f=a+4;FHEAP[k]=FHEAP[b+1]*FHEAP[a+2]-FHEAP[b+2]*FHEAP[a+1];FHEAP[l]=FHEAP[b+2]*FHEAP[a]-FHEAP[b]*FHEAP[a+2];FHEAP[m]=FHEAP[b]*FHEAP[a+1]-FHEAP[b+1]*FHEAP[a];FHEAP[C]=FHEAP[k];FHEAP[C+1]=FHEAP[l]; +FHEAP[C+2]=FHEAP[m];FHEAP[C+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(A,e,C);_llvm_memcpy_p0i8_p0i8_i32(f,A,4,4,0);e=a+8;FHEAP[n]=0-FHEAP[a];FHEAP[o]=0-FHEAP[a+1];FHEAP[q]=0-FHEAP[a+2];FHEAP[D]=FHEAP[n];FHEAP[D+1]=FHEAP[o];FHEAP[D+2]=FHEAP[q];FHEAP[D+3]=0;FHEAP[p]=FHEAP[c+1]*FHEAP[D+2]-FHEAP[c+2]*FHEAP[D+1];FHEAP[r]=FHEAP[c+2]*FHEAP[D]-FHEAP[c]*FHEAP[D+2];FHEAP[s]=FHEAP[c]*FHEAP[D+1]-FHEAP[c+1]*FHEAP[D];FHEAP[w]=FHEAP[p];FHEAP[w+1]=FHEAP[r];FHEAP[w+2]=FHEAP[s];FHEAP[w+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(E, +d,w);_llvm_memcpy_p0i8_p0i8_i32(e,E,4,4,0);d=a+4;FHEAP[u]=FHEAP[g]*FHEAP[d];FHEAP[v]=FHEAP[g+1]*FHEAP[d+1];FHEAP[y]=FHEAP[g+2]*FHEAP[d+2];FHEAP[F]=FHEAP[u];FHEAP[F+1]=FHEAP[v];FHEAP[F+2]=FHEAP[y];FHEAP[F+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+12,F,4,4,0);g=a+8;FHEAP[x]=FHEAP[i]*FHEAP[g];FHEAP[z]=FHEAP[i+1]*FHEAP[g+1];FHEAP[B]=FHEAP[i+2]*FHEAP[g+2];FHEAP[G]=FHEAP[x];FHEAP[G+1]=FHEAP[z];FHEAP[G+2]=FHEAP[B];FHEAP[G+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+16,G,4,4,0);x=a+4;i=a+12;j=h+(FHEAP[i]*FHEAP[x]+FHEAP[i+ +1]*FHEAP[x+1]+FHEAP[i+2]*FHEAP[x+2])+j;i=a+8;h=a+16;FHEAP[a+20]=j+(FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2]);STACKTOP=k} +function __ZN25btTranslationalLimitMotorC2Ev(a){var e=STACKTOP;STACKTOP+=18;var d,b=e+1,c=e+2,f=e+3,g=e+4,h=e+5,i=e+6,j=e+7,k=e+8,l=e+9,m=e+10,n=e+11;d=e+12;var o=e+13,q=e+14,p=e+15,r=e+16,s=e+17;FHEAP[e]=0;FHEAP[b]=0;FHEAP[c]=0;FHEAP[a]=FHEAP[e];FHEAP[a+1]=FHEAP[b];FHEAP[a+2]=FHEAP[c];FHEAP[a+3]=0;b=a+4;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=0;FHEAP[b]=FHEAP[f];FHEAP[b+1]=FHEAP[g];FHEAP[b+2]=FHEAP[h];FHEAP[b+3]=0;f=a+8;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[f]=FHEAP[i];FHEAP[f+1]=FHEAP[j];FHEAP[f+2]=FHEAP[k]; +FHEAP[f+3]=0;i=a+15;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[i]=FHEAP[l];FHEAP[i+1]=FHEAP[m];FHEAP[i+2]=FHEAP[n];FHEAP[i+3]=0;l=a+19;FHEAP[d]=0.20000000298023224;FHEAP[o]=0.20000000298023224;FHEAP[q]=0.20000000298023224;FHEAP[l]=FHEAP[d];FHEAP[l+1]=FHEAP[o];FHEAP[l+2]=FHEAP[q];FHEAP[l+3]=0;d=a+23;FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=0;FHEAP[d]=FHEAP[p];FHEAP[d+1]=FHEAP[r];FHEAP[d+2]=FHEAP[s];FHEAP[d+3]=0;FHEAP[a+12]=0.699999988079071;FHEAP[a+13]=1;FHEAP[a+14]=0.5;p=0;r=a+27;s=a+30;for(a+=34;;)if(IHEAP[r+ +p]=0,o=p,d=s,FHEAP[d+o]=0,o=p,d=a,FHEAP[d+o]=0,p=d=p+1,!(d<3))break;STACKTOP=e}function __ZN29btGeneric6DofSpringConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,b,c,f){__ZN23btGeneric6DofConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,b,c,f&1);IHEAP[a]=__ZTV29btGeneric6DofSpringConstraint+2;IHEAP[a+4]=9;e=0;d=a+1301;b=a+1307;c=a+1313;for(a+=1319;;)if(IHEAP[d+e]=0,FHEAP[b+e]=0,FHEAP[c+e]=0,FHEAP[a+e]=1,e=f=e+1,!(f<6))break} +function __ZN29btGeneric6DofSpringConstraint12enableSpringEib(a,e,d){IHEAP[a+1301+e]=d&1;d&=1;e<3?IHEAP[a+198+27+e]=d:IHEAP[a+247+(e-3)*16+11]=d}function __ZN29btGeneric6DofSpringConstraint12setStiffnessEif(a,e,d){FHEAP[a+1313+e]=d}function __ZN29btGeneric6DofSpringConstraint10setDampingEif(a,e,d){FHEAP[a+1319+e]=d} +function __ZN29btGeneric6DofSpringConstraint19setEquilibriumPointEv(a){var e,d,b;__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1);b=0;var c=a+344;e=a+1307;a:for(;;){var f=b;d=c;FHEAP[e+b]=FHEAP[d+f];b=d=b+1;if(!(d<3))break a}b=0;c=a+328;for(a+=1307;;)if(d=b,e=c,FHEAP[a+(b+3)]=FHEAP[e+d],b=e=b+1,!(e<3))break} +function __ZN29btGeneric6DofSpringConstraint21internalUpdateSpringsEPN17btTypedConstraint17btConstraintInfo2E(a,e){var d=STACKTOP;STACKTOP+=7;var b,c,f,g=d+1,h=d+2,i=d+3,j=IHEAP[a+10]+268;f=IHEAP[a+11]+268;FHEAP[d]=FHEAP[f]-FHEAP[j];FHEAP[g]=FHEAP[f+1]-FHEAP[j+1];FHEAP[h]=FHEAP[f+2]-FHEAP[j+2];FHEAP[i]=FHEAP[d];FHEAP[i+1]=FHEAP[g];FHEAP[i+2]=FHEAP[h];f=FHEAP[i+3]=0;var g=a+1301,h=a+344,i=a+1307,j=a+1313,k=a+1319,l=a+198+30,m=a+198+34;a:for(;;)for(b=IHEAP[g+f]&1?1:2;;)if(b==1){c=f;b=h;b=FHEAP[b+c]; +b-=FHEAP[i+f];b*=FHEAP[j+f];c=FHEAP[e]*FHEAP[k+f]/IHEAP[e+12];var n=c*b,o=f;c=l;FHEAP[c+o]=n;c=_fabsf(b)/FHEAP[e];n=f;b=m;FHEAP[b+n]=c;b=2}else if(b==2)if(f=b=f+1,b<3)continue a;else break a;f=0;g=a+1301;h=a+328;i=a+1307;j=a+1313;k=a+1319;l=a+247;m=a+247;a:for(;;)for(b=IHEAP[g+(f+3)]&1?5:6;;)if(b==5)c=f,b=h,b=FHEAP[b+c],b-=FHEAP[i+(f+3)],b=(0-b)*FHEAP[j+(f+3)],c=FHEAP[e]*FHEAP[k+(f+3)]/IHEAP[e+12],FHEAP[l+f*16+2]=c*b,b=_fabsf(b),FHEAP[m+f*16+3]=b/FHEAP[e],b=6;else if(b==6)if(f=b=f+1,b<3)continue a; +else break a;STACKTOP=d}function __ZN29btGeneric6DofSpringConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e){__ZN29btGeneric6DofSpringConstraint21internalUpdateSpringsEPN17btTypedConstraint17btConstraintInfo2E(a,e);__ZN23btGeneric6DofConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e)} +function __ZN29btGeneric6DofSpringConstraint7setAxisERK9btVector3S2_(a,e,d){var b=STACKTOP;STACKTOP+=149;var c=b+12,f=b+16,g=b+28,h=b+32,i=b+33,j=b+34,k=b+35,l=b+36,m=b+37,n=b+38,o=b+39,q=b+40,p=b+41,r=b+42,s=b+43,u=b+44,v=b+45,y=b+46,x=b+47,z=b+48,B=b+49,C=b+50,A=b+51,w=b+52,D=b+53,E=b+54,F=b+55,G=b+56,J=b+57,H=b+61,M=b+65,K=b+69,N=b+85,R=b+101,O=b+117,Q=b+133,I=_sqrtf(FHEAP[e]*FHEAP[e]+FHEAP[e+1]*FHEAP[e+1]+FHEAP[e+2]*FHEAP[e+2]);FHEAP[G]=I;FHEAP[F]=1/FHEAP[G];FHEAP[w]=FHEAP[e]*FHEAP[F];FHEAP[D]= +FHEAP[e+1]*FHEAP[F];FHEAP[E]=FHEAP[e+2]*FHEAP[F];FHEAP[J]=FHEAP[w];FHEAP[J+1]=FHEAP[D];FHEAP[J+2]=FHEAP[E];FHEAP[J+3]=0;e=_sqrtf(FHEAP[d]*FHEAP[d]+FHEAP[d+1]*FHEAP[d+1]+FHEAP[d+2]*FHEAP[d+2]);FHEAP[A]=e;FHEAP[C]=1/FHEAP[A];FHEAP[x]=FHEAP[d]*FHEAP[C];FHEAP[z]=FHEAP[d+1]*FHEAP[C];FHEAP[B]=FHEAP[d+2]*FHEAP[C];FHEAP[H]=FHEAP[x];FHEAP[H+1]=FHEAP[z];FHEAP[H+2]=FHEAP[B];FHEAP[H+3]=0;FHEAP[u]=FHEAP[H+1]*FHEAP[J+2]-FHEAP[H+2]*FHEAP[J+1];FHEAP[v]=FHEAP[H+2]*FHEAP[J]-FHEAP[H]*FHEAP[J+2];FHEAP[y]=FHEAP[H]*FHEAP[J+ +1]-FHEAP[H+1]*FHEAP[J];FHEAP[M]=FHEAP[u];FHEAP[M+1]=FHEAP[v];FHEAP[M+2]=FHEAP[y];FHEAP[M+3]=0;FHEAP[h]=1;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=1;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=0;FHEAP[q]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(K,h,i,j,k,l,m,n,o,q);d=K+12;FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=0;FHEAP[d]=FHEAP[p];FHEAP[d+1]=FHEAP[r];FHEAP[d+2]=FHEAP[s];FHEAP[d+3]=0;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(K,M,H,J,M+1,H+1,J+1,M+2,H+2,J+2);p=a+40;__ZNK11btTransform7inverseEv(R, +IHEAP[a+10]+1);__ZmlRK11btMatrix3x3S1_(b,R,K);__ZNK11btTransformclERK9btVector3(c,R,K+12);_llvm_memcpy_p0i8_p0i8_i32(N,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(N+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(N+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(N+12,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(p,N,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(p+4,N+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(p+8,N+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(p+12,N+12,4,4,0);c=a+56;__ZNK11btTransform7inverseEv(Q,IHEAP[a+11]+1);__ZmlRK11btMatrix3x3S1_(f,Q,K); +__ZNK11btTransformclERK9btVector3(g,Q,K+12);_llvm_memcpy_p0i8_p0i8_i32(O,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(O+4,f+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(O+8,f+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(O+12,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c,O,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,O+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,O+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,O+12,4,4,0);__ZN23btGeneric6DofConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1);STACKTOP=b} +function __ZN29btGeneric6DofSpringConstraintD1Ev(a){IHEAP[a]=__ZTV29btGeneric6DofSpringConstraint+2;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN29btGeneric6DofSpringConstraintD0Ev(a){IHEAP[a]=__ZTV29btGeneric6DofSpringConstraint+2;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZNK29btGeneric6DofSpringConstraint28calculateSerializeBufferSizeEv(){return 340} +function __ZNK29btGeneric6DofSpringConstraint9serializeEPvP12btSerializer(a,e,d){__ZNK23btGeneric6DofConstraint9serializeEPvP12btSerializer(a,e,d);var d=0,b=a+1307,c=a+1319,f=a+1301;for(a+=1313;;){FHEAP[e+70+d]=FHEAP[b+d];FHEAP[e+82+d]=FHEAP[c+d];IHEAP[e+64+d]=IHEAP[f+d]&1?1:0;FHEAP[e+76+d]=FHEAP[a+d];var g=d+1,d=g;if(!(g<6))break}return __str52} +function __ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=10;var c=b+1,f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=e+268;e+=272;FHEAP[g]=FHEAP[e+1]*FHEAP[d+2]-FHEAP[e+2]*FHEAP[d+1];FHEAP[h]=FHEAP[e+2]*FHEAP[d]-FHEAP[e]*FHEAP[d+2];FHEAP[i]=FHEAP[e]*FHEAP[d+1]-FHEAP[e+1]*FHEAP[d];FHEAP[j]=FHEAP[g];FHEAP[j+1]=FHEAP[h];FHEAP[j+2]=FHEAP[i];FHEAP[j+3]=0;FHEAP[b]=FHEAP[k]+FHEAP[j];FHEAP[c]=FHEAP[k+1]+FHEAP[j+1];FHEAP[f]=FHEAP[k+2]+FHEAP[j+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c]; +FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZN23btPoint2PointConstraintC2ER11btRigidBodyS1_RK9btVector3S4_(a,e,d,b,c){IHEAP[a+4]=3;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;IHEAP[a+11]=d;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV23btPoint2PointConstraint+2;for(e=0;;)if(e=d=e+1,!(d<3))break;_llvm_memcpy_p0i8_p0i8_i32(a+103,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+107,c,4,4,0);IHEAP[a+111]=0;IHEAP[a+114]=0;a+=115;FHEAP[a]= +0.30000001192092896;FHEAP[a+1]=1;FHEAP[a+2]=0} +function __ZN23btPoint2PointConstraintC2ER11btRigidBodyRK9btVector3(a,e,d){var b;IHEAP[a+4]=3;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;b=a+11;__ZN17btTypedConstraint12getFixedBodyEv();IHEAP[b]=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV23btPoint2PointConstraint+2;for(b=0;;){var c=b+1;b=c;if(!(c<3))break}_llvm_memcpy_p0i8_p0i8_i32(a+103, +d,4,4,0);__ZNK11btTransformclERK9btVector3(a+107,e+1,d);IHEAP[a+111]=0;IHEAP[a+114]=0;a+=115;FHEAP[a]=0.30000001192092896;FHEAP[a+1]=1;FHEAP[a+2]=0} +function __ZN23btPoint2PointConstraint13buildJacobianEv(a){var e=STACKTOP;STACKTOP+=53;var d,b,c,f,g,h,i,j,k,l,m=e+1,n=e+2,o=e+3,q=e+4,p=e+5,r,s=e+6,u=e+10,v=e+11,y=e+12,x=e+13,z=e+25,B=e+37,C=e+41,A=e+45,w=e+49;FHEAP[a+12]=0;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0;FHEAP[s]=FHEAP[u];FHEAP[s+1]=FHEAP[v];FHEAP[s+2]=FHEAP[y];var u=FHEAP[s+3]=0,v=a+40,y=a+10,D=a+11,E=a+10,F=a+103,G=a+10,J=a+11,H=a+107,M=a+11,K=a+10,N=a+10,R=a+11;a+=11;a:for(;;){d=u;r=s;FHEAP[r+d]=1;r=v+u*21;for(d=r==0?1:2;;)if(d==1)if(d=u,r= +s,FHEAP[r+d]=0,u=r=u+1,r<3)continue a;else break a;else d==2&&(d=r,j=IHEAP[y],j+=1,l=j,k=j+4,b=j+8,c=j,c+=1,f=j+4,f+=1,g=j+8,g+=1,h=j,h+=2,i=j+4,i+=2,j+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(x,l,k,b,c,f,g,h,i,j+2),j=IHEAP[D],j+=1,l=j,k=j+4,b=j+8,c=j,c+=1,f=j+4,f+=1,g=j+8,g+=1,h=j,h+=2,i=j+4,i+=2,j+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(z,l,k,b,c,f,g,h,i,j+2),j=IHEAP[E],j+=1,l=F,__ZNK11btTransformclERK9btVector3(C,j,l),j=IHEAP[G],j+=1,l=j+12,j=C,FHEAP[e]=FHEAP[j]-FHEAP[l],FHEAP[m]= +FHEAP[j+1]-FHEAP[l+1],FHEAP[n]=FHEAP[j+2]-FHEAP[l+2],j=B,l=e,k=m,b=n,FHEAP[j]=FHEAP[l],FHEAP[j+1]=FHEAP[k],FHEAP[j+2]=FHEAP[b],FHEAP[j+3]=0,j=IHEAP[J],j+=1,l=H,__ZNK11btTransformclERK9btVector3(w,j,l),j=IHEAP[M],j+=1,l=j+12,j=w,FHEAP[o]=FHEAP[j]-FHEAP[l],FHEAP[q]=FHEAP[j+1]-FHEAP[l+1],FHEAP[p]=FHEAP[j+2]-FHEAP[l+2],j=A,l=o,k=q,b=p,FHEAP[j]=FHEAP[l],FHEAP[j+1]=FHEAP[k],FHEAP[j+2]=FHEAP[b],FHEAP[j+3]=0,j=IHEAP[K],f=j+289,j=IHEAP[N],g=FHEAP[j+276],j=IHEAP[R],h=j+289,j=IHEAP[a],i=FHEAP[j+276],j=x,l=z, +k=B,b=A,c=s,__ZN15btJacobianEntryC2ERK11btMatrix3x3S2_RK9btVector3S5_S5_S5_fS5_f(d,j,l,k,b,c,f,g,h,i),d=1)}STACKTOP=e}function __ZN23btPoint2PointConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E(a,e){IHEAP[a+114]&1?(IHEAP[e]=0,IHEAP[e+1]=0):(IHEAP[e]=3,IHEAP[e+1]=3)}function __ZN23btPoint2PointConstraint18getInfo1NonVirtualEPN17btTypedConstraint17btConstraintInfo1E(a,e){IHEAP[a+114]&1?(IHEAP[e]=0,IHEAP[e+1]=0):(IHEAP[e]=3,IHEAP[e+1]=3)} +function __ZN23btPoint2PointConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e){__ZN23btPoint2PointConstraint18getInfo2NonVirtualEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_(a,e,IHEAP[a+10]+1,IHEAP[a+11]+1)} +function __ZN23btPoint2PointConstraint18getInfo2NonVirtualEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_(a,e,d,b){var c=STACKTOP;STACKTOP+=22;var f=null,f=c+1,g=c+2,h=c+3,i=c+4,j=c+5,k=c+6,l,m,n,o=c+10,q=c+14,p=c+18,r,s,u;FHEAP[IHEAP[e+2]]=1;FHEAP[IHEAP[e+2]+(IHEAP[e+6]+1)]=1;FHEAP[IHEAP[e+2]+(IHEAP[e+6]*2+2)]=1;__ZmlRK11btMatrix3x3RK9btVector3(k,d,a+103);l=IHEAP[e+3];m=IHEAP[e+3]+IHEAP[e+6];n=IHEAP[e+3]+IHEAP[e+6]*2;FHEAP[c]=0-FHEAP[k];FHEAP[f]=0-FHEAP[k+1];FHEAP[g]=0-FHEAP[k+2];FHEAP[o]= +FHEAP[c];FHEAP[o+1]=FHEAP[f];FHEAP[o+2]=FHEAP[g];FHEAP[o+3]=0;__ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(o,l,m,n);__ZmlRK11btMatrix3x3RK9btVector3(q,b,a+107);FHEAP[h]=0-FHEAP[q];FHEAP[i]=0-FHEAP[q+1];FHEAP[j]=0-FHEAP[q+2];FHEAP[p]=FHEAP[h];FHEAP[p+1]=FHEAP[i];FHEAP[p+2]=FHEAP[j];FHEAP[p+3]=0;__ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(q,IHEAP[e+5],IHEAP[e+5]+IHEAP[e+6],IHEAP[e+5]+IHEAP[e+6]*2);(IHEAP[a+111]&1)!=0?(s=FHEAP[a+112],f=0):(r=FHEAP[e+1],f=2);r=FHEAP[e]*(f==0?s:r);s=0;a:for(;;)if(f= +r,h=s,g=q,g=FHEAP[g+h],h=s,i=b,i+=12,h=g+FHEAP[i+h],i=s,g=k,g=h-FHEAP[g+i],h=s,i=d,i+=12,FHEAP[IHEAP[e+7]+IHEAP[e+6]*s]=f*(g-FHEAP[i+h]),s=f=s+1,!(f<3))break a;b=(IHEAP[a+111]&2)!=0?5:6;a:for(;;)if(b==5){s=0;for(d=a+113;;)if(FHEAP[IHEAP[e+8]+IHEAP[e+6]*s]=FHEAP[d],s=b=s+1,b<3)b=7;else{b=6;continue a}}else if(b==6){u=FHEAP[a+115+2];s=0;var v=a+115,y=v+2;break a}a:for(;;)for(b=FHEAP[y]>0?9:10;;)if(b==9)FHEAP[IHEAP[e+9]+IHEAP[e+6]*s]=0-u,FHEAP[IHEAP[e+10]+IHEAP[e+6]*s]=u,b=10;else if(b==10)if(s=a=s+ +1,a<3)continue a;else break a;FHEAP[e+13]=FHEAP[v+1];STACKTOP=c} +function __ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(a,e,d,b){var c=STACKTOP;STACKTOP+=6;var f=c+1,g=c+2,h=c+3,i=c+4,j=c+5;FHEAP[c]=0;FHEAP[f]=0-FHEAP[a+2];FHEAP[e]=FHEAP[c];FHEAP[e+1]=FHEAP[f];FHEAP[e+2]=FHEAP[a+1];FHEAP[e+3]=0;FHEAP[g]=0;FHEAP[h]=0-FHEAP[a];FHEAP[d]=FHEAP[a+2];FHEAP[d+1]=FHEAP[g];FHEAP[d+2]=FHEAP[h];FHEAP[d+3]=0;FHEAP[i]=0-FHEAP[a+1];FHEAP[j]=0;FHEAP[b]=FHEAP[i];FHEAP[b+1]=FHEAP[a];FHEAP[b+2]=FHEAP[j];FHEAP[b+3]=0;STACKTOP=c} +function __ZN23btPoint2PointConstraint8setParamEifi(a,e,d,b){for(b=b!=-1?0:1;;)if(b==0)break;else if(b==1){b=e;if(b==1)b=2;else if(b==2)b=2;else if(b==3)b=3;else if(b==4)b=3;else{b=0;continue}b==2?(FHEAP[a+112]=d,IHEAP[a+111]|=1,b=0):b==3&&(FHEAP[a+113]=d,IHEAP[a+111]|=2,b=0)}} +function __ZNK23btPoint2PointConstraint8getParamEii(a,e,d){var b;b=3.4028234663852886E38;for(d=d!=-1?0:1;;)if(d==0)return b;else if(d==1){d=e;if(d==1)d=2;else if(d==2)d=2;else if(d==3)d=3;else if(d==4)d=3;else{d=0;continue}d==2?(b=FHEAP[a+112],d=0):d==3&&(b=FHEAP[a+113],d=0)}return null}function __ZN23btPoint2PointConstraintD1Ev(a){IHEAP[a]=__ZTV23btPoint2PointConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2} +function __ZN23btPoint2PointConstraintD0Ev(a){IHEAP[a]=__ZTV23btPoint2PointConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZNK23btPoint2PointConstraint28calculateSerializeBufferSizeEv(){return 76} +function __ZNK23btPoint2PointConstraint9serializeEPvP12btSerializer(a,e,d){var b;__ZNK17btTypedConstraint9serializeEPvP12btSerializer(a,e,d);var c=e+14,d=a+103;b=0;a:for(;;){FHEAP[c+b]=FHEAP[d+b];var f=b+1;b=f;if(!(f<4))break a}e+=18;a+=107;for(d=0;;)if(FHEAP[e+d]=FHEAP[a+d],d=b=d+1,!(b<4))break;return __str5329} +function __ZN17btTypedConstraintC2E21btTypedConstraintTypeR11btRigidBody(a,e,d){IHEAP[a+4]=e;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=d;e=a+11;__ZN17btTypedConstraint12getFixedBodyEv();IHEAP[e]=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896} +function __ZN17btTypedConstraint12getFixedBodyEv(){var a=STACKTOP;STACKTOP+=14;var e,d,b,c,f,g,h,i,j;f=a+4;g=a+5;var k=a+6,l=a+7;c=a+11;b=a+12;d=a+13;for(e=IHEAP[__ZGVZN17btTypedConstraint12getFixedBodyEvE7s_fixed]==0?0:1;;)if(e==0){if(___cxa_guard_acquire(__ZGVZN17btTypedConstraint12getFixedBodyEvE7s_fixed)!=0){FHEAP[f]=0;FHEAP[g]=0;FHEAP[k]=0;e=a;h=f;i=g;j=k;FHEAP[e]=FHEAP[h];FHEAP[e+1]=FHEAP[i];FHEAP[e+2]=FHEAP[j];FHEAP[e+3]=0;try{__THREW__=!1,__ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed, +0,0,0,a)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__)break;___cxa_atexit(8,__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed,___dso_handle);___cxa_guard_release(__ZGVZN17btTypedConstraint12getFixedBodyEvE7s_fixed)}e=1}else if(e==1)return FHEAP[c]=0,FHEAP[b]=0,FHEAP[d]=0,f=l,g=b,b=c,c=g,g=d,d=f,f=g,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,__ZN11btRigidBody12setMassPropsEfRK9btVector3(__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed, +0,l),STACKTOP=a,__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);___cxa_guard_abort(__ZGVZN17btTypedConstraint12getFixedBodyEvE7s_fixed);__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 307411";} +function __ZN17btTypedConstraintC2E21btTypedConstraintTypeR11btRigidBodyS2_(a,e,d,b){IHEAP[a+4]=e;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=d;IHEAP[a+11]=b;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896} +function __ZN17btTypedConstraint14getMotorFactorEfffff(a,e,d,b,c,f){if(d>b)e=1;else if(d==b)e=0;else{a=1;f=c/f;if(f<0){for(c=e>=d?1:2;;)if(c==1)if(e<d-f){c=3;break}else c=2;else if(c==2){c=e<d?5:6;break}c==3?a=(d-e)/f:c==5?a=0:c==6&&(a=1)}else if(f>0){for(c=e<=b?7:8;;)if(c==7)if(e>b-f){c=9;break}else c=8;else if(c==8){c=e>b?10:11;break}c==9?a=(b-e)/f:c==10?a=0:c==11&&(a=1)}else a=0;e=a}return e} +function __ZNK17btTypedConstraint9serializeEPvP12btSerializer(a,e,d){var b,c,f;b=FUNCTION_TABLE[IHEAP[IHEAP[d]+7]](d,IHEAP[a+10]);IHEAP[e]=b;b=FUNCTION_TABLE[IHEAP[IHEAP[d]+7]](d,IHEAP[a+11]);IHEAP[e+1]=b;c=FUNCTION_TABLE[IHEAP[IHEAP[d]+10]](d,a);b=FUNCTION_TABLE[IHEAP[IHEAP[d]+7]](d,c);IHEAP[e+2]=b;b=IHEAP[e+2]!=0?0:1;a:for(;;)if(b==0)b=d,FUNCTION_TABLE[IHEAP[IHEAP[b]+12]](b,c),b=1;else if(b==1){IHEAP[e+3]=IHEAP[a+4];IHEAP[e+6]=IHEAP[a+9]&1;IHEAP[e+5]=IHEAP[a+6];IHEAP[e+4]=IHEAP[a+5];FHEAP[e+7]= +FHEAP[a+12];FHEAP[e+8]=FHEAP[a+13];var d=f=IHEAP[e+9]=0,g=a+10;b=IHEAP[g];b+=311;b=d<IHEAP[b+1]?2:3;break a}a:for(;;)if(b==2){d=a+10;b:for(;;){c=f;b=IHEAP[d];b+=311;for(b=IHEAP[IHEAP[b+3]+c]==a?5:6;;)if(b==5)IHEAP[e+9]=1,b=6;else if(b==6)if(f+=1,c=f,b=IHEAP[g],b+=311,c<IHEAP[b+1]){b=4;continue b}else{b=3;continue a}}}else if(b==3){var g=f=0,h=a+11,d=IHEAP[h];d+=311;b=g<IHEAP[d+1]?7:8;break a}a:for(;;)if(b==7){g=a+11;b:for(;;){b=f;d=IHEAP[g];d+=311;for(b=IHEAP[IHEAP[d+3]+b]==a?10:11;;)if(b==10)IHEAP[e+ +9]=1,b=11;else if(b==11)if(f+=1,b=f,d=IHEAP[h],d+=311,b<IHEAP[d+1]){b=9;continue b}else{b=8;continue a}}}else if(b==8)return __str54;return null} +function __ZN14btAngularLimit4testEf(a,e){var d,b;FHEAP[a+5]=0;FHEAP[a+6]=0;IHEAP[a+7]=0;for(d=FHEAP[a+1]>=0?0:1;;)if(d==0){d=b=e-FHEAP[a];d=b=_fmodf(d,6.2831854820251465);b<-3.1415927410125732?d+=6.2831854820251465:d=d>3.1415927410125732?b-6.2831854820251465:b;if(d<0-FHEAP[a+1])IHEAP[a+7]=1,FHEAP[a+5]=0-(d+FHEAP[a+1]),FHEAP[a+6]=1;else{if(!(d>FHEAP[a+1])){d=1;continue}IHEAP[a+7]=1;FHEAP[a+5]=FHEAP[a+1]-d;FHEAP[a+6]=-1}d=1}else if(d==1)break} +function __ZNK14btAngularLimit7getHighEv(a){var e;e=FHEAP[a]+FHEAP[a+1];a=e=_fmodf(e,6.2831854820251465);e<-3.1415927410125732?a+=6.2831854820251465:a=a>3.1415927410125732?e-6.2831854820251465:e;return a}function __ZNK14btAngularLimit6getLowEv(a){var e;e=FHEAP[a]-FHEAP[a+1];a=e=_fmodf(e,6.2831854820251465);e<-3.1415927410125732?a+=6.2831854820251465:a=a>3.1415927410125732?e-6.2831854820251465:e;return a} +function __ZN19btContactConstraintC2EP20btPersistentManifoldR11btRigidBodyS3_(a,e,d,b){IHEAP[a+4]=8;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=d;IHEAP[a+11]=b;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV19btContactConstraint+2;_llvm_memcpy_p0i8_p0i8_i32(a+40,e,288,4,0)} +function __ZN19btContactConstraintD0Ev(a){IHEAP[a]=__ZTV19btContactConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZN19btContactConstraintD2Ev(a){IHEAP[a]=__ZTV19btContactConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN19btContactConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E(){}function __ZN19btContactConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(){}function __ZN19btContactConstraint13buildJacobianEv(){} +function __Z22resolveSingleCollisionP11btRigidBodyP17btCollisionObjectRK9btVector3S5_RK19btContactSolverInfof(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=54;var h,i=null,j,i=g+1;h=g+2;var k=g+3,l=g+4,m=g+5,n=g+6,o=g+7,q=g+8,p,r,s,u;s=g+9;r=g+10;p=g+11;var v,y=g+12,x=g+13,z=g+14,B=g+15,C=g+16,A=g+17,w,D=g+18,E=g+22,F=g+26,G=g+30,J=g+34,H=g+35,M=g+36,K=g+37,N=g+41;v=g+42;var R=g+46,O=g+50;w=(IHEAP[e+58]&2)!=0?e:0;j=a+1+12;FHEAP[n]=FHEAP[d]-FHEAP[j];FHEAP[o]=FHEAP[d+1]-FHEAP[j+1];FHEAP[q]=FHEAP[d+2]-FHEAP[j+ +2];FHEAP[D]=FHEAP[n];FHEAP[D+1]=FHEAP[o];FHEAP[D+2]=FHEAP[q];FHEAP[D+3]=0;j=e+1+12;FHEAP[g]=FHEAP[d]-FHEAP[j];FHEAP[i]=FHEAP[d+1]-FHEAP[j+1];FHEAP[h]=FHEAP[d+2]-FHEAP[j+2];FHEAP[E]=FHEAP[g];FHEAP[E+1]=FHEAP[i];FHEAP[E+2]=FHEAP[h];FHEAP[E+3]=0;__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(F,a,D);w!=0?__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(G,w,E):(FHEAP[J]=0,FHEAP[H]=0,FHEAP[M]=0,FHEAP[G]=FHEAP[J],FHEAP[G+1]=FHEAP[H],FHEAP[G+2]=FHEAP[M],FHEAP[G+3]=0);FHEAP[k]=FHEAP[F]-FHEAP[G]; +FHEAP[l]=FHEAP[F+1]-FHEAP[G+1];FHEAP[m]=FHEAP[F+2]-FHEAP[G+2];FHEAP[K]=FHEAP[k];FHEAP[K+1]=FHEAP[l];FHEAP[K+2]=FHEAP[m];FHEAP[K+3]=0;i=FHEAP[b]*FHEAP[K]+FHEAP[b+1]*FHEAP[K+1]+FHEAP[b+2]*FHEAP[K+2];e=FHEAP[a+57]*FHEAP[e+57]*(0-i);c=FHEAP[c+8]*(0-f)/FHEAP[c+3];f=(0-(1+e))*i;e=__ZNK11btRigidBody25computeImpulseDenominatorERK9btVector3S2_(a,d,b);w!=0?(i=2,h=3):(i=2,h=4);a:for(;;)if(h==3)u=__ZNK11btRigidBody25computeImpulseDenominatorERK9btVector3S2_(w,d,b),i=3,h=4;else if(h==4){d=i==3?u:0;d=1/(e+d);u= +c*d;d*=f;FHEAP[N]=u+d;d=FHEAP[N];FHEAP[N]=0>FHEAP[N]?0:d;d=b;u=N;FHEAP[s]=FHEAP[d]*FHEAP[u];FHEAP[r]=FHEAP[d+1]*FHEAP[u];FHEAP[p]=FHEAP[d+2]*FHEAP[u];d=v;u=r;r=s;s=u;u=p;p=d;d=u;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[d];FHEAP[p+3]=0;__ZN11btRigidBody12applyImpulseERK9btVector3S2_(a,v,D);h=w!=0?5:6;break a}for(;;)if(h==5)D=w,v=b,FHEAP[y]=0-FHEAP[v],FHEAP[x]=0-FHEAP[v+1],FHEAP[z]=0-FHEAP[v+2],v=O,p=y,r=x,s=z,FHEAP[v]=FHEAP[p],FHEAP[v+1]=FHEAP[r],FHEAP[v+2]=FHEAP[s],FHEAP[v+3]=0,v=O, +p=N,FHEAP[B]=FHEAP[v]*FHEAP[p],FHEAP[C]=FHEAP[v+1]*FHEAP[p],FHEAP[A]=FHEAP[v+2]*FHEAP[p],v=R,p=B,r=C,s=A,FHEAP[v]=FHEAP[p],FHEAP[v+1]=FHEAP[r],FHEAP[v+2]=FHEAP[s],FHEAP[v+3]=0,__ZN11btRigidBody12applyImpulseERK9btVector3S2_(D,R,E),h=6;else if(h==6)return b=FHEAP[N],STACKTOP=g,b;return null} +function __ZNK11btRigidBody25computeImpulseDenominatorERK9btVector3S2_(a,e,d){var b=STACKTOP;STACKTOP+=25;var c=b+1,f=b+2,g,h=b+3,i=b+4,j=b+5,k=b+6,l=b+7,m=b+8,n=b+9,o=b+13,q=b+17,p=b+21;g=a+1+12;FHEAP[h]=FHEAP[e]-FHEAP[g];FHEAP[i]=FHEAP[e+1]-FHEAP[g+1];FHEAP[j]=FHEAP[e+2]-FHEAP[g+2];FHEAP[n]=FHEAP[h];FHEAP[n+1]=FHEAP[i];FHEAP[n+2]=FHEAP[j];FHEAP[n+3]=0;FHEAP[b]=FHEAP[n+1]*FHEAP[d+2]-FHEAP[n+2]*FHEAP[d+1];FHEAP[c]=FHEAP[n+2]*FHEAP[d]-FHEAP[n]*FHEAP[d+2];FHEAP[f]=FHEAP[n]*FHEAP[d+1]-FHEAP[n+1]*FHEAP[d]; +FHEAP[o]=FHEAP[b];FHEAP[o+1]=FHEAP[c];FHEAP[o+2]=FHEAP[f];FHEAP[o+3]=0;__ZmlRK9btVector3RK11btMatrix3x3(p,o,a+256);FHEAP[k]=FHEAP[p+1]*FHEAP[n+2]-FHEAP[p+2]*FHEAP[n+1];FHEAP[l]=FHEAP[p+2]*FHEAP[n]-FHEAP[p]*FHEAP[n+2];FHEAP[m]=FHEAP[p]*FHEAP[n+1]-FHEAP[p+1]*FHEAP[n];FHEAP[q]=FHEAP[k];FHEAP[q+1]=FHEAP[l];FHEAP[q+2]=FHEAP[m];FHEAP[q+3]=0;a=FHEAP[a+276]+(FHEAP[d]*FHEAP[q]+FHEAP[d+1]*FHEAP[q+1]+FHEAP[d+2]*FHEAP[q+2]);STACKTOP=b;return a} +function __ZN11btRigidBody12applyImpulseERK9btVector3S2_(a,e,d){var b=STACKTOP;STACKTOP+=14;var c,f,g,h,i=b+1,j=b+2,k,l=b+3,m=b+4,n=b+5,o=b+6,q=b+10;for(c=FHEAP[a+276]!=0?0:1;;)if(c==0)__ZN11btRigidBody19applyCentralImpulseERK9btVector3(a,e),c=a+326,c!=0&&(c=d,g=a+277,f=e,FHEAP[l]=FHEAP[f]*FHEAP[g],FHEAP[m]=FHEAP[f+1]*FHEAP[g+1],FHEAP[n]=FHEAP[f+2]*FHEAP[g+2],f=q,g=l,h=m,k=n,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[k],FHEAP[f+3]=0,f=c,c=q,FHEAP[b]=FHEAP[f+1]*FHEAP[c+2]-FHEAP[f+2]*FHEAP[c+ +1],FHEAP[i]=FHEAP[f+2]*FHEAP[c]-FHEAP[f]*FHEAP[c+2],FHEAP[j]=FHEAP[f]*FHEAP[c+1]-FHEAP[f+1]*FHEAP[c],c=o,f=b,g=i,h=j,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+2]=FHEAP[h],FHEAP[c+3]=0,__ZN11btRigidBody18applyTorqueImpulseERK9btVector3(a,o)),c=1;else if(c==1){STACKTOP=b;break}} +function __Z22resolveSingleBilateralR11btRigidBodyRK9btVector3S0_S3_fS3_Rff(a,e,d,b,c,f,g){c=STACKTOP;STACKTOP+=106;var h,i=c+1,j=c+2,k=c+3,l=c+4,m=c+5,n=c+6,o=c+7,q=c+8,p=c+9,r=c+13,s=c+17,u=c+21,v=c+25,y=c+29;h=c+50;var x=c+62,z=c+74,B=c+78,C=c+90,A=c+94;if(FHEAP[f]*FHEAP[f]+FHEAP[f+1]*FHEAP[f+1]+FHEAP[f+2]*FHEAP[f+2]>1.100000023841858)FHEAP[g]=0;else{var w=a+1+12;FHEAP[n]=FHEAP[e]-FHEAP[w];FHEAP[o]=FHEAP[e+1]-FHEAP[w+1];FHEAP[q]=FHEAP[e+2]-FHEAP[w+2];FHEAP[p]=FHEAP[n];FHEAP[p+1]=FHEAP[o];FHEAP[p+ +2]=FHEAP[q];FHEAP[p+3]=0;e=d+1+12;FHEAP[k]=FHEAP[b]-FHEAP[e];FHEAP[l]=FHEAP[b+1]-FHEAP[e+1];FHEAP[m]=FHEAP[b+2]-FHEAP[e+2];FHEAP[r]=FHEAP[k];FHEAP[r+1]=FHEAP[l];FHEAP[r+2]=FHEAP[m];FHEAP[r+3]=0;__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(s,a,p);__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(u,d,r);FHEAP[c]=FHEAP[s]-FHEAP[u];FHEAP[i]=FHEAP[s+1]-FHEAP[u+1];FHEAP[j]=FHEAP[s+2]-FHEAP[u+2];FHEAP[v]=FHEAP[c];FHEAP[v+1]=FHEAP[i];FHEAP[v+2]=FHEAP[j];FHEAP[v+3]=0;b=a+1;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(h, +b,b+4,b+8,b+1,b+4+1,b+8+1,b+2,b+4+2,b+8+2);b=d+1;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(x,b,b+4,b+8,b+1,b+4+1,b+8+1,b+2,b+4+2,b+8+2);__ZN15btJacobianEntryC2ERK11btMatrix3x3S2_RK9btVector3S5_S5_S5_fS5_f(y,h,x,p,r,f,a+289,FHEAP[a+276],d+289,FHEAP[d+276]);p=FHEAP[y+20];p=1/p;r=a+268;h=a+1;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(B,h,h+4,h+8,h+1,h+4+1,h+8+1,h+2,h+4+2,h+8+2);__ZmlRK11btMatrix3x3RK9btVector3(z,B,a+272);B=d+268;a=d+1;__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(A,a,a+ +4,a+8,a+1,a+4+1,a+8+1,a+2,a+4+2,a+8+2);__ZmlRK11btMatrix3x3RK9btVector3(C,A,d+272);__ZN15btJacobianEntry19getRelativeVelocityERK9btVector3S2_S2_S2_(y,r,z,B,C);d=FHEAP[f]*FHEAP[v]+FHEAP[f+1]*FHEAP[v+1]+FHEAP[f+2]*FHEAP[v+2];FHEAP[g]=-0.20000000298023224*d*p}STACKTOP=c} +function __ZN15btJacobianEntry19getRelativeVelocityERK9btVector3S2_S2_S2_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=21;var g=f+1,h=f+2,i=f+3,j=f+4,k=f+5,l=f+6,m=f+7,n=f+8,o=f+9,q=f+13,p=f+17;FHEAP[l]=FHEAP[e]-FHEAP[b];FHEAP[m]=FHEAP[e+1]-FHEAP[b+1];FHEAP[n]=FHEAP[e+2]-FHEAP[b+2];FHEAP[o]=FHEAP[l];FHEAP[o+1]=FHEAP[m];FHEAP[o+2]=FHEAP[n];FHEAP[o+3]=0;e=a+4;FHEAP[f]=FHEAP[d]*FHEAP[e];FHEAP[g]=FHEAP[d+1]*FHEAP[e+1];FHEAP[h]=FHEAP[d+2]*FHEAP[e+2];FHEAP[q]=FHEAP[f];FHEAP[q+1]=FHEAP[g];FHEAP[q+2]=FHEAP[h];FHEAP[q+ +3]=0;d=a+8;FHEAP[i]=FHEAP[c]*FHEAP[d];FHEAP[j]=FHEAP[c+1]*FHEAP[d+1];FHEAP[k]=FHEAP[c+2]*FHEAP[d+2];FHEAP[p]=FHEAP[i];FHEAP[p+1]=FHEAP[j];FHEAP[p+2]=FHEAP[k];FHEAP[p+3]=0;FHEAP[o]*=FHEAP[a];FHEAP[o+1]*=FHEAP[a+1];FHEAP[o+2]*=FHEAP[a+2];FHEAP[q]+=FHEAP[p];FHEAP[q+1]+=FHEAP[p+1];FHEAP[q+2]+=FHEAP[p+2];FHEAP[q]+=FHEAP[o];FHEAP[q+1]+=FHEAP[o+1];FHEAP[q+2]+=FHEAP[o+2];a=FHEAP[q]+FHEAP[q+1]+FHEAP[q+2]+1.1920928955078125E-7;STACKTOP=f;return a} +function __ZN11btRigidBody19applyCentralImpulseERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=14;var b,c=d+1,f=d+2,g=d+3,h=d+4,i=d+5,j=d+6,k=d+10,l=a+268;b=a+277;FHEAP[g]=FHEAP[e]*FHEAP[b];FHEAP[h]=FHEAP[e+1]*FHEAP[b+1];FHEAP[i]=FHEAP[e+2]*FHEAP[b+2];FHEAP[k]=FHEAP[g];FHEAP[k+1]=FHEAP[h];FHEAP[k+2]=FHEAP[i];FHEAP[k+3]=0;b=a+276;FHEAP[d]=FHEAP[k]*FHEAP[b];FHEAP[c]=FHEAP[k+1]*FHEAP[b];FHEAP[f]=FHEAP[k+2]*FHEAP[b];FHEAP[j]=FHEAP[d];FHEAP[j+1]=FHEAP[c];FHEAP[j+2]=FHEAP[f];FHEAP[j+3]=0;FHEAP[l]+=FHEAP[j]; +FHEAP[l+1]+=FHEAP[j+1];FHEAP[l+2]+=FHEAP[j+2];STACKTOP=d}function __ZN11btRigidBody18applyTorqueImpulseERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=11;var b,c=d+1,f=d+2,g=d+3,h=d+7,i=a+272;__ZmlRK11btMatrix3x3RK9btVector3(h,a+256,e);b=a+326;FHEAP[d]=FHEAP[h]*FHEAP[b];FHEAP[c]=FHEAP[h+1]*FHEAP[b+1];FHEAP[f]=FHEAP[h+2]*FHEAP[b+2];FHEAP[g]=FHEAP[d];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;FHEAP[i]+=FHEAP[g];FHEAP[i+1]+=FHEAP[g+1];FHEAP[i+2]+=FHEAP[g+2];STACKTOP=d} +function __ZN18btSliderConstraint10initParamsEv(a){FHEAP[a+75]=1;FHEAP[a+76]=-1;FHEAP[a+77]=0;FHEAP[a+78]=0;FHEAP[a+79]=1;FHEAP[a+80]=0.699999988079071;FHEAP[a+81]=0;FHEAP[a+82]=0;FHEAP[a+83]=1;FHEAP[a+84]=0.699999988079071;FHEAP[a+85]=0;FHEAP[a+86]=0;FHEAP[a+95]=1;FHEAP[a+96]=0.699999988079071;FHEAP[a+97]=1;FHEAP[a+98]=0;FHEAP[a+99]=1;FHEAP[a+100]=0.699999988079071;FHEAP[a+101]=1;FHEAP[a+102]=0;FHEAP[a+87]=1;FHEAP[a+88]=0.699999988079071;FHEAP[a+89]=1;FHEAP[a+90]=0;FHEAP[a+91]=1;FHEAP[a+92]=0.699999988079071; +FHEAP[a+93]=1;FHEAP[a+94]=0;IHEAP[a+304]=0;FHEAP[a+305]=0;FHEAP[a+306]=0;FHEAP[a+307]=0;IHEAP[a+308]=0;FHEAP[a+309]=0;FHEAP[a+310]=0;FHEAP[a+311]=0;IHEAP[a+105]=0;IHEAP[a+105]=0;IHEAP[a+41]=1;__ZN18btSliderConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1)} +function __ZN18btSliderConstraint19calculateTransformsERK11btTransformS2_(a,e,d){var b=STACKTOP;STACKTOP+=169;var c,f,g,h,i,j,k,l;g=b+1;h=b+2;var m,n=b+3,o=b+4,q=b+5,p,r,s,u,v=b+6,y=b+7,x=b+8;s=b+9;r=b+10;p=b+11;var z,B,C,A,w,D,E;B=b+12;z=b+24;C=b+28;var F=b+40,G;A=b+44;D=b+56;var J,H,M;J=b+60;G=b+72;w=b+76;E=b+92;var K=b+108,N=b+124;u=b+140;var R=b+144,O=b+148,Q=b+152,I=b+156;f=b+157;var L=b+161,P,S=b+165;c=IHEAP[a+74]&1?0:1;a:for(;;)if(c==0){c=a+236;M=a+42;H=e;__ZmlRK11btMatrix3x3S1_(J,H,M);__ZNK11btTransformclERK9btVector3(G, +H,M+12);H=w;M=G;G=J;J=H;H=G;G=M;M=H;H=J;_llvm_memcpy_p0i8_p0i8_i32(H,M,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+4,M+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+8,M+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(J+12,G,4,4,0);J=w;G=c;_llvm_memcpy_p0i8_p0i8_i32(G,J,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(G+4,J+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(G+8,J+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+12,w+12,4,4,0);w=a+252;G=a+58;c=d;__ZmlRK11btMatrix3x3S1_(A,c,G);__ZNK11btTransformclERK9btVector3(D,c,G+12);c=E;G=D;D=A;A=c;c=D;D=G;G=c;c= +A;_llvm_memcpy_p0i8_p0i8_i32(c,G,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,G+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,G+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+12,D,4,4,0);D=w;w=E;A=D;_llvm_memcpy_p0i8_p0i8_i32(A,w,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+4,w+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+8,w+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(D+12,E+12,4,4,0);c=3;break a}else if(c==1)if(IHEAP[a+40]&1){c=2;break a}else c=0;a:for(;;)if(c==2)E=a+236,A=a+58,D=d,__ZmlRK11btMatrix3x3S1_(C,D,A),__ZNK11btTransformclERK9btVector3(F, +D,A+12),D=K,w=C,c=A=F,A=D,D=c,c=w,w=A,_llvm_memcpy_p0i8_p0i8_i32(w,c,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(w+4,c+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(w+8,c+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(A+12,D,4,4,0),D=E,w=E=K,A=D,_llvm_memcpy_p0i8_p0i8_i32(A,w,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(A+4,w+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(A+8,w+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(D+12,E+12,4,4,0),E=a+252,A=a+42,D=e,__ZmlRK11btMatrix3x3S1_(B,D,A),__ZNK11btTransformclERK9btVector3(z,D,A+12),D=N,w=B,c=A=z,A=D,D=c,c=w, +w=A,_llvm_memcpy_p0i8_p0i8_i32(w,c,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(w+4,c+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(w+8,c+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(A+12,D,4,4,0),D=E,w=E=N,A=D,_llvm_memcpy_p0i8_p0i8_i32(A,w,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(A+4,w+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(A+8,w+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(D+12,E+12,4,4,0),c=3;else if(c==3){d=a+272;e=a+236;_llvm_memcpy_p0i8_p0i8_i32(d,e+12,4,4,0);d=a+276;e=a+252;_llvm_memcpy_p0i8_p0i8_i32(d,e+12,4,4,0);e=a+268;B=d=a+236;B+=0; +z=d+4;z+=0;d+=8;C=d+0;d=u;FHEAP[d]=FHEAP[B];FHEAP[d+1]=FHEAP[z];FHEAP[d+2]=FHEAP[C];FHEAP[d+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,u,4,4,0);c=IHEAP[a+74]&1?4:5;break a}a:for(;;)if(c==4){u=a+284;d=a+272;e=a+276;FHEAP[s]=FHEAP[e]-FHEAP[d];FHEAP[r]=FHEAP[e+1]-FHEAP[d+1];FHEAP[p]=FHEAP[e+2]-FHEAP[d+2];e=R;d=r;r=s;s=d;d=p;p=e;e=d;FHEAP[p]=FHEAP[r];FHEAP[p+1]=FHEAP[s];FHEAP[p+2]=FHEAP[e];FHEAP[p+3]=0;_llvm_memcpy_p0i8_p0i8_i32(u,R,4,4,0);c=7;break a}else if(c==5)if(IHEAP[a+40]&1)c=4;else{c=6;break a}a:for(;;)if(c== +6)R=a+284,r=a+276,p=a+272,FHEAP[v]=FHEAP[p]-FHEAP[r],FHEAP[y]=FHEAP[p+1]-FHEAP[r+1],FHEAP[x]=FHEAP[p+2]-FHEAP[r+2],p=O,r=v,s=y,u=x,FHEAP[p]=FHEAP[r],FHEAP[p+1]=FHEAP[s],FHEAP[p+2]=FHEAP[u],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(R,O,4,4,0),c=7;else if(c==7){P=a+280;i=a+272;k=a+284;j=a+268;FHEAP[I]=FHEAP[j]*FHEAP[k]+FHEAP[j+1]*FHEAP[k+1]+FHEAP[j+2]*FHEAP[k+2];k=a+268;l=j=I;j=k;k=l;FHEAP[n]=FHEAP[j]*FHEAP[k];FHEAP[o]=FHEAP[j+1]*FHEAP[k];FHEAP[q]=FHEAP[j+2]*FHEAP[k];j=Q;k=n;l=o;m=q;FHEAP[j]=FHEAP[k]; +FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[m];FHEAP[j+3]=0;j=Q;FHEAP[b]=FHEAP[i]+FHEAP[j];FHEAP[g]=FHEAP[i+1]+FHEAP[j+1];FHEAP[h]=FHEAP[i+2]+FHEAP[j+2];i=f;j=b;k=g;l=h;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(P,f,4,4,0);P=0;i=a+236;j=L;k=S;l=a+284;m=a+288;break a}for(;;)if(f=i,a=P,h=f,g=a,f=h,f+=g,Q=a,g=h+4,g+=Q,h+=8,Q=h+a,a=S,h=g,g=Q,FHEAP[a]=FHEAP[f],FHEAP[a+1]=FHEAP[h],FHEAP[a+2]=FHEAP[g],FHEAP[a+3]=0,_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0),f=l, +a=L,f=FHEAP[f]*FHEAP[a]+FHEAP[f+1]*FHEAP[a+1]+FHEAP[f+2]*FHEAP[a+2],h=P,a=m,FHEAP[a+h]=f,P=a=P+1,!(a<3))break;STACKTOP=b} +function __ZN18btSliderConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,b,c,f){IHEAP[a+4]=7;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;IHEAP[a+11]=d;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV18btSliderConstraint+2;IHEAP[a+40]=0;e=a+42;_llvm_memcpy_p0i8_p0i8_i32(e,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+ +12,b+12,4,4,0);b=a+58;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);IHEAP[a+74]=f&1;c=0;a:for(;;)if(c=f=c+1,!(f<3))break a;for(c=0;;)if(c=f=c+1,!(f<3))break;FHEAP[a+75]=1;FHEAP[a+76]=-1;FHEAP[a+77]=0;FHEAP[a+78]=0;FHEAP[a+79]=1;FHEAP[a+80]=0.699999988079071;FHEAP[a+81]=0;FHEAP[a+82]=0;FHEAP[a+83]=1;FHEAP[a+84]=0.699999988079071;FHEAP[a+85]=0;FHEAP[a+86]=0;FHEAP[a+95]=1;FHEAP[a+96]= +0.699999988079071;FHEAP[a+97]=1;FHEAP[a+98]=0;FHEAP[a+99]=1;FHEAP[a+100]=0.699999988079071;FHEAP[a+101]=1;FHEAP[a+102]=0;FHEAP[a+87]=1;FHEAP[a+88]=0.699999988079071;FHEAP[a+89]=1;FHEAP[a+90]=0;FHEAP[a+91]=1;FHEAP[a+92]=0.699999988079071;FHEAP[a+93]=1;FHEAP[a+94]=0;IHEAP[a+304]=0;FHEAP[a+305]=0;FHEAP[a+306]=0;FHEAP[a+307]=0;IHEAP[a+308]=0;FHEAP[a+309]=0;FHEAP[a+310]=0;FHEAP[a+311]=0;IHEAP[a+105]=0;IHEAP[a+105]=0;IHEAP[a+41]=1;__ZN18btSliderConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+ +10]+1,IHEAP[a+11]+1)} +function __ZN18btSliderConstraintC2ER11btRigidBodyRK11btTransformb(a,e,d,b){var c=STACKTOP;STACKTOP+=32;var f=c+12,g,h=c+16;__ZN17btTypedConstraint12getFixedBodyEv();g=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;IHEAP[a+4]=7;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=g;IHEAP[a+11]=e;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV18btSliderConstraint+2;IHEAP[a+40]=0;g=a+58;_llvm_memcpy_p0i8_p0i8_i32(g, +d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,d+12,4,4,0);IHEAP[a+74]=b&1;d=0;a:for(;;)if(d=b=d+1,!(b<3))break a;for(d=0;;)if(d=b=d+1,!(b<3))break;d=a+42;b=a+58;e+=1;__ZmlRK11btMatrix3x3S1_(c,e,b);__ZNK11btTransformclERK9btVector3(f,e,b+12);_llvm_memcpy_p0i8_p0i8_i32(h,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+12,f,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d, +h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,h+12,4,4,0);FHEAP[a+75]=1;FHEAP[a+76]=-1;FHEAP[a+77]=0;FHEAP[a+78]=0;FHEAP[a+79]=1;FHEAP[a+80]=0.699999988079071;FHEAP[a+81]=0;FHEAP[a+82]=0;FHEAP[a+83]=1;FHEAP[a+84]=0.699999988079071;FHEAP[a+85]=0;FHEAP[a+86]=0;FHEAP[a+95]=1;FHEAP[a+96]=0.699999988079071;FHEAP[a+97]=1;FHEAP[a+98]=0;FHEAP[a+99]=1;FHEAP[a+100]=0.699999988079071;FHEAP[a+101]=1;FHEAP[a+102]=0;FHEAP[a+87]=1;FHEAP[a+ +88]=0.699999988079071;FHEAP[a+89]=1;FHEAP[a+90]=0;FHEAP[a+91]=1;FHEAP[a+92]=0.699999988079071;FHEAP[a+93]=1;FHEAP[a+94]=0;IHEAP[a+304]=0;FHEAP[a+305]=0;FHEAP[a+306]=0;FHEAP[a+307]=0;IHEAP[a+308]=0;FHEAP[a+309]=0;FHEAP[a+310]=0;FHEAP[a+311]=0;IHEAP[a+105]=0;IHEAP[a+105]=0;IHEAP[a+41]=1;__ZN18btSliderConstraint19calculateTransformsERK11btTransformS2_(a,IHEAP[a+10]+1,IHEAP[a+11]+1);STACKTOP=c} +function __ZN18btSliderConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E(a,e){var d,b=IHEAP[a+40]&1;a:do if(b)IHEAP[e]=0,IHEAP[e+1]=0;else{IHEAP[e]=4;IHEAP[e+1]=2;d=IHEAP[a+10];var c=d+1;d=IHEAP[a+11];__ZN18btSliderConstraint19calculateTransformsERK11btTransformS2_(a,c,d+1);__ZN18btSliderConstraint13testAngLimitsEv(a);__ZN18btSliderConstraint13testLinLimitsEv(a);d=a;d=IHEAP[d+103]&1?1:2;b:for(;;)if(d==1){IHEAP[e]+=1;IHEAP[e+1]+=-1;break b}else if(d==2)if(d=a,IHEAP[d+304]&1)d=1;else break b; +d=a;for(d=IHEAP[d+104]&1?4:5;;)if(d==4){IHEAP[e]+=1;IHEAP[e+1]+=-1;break a}else if(d==5)if(d=a,IHEAP[d+308]&1)d=4;else break a}while(0)} +function __ZN18btSliderConstraint13testAngLimitsEv(a){var e=STACKTOP;STACKTOP+=12;var d,b,c,f,g=e+4,h=e+8;FHEAP[a+302]=0;IHEAP[a+104]=0;for(d=FHEAP[a+77]<=FHEAP[a+78]?0:1;;)if(d==0){c=d=a+236;c+=1;b=d+4;b+=1;d+=8;f=d+1;d=e;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[b];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;c=d=a+236;c+=2;b=d+4;b+=2;d+=8;f=d+2;d=g;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[b];FHEAP[d+2]=FHEAP[f];FHEAP[d+3]=0;c=d=a+252;c+=1;b=d+4;b+=1;d+=8;f=d+1;d=h;FHEAP[d]=FHEAP[c];FHEAP[d+1]=FHEAP[b];FHEAP[d+2]=FHEAP[f]; +FHEAP[d+3]=0;c=h;d=g;d=FHEAP[c]*FHEAP[d]+FHEAP[c+1]*FHEAP[d+1]+FHEAP[c+2]*FHEAP[d+2];b=h;c=e;c=FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2];d=_atan2f(d,c);d=__Z21btAdjustAngleToLimitsfff(d,FHEAP[a+77],FHEAP[a+78]);c=FHEAP[a+301]=d;if(d<FHEAP[a+77])FHEAP[a+302]=c-FHEAP[a+77];else{if(!(c>FHEAP[a+78])){d=1;continue}FHEAP[a+302]=d-FHEAP[a+78]}d=IHEAP[a+104]=1}else if(d==1){STACKTOP=e;break}} +function __ZN18btSliderConstraint13testLinLimitsEv(a){IHEAP[a+103]=0;FHEAP[a+300]=FHEAP[a+288];var e=a+288;FHEAP[a+75]<=FHEAP[a+76]?FHEAP[e]>FHEAP[a+76]?(e=FHEAP[a+76],FHEAP[a+288]-=e,IHEAP[a+103]=1):FHEAP[a+288]<FHEAP[a+75]?(e=FHEAP[a+75],FHEAP[a+288]-=e,IHEAP[a+103]=1):FHEAP[a+288]=0:FHEAP[e]=0} +function __ZN18btSliderConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e){__ZN18btSliderConstraint18getInfo2NonVirtualEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_ff(a,e,IHEAP[a+10]+1,IHEAP[a+11]+1,IHEAP[a+10]+268,IHEAP[a+11]+268,FHEAP[IHEAP[a+10]+276],FHEAP[IHEAP[a+11]+276])} +function __ZN18btSliderConstraint18getInfo2NonVirtualEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_ff(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=340;var j,k=null,l=i+1,m=i+2,n=i+3,o=i+4,q,p,r,s;r=i+5;p=i+6;q=i+7;var u,v=i+8,y=i+9,x=i+10,z=i+11,B=i+12,C=i+13,A,w,D,E,F,G,J,H,M,K,N,R,O,Q,I,L,P,S=i+14,T=i+15,U=i+16,W=i+17,Z=i+18,ca=i+19,Y=i+20,ea=i+21,ha=i+22,ba=i+23,V=i+24,aa=i+25,X=i+26,ka=i+27,da=i+28,fa=i+29,ga=i+30,ja=i+31,la=i+32,qa=i+33,pa=i+34,wa=i+35,ua=i+36,na=i+ +37,ya=i+38,xa=i+39,ia=i+40,ma=i+41,ta=i+42,ra=i+43,oa=i+44,Da=i+45,Ba=i+46,Oa=i+47,Fa=i+48,Ha=i+49,La=i+50,Ea=i+51,Ca=i+52,Aa=i+53,za=i+54,Ja=i+55,Ra=i+56,Ua=i+57,Xa=i+58,Wa=i+59,Sa=i+60,Ga=i+61,Ia=i+62,Pa=i+63,Ta=i+64,Va=i+65,fb=i+66,ib=i+67,Na=i+68,Za=i+69,gb=i+70,lb=i+71,$a=i+72,eb=i+73,bb=i+74,sb=i+75,Ka=i+76,Ya=i+77,jb=i+78,kb=i+79,tb=i+80,Bb=i+81,Qa=i+82,wb=i+83,mb=i+84,yb=i+85,ub=i+86,Ma,sa,va,pb,ab,db=i+87,vb=i+88,Fb=i+89,zb=i+90,Kb=i+91,nb=i+92,Cb=i+93,Eb=i+94,Ib=i+95,k=i+96,Jb=i+97,Ab=i+ +98,qb,Nb,rb,Gb,Ob,hb,Sb;va=i+99;var Ub,Vb,Hb=i+103,Lb=i+104,ob=i+105;Ma=i+109;sa=i+113;var Db=i+117;s=i+121;var xb=i+125,Qb=i+129,Wb=i+133,Tb=i+137,$b=i+141,Zb=i+145,Mb;u=i+149;var cb,Pb,Rb,dc=i+153,cc=i+169,Xb=i+185;F=i+189;E=i+190;D=i+191;var Yb=i+192;H=i+196;J=i+197;G=i+198;var ac=i+199;N=i+203;K=i+204;M=i+205;var bc=i+206;Q=i+210;O=i+211;R=i+212;var ec=i+213;P=i+217;L=i+218;I=i+219;var hc=i+220,pc=i+224,qc=i+228,rc=i+229,sc=i+233,tc=i+237,uc=i+241,fc=i+242,ic=i+246,gc=i+247,jc=i+251,kc=i+255, +lc=i+259,mc=i+263,nc=i+267,vc=i+271,wc=i+275,oc=i+279,xc=i+283,Bc=i+287,Cc=i+288,Dc=i+292,Nc=i+296,Oc=i+300,Pc=i+304,Qc=i+308,Rc=i+312,zc=i+316,Sc=i+320,Fc=i+324,Gc=i+328,yc=i+332,Hc=i+336;Gb=a+236;Ob=a+252;hb=IHEAP[e+6];Sb=IHEAP[a+74]&1?1:-1;var Ic=Gb+12;j=Ob+12;FHEAP[k]=FHEAP[j]-FHEAP[Ic];FHEAP[Jb]=FHEAP[j+1]-FHEAP[Ic+1];FHEAP[Ab]=FHEAP[j+2]-FHEAP[Ic+2];FHEAP[va]=FHEAP[k];FHEAP[va+1]=FHEAP[Jb];FHEAP[va+2]=FHEAP[Ab];FHEAP[va+3]=0;g<1.1920928955078125E-7?(k=-1,j=0):(k=-1,j=1);a:for(;;)if(j==0){Ub= +k==-1?1:Wc;Vb=j=g+h;j=j>0?2:3;break a}else if(j==1){var Wc=h<1.1920928955078125E-7,k=1;j=0}j==2?FHEAP[Hb]=h/Vb:j==3&&(FHEAP[Hb]=0.5);FHEAP[Lb]=1-FHEAP[Hb];FHEAP[Db]=FHEAP[Gb+0];FHEAP[Db+1]=FHEAP[Gb+4+0];FHEAP[Db+2]=FHEAP[Gb+8+0];FHEAP[Db+3]=0;FHEAP[s]=FHEAP[Ob+0];FHEAP[s+1]=FHEAP[Ob+4+0];FHEAP[s+2]=FHEAP[Ob+8+0];FHEAP[s+3]=0;IHEAP[a+41]&1?(FHEAP[z]=FHEAP[Db]*FHEAP[Hb],FHEAP[B]=FHEAP[Db+1]*FHEAP[Hb],FHEAP[C]=FHEAP[Db+2]*FHEAP[Hb],FHEAP[xb]=FHEAP[z],FHEAP[xb+1]=FHEAP[B],FHEAP[xb+2]=FHEAP[C],FHEAP[xb+ +3]=0,FHEAP[v]=FHEAP[s]*FHEAP[Lb],FHEAP[y]=FHEAP[s+1]*FHEAP[Lb],FHEAP[x]=FHEAP[s+2]*FHEAP[Lb],FHEAP[Qb]=FHEAP[v],FHEAP[Qb+1]=FHEAP[y],FHEAP[Qb+2]=FHEAP[x],FHEAP[Qb+3]=0,FHEAP[m]=FHEAP[xb]+FHEAP[Qb],FHEAP[n]=FHEAP[xb+1]+FHEAP[Qb+1],FHEAP[o]=FHEAP[xb+2]+FHEAP[Qb+2],FHEAP[Wb]=FHEAP[m],FHEAP[Wb+1]=FHEAP[n],FHEAP[Wb+2]=FHEAP[o],FHEAP[Wb+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ob,Wb,4,4,0),j=FHEAP[ob]*FHEAP[ob]+FHEAP[ob+1]*FHEAP[ob+1]+FHEAP[ob+2]*FHEAP[ob+2],j=_sqrtf(j),FHEAP[l]=j,FHEAP[i]=1/FHEAP[l],FHEAP[ob]*= +FHEAP[i],FHEAP[ob+1]*=FHEAP[i],FHEAP[ob+2]*=FHEAP[i],__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(ob,Ma,sa)):(FHEAP[Tb]=FHEAP[Gb+0],FHEAP[Tb+1]=FHEAP[Gb+4+0],FHEAP[Tb+2]=FHEAP[Gb+8+0],FHEAP[Tb+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ob,Tb,4,4,0),FHEAP[$b]=FHEAP[Gb+1],FHEAP[$b+1]=FHEAP[Gb+4+1],FHEAP[$b+2]=FHEAP[Gb+8+1],FHEAP[$b+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Ma,$b,4,4,0),FHEAP[Zb]=FHEAP[Gb+2],FHEAP[Zb+1]=FHEAP[Gb+4+2],FHEAP[Zb+2]=FHEAP[Gb+8+2],FHEAP[Zb+3]=0,_llvm_memcpy_p0i8_p0i8_i32(sa,Zb,4,4,0));FHEAP[IHEAP[e+ +3]]=FHEAP[Ma];FHEAP[IHEAP[e+3]+1]=FHEAP[Ma+1];FHEAP[IHEAP[e+3]+2]=FHEAP[Ma+2];FHEAP[IHEAP[e+3]+hb]=FHEAP[sa];FHEAP[IHEAP[e+3]+(hb+1)]=FHEAP[sa+1];FHEAP[IHEAP[e+3]+(hb+2)]=FHEAP[sa+2];FHEAP[IHEAP[e+5]]=0-FHEAP[Ma];FHEAP[IHEAP[e+5]+1]=0-FHEAP[Ma+1];FHEAP[IHEAP[e+5]+2]=0-FHEAP[Ma+2];FHEAP[IHEAP[e+5]+hb]=0-FHEAP[sa];FHEAP[IHEAP[e+5]+(hb+1)]=0-FHEAP[sa+1];FHEAP[IHEAP[e+5]+(hb+2)]=0-FHEAP[sa+2];l=FHEAP[a+99];(IHEAP[a+105]&128)!=0?(k=6,j=7):(k=6,j=8);a:for(;;)if(j==7){Mb=k==8?Mb:l;j=FHEAP[e]*Mb;k=Db;FHEAP[r]= +FHEAP[k+1]*FHEAP[s+2]-FHEAP[k+2]*FHEAP[s+1];FHEAP[p]=FHEAP[k+2]*FHEAP[s]-FHEAP[k]*FHEAP[s+2];FHEAP[q]=FHEAP[k]*FHEAP[s+1]-FHEAP[k+1]*FHEAP[s];k=u;s=q;q=r;r=s;FHEAP[k]=FHEAP[q];FHEAP[k+1]=FHEAP[p];FHEAP[k+2]=FHEAP[r];FHEAP[k+3]=0;q=j;p=u;k=Ma;FHEAP[IHEAP[e+7]]=q*(FHEAP[p]*FHEAP[k]+FHEAP[p+1]*FHEAP[k+1]+FHEAP[p+2]*FHEAP[k+2]);k=sa;FHEAP[IHEAP[e+7]+hb]=j*(FHEAP[u]*FHEAP[k]+FHEAP[u+1]*FHEAP[k+1]+FHEAP[u+2]*FHEAP[k+2]);j=(IHEAP[a+105]&64)!=0?9:10;break a}else j==8&&(Mb=l*FHEAP[e+1],k=8,j=7);a:for(;;)if(j== +9)FHEAP[IHEAP[e+8]]=FHEAP[a+102],FHEAP[IHEAP[e+8]+hb]=FHEAP[a+102],j=10;else if(j==10){rb=1;A=d;w=dc;j=A;A=w;k=w=j;j=A;_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+12,w+12,4,4,0);A=b;w=cc;j=A;A=w;k=w=j;j=A;_llvm_memcpy_p0i8_p0i8_i32(j,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(j+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(A+12,w+12,4,4,0);rb+=1;w=hb*rb;rb+=1;A=hb* +rb;FHEAP[F]=0;FHEAP[E]=0;FHEAP[D]=0;j=Xb;k=F;F=D;D=E;E=F;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[D];FHEAP[j+2]=FHEAP[E];FHEAP[j+3]=0;FHEAP[H]=0;FHEAP[J]=0;FHEAP[G]=0;j=Yb;k=H;H=G;G=J;J=H;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[G];FHEAP[j+2]=FHEAP[J];FHEAP[j+3]=0;FHEAP[N]=0;FHEAP[K]=0;FHEAP[M]=0;j=ac;k=N;N=M;M=K;K=N;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[M];FHEAP[j+2]=FHEAP[K];FHEAP[j+3]=0;FHEAP[Q]=0;FHEAP[O]=0;FHEAP[R]=0;j=bc;k=Q;Q=R;R=O;O=Q;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[R];FHEAP[j+2]=FHEAP[O];FHEAP[j+3]= +0;FHEAP[P]=0;FHEAP[L]=0;FHEAP[I]=0;j=ec;k=I;I=P;P=k;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=IHEAP[a+41]&1?11:12;break a}a:do if(j==11){j=Ob;j+=12;I=cc;I+=12;FHEAP[S]=FHEAP[j]-FHEAP[I];FHEAP[T]=FHEAP[j+1]-FHEAP[I+1];FHEAP[U]=FHEAP[j+2]-FHEAP[I+2];j=hc;I=S;L=T;P=U;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(bc,hc,4,4,0);I=bc;j=ob;FHEAP[qc]=FHEAP[I]*FHEAP[j]+FHEAP[I+1]*FHEAP[j+1]+FHEAP[I+2]*FHEAP[j+2];j=ob;I=qc;FHEAP[W]= +FHEAP[j]*FHEAP[I];FHEAP[Z]=FHEAP[j+1]*FHEAP[I];FHEAP[ca]=FHEAP[j+2]*FHEAP[I];j=pc;I=W;L=Z;P=ca;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=bc;I=pc;FHEAP[Y]=FHEAP[j]-FHEAP[I];FHEAP[ea]=FHEAP[j+1]-FHEAP[I+1];FHEAP[ha]=FHEAP[j+2]-FHEAP[I+2];j=rc;I=Y;L=ea;P=ha;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=Gb;j+=12;I=dc;I+=12;FHEAP[ba]=FHEAP[j]-FHEAP[I];FHEAP[V]=FHEAP[j+1]-FHEAP[I+1];FHEAP[aa]=FHEAP[j+2]-FHEAP[I+2];j=sc;I=ba;L=V;P=aa;FHEAP[j]=FHEAP[I]; +FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ac,sc,4,4,0);I=ac;j=ob;FHEAP[uc]=FHEAP[I]*FHEAP[j]+FHEAP[I+1]*FHEAP[j+1]+FHEAP[I+2]*FHEAP[j+2];j=ob;I=uc;FHEAP[X]=FHEAP[j]*FHEAP[I];FHEAP[ka]=FHEAP[j+1]*FHEAP[I];FHEAP[da]=FHEAP[j+2]*FHEAP[I];j=tc;I=X;L=ka;P=da;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=ac;I=tc;FHEAP[fa]=FHEAP[j]-FHEAP[I];FHEAP[ga]=FHEAP[j+1]-FHEAP[I+1];FHEAP[ja]=FHEAP[j+2]-FHEAP[I+2];j=fc;I=fa;L=ga;P=ja;FHEAP[j]=FHEAP[I]; +FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;I=FHEAP[a+300];j=a+288;FHEAP[ic]=I-FHEAP[j];j=ob;I=ic;FHEAP[la]=FHEAP[j]*FHEAP[I];FHEAP[qa]=FHEAP[j+1]*FHEAP[I];FHEAP[pa]=FHEAP[j+2]*FHEAP[I];j=kc;I=la;L=qa;P=pa;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=tc;I=kc;FHEAP[wa]=FHEAP[j]+FHEAP[I];FHEAP[ua]=FHEAP[j+1]+FHEAP[I+1];FHEAP[na]=FHEAP[j+2]+FHEAP[I+2];j=jc;I=wa;L=ua;P=na;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=jc;I=pc;FHEAP[ya]=FHEAP[j]- +FHEAP[I];FHEAP[xa]=FHEAP[j+1]-FHEAP[I+1];FHEAP[ia]=FHEAP[j+2]-FHEAP[I+2];j=gc;I=ya;L=xa;P=ia;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=gc;I=Hb;FHEAP[ma]=FHEAP[j]*FHEAP[I];FHEAP[ta]=FHEAP[j+1]*FHEAP[I];FHEAP[ra]=FHEAP[j+2]*FHEAP[I];j=lc;I=ma;L=ta;P=ra;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=fc;I=lc;FHEAP[oa]=FHEAP[j]+FHEAP[I];FHEAP[Da]=FHEAP[j+1]+FHEAP[I+1];FHEAP[Ba]=FHEAP[j+2]+FHEAP[I+2];j=mc;I=oa;L=Da;P=Ba;FHEAP[j]=FHEAP[I];FHEAP[j+ +1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ac,mc,4,4,0);j=gc;I=Lb;FHEAP[Oa]=FHEAP[j]*FHEAP[I];FHEAP[Fa]=FHEAP[j+1]*FHEAP[I];FHEAP[Ha]=FHEAP[j+2]*FHEAP[I];j=nc;I=Oa;L=Fa;P=Ha;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=rc;I=nc;FHEAP[La]=FHEAP[j]-FHEAP[I];FHEAP[Ea]=FHEAP[j+1]-FHEAP[I+1];FHEAP[Ca]=FHEAP[j+2]-FHEAP[I+2];j=vc;I=La;L=Ea;P=Ca;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(bc,vc,4, +4,0);j=rc;I=Hb;FHEAP[Aa]=FHEAP[j]*FHEAP[I];FHEAP[za]=FHEAP[j+1]*FHEAP[I];FHEAP[Ja]=FHEAP[j+2]*FHEAP[I];j=wc;I=Aa;L=za;P=Ja;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=fc;I=Lb;FHEAP[Ra]=FHEAP[j]*FHEAP[I];FHEAP[Ua]=FHEAP[j+1]*FHEAP[I];FHEAP[Xa]=FHEAP[j+2]*FHEAP[I];j=oc;I=Ra;L=Ua;P=Xa;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;j=wc;I=oc;FHEAP[Wa]=FHEAP[j]+FHEAP[I];FHEAP[Sa]=FHEAP[j+1]+FHEAP[I+1];FHEAP[Ga]=FHEAP[j+2]+FHEAP[I+2];j=xc;I=Wa;L=Sa;P= +Ga;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ma,xc,4,4,0);j=I=j=Ma;j=FHEAP[j]*FHEAP[I]+FHEAP[j+1]*FHEAP[I+1]+FHEAP[j+2]*FHEAP[I+2];j>1.1920928955078125E-7?(j=_sqrtf(j),FHEAP[Bc]=j,I=Ma,j=Bc,FHEAP[Ia]=1/FHEAP[j],j=Ia,FHEAP[I]*=FHEAP[j],FHEAP[I+1]*=FHEAP[j],FHEAP[I+2]*=FHEAP[j]):(I=j=Gb,I+=1,L=j+4,L+=1,j+=8,P=j+1,j=Cc,FHEAP[j]=FHEAP[I],FHEAP[j+1]=FHEAP[L],FHEAP[j+2]=FHEAP[P],FHEAP[j+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Ma,Cc,4,4,0));I=ob;j=Ma;FHEAP[Pa]= +FHEAP[I+1]*FHEAP[j+2]-FHEAP[I+2]*FHEAP[j+1];FHEAP[Ta]=FHEAP[I+2]*FHEAP[j]-FHEAP[I]*FHEAP[j+2];FHEAP[Va]=FHEAP[I]*FHEAP[j+1]-FHEAP[I+1]*FHEAP[j];j=Dc;I=Pa;L=Ta;P=Va;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(sa,Dc,4,4,0);I=ac;j=Ma;FHEAP[fb]=FHEAP[I+1]*FHEAP[j+2]-FHEAP[I+2]*FHEAP[j+1];FHEAP[ib]=FHEAP[I+2]*FHEAP[j]-FHEAP[I]*FHEAP[j+2];FHEAP[Na]=FHEAP[I]*FHEAP[j+1]-FHEAP[I+1]*FHEAP[j];j=Nc;I=fb;L=ib;P=Na;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+ +2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Xb,Nc,4,4,0);I=bc;j=Ma;FHEAP[Za]=FHEAP[I+1]*FHEAP[j+2]-FHEAP[I+2]*FHEAP[j+1];FHEAP[gb]=FHEAP[I+2]*FHEAP[j]-FHEAP[I]*FHEAP[j+2];FHEAP[lb]=FHEAP[I]*FHEAP[j+1]-FHEAP[I+1]*FHEAP[j];j=Oc;I=Za;L=gb;P=lb;FHEAP[j]=FHEAP[I];FHEAP[j+1]=FHEAP[L];FHEAP[j+2]=FHEAP[P];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Yb,Oc,4,4,0);I=0;b:for(;;)if(L=I,j=Xb,FHEAP[IHEAP[e+3]+(I+w)]=FHEAP[j+L],I=j=I+1,!(j<3))break b;I=0;b:for(;;)if(L=I,j=Yb,FHEAP[IHEAP[e+5]+(I+w)]=0-FHEAP[j+ +L],I=j=I+1,!(j<3))break b;L=ac;j=sa;FHEAP[$a]=FHEAP[L+1]*FHEAP[j+2]-FHEAP[L+2]*FHEAP[j+1];FHEAP[eb]=FHEAP[L+2]*FHEAP[j]-FHEAP[L]*FHEAP[j+2];FHEAP[bb]=FHEAP[L]*FHEAP[j+1]-FHEAP[L+1]*FHEAP[j];j=Pc;L=$a;P=eb;k=bb;FHEAP[j]=FHEAP[L];FHEAP[j+1]=FHEAP[P];FHEAP[j+2]=FHEAP[k];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Xb,Pc,4,4,0);L=bc;j=sa;FHEAP[sb]=FHEAP[L+1]*FHEAP[j+2]-FHEAP[L+2]*FHEAP[j+1];FHEAP[Ka]=FHEAP[L+2]*FHEAP[j]-FHEAP[L]*FHEAP[j+2];FHEAP[Ya]=FHEAP[L]*FHEAP[j+1]-FHEAP[L+1]*FHEAP[j];j=Qc;L=sb;P=Ka;k= +Ya;FHEAP[j]=FHEAP[L];FHEAP[j+1]=FHEAP[P];FHEAP[j+2]=FHEAP[k];FHEAP[j+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Yb,Qc,4,4,0);j=Ub&1?18:19;b:for(;;)if(j==18){j=a;if(!(IHEAP[j+104]&1)){j=19;continue b}L=Yb;j=Lb;FHEAP[L]*=FHEAP[j];FHEAP[L+1]*=FHEAP[j];FHEAP[L+2]*=FHEAP[j];L=Xb;j=Hb;FHEAP[L]*=FHEAP[j];FHEAP[L+1]*=FHEAP[j];FHEAP[L+2]*=FHEAP[j];j=19}else if(j==19){I=0;j=21;break b}b:for(;;)if(L=I,j=Xb,FHEAP[IHEAP[e+3]+(I+A)]=FHEAP[j+L],I=j=I+1,j<3)j=21;else{j=22;break b}I=0;b:for(;;)if(L=I,j=Yb,FHEAP[IHEAP[e+5]+(I+ +A)]=0-FHEAP[j+L],I=j=I+1,j<3)j=23;else{j=24;break b}I=0;b:for(;;)if(L=I,j=Ma,FHEAP[IHEAP[e+2]+(I+w)]=FHEAP[j+L],I=j=I+1,j<3)j=25;else{j=26;break b}for(I=0;;)if(L=I,j=sa,FHEAP[IHEAP[e+2]+(I+A)]=FHEAP[j+L],I=j=I+1,j<3)j=27;else break a}else if(j==12){I=cc;I+=12;L=dc;L+=12;FHEAP[jb]=FHEAP[I]-FHEAP[L];FHEAP[kb]=FHEAP[I+1]-FHEAP[L+1];FHEAP[tb]=FHEAP[I+2]-FHEAP[L+2];I=Rc;L=jb;P=kb;k=tb;FHEAP[I]=FHEAP[L];FHEAP[I+1]=FHEAP[P];FHEAP[I+2]=FHEAP[k];FHEAP[I+3]=0;_llvm_memcpy_p0i8_p0i8_i32(ec,Rc,4,4,0);L=ec;I= +Ma;FHEAP[Bb]=FHEAP[L+1]*FHEAP[I+2]-FHEAP[L+2]*FHEAP[I+1];FHEAP[Qa]=FHEAP[L+2]*FHEAP[I]-FHEAP[L]*FHEAP[I+2];FHEAP[wb]=FHEAP[L]*FHEAP[I+1]-FHEAP[L+1]*FHEAP[I];I=zc;L=Bb;P=Qa;k=wb;FHEAP[I]=FHEAP[L];FHEAP[I+1]=FHEAP[P];FHEAP[I+2]=FHEAP[k];I=FHEAP[I+3]=0;b:for(;;)if(L=FHEAP[Hb],P=I,j=zc,FHEAP[IHEAP[e+3]+(I+w)]=L*FHEAP[j+P],I=j=I+1,j<3)j=29;else{j=30;break b}I=0;b:for(;;)if(L=FHEAP[Lb],P=I,j=zc,FHEAP[IHEAP[e+5]+(I+w)]=L*FHEAP[j+P],I=j=I+1,j<3)j=31;else{j=32;break b}L=ec;I=sa;FHEAP[mb]=FHEAP[L+1]*FHEAP[I+ +2]-FHEAP[L+2]*FHEAP[I+1];FHEAP[yb]=FHEAP[L+2]*FHEAP[I]-FHEAP[L]*FHEAP[I+2];FHEAP[ub]=FHEAP[L]*FHEAP[I+1]-FHEAP[L+1]*FHEAP[I];I=Sc;L=mb;P=yb;k=ub;FHEAP[I]=FHEAP[L];FHEAP[I+1]=FHEAP[P];FHEAP[I+2]=FHEAP[k];FHEAP[I+3]=0;_llvm_memcpy_p0i8_p0i8_i32(zc,Sc,4,4,0);I=0;b:for(;;)if(L=FHEAP[Hb],P=I,j=zc,FHEAP[IHEAP[e+3]+(I+A)]=L*FHEAP[j+P],I=j=I+1,j<3)j=33;else{j=34;break b}I=0;b:for(;;)if(L=FHEAP[Lb],P=I,j=zc,FHEAP[IHEAP[e+5]+(I+A)]=L*FHEAP[j+P],I=j=I+1,j<3)j=35;else{j=36;break b}I=0;b:for(;;)if(L=I,j=Ma,FHEAP[IHEAP[e+ +2]+(I+w)]=FHEAP[j+L],I=j=I+1,j<3)j=37;else{j=38;break b}for(I=0;;)if(L=I,j=sa,FHEAP[IHEAP[e+2]+(I+A)]=FHEAP[j+L],I=j=I+1,j<3)j=39;else break a}while(0);S=FHEAP[a+95];(IHEAP[a+105]&32)!=0?(k=28,j=40):(k=28,j=41);a:for(;;)if(j==40){Mb=k==41?ab:S;ab=j=FHEAP[e]*Mb;S=Ma;Ma=va;Ma=ab*(FHEAP[S]*FHEAP[Ma]+FHEAP[S+1]*FHEAP[Ma+1]+FHEAP[S+2]*FHEAP[Ma+2]);FHEAP[IHEAP[e+7]+w]=Ma;Ma=j;Ma*=FHEAP[sa]*FHEAP[va]+FHEAP[sa+1]*FHEAP[va+1]+FHEAP[sa+2]*FHEAP[va+2];FHEAP[IHEAP[e+7]+A]=Ma;j=(IHEAP[a+105]&16)!=0?42:43;break a}else j== +41&&(ab=S*FHEAP[e+1],k=41,j=40);a:for(;;)if(j==42)FHEAP[IHEAP[e+8]+w]=FHEAP[a+98],FHEAP[IHEAP[e+8]+A]=FHEAP[a+98],j=43;else if(j==43){Pb=pb=0;va=a;j=IHEAP[va+103]&1?44:45;break a}a:for(;;)if(j==44)pb=a,pb+=288,pb=FHEAP[pb]*Sb,Pb=pb>0?2:1,j=45;else if(j==45){Rb=0;va=a;j=IHEAP[va+304]&1?46:47;break a}a:for(;;)if(j==46)Rb=1,j=47;else if(j==47){j=Pb!=0?48:49;break a}a:for(;;)if(j==48){rb+=1;cb=IHEAP[e+6]*rb;va=ob;FHEAP[IHEAP[e+2]+cb]=FHEAP[va];va=ob;FHEAP[IHEAP[e+2]+(cb+1)]=FHEAP[va+1];va=ob;FHEAP[IHEAP[e+ +2]+(cb+2)]=FHEAP[va+2];j=IHEAP[a+41]&1?51:52;break a}else if(j==49)if(Rb!=0)j=48;else{j=50;break a}a:for(;;){b:do if(j==50){Pb=pb=0;c=a;j=IHEAP[c+104]&1?78:79;break a}else if(j==51){if(Ub&1)break b;sa=ac;va=ob;FHEAP[db]=FHEAP[sa+1]*FHEAP[va+2]-FHEAP[sa+2]*FHEAP[va+1];FHEAP[vb]=FHEAP[sa+2]*FHEAP[va]-FHEAP[sa]*FHEAP[va+2];FHEAP[Fb]=FHEAP[sa]*FHEAP[va+1]-FHEAP[sa+1]*FHEAP[va];va=Fc;sa=db;Ma=vb;ab=Fb;FHEAP[va]=FHEAP[sa];FHEAP[va+1]=FHEAP[Ma];FHEAP[va+2]=FHEAP[ab];FHEAP[va+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Xb, +Fc,4,4,0);sa=bc;va=ob;FHEAP[zb]=FHEAP[sa+1]*FHEAP[va+2]-FHEAP[sa+2]*FHEAP[va+1];FHEAP[Kb]=FHEAP[sa+2]*FHEAP[va]-FHEAP[sa]*FHEAP[va+2];FHEAP[nb]=FHEAP[sa]*FHEAP[va+1]-FHEAP[sa+1]*FHEAP[va];va=Gc;sa=zb;Ma=Kb;ab=nb;FHEAP[va]=FHEAP[sa];FHEAP[va+1]=FHEAP[Ma];FHEAP[va+2]=FHEAP[ab];FHEAP[va+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Yb,Gc,4,4,0);va=Xb;FHEAP[IHEAP[e+3]+cb]=FHEAP[va];va=Xb;FHEAP[IHEAP[e+3]+(cb+1)]=FHEAP[va+1];va=Xb;FHEAP[IHEAP[e+3]+(cb+2)]=FHEAP[va+2];va=Yb;FHEAP[IHEAP[e+5]+cb]=0-FHEAP[va];va=Yb;FHEAP[IHEAP[e+ +5]+(cb+1)]=0-FHEAP[va+1];va=Yb;FHEAP[IHEAP[e+5]+(cb+2)]=0-FHEAP[va+2]}else j==52&&(sa=ec,va=ob,FHEAP[Cb]=FHEAP[sa+1]*FHEAP[va+2]-FHEAP[sa+2]*FHEAP[va+1],FHEAP[Eb]=FHEAP[sa+2]*FHEAP[va]-FHEAP[sa]*FHEAP[va+2],FHEAP[Ib]=FHEAP[sa]*FHEAP[va+1]-FHEAP[sa+1]*FHEAP[va],va=Hc,sa=Cb,Ma=Eb,ab=Ib,FHEAP[va]=FHEAP[sa],FHEAP[va+1]=FHEAP[Ma],FHEAP[va+2]=FHEAP[ab],FHEAP[va+3]=0,_llvm_memcpy_p0i8_p0i8_i32(yc,Hc,4,4,0),sa=FHEAP[Hb],va=yc,FHEAP[IHEAP[e+3]+cb]=sa*FHEAP[va],sa=FHEAP[Hb],va=yc,FHEAP[IHEAP[e+3]+(cb+1)]=sa* +FHEAP[va+1],sa=FHEAP[Hb],va=yc,FHEAP[IHEAP[e+3]+(cb+2)]=sa*FHEAP[va+2],sa=FHEAP[Lb],va=yc,FHEAP[IHEAP[e+5]+cb]=sa*FHEAP[va],sa=FHEAP[Lb],va=yc,FHEAP[IHEAP[e+5]+(cb+1)]=sa*FHEAP[va+1],sa=FHEAP[Lb],va=yc,FHEAP[IHEAP[e+5]+(cb+2)]=sa*FHEAP[va+2]);while(0);va=a;va=FHEAP[va+75];sa=a;sa=FHEAP[sa+76];j=Pb!=0?56:57;b:for(;;)if(j==56){if(va!=sa){j=57;continue b}Rb=0;j=57}else if(j==57){FHEAP[IHEAP[e+7]+cb]=0;FHEAP[IHEAP[e+9]+cb]=0;FHEAP[IHEAP[e+10]+cb]=0;j=(IHEAP[a+105]&512)!=0?59:60;break b}if(j==59)var Xc= +FHEAP[a+87],k=59;else if(j==60)var Yc=FHEAP[e+1],k=60;Mb=k==59?Xc:Yc;j=Rb!=0?62:63;b:for(;;)if(j==62)for(j=(IHEAP[a+105]&1)!=0?64:65;;)if(j==64)FHEAP[IHEAP[e+8]+cb]=FHEAP[a+82],j=65;else{if(j==65){Ma=a;Ma=FHEAP[Ma+305];Ma=__ZN17btTypedConstraint14getMotorFactorEfffff(a,FHEAP[a+300],FHEAP[a+75],FHEAP[a+76],Ma,FHEAP[e]*Mb);ab=Sb*Ma;Ma=a;FHEAP[IHEAP[e+7]+cb]-=ab*FHEAP[Ma+305];Ma=a;FHEAP[IHEAP[e+9]+cb]+=(0-FHEAP[Ma+306])*FHEAP[e];Ma=a;FHEAP[IHEAP[e+10]+cb]+=FHEAP[Ma+306]*FHEAP[e];j=63;continue b}}else if(j== +63)if(Pb!=0)break b;else{j=50;continue a}j=FHEAP[e]*Mb;FHEAP[IHEAP[e+7]+cb]+=j*pb;j=(IHEAP[a+105]&256)!=0?67:68;b:for(;;)if(j==67)FHEAP[IHEAP[e+8]+cb]=FHEAP[a+90],j=68;else if(j==68){j=va==sa?69:70;break b}j==69?(FHEAP[IHEAP[e+9]+cb]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+cb]=3.4028234663852886E38):j==70&&(va=IHEAP[e+9]+cb,Pb==1?(FHEAP[va]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+cb]=0):(FHEAP[va]=0,FHEAP[IHEAP[e+10]+cb]=3.4028234663852886E38));va=a;va=1-FHEAP[va+89];va=sa=_fabsf(va);for(j=sa>0? +72:73;;)if(j==72){Ma=c;sa=ob;sa=FHEAP[Ma]*FHEAP[sa]+FHEAP[Ma+1]*FHEAP[sa+1]+FHEAP[Ma+2]*FHEAP[sa+2];ab=f;Ma=ob;sa-=FHEAP[ab]*FHEAP[Ma]+FHEAP[ab+1]*FHEAP[Ma+1]+FHEAP[ab+2]*FHEAP[Ma+2];sa*=Sb;Ma=sa;if(Pb==1){if(!(Ma<0)){j=73;continue}sa*=0-va;if(!(sa>FHEAP[IHEAP[e+7]+cb])){j=73;continue}}else{if(!(Ma>0)){j=73;continue}sa*=0-va;if(!(sa<FHEAP[IHEAP[e+7]+cb])){j=73;continue}}FHEAP[IHEAP[e+7]+cb]=sa;j=73}else if(j==73){va=a;FHEAP[IHEAP[e+7]+cb]*=FHEAP[va+87];j=50;continue a}}a:for(;;)if(j==78)pb=a,pb=FHEAP[pb+ +302],Pb=pb>0?1:2,j=79;else if(j==79){Rb=0;c=a;j=IHEAP[c+308]&1?80:81;break a}a:for(;;)if(j==80)Rb=1,j=81;else if(j==81){j=Pb!=0?82:83;break a}a:for(;;)if(j==82){rb+=1;cb=IHEAP[e+6]*rb;qb=ob;FHEAP[IHEAP[e+3]+cb]=FHEAP[qb];qb=ob;FHEAP[IHEAP[e+3]+(cb+1)]=FHEAP[qb+1];qb=ob;FHEAP[IHEAP[e+3]+(cb+2)]=FHEAP[qb+2];qb=ob;FHEAP[IHEAP[e+5]+cb]=0-FHEAP[qb];qb=ob;FHEAP[IHEAP[e+5]+(cb+1)]=0-FHEAP[qb+1];qb=ob;FHEAP[IHEAP[e+5]+(cb+2)]=0-FHEAP[qb+2];qb=a;qb=FHEAP[qb+77];Nb=a;Nb=FHEAP[Nb+78];j=Pb!=0?85:86;break a}else if(j== +83)if(Rb!=0)j=82;else{j=84;break a}a:for(;;)if(j==84){STACKTOP=i;break}else if(j==85){if(qb!=Nb){j=86;continue a}Rb=0;j=86}else if(j==86){if((IHEAP[a+105]&2048)!=0)var Zc=FHEAP[a+91],k=88;else var $c=FHEAP[e+1],k=90;Mb=k==88?Zc:$c;j=Rb!=0?91:92;b:for(;;)if(j==91)for(j=(IHEAP[a+105]&4)!=0?93:94;;)if(j==93)FHEAP[IHEAP[e+8]+cb]=FHEAP[a+86],j=94;else{if(j==94){c=a;f=FHEAP[a+301];db=FHEAP[a+77];vb=FHEAP[a+78];rb=a;c=rb=__ZN17btTypedConstraint14getMotorFactorEfffff(c,f,db,vb,FHEAP[rb+309],FHEAP[e]*Mb); +rb=a;FHEAP[IHEAP[e+7]+cb]=c*FHEAP[rb+309];rb=a;FHEAP[IHEAP[e+9]+cb]=(0-FHEAP[rb+310])*FHEAP[e];rb=a;FHEAP[IHEAP[e+10]+cb]=FHEAP[rb+310]*FHEAP[e];j=92;continue b}}else if(j==92)if(Pb!=0)break b;else{j=84;continue a}j=FHEAP[e]*Mb;FHEAP[IHEAP[e+7]+cb]+=j*pb;j=(IHEAP[a+105]&1024)!=0?96:97;b:for(;;)if(j==96)FHEAP[IHEAP[e+8]+cb]=FHEAP[a+94],j=97;else if(j==97){j=qb==Nb?98:99;break b}j==98?(FHEAP[IHEAP[e+9]+cb]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+cb]=3.4028234663852886E38):j==99&&(rb=IHEAP[e+9]+cb, +Pb==1?(FHEAP[rb]=0,FHEAP[IHEAP[e+10]+cb]=3.4028234663852886E38):(FHEAP[rb]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+cb]=0));rb=a;rb=1-FHEAP[rb+93];rb=c=_fabsf(rb);for(j=c>0?101:102;;)if(j==101){c=IHEAP[a+10];f=c+272;c=ob;c=FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2];f=IHEAP[a+11];db=f+272;f=ob;c-=FHEAP[db]*FHEAP[f]+FHEAP[db+1]*FHEAP[f+1]+FHEAP[db+2]*FHEAP[f+2];f=c;if(Pb==1){if(!(f<0)){j=102;continue}c*=0-rb;if(!(c>FHEAP[IHEAP[e+7]+cb])){j=102;continue}}else{if(!(f>0)){j=102;continue}c*= +0-rb;if(!(c<FHEAP[IHEAP[e+7]+cb])){j=102;continue}}FHEAP[IHEAP[e+7]+cb]=c;j=102}else if(j==102){rb=a;FHEAP[IHEAP[e+7]+cb]*=FHEAP[rb+91];j=84;continue a}}} +function __ZN18btSliderConstraint8setParamEifi(a,e,d,b){for(e=e==2?4:e==3?5:e==4?6:0;;)if(e==0)break;else if(e==4){if(b<1)FHEAP[a+87]=d,IHEAP[a+105]|=512;else if(b<3)FHEAP[a+95]=d,IHEAP[a+105]|=32;else if(b==3)FHEAP[a+91]=d,IHEAP[a+105]|=2048;else{if(!(b<6)){e=0;continue}FHEAP[a+99]=d;IHEAP[a+105]|=128}e=0}else if(e==5){if(b<1)FHEAP[a+82]=d,IHEAP[a+105]|=1;else{if(b!=3){e=0;continue}FHEAP[a+86]=d;IHEAP[a+105]|=4}e=0}else if(e==6){if(b<1)FHEAP[a+90]=d,IHEAP[a+105]|=256;else if(b<3)FHEAP[a+98]=d,IHEAP[a+ +105]|=16;else if(b==3)FHEAP[a+94]=d,IHEAP[a+105]|=1024;else{if(!(b<6)){e=0;continue}FHEAP[a+102]=d;IHEAP[a+105]|=64}e=0}} +function __ZNK18btSliderConstraint8getParamEii(a,e,d){var b;b=3.4028234663852886E38;for(e=e==2?4:e==3?5:e==4?6:0;;)if(e==0)return b;else if(e==4){if(d<1)b=FHEAP[a+87];else if(d<3)b=FHEAP[a+95];else if(d==3)b=FHEAP[a+91];else{if(!(d<6)){e=0;continue}b=FHEAP[a+99]}e=0}else if(e==5){if(d<1)b=FHEAP[a+82];else{if(d!=3){e=0;continue}b=FHEAP[a+86]}e=0}else if(e==6){if(d<1)b=FHEAP[a+90];else if(d<3)b=FHEAP[a+98];else if(d==3)b=FHEAP[a+94];else{if(!(d<6)){e=0;continue}b=FHEAP[a+102]}e=0}return null} +function __ZN18btSliderConstraintD1Ev(a){IHEAP[a]=__ZTV18btSliderConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN18btSliderConstraintD0Ev(a){IHEAP[a]=__ZTV18btSliderConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZNK18btSliderConstraint28calculateSerializeBufferSizeEv(){return 196} +function __ZNK18btSliderConstraint9serializeEPvP12btSerializer(a,e,d){var b,c,f,g;__ZNK17btTypedConstraint9serializeEPvP12btSerializer(a,e,d);b=e+14;d=a+42;g=0;a:for(;;){f=b+g*4;var h=c=d+g*4;for(c=0;;){FHEAP[f+c]=FHEAP[h+c];var i=c+1;c=i;if(!(i<4))break}g=f=g+1;if(!(f<3))break a}g=b+12;d+=12;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;b=e+30;d=a+58;g=0;a:for(;;){f=b+g*4;h=c=d+g*4;for(c=0;;)if(FHEAP[f+c]=FHEAP[h+c],c=i=c+1,!(i<4))break;g=f=g+1;if(!(f<3))break a}g=b+12;d+=12;for(b= +0;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+46]=FHEAP[a+76];FHEAP[e+47]=FHEAP[a+75];FHEAP[e+48]=FHEAP[a+78];FHEAP[e+49]=FHEAP[a+77];IHEAP[e+50]=IHEAP[a+74]&1;IHEAP[e+51]=IHEAP[a+41]&1;return __str6330} +function __ZN21btConeTwistConstraintC2ER11btRigidBodyS1_RK11btTransformS4_(a,e,d,b,c){IHEAP[a+4]=5;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;IHEAP[a+11]=d;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV21btConeTwistConstraint+2;for(e=0;;)if(e=d=e+1,!(d<3))break;e=a+103;_llvm_memcpy_p0i8_p0i8_i32(e,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+ +12,b+12,4,4,0);b=a+119;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);IHEAP[a+159]=0;IHEAP[a+162]=0;IHEAP[a+159]=0;IHEAP[a+160]=0;IHEAP[a+161]=0;IHEAP[a+169]=0;FHEAP[a+189]=-1;FHEAP[a+139]=999999984306749440;FHEAP[a+140]=999999984306749440;FHEAP[a+141]=999999984306749440;FHEAP[a+135]=1;FHEAP[a+136]=0.30000001192092896;FHEAP[a+137]=1;FHEAP[a+138]=0.009999999776482582;FHEAP[a+142]= +0.05000000074505806;IHEAP[a+194]=0;FHEAP[a+195]=0;FHEAP[a+196]=0.699999988079071;FHEAP[a+197]=0} +function __ZN21btConeTwistConstraint4initEv(a){IHEAP[a+159]=0;IHEAP[a+160]=0;IHEAP[a+161]=0;IHEAP[a+169]=0;FHEAP[a+189]=-1;FHEAP[a+139]=999999984306749440;FHEAP[a+140]=999999984306749440;FHEAP[a+141]=999999984306749440;FHEAP[a+135]=1;FHEAP[a+136]=0.30000001192092896;FHEAP[a+137]=1;FHEAP[a+138]=0.009999999776482582;FHEAP[a+142]=0.05000000074505806;IHEAP[a+194]=0;FHEAP[a+195]=0;FHEAP[a+196]=0.699999988079071;FHEAP[a+197]=0} +function __ZN21btConeTwistConstraintC2ER11btRigidBodyRK11btTransform(a,e,d){IHEAP[a+4]=5;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;e=a+11;__ZN17btTypedConstraint12getFixedBodyEv();IHEAP[e]=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV21btConeTwistConstraint+2;for(e=0;;){var b=e+1,e=b;if(!(b<3))break}e=a+103;_llvm_memcpy_p0i8_p0i8_i32(e,d,4, +4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);IHEAP[a+159]=0;IHEAP[a+162]=0;e=a+103;d=a+119;_llvm_memcpy_p0i8_p0i8_i32(d,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,e+12,4,4,0);IHEAP[a+159]=0;IHEAP[a+160]=0;IHEAP[a+161]=0;IHEAP[a+169]=0;FHEAP[a+189]=-1;FHEAP[a+139]=999999984306749440;FHEAP[a+140]=999999984306749440;FHEAP[a+141]=999999984306749440; +FHEAP[a+135]=1;FHEAP[a+136]=0.30000001192092896;FHEAP[a+137]=1;FHEAP[a+138]=0.009999999776482582;FHEAP[a+142]=0.05000000074505806;IHEAP[a+194]=0;FHEAP[a+195]=0;FHEAP[a+196]=0.699999988079071;FHEAP[a+197]=0} +function __ZN21btConeTwistConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E(a,e){var d,b,c,f=IHEAP[a+162]&1;a:do if(f)IHEAP[e]=0,IHEAP[e+1]=0;else{IHEAP[e]=3;IHEAP[e+1]=3;d=IHEAP[a+10];d+=1;c=IHEAP[a+11];c+=1;b=IHEAP[a+10];var g=b+256;b=IHEAP[a+11];__ZN21btConeTwistConstraint14calcAngleInfo2ERK11btTransformS2_RK11btMatrix3x3S5_(a,d,c,g,b+256);for(d=IHEAP[a+161]&1?1:2;;)if(d==1)IHEAP[e]+=1,IHEAP[e+1]+=-1,FHEAP[a+139]<FHEAP[a+142]&&FHEAP[a+140]<FHEAP[a+142]&&(IHEAP[e]+=1,IHEAP[e+1]+=-1), +d=2;else if(d==2)if(IHEAP[a+160]&1)break;else break a;IHEAP[e]+=1;IHEAP[e+1]+=-1}while(0)} +function __ZN21btConeTwistConstraint14calcAngleInfo2ERK11btTransformS2_RK11btMatrix3x3S5_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=507;var g,h,i,j,k=f+1,l,m,n=f+2,o=f+3,q=f+4,p=f+5,r=f+6,s=f+7,u,v,y,x=f+8,z=f+9,B=f+10,C=f+11,A=f+12,w=f+13,D=f+14,E=f+15,F=f+16,G=f+17,J=f+18,H=f+19,M=f+23,K=f+27,N=f+28,R=f+29,O=f+30,Q=f+34,I=f+38,L=f+39,P=f+40,S,T,U,W,Z,ca;U=f+41;T=f+42;S=f+43;var Y;Z=f+44;var ea;ca=f+45;var ha,ba,V,aa;ba=f+46;ha=f+47;ea=f+48;var X;j=f+49;l=f+50;var ka,da,fa,ga=f+51;fa=f+63;var ja,la=f+ +67,qa=f+79,pa=f+83,wa=f+95,ua=f+99,na=f+111,ya,xa,ia=f+115,ma=f+131,ta=f+135,ra=f+136,oa=f+137,Da=f+138,Ba=f+154;ka=f+170;var Oa=f+186,Fa=f+202;i=f+218;m=f+234;var Ha=f+238,La=f+254,Ea=f+270,Ca=f+286;V=f+302;aa=f+318;var Aa=f+334;Y=f+350;W=f+366;h=f+370;var za=f+386,Ja=f+402,Ra=f+418,Ua=f+419,Xa=f+420,Wa=f+424,Sa=f+428,Ga=f+432,Ia=f+433,Pa=f+434,Ta=f+435,Va=f+439,fb=f+443;xa=f+447;var ib=f+451;ya=f+455;var Na=f+459;ja=f+463;var Za=f+467,gb=f+471,lb=f+475,$a=f+479,eb=f+483,bb=f+487,sb=f+491,Ka=f+495, +Ya=f+499,jb=f+503;FHEAP[a+154]=0;FHEAP[a+153]=0;IHEAP[a+160]=0;IHEAP[a+161]=0;g=IHEAP[a+169]&1?0:1;a:for(;;)if(g==0)if(IHEAP[a+162]&1)g=1;else{g=2;break a}else if(g==1){g=e;__ZNK11btMatrix3x311getRotationER12btQuaternion(g,La);g=a+103;__ZNK11btMatrix3x311getRotationER12btQuaternion(g,Ea);__ZmlRK12btQuaternionS1_(Ha,La,Ea);g=d;__ZNK11btMatrix3x311getRotationER12btQuaternion(g,V);g=a+119;__ZNK11btMatrix3x311getRotationER12btQuaternion(g,aa);__ZmlRK12btQuaternionS1_(Ca,V,aa);g=Ca;FHEAP[ba]=0-FHEAP[g]; +FHEAP[ha]=0-FHEAP[g+1];FHEAP[ea]=0-FHEAP[g+2];aa=g+3;g=Y;V=ea;ea=ba;ba=V;V=aa;FHEAP[g]=FHEAP[ea];FHEAP[g+1]=FHEAP[ha];FHEAP[g+2]=FHEAP[ba];FHEAP[g+3]=FHEAP[V];__ZmlRK12btQuaternionS1_(Aa,Y,Ha);__Z10quatRotateRK12btQuaternionRK9btVector3(W,Aa,__ZL6vTwist);g=ea=g=Y=W;g=FHEAP[g]*FHEAP[ea]+FHEAP[g+1]*FHEAP[ea+1]+FHEAP[g+2]*FHEAP[ea+2];g=_sqrtf(g);FHEAP[ca]=g;FHEAP[Z]=1/FHEAP[ca];ca=Y;FHEAP[ca]*=FHEAP[Z];FHEAP[ca+1]*=FHEAP[Z];FHEAP[ca+2]*=FHEAP[Z];__Z15shortestArcQuatRK9btVector3S1_(h,__ZL6vTwist,W);__ZN12btQuaternion9normalizeEv(h); +W=h;FHEAP[U]=0-FHEAP[W];FHEAP[T]=0-FHEAP[W+1];FHEAP[S]=0-FHEAP[W+2];ca=W+3;W=Ja;Z=T;T=U;U=Z;Z=S;S=W;W=Z;Z=ca;FHEAP[S]=FHEAP[T];FHEAP[S+1]=FHEAP[U];FHEAP[S+2]=FHEAP[W];FHEAP[S+3]=FHEAP[Z];__ZmlRK12btQuaternionS1_(za,Ja,Aa);__ZN12btQuaternion9normalizeEv(za);g=FHEAP[a+139]>=FHEAP[a+142]?9:10;break a}a:for(;;)if(g==2){X=a+173;FHEAP[ta]=0;FHEAP[ra]=0;FHEAP[oa]=0;da=ma;ja=ta;ya=ra;xa=oa;FHEAP[da]=FHEAP[ja];FHEAP[da+1]=FHEAP[ya];FHEAP[da+2]=FHEAP[xa];FHEAP[da+3]=0;da=ia;ya=ja=ma;ja=X;X=ya;ya=ja;ja=da;__ZN11btMatrix3x311setRotationERK12btQuaternion(ja, +ya);_llvm_memcpy_p0i8_p0i8_i32(da+12,X,4,4,0);da=a+103;X=e;__ZmlRK11btMatrix3x3S1_(ua,X,da);__ZNK11btTransformclERK9btVector3(na,X,da+12);X=Da;da=ua;e=na;ja=da;da=X;X=e;e=ja;ja=da;_llvm_memcpy_p0i8_p0i8_i32(ja,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ja+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ja+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+12,X,4,4,0);da=a+119;X=d;d=da;__ZmlRK11btMatrix3x3S1_(pa,X,d);__ZNK11btTransformclERK9btVector3(wa,X,d+12);X=Ba;d=pa;ja=wa;da=d;d=X;X=ja;ja=da;da=d;_llvm_memcpy_p0i8_p0i8_i32(da, +ja,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+4,ja+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+8,ja+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,X,4,4,0);X=Ba;d=ia;__ZmlRK11btMatrix3x3S1_(la,X,d);__ZNK11btTransformclERK9btVector3(qa,X,d+12);X=Oa;d=la;ja=qa;da=d;d=X;X=ja;ja=da;da=d;_llvm_memcpy_p0i8_p0i8_i32(da,ja,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+4,ja+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+8,ja+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,X,4,4,0);__ZNK11btTransform7inverseEv(Fa,Da);X=Oa;d=Fa;__ZmlRK11btMatrix3x3S1_(ga, +X,d);__ZNK11btTransformclERK9btVector3(fa,X,d+12);X=ka;da=d=ga;d=X;X=fa;fa=da;da=d;_llvm_memcpy_p0i8_p0i8_i32(da,fa,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+4,fa+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(da+8,fa+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(d+12,X,4,4,0);X=ka;__ZNK11btMatrix3x311getRotationER12btQuaternion(X,i);X=d=X=i;ka=X+1;X=i;da=X+2;X=m;FHEAP[X]=FHEAP[d];FHEAP[X+1]=FHEAP[ka];FHEAP[X+2]=FHEAP[da];FHEAP[X+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+143,m,4,4,0);m=d=m=X=a+143;m=FHEAP[m]*FHEAP[d]+FHEAP[m+1]*FHEAP[d+ +1]+FHEAP[m+2]*FHEAP[d+2];m=_sqrtf(m);FHEAP[l]=m;FHEAP[j]=1/FHEAP[l];FHEAP[X]*=FHEAP[j];FHEAP[X+1]*=FHEAP[j];FHEAP[X+2]*=FHEAP[j];X=i;da=X=FHEAP[X+3];g=da<-1?3:4;break a}else if(g==9)if(FHEAP[a+140]>=FHEAP[a+142]){g=11;break a}else g=10;else if(g==10){v=e;y=u=a+103;y+=0;i=u+4;i+=0;u+=8;j=u+0;u=Va;FHEAP[u]=FHEAP[y];FHEAP[u+1]=FHEAP[i];FHEAP[u+2]=FHEAP[j];FHEAP[u+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(Ta,v,Va);v=e;y=u=a+103;y+=1;i=u+4;i+=1;u+=8;j=u+1;u=xa;FHEAP[u]=FHEAP[y];FHEAP[u+1]=FHEAP[i];FHEAP[u+ +2]=FHEAP[j];FHEAP[u+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(fb,v,xa);v=e;y=u=a+103;y+=2;i=u+4;i+=2;u+=8;j=u+2;u=ya;FHEAP[u]=FHEAP[y];FHEAP[u+1]=FHEAP[i];FHEAP[u+2]=FHEAP[j];FHEAP[u+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(ib,v,ya);v=d;y=u=a+119;y+=0;i=u+4;i+=0;u+=8;j=u+0;u=ja;FHEAP[u]=FHEAP[y];FHEAP[u+1]=FHEAP[i];FHEAP[u+2]=FHEAP[j];FHEAP[u+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(Na,v,ja);u=Na;v=Ta;v=FHEAP[u]*FHEAP[v]+FHEAP[u+1]*FHEAP[v+1]+FHEAP[u+2]*FHEAP[v+2];y=Na;u=fb;u=FHEAP[y]*FHEAP[u]+FHEAP[y+1]*FHEAP[u+ +1]+FHEAP[y+2]*FHEAP[u+2];i=Na;y=ib;y=FHEAP[i]*FHEAP[y]+FHEAP[i+1]*FHEAP[y+1]+FHEAP[i+2]*FHEAP[y+2];g=FHEAP[a+139]<FHEAP[a+142]?17:18;break a}a:for(;;)if(g==3){X=-1;g=5;break a}else if(g==4){g=da>1?6:5;break a}else if(g==11){FHEAP[Ua]=0;__ZN21btConeTwistConstraint20computeConeLimitInfoERK12btQuaternionRfR9btVector3S3_(a,h,Ra,Xa,Ua);g=FHEAP[Ra]>FHEAP[Ua]*FHEAP[a+135]?12:13;break a}else if(g==17)if(FHEAP[a+140]<FHEAP[a+142]){g=19;break a}else g=18;else if(g==18){g=FHEAP[a+139]<FHEAP[a+142]?22:23;break a}a:for(;;){b:do if(g== +5){k=2*_acosf(X);FHEAP[a+154]=k;k=FHEAP[a+154];g=_fabsf(k)<1.1920928955078125E-7?7:8;break a}else if(g==6){X=1;g=5;continue a}else if(g==12){IHEAP[a+161]=1;FHEAP[a+163]=1;for(g=FHEAP[Ra]<FHEAP[Ua]?14:15;;)if(g==14)FHEAP[a+135]<0.9999998807907104&&(FHEAP[a+163]=(FHEAP[Ra]-FHEAP[Ua]*FHEAP[a+135])/(FHEAP[Ua]-FHEAP[Ua]*FHEAP[a+135])),g=15;else if(g==15){FHEAP[a+154]=FHEAP[Ra]-FHEAP[Ua]*FHEAP[a+135];__ZNK21btConeTwistConstraint33adjustSwingAxisToUseEllipseNormalER9btVector3(a,Xa);h=a+143;i=Xa;FHEAP[I]= +0-FHEAP[i];FHEAP[L]=0-FHEAP[i+1];FHEAP[P]=0-FHEAP[i+2];i=Wa;j=I;l=L;m=P;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;__Z10quatRotateRK12btQuaternionRK9btVector3(Sa,Ca,Wa);_llvm_memcpy_p0i8_p0i8_i32(h,Sa,4,4,0);h=a+165;FHEAP[Ga]=0;FHEAP[Ia]=0;FHEAP[Pa]=0;l=h;h=Ga;i=Ia;j=Pa;FHEAP[l]=FHEAP[h];FHEAP[l+1]=FHEAP[i];FHEAP[l+2]=FHEAP[j];FHEAP[l+3]=0;i=b;h=a+143;__ZmlRK9btVector3RK11btMatrix3x3(Q,h,i);i=h;h=Q;h=FHEAP[i]*FHEAP[h]+FHEAP[i+1]*FHEAP[h+1]+FHEAP[i+2]*FHEAP[h+2];j=c;i=a+ +143;__ZmlRK9btVector3RK11btMatrix3x3(O,i,j);j=i;i=O;FHEAP[a+151]=1/(h+(FHEAP[j]*FHEAP[i]+FHEAP[j+1]*FHEAP[i+1]+FHEAP[j+2]*FHEAP[i+2]));g=13;continue a}}else if(g==13){var kb=a+156;g=FHEAP[a+141]>=0?32:33;break a}else if(g==19){h=u;for(g=_fabsf(h)<1.1920928955078125E-7?20:21;;)if(g==20)if(h=y,_fabsf(h)<1.1920928955078125E-7){g=13;continue a}else g=21;else if(g==21){IHEAP[a+161]=1;h=a+143;j=Na;i=Ta;FHEAP[w]=FHEAP[j+1]*FHEAP[i+2]-FHEAP[j+2]*FHEAP[i+1];FHEAP[D]=FHEAP[j+2]*FHEAP[i]-FHEAP[j]*FHEAP[i+2]; +FHEAP[E]=FHEAP[j]*FHEAP[i+1]-FHEAP[j+1]*FHEAP[i];i=gb;j=w;l=D;m=E;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;i=gb;FHEAP[x]=0-FHEAP[i];FHEAP[z]=0-FHEAP[i+1];FHEAP[B]=0-FHEAP[i+2];i=lb;j=x;l=z;m=B;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(h,lb,4,4,0);g=13;continue a}}else if(g==22){h=u;if(_fabsf(h)<1.1920928955078125E-7)break b;IHEAP[a+161]=1;if(!(FHEAP[a+140]>=FHEAP[a+142]))break b;u=0;i=v;h=y;h=_atan2f(h,i);if(h>FHEAP[a+ +140])v=FHEAP[a+140],v=_cosf(v),y=FHEAP[a+140],y=_sinf(y);else{if(!(h<0-FHEAP[a+140]))break b;v=FHEAP[a+140];v=_cosf(v);y=FHEAP[a+140];y=0-_sinf(y)}}else if(g==23){h=y;if(_fabsf(h)<1.1920928955078125E-7)break b;IHEAP[a+161]=1;if(!(FHEAP[a+139]>=FHEAP[a+142]))break b;y=0;i=v;h=u;h=_atan2f(h,i);if(h>FHEAP[a+139])v=FHEAP[a+139],v=_cosf(v),u=FHEAP[a+139],u=_sinf(u);else{if(!(h<0-FHEAP[a+139]))break b;v=FHEAP[a+139];v=_cosf(v);u=FHEAP[a+139];u=0-_sinf(u)}}while(0);i=v;h=Ta;i*=FHEAP[h];j=u;h=fb;i+=j*FHEAP[h]; +j=y;h=ib;i+=j*FHEAP[h];h=Za;FHEAP[h]=i;i=v;h=Ta;i*=FHEAP[h+1];j=u;h=fb;i+=j*FHEAP[h+1];j=y;h=ib;i+=j*FHEAP[h+1];h=Za;FHEAP[h+1]=i;i=v;h=Ta;i*=FHEAP[h+2];j=u;h=fb;i+=j*FHEAP[h+2];j=y;h=ib;i+=j*FHEAP[h+2];h=Za;FHEAP[h+2]=i;i=j=i=h=Za;i=FHEAP[i]*FHEAP[j]+FHEAP[i+1]*FHEAP[j+1]+FHEAP[i+2]*FHEAP[j+2];i=_sqrtf(i);FHEAP[k]=i;i=h;h=k;FHEAP[f]=1/FHEAP[h];h=f;FHEAP[i]*=FHEAP[h];FHEAP[i+1]*=FHEAP[h];FHEAP[i+2]*=FHEAP[h];h=a+143;j=Na;i=Za;FHEAP[n]=FHEAP[j+1]*FHEAP[i+2]-FHEAP[j+2]*FHEAP[i+1];FHEAP[o]=FHEAP[j+2]* +FHEAP[i]-FHEAP[j]*FHEAP[i+2];FHEAP[q]=FHEAP[j]*FHEAP[i+1]-FHEAP[j+1]*FHEAP[i];i=$a;j=n;l=o;m=q;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;i=$a;FHEAP[p]=0-FHEAP[i];FHEAP[r]=0-FHEAP[i+1];FHEAP[s]=0-FHEAP[i+2];i=eb;j=p;l=r;m=s;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[l];FHEAP[i+2]=FHEAP[m];FHEAP[i+3]=0;_llvm_memcpy_p0i8_p0i8_i32(h,eb,4,4,0);h=i=h=a+143;h=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2];h=_sqrtf(h);FHEAP[a+154]=h;i=j=i=h=a+143;i=FHEAP[i]*FHEAP[j]+FHEAP[i+ +1]*FHEAP[j+1]+FHEAP[i+2]*FHEAP[j+2];i=_sqrtf(i);FHEAP[A]=i;i=h;h=A;FHEAP[C]=1/FHEAP[h];h=C;FHEAP[i]*=FHEAP[h];FHEAP[i+1]*=FHEAP[h];FHEAP[i+2]*=FHEAP[h];g=13}a:for(;;)if(g==7){STACKTOP=f;break}else if(g==8)IHEAP[a+161]=1,g=7;else if(g==32){__ZN21btConeTwistConstraint21computeTwistLimitInfoERK12btQuaternionRfR9btVector3(a,za,kb,bb);g=FHEAP[a+156]>FHEAP[a+141]*FHEAP[a+135]?34:35;b:for(;;)if(g==34){IHEAP[a+160]=1;FHEAP[a+164]=1;for(g=FHEAP[a+156]<FHEAP[a+141]?36:37;;)if(g==36)FHEAP[a+135]<0.9999998807907104&& +(FHEAP[a+164]=(FHEAP[a+156]-FHEAP[a+141]*FHEAP[a+135])/(FHEAP[a+141]-FHEAP[a+141]*FHEAP[a+135])),g=37;else if(g==37){FHEAP[a+155]=FHEAP[a+156]-FHEAP[a+141]*FHEAP[a+135];k=a+147;n=bb;FHEAP[F]=0-FHEAP[n];FHEAP[G]=0-FHEAP[n+1];FHEAP[J]=0-FHEAP[n+2];n=sb;o=F;q=G;p=J;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;__Z10quatRotateRK12btQuaternionRK9btVector3(Ka,Ca,sb);_llvm_memcpy_p0i8_p0i8_i32(k,Ka,4,4,0);n=b;k=a+147;__ZmlRK9btVector3RK11btMatrix3x3(H,k,n);n=k;k=H;k=FHEAP[n]*FHEAP[k]+ +FHEAP[n+1]*FHEAP[k+1]+FHEAP[n+2]*FHEAP[k+2];o=c;n=a+147;__ZmlRK9btVector3RK11btMatrix3x3(M,n,o);o=n;n=M;FHEAP[a+152]=1/(k+(FHEAP[o]*FHEAP[n]+FHEAP[o+1]*FHEAP[n+1]+FHEAP[o+2]*FHEAP[n+2]));g=35;continue b}}else if(g==35)if(IHEAP[a+161]&1)break b;else{g=7;continue a}k=a+165;n=bb;FHEAP[K]=0-FHEAP[n];FHEAP[N]=0-FHEAP[n+1];FHEAP[R]=0-FHEAP[n+2];n=Ya;o=K;q=N;p=R;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;__Z10quatRotateRK12btQuaternionRK9btVector3(jb,Ha,Ya);_llvm_memcpy_p0i8_p0i8_i32(k, +jb,4,4,0);g=7}else g==33&&(FHEAP[kb]=0,g=7)}function __ZN21btConeTwistConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e){__ZN21btConeTwistConstraint18getInfo2NonVirtualEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK11btMatrix3x3S8_(a,e,IHEAP[a+10]+1,IHEAP[a+11]+1,IHEAP[a+10]+256,IHEAP[a+11]+256)} +function __ZN21btConeTwistConstraint18getInfo2NonVirtualEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK11btMatrix3x3S8_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=87;var h,i=null,j,i=g+1,k=g+2,l,m,n=g+3,o=g+15,q,p,r=g+19,s=g+20,u=g+21,v=g+22,y=g+23,x=g+24,z=g+25,B=g+26,C=g+27,A=g+28,w=g+29,D=g+30;p=g+31;h=g+35;q=g+39;var E=g+43,F=g+47,G=g+63,J=g+67,H=g+71,M=g+75,K=g+79,N=g+83;__ZN21btConeTwistConstraint14calcAngleInfo2ERK11btTransformS2_RK11btMatrix3x3S5_(a,d,b,c,f);FHEAP[IHEAP[e+2]]=1; +FHEAP[IHEAP[e+2]+(IHEAP[e+6]+1)]=1;FHEAP[IHEAP[e+2]+(IHEAP[e+6]*2+2)]=1;__ZmlRK11btMatrix3x3RK9btVector3(p,d,a+103+12);c=IHEAP[e+3];f=IHEAP[e+3]+IHEAP[e+6];j=IHEAP[e+3]+IHEAP[e+6]*2;FHEAP[g]=0-FHEAP[p];FHEAP[i]=0-FHEAP[p+1];FHEAP[k]=0-FHEAP[p+2];FHEAP[h]=FHEAP[g];FHEAP[h+1]=FHEAP[i];FHEAP[h+2]=FHEAP[k];FHEAP[h+3]=0;__ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(h,c,f,j);__ZmlRK11btMatrix3x3RK9btVector3(q,b,a+119+12);__ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(q,IHEAP[e+5],IHEAP[e+5]+IHEAP[e+ +6],IHEAP[e+5]+IHEAP[e+6]*2);(IHEAP[a+194]&2)!=0?(m=FHEAP[a+196],i=0):(l=FHEAP[e+1],i=2);m=FHEAP[e]*(i==0?m:l);l=0;i=a+194;k=a+195;a:for(;;){h=m;f=l;c=q;c=FHEAP[c+f];f=l;j=b;j+=12;f=c+FHEAP[j+f];j=l;c=p;c=f-FHEAP[c+j];f=l;j=d;j+=12;FHEAP[IHEAP[e+7]+IHEAP[e+6]*l]=h*(c-FHEAP[j+f]);FHEAP[IHEAP[e+9]+IHEAP[e+6]*l]=-3.4028234663852886E38;FHEAP[IHEAP[e+10]+IHEAP[e+6]*l]=3.4028234663852886E38;for(h=(IHEAP[i]&1)!=0?4:5;;)if(h==4)FHEAP[IHEAP[e+8]+IHEAP[e+6]*l]=FHEAP[k],h=5;else if(h==5)if(l=h=l+1,h<3)continue a; +else break a}b=IHEAP[e+6]*3;h=IHEAP[a+161]&1?7:8;a:for(;;)if(h==7){q=IHEAP[e+3];p=IHEAP[e+5];h=FHEAP[a+139]<FHEAP[a+142]?9:10;b:for(;;)if(h==9)if(FHEAP[a+140]<FHEAP[a+142]){h=11;break b}else h=10;else if(h==10){l=a+137;m=a+143;FHEAP[r]=FHEAP[m]*FHEAP[l];FHEAP[s]=FHEAP[m+1]*FHEAP[l];FHEAP[u]=FHEAP[m+2]*FHEAP[l];m=H;l=r;i=s;k=u;FHEAP[m]=FHEAP[l];FHEAP[m+1]=FHEAP[i];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;l=a+137;m=H;FHEAP[v]=FHEAP[m]*FHEAP[l];FHEAP[y]=FHEAP[m+1]*FHEAP[l];FHEAP[x]=FHEAP[m+2]*FHEAP[l];m=M;l= +v;i=y;k=x;FHEAP[m]=FHEAP[l];FHEAP[m+1]=FHEAP[i];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;_llvm_memcpy_p0i8_p0i8_i32(E,M,4,4,0);m=E;FHEAP[q+b]=FHEAP[m];m=E;FHEAP[q+(b+1)]=FHEAP[m+1];m=E;FHEAP[q+(b+2)]=FHEAP[m+2];m=E;FHEAP[p+b]=0-FHEAP[m];m=E;FHEAP[p+(b+1)]=0-FHEAP[m+1];m=E;FHEAP[p+(b+2)]=0-FHEAP[m+2];m=FHEAP[e]*FHEAP[a+136];FHEAP[IHEAP[e+7]+b]=m*FHEAP[a+154];h=(IHEAP[a+194]&4)!=0?12:13;break b}for(;;)if(h==11){l=a+103;m=d;__ZmlRK11btMatrix3x3S1_(n,m,l);__ZNK11btTransformclERK9btVector3(o,m,l+12);m=F;i=n;k= +l=o;l=m;m=k;k=i;i=l;_llvm_memcpy_p0i8_p0i8_i32(i,k,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+4,k+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(i+8,k+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,m,4,4,0);l=m=F;l+=1;i=m+4;i+=1;m+=8;k=m+1;m=G;FHEAP[m]=FHEAP[l];FHEAP[m+1]=FHEAP[i];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;l=m=F;l+=2;i=m+4;i+=2;m+=8;k=m+2;m=J;FHEAP[m]=FHEAP[l];FHEAP[m+1]=FHEAP[i];FHEAP[m+2]=FHEAP[k];FHEAP[m+3]=0;m=IHEAP[e+6]+b;l=G;FHEAP[q+b]=FHEAP[l];l=G;FHEAP[q+(b+1)]=FHEAP[l+1];l=G;FHEAP[q+(b+2)]=FHEAP[l+2];l=J; +FHEAP[q+m]=FHEAP[l];l=J;FHEAP[q+(m+1)]=FHEAP[l+1];l=J;FHEAP[q+(m+2)]=FHEAP[l+2];q=G;FHEAP[p+b]=0-FHEAP[q];q=G;FHEAP[p+(b+1)]=0-FHEAP[q+1];q=G;FHEAP[p+(b+2)]=0-FHEAP[q+2];q=J;FHEAP[p+m]=0-FHEAP[q];q=J;FHEAP[p+(m+1)]=0-FHEAP[q+1];q=J;FHEAP[p+(m+2)]=0-FHEAP[q+2];l=q=FHEAP[e]*FHEAP[a+137];i=a+143;p=G;FHEAP[IHEAP[e+7]+b]=l*(FHEAP[i]*FHEAP[p]+FHEAP[i+1]*FHEAP[p+1]+FHEAP[i+2]*FHEAP[p+2]);l=a+143;p=J;FHEAP[IHEAP[e+7]+m]=q*(FHEAP[l]*FHEAP[p]+FHEAP[l+1]*FHEAP[p+1]+FHEAP[l+2]*FHEAP[p+2]);FHEAP[IHEAP[e+9]+b]= +-3.4028234663852886E38;FHEAP[IHEAP[e+10]+b]=3.4028234663852886E38;FHEAP[IHEAP[e+9]+m]=-3.4028234663852886E38;FHEAP[IHEAP[e+10]+m]=3.4028234663852886E38;b=IHEAP[e+6]+m;h=8;continue a}else if(h==12)FHEAP[IHEAP[e+8]+b]=FHEAP[a+197],h=13;else if(h==13){FHEAP[IHEAP[e+9]+b]=0;FHEAP[IHEAP[e+10]+b]=3.4028234663852886E38;b+=IHEAP[e+6];h=8;continue a}}else if(h==8){h=IHEAP[a+160]&1?14:15;break a}for(;;)if(h==14){n=a+137;d=a+147;FHEAP[z]=FHEAP[d]*FHEAP[n];FHEAP[B]=FHEAP[d+1]*FHEAP[n];FHEAP[C]=FHEAP[d+2]*FHEAP[n]; +d=K;n=z;o=B;r=C;FHEAP[d]=FHEAP[n];FHEAP[d+1]=FHEAP[o];FHEAP[d+2]=FHEAP[r];FHEAP[d+3]=0;n=a+137;d=K;FHEAP[A]=FHEAP[d]*FHEAP[n];FHEAP[w]=FHEAP[d+1]*FHEAP[n];FHEAP[D]=FHEAP[d+2]*FHEAP[n];d=N;n=A;o=w;r=D;FHEAP[d]=FHEAP[n];FHEAP[d+1]=FHEAP[o];FHEAP[d+2]=FHEAP[r];FHEAP[d+3]=0;_llvm_memcpy_p0i8_p0i8_i32(E,N,4,4,0);n=IHEAP[e+3];d=IHEAP[e+5];o=E;FHEAP[n+b]=FHEAP[o];o=E;FHEAP[n+(b+1)]=FHEAP[o+1];o=E;FHEAP[n+(b+2)]=FHEAP[o+2];n=E;FHEAP[d+b]=0-FHEAP[n];n=E;FHEAP[d+(b+1)]=0-FHEAP[n+1];n=E;FHEAP[d+(b+2)]=0-FHEAP[n+ +2];d=FHEAP[e]*FHEAP[a+136];FHEAP[IHEAP[e+7]+b]=d*FHEAP[a+155];for(h=(IHEAP[a+194]&4)!=0?16:17;;)if(h==16)FHEAP[IHEAP[e+8]+b]=FHEAP[a+197],h=17;else if(h==17){h=FHEAP[a+141]>0?18:19;break}h==18?(d=IHEAP[e+9]+b,FHEAP[a+155]>0?(FHEAP[d]=0,FHEAP[IHEAP[e+10]+b]=3.4028234663852886E38):(FHEAP[d]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+b]=0)):h==19&&(FHEAP[IHEAP[e+9]+b]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+b]=3.4028234663852886E38);b+=IHEAP[e+6];h=15}else if(h==15){STACKTOP=g;break}} +function __ZN21btConeTwistConstraint13buildJacobianEv(a){var e=STACKTOP;STACKTOP+=84;var d,b,c,f,g,h,i=e+1,j=e+2,k=e+3,l=e+4,m=e+5,n=e+6,o=e+7,q,p,r,s,u,v,y,x,z,B=e+8,C=e+9,A=e+10,w=e+11,D=e+12,E=e+13,F=e+14,G=e+18,J=e+19,H=e+20,M=e+21,K=e+25,N=e+29,R=e+33,O=e+45,Q=e+49,I=e+50,L=e+51,P=e+52,S=e+64,T=e+76,U=e+80;d=IHEAP[a+162]&1?0:1;a:for(;;)if(d==0){FHEAP[a+12]=0;FHEAP[a+158]=0;FHEAP[a+157]=0;b=a+190;FHEAP[G]=0;FHEAP[J]=0;FHEAP[H]=0;c=F;f=G;g=J;h=H;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]= +FHEAP[h];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(b,F,4,4,0);d=IHEAP[a+159]&1?2:3;b:for(;;)if(d==2){b=IHEAP[a+10];b+=1;c=IHEAP[a+11];c+=1;f=IHEAP[a+10];g=f+256;f=IHEAP[a+11];__ZN21btConeTwistConstraint14calcAngleInfo2ERK11btTransformS2_RK11btMatrix3x3S5_(a,b,c,g,f+256);d=1;continue a}else if(d==3){b=IHEAP[a+10];b+=1;c=a+103;c+=12;__ZNK11btTransformclERK9btVector3(M,b,c);b=IHEAP[a+11];b+=1;c=a+119;c+=12;__ZNK11btTransformclERK9btVector3(K,b,c);b=K;c=M;FHEAP[m]=FHEAP[b]-FHEAP[c];FHEAP[n]=FHEAP[b+1]- +FHEAP[c+1];FHEAP[o]=FHEAP[b+2]-FHEAP[c+2];b=N;c=m;f=n;g=o;FHEAP[b]=FHEAP[c];FHEAP[b+1]=FHEAP[f];FHEAP[b+2]=FHEAP[g];FHEAP[b+3]=0;f=b=c=b=N;b=R;FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2]>1.1920928955078125E-7?(f=g=f=c=N,f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2],f=_sqrtf(f),FHEAP[l]=f,f=c,c=l,FHEAP[k]=1/FHEAP[c],c=f,f=k,FHEAP[e]=FHEAP[c]*FHEAP[f],FHEAP[i]=FHEAP[c+1]*FHEAP[f],FHEAP[j]=FHEAP[c+2]*FHEAP[f],c=O,f=e,g=i,h=j,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+ +2]=FHEAP[h],FHEAP[c+3]=0,_llvm_memcpy_p0i8_p0i8_i32(b,O,4,4,0)):(FHEAP[Q]=1,FHEAP[I]=0,FHEAP[L]=0,g=b,b=Q,c=I,f=L,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[c],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0);__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(R,R+4,R+8);b=0;c=a+40;f=a+10;g=a+11;h=a+10;var W=a+11,Z=a+10,ca=a+10,Y=a+11,ea=a+11;c:for(;;){var ha=c+b*21;for(d=ha==0?6:7;;)if(d==6)if(b=ha=b+1,ha<3){d=5;continue c}else{d=2;continue b}else d==7&&(d=ha,q=IHEAP[f],q+=1,z=q,x=q+4,p=q+8,r=q,r+=1,s=q+4,s+=1,u=q+8,u+=1,v=q,v+= +2,y=q+4,y+=2,q+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(P,z,x,p,r,s,u,v,y,q+2),q=IHEAP[g],q+=1,z=q,x=q+4,p=q+8,r=q,r+=1,s=q+4,s+=1,u=q+8,u+=1,v=q,v+=2,y=q+4,y+=2,q+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(S,z,x,p,r,s,u,v,y,q+2),q=IHEAP[h],q+=1,z=q+12,q=M,FHEAP[B]=FHEAP[q]-FHEAP[z],FHEAP[C]=FHEAP[q+1]-FHEAP[z+1],FHEAP[A]=FHEAP[q+2]-FHEAP[z+2],q=T,z=B,x=C,p=A,FHEAP[q]=FHEAP[z],FHEAP[q+1]=FHEAP[x],FHEAP[q+2]=FHEAP[p],FHEAP[q+3]=0,q=IHEAP[W],q+=1,z=q+12,q=K,FHEAP[w]=FHEAP[q]-FHEAP[z], +FHEAP[D]=FHEAP[q+1]-FHEAP[z+1],FHEAP[E]=FHEAP[q+2]-FHEAP[z+2],q=U,z=w,x=D,p=E,FHEAP[q]=FHEAP[z],FHEAP[q+1]=FHEAP[x],FHEAP[q+2]=FHEAP[p],FHEAP[q+3]=0,r=R+b*4,q=IHEAP[Z],s=q+289,q=IHEAP[ca],u=FHEAP[q+276],q=IHEAP[Y],v=q+289,q=IHEAP[ea],y=FHEAP[q+276],q=P,z=S,x=T,p=U,__ZN15btJacobianEntryC2ERK11btMatrix3x3S2_RK9btVector3S5_S5_S5_fS5_f(d,q,z,x,p,r,s,u,v,y),d=6)}}}else if(d==1){STACKTOP=e;break}} +function __ZN21btConeTwistConstraint23solveConstraintObsoleteER11btRigidBodyS1_f(a,e,d,b){var c=STACKTOP;STACKTOP+=757;var f,g,h,i,j=c+1,k=c+2,l=c+3,m=c+4,n=c+5,o=c+6,q,p=c+7,r=c+8,s=c+9,u=c+10,v=c+11,y=c+12,x=c+13,z=c+14,B=c+15,C=c+16,A=c+17,w=c+18,D=c+19,E=c+20,F=c+21,G=c+22,J=c+23,H=c+24,M=c+25,K=c+29,N=c+33,R=c+34,O=c+35,Q=c+36,I=c+37,L=c+38,P=c+39,S=c+40,T=c+41,U=c+42,W=c+43,Z=c+44,ca=c+48,Y=c+49,ea=c+50,ha=c+51,ba=c+52,V=c+53,aa=c+57,X=c+58,ka=c+59,da=c+60,fa=c+61,ga=c+62,ja=c+63,la=c+64,qa= +c+65,pa=c+66,wa=c+67,ua=c+68,na=c+80,ya=c+84,xa=c+96,ia=c+100,ma=c+112,ta=c+116,ra=c+128,oa=c+132,Da=c+133,Ba=c+134,Oa=c+135,Fa=c+136,Ha=c+137,La=c+138,Ea=c+139,Ca=c+140,Aa=c+141,za=c+142,Ja=c+143,Ra=c+144,Ua=c+145,Xa=c+146,Wa=c+147,Sa=c+148,Ga=c+149,Ia=c+150,Pa=c+151,Ta=c+152,Va=c+153,fb=c+154,ib=c+155,Na=c+156,Za=c+157,gb=c+158,lb=c+159,$a=c+163,eb=c+164,bb=c+165,sb=c+166,Ka,Ya,jb,kb=c+170,tb=c+171,Bb=c+172,Qa,wb=c+173,mb=c+174,yb=c+175,ub=c+176,Ma=c+180,sa=c+181,va=c+182,pb=c+183,ab=c+187,db=c+ +188,vb=c+189,Fb=c+190,zb=c+191,Kb=c+192,nb=c+193,Cb=c+194,Eb,Ib=c+195,Jb=c+196,Ab=c+197,qb=c+198,Nb=c+202,rb=c+206,Gb=c+207,Ob=c+208,hb,Sb=c+209,Ub=c+210,Vb=c+211,Hb=c+212,Lb=c+213,ob=c+214,Db=c+215,xb=c+216,Qb=c+217,Wb=c+218,Tb=c+219,$b=c+220,Zb=c+221,Mb,cb=c+222,Pb=c+223,Rb=c+224,dc=c+225,cc=c+229,Xb=c+230,Yb=c+231,ac=c+232,bc=c+233,ec=c+234,hc=c+235,pc=c+239,qc=c+240,rc=c+241,sc=c+242,tc=c+243,uc=c+244,fc=c+245,ic=c+246,gc=c+247,jc=c+248,kc=c+249,lc=c+250,mc=c+251,nc=c+252,vc=c+253,wc=c+254,oc= +c+255,xc=c+256,Bc=c+257,Cc=c+258,Dc=c+259,Nc=c+260,Oc=c+261,Pc=c+262,Qc=c+263,Rc=c+264,zc=c+265,Sc=c+266,Fc=c+267,Gc=c+271,yc=c+275,Hc=c+279,Ic=c+283,Wc=c+287,Xc=c+291,Yc=c+295,Zc=c+299,$c=c+303,wd=c+307,xd=c+311,yd=c+312,zd=c+316,Ad=c+320,Bd=c+321,gd=c+325,hd=c+341,id=c+357,jd=c+361,kd=c+365,Tc=c+381,Cd=c+385,Dd=c+386,Ed=c+387,ld=c+388,Fd=c+404,Gd=c+420,Hd=c+424,Id=c+425,Jd=c+426,md=c+427,Kd=c+443,Ld=c+459,Md=c+475,Nd=c+491,Od=c+507,Pd=c+523,Qd=c+527,ad=c+531,bd=c+535,nd=c+539,od=c+543,Ec=c+547, +Jc=c+548,Rd=c+549,Sd=c+553,Uc=c+557,Td=c+561,Ud=c+565,Kc=c+569,Vd=c+573,Wd=c+577,Xd=c+581,Yd=c+585,cd=c+586,Vc=c+587,Zd=c+591,dd=c+595,pd=c+596,$d=c+600,ae=c+604,be=c+605,ce=c+606,de=c+607,ee=c+611,fe=c+615,ge=c+616,he=c+617,ie=c+618,je=c+622,ke=c+626,ed=c+630,qd=c+634,rd=c+638,le=c+642,fd=c+643,sd=c+644,me=c+648,ne=c+652,oe=c+653,pe=c+654,qe=c+655,re=c+659,se=c+663,te=c+664,ue=c+665,ve=c+666,td=c+670,ud=c+674,we=c+678,Ac=c+682,xe=c+683,ye=c+684,Lc=c+685,ze=c+689,Ae=c+693,Be=c+694,vd=c+698,Ce=c+702, +De=c+706,Ee=c+707,Fe=c+708,Ge=c+709,He=c+713,Ie=c+717,Je=c+718,Ke=c+719,Le=c+720,Me=c+724,Mc=c+728,Ne=c+729,Oe=c+730,Ze=c+731,Pe=c+735,Qe=c+739,Re=c+740,Se=c+741,Te=c+742,Ue=c+746,Ve=c+750,We=c+751,Xe=c+752,Ye=c+753;f=IHEAP[a+162]&1?0:1;a:for(;;)if(f==0){f=IHEAP[a+10];f+=1;g=a+103;g+=12;__ZNK11btTransformclERK9btVector3(Fc,f,g);f=IHEAP[a+11];f+=1;g=a+119;g+=12;__ZNK11btTransformclERK9btVector3(Gc,f,g);f=IHEAP[a+159]&1?2:3;b:for(;;)if(f==2){f=IHEAP[a+169]&1?5:6;break b}else if(f==3){g=IHEAP[a+10]; +g+=1;h=g+12;g=Fc;FHEAP[Cc]=FHEAP[g]-FHEAP[h];FHEAP[Dc]=FHEAP[g+1]-FHEAP[h+1];FHEAP[Nc]=FHEAP[g+2]-FHEAP[h+2];g=yc;h=Cc;i=Dc;q=Nc;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+11];g+=1;h=g+12;g=Gc;FHEAP[oc]=FHEAP[g]-FHEAP[h];FHEAP[xc]=FHEAP[g+1]-FHEAP[h+1];FHEAP[Bc]=FHEAP[g+2]-FHEAP[h+2];g=Hc;h=oc;i=xc;q=Bc;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;__ZNK11btRigidBody39internalGetVelocityInLocalPointObsoleteERK9btVector3RS0_(e,yc,Ic);__ZNK11btRigidBody39internalGetVelocityInLocalPointObsoleteERK9btVector3RS0_(d, +Hc,Wc);g=Ic;h=Wc;FHEAP[cc]=FHEAP[g]-FHEAP[h];FHEAP[Xb]=FHEAP[g+1]-FHEAP[h+1];FHEAP[Yb]=FHEAP[g+2]-FHEAP[h+2];g=Xc;h=cc;i=Xb;q=Yb;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];g=FHEAP[g+3]=0;h=a+40;i=a+40;q=a+12;Qa=a+10;for(var $e=a+10,af=a+11,bf=a+11;;)if(f=h+g*21,Mb=i+g*21,Mb=1/FHEAP[Mb+20],Ka=f,hb=Xc,hb=FHEAP[Ka]*FHEAP[hb]+FHEAP[Ka+1]*FHEAP[hb+1]+FHEAP[Ka+2]*FHEAP[hb+2],Ka=Fc,Ya=Gc,FHEAP[Tb]=FHEAP[Ka]-FHEAP[Ya],FHEAP[$b]=FHEAP[Ka+1]-FHEAP[Ya+1],FHEAP[Zb]=FHEAP[Ka+2]-FHEAP[Ya+2],Ka=Yc, +Ya=Tb,jb=$b,Eb=Zb,FHEAP[Ka]=FHEAP[Ya],FHEAP[Ka+1]=FHEAP[jb],FHEAP[Ka+2]=FHEAP[Eb],FHEAP[Ka+3]=0,Ya=f,Ka=Yc,Ka=0-(FHEAP[Ka]*FHEAP[Ya]+FHEAP[Ka+1]*FHEAP[Ya+1]+FHEAP[Ka+2]*FHEAP[Ya+2]),Mb=Ka*0.30000001192092896/b*Mb-hb*Mb,FHEAP[q]+=Mb,Ka=f,hb=yc,FHEAP[xb]=FHEAP[hb+1]*FHEAP[Ka+2]-FHEAP[hb+2]*FHEAP[Ka+1],FHEAP[Qb]=FHEAP[hb+2]*FHEAP[Ka]-FHEAP[hb]*FHEAP[Ka+2],FHEAP[Wb]=FHEAP[hb]*FHEAP[Ka+1]-FHEAP[hb+1]*FHEAP[Ka],hb=Zc,Ka=xb,Ya=Qb,jb=Wb,FHEAP[hb]=FHEAP[Ka],FHEAP[hb+1]=FHEAP[Ya],FHEAP[hb+2]=FHEAP[jb],FHEAP[hb+ +3]=0,Ka=f,hb=Hc,FHEAP[Sb]=FHEAP[hb+1]*FHEAP[Ka+2]-FHEAP[hb+2]*FHEAP[Ka+1],FHEAP[Ub]=FHEAP[hb+2]*FHEAP[Ka]-FHEAP[hb]*FHEAP[Ka+2],FHEAP[Vb]=FHEAP[hb]*FHEAP[Ka+1]-FHEAP[hb+1]*FHEAP[Ka],hb=$c,Ka=Sb,Ya=Ub,jb=Vb,FHEAP[hb]=FHEAP[Ka],FHEAP[hb+1]=FHEAP[Ya],FHEAP[hb+2]=FHEAP[jb],FHEAP[hb+3]=0,hb=e,Ya=f,Ka=IHEAP[Qa],FHEAP[xd]=FHEAP[Ka+276],Ka=Ya,Ya=xd,FHEAP[Ib]=FHEAP[Ka]*FHEAP[Ya],FHEAP[Jb]=FHEAP[Ka+1]*FHEAP[Ya],FHEAP[Ab]=FHEAP[Ka+2]*FHEAP[Ya],Ka=wd,Ya=Ib,jb=Jb,Eb=Ab,FHEAP[Ka]=FHEAP[Ya],FHEAP[Ka+1]=FHEAP[jb], +FHEAP[Ka+2]=FHEAP[Eb],FHEAP[Ka+3]=0,Ka=IHEAP[$e],__ZmlRK11btMatrix3x3RK9btVector3(yd,Ka+256,Zc),__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(hb,wd,yd,Mb),hb=d,Ka=f,f=IHEAP[af],FHEAP[Ad]=FHEAP[f+276],f=Ka,Ka=Ad,FHEAP[kb]=FHEAP[f]*FHEAP[Ka],FHEAP[tb]=FHEAP[f+1]*FHEAP[Ka],FHEAP[Bb]=FHEAP[f+2]*FHEAP[Ka],f=zd,Ka=kb,Ya=tb,jb=Bb,FHEAP[f]=FHEAP[Ka],FHEAP[f+1]=FHEAP[Ya],FHEAP[f+2]=FHEAP[jb],FHEAP[f+3]=0,f=IHEAP[bf],__ZmlRK11btMatrix3x3RK9btVector3(Bd,f+256,$c),__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(hb, +zd,Bd,0-Mb),g=f=g+1,f<3)f=4;else{f=2;continue b}}b:do if(f==5){f=IHEAP[a+10];g=f+1;f=gd;h=g;g=f;i=f=h;h=g;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f+12,4,4,0);f=IHEAP[a+11];g=f+1;f=hd;h=g;g=f;i=f=h;h=g;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f+12,4,4,0);g=e;f=id;g=h=g;h+=322; +g+=272;FHEAP[$a]=FHEAP[g]+FHEAP[h];FHEAP[eb]=FHEAP[g+1]+FHEAP[h+1];FHEAP[bb]=FHEAP[g+2]+FHEAP[h+2];g=sb;h=$a;i=eb;q=bb;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f,sb,4,4,0);g=d;f=jd;g=h=g;h+=322;g+=272;FHEAP[Na]=FHEAP[g]+FHEAP[h];FHEAP[Za]=FHEAP[g+1]+FHEAP[h+1];FHEAP[gb]=FHEAP[g+2]+FHEAP[h+2];g=lb;h=Na;i=Za;q=gb;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f,lb,4,4,0);g=f=kd;FHEAP[Ra]=1;FHEAP[Ua]= +0;FHEAP[Xa]=0;FHEAP[Wa]=0;FHEAP[Sa]=1;FHEAP[Ga]=0;FHEAP[Ia]=0;FHEAP[Pa]=0;FHEAP[Ta]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(g,Ra,Ua,Xa,Wa,Sa,Ga,Ia,Pa,Ta);f+=12;FHEAP[Va]=0;FHEAP[fb]=0;FHEAP[ib]=0;i=f;f=Va;g=fb;h=ib;FHEAP[i]=FHEAP[f];FHEAP[i+1]=FHEAP[g];FHEAP[i+2]=FHEAP[h];FHEAP[i+3]=0;FHEAP[Cd]=0;FHEAP[Dd]=0;FHEAP[Ed]=0;f=Tc;g=Cd;h=Dd;i=Ed;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(gd, +Tc,id,b,kd);g=f=ld;FHEAP[oa]=1;FHEAP[Da]=0;FHEAP[Ba]=0;FHEAP[Oa]=0;FHEAP[Fa]=1;FHEAP[Ha]=0;FHEAP[La]=0;FHEAP[Ea]=0;FHEAP[Ca]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(g,oa,Da,Ba,Oa,Fa,Ha,La,Ea,Ca);f+=12;FHEAP[Aa]=0;FHEAP[za]=0;FHEAP[Ja]=0;i=f;f=Aa;g=za;h=Ja;FHEAP[i]=FHEAP[f];FHEAP[i+1]=FHEAP[g];FHEAP[i+2]=FHEAP[h];FHEAP[i+3]=0;__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_(hd,Tc,jd,b,ld);f=a+173;FHEAP[Hd]=0;FHEAP[Id]=0;FHEAP[Jd]=0;g=Gd;h=Hd;i=Id;q=Jd; +FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=Fd;i=h=Gd;h=f;f=i;i=h;h=g;__ZN11btMatrix3x311setRotationERK12btQuaternion(h,i);_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);g=a+119;f=Fd;__ZmlRK11btMatrix3x3S1_(ta,g,f);__ZNK11btTransformclERK9btVector3(ra,g,f+12);f=Kd;h=ta;i=g=ra;g=f;f=i;i=h;h=g;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);__ZNK11btTransform7inverseEv(Ld, +a+103);g=Kd;f=Ld;__ZmlRK11btMatrix3x3S1_(ia,g,f);__ZNK11btTransformclERK9btVector3(ma,g,f+12);f=md;h=ia;i=g=ma;g=f;f=i;i=h;h=g;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);g=ld;f=md;__ZmlRK11btMatrix3x3S1_(ya,g,f);__ZNK11btTransformclERK9btVector3(xa,g,f+12);f=Md;h=ya;i=g=xa;g=f;f=i;i=h;h=g;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+ +8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);__ZNK11btTransform7inverseEv(Od,md);g=kd;f=Od;__ZmlRK11btMatrix3x3S1_(ua,g,f);__ZNK11btTransformclERK9btVector3(na,g,f+12);f=Nd;h=ua;i=g=na;g=f;f=i;i=h;h=g;_llvm_memcpy_p0i8_p0i8_i32(h,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(gd,Md,b,Tc,Pd);__ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(hd, +Nd,b,Tc,Qd);f=Pd;g=id;FHEAP[qa]=FHEAP[f]-FHEAP[g];FHEAP[pa]=FHEAP[f+1]-FHEAP[g+1];FHEAP[wa]=FHEAP[f+2]-FHEAP[g+2];f=ad;g=qa;h=pa;i=wa;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=Qd;g=jd;FHEAP[ga]=FHEAP[f]-FHEAP[g];FHEAP[ja]=FHEAP[f+1]-FHEAP[g+1];FHEAP[la]=FHEAP[f+2]-FHEAP[g+2];f=bd;g=ga;h=ja;i=la;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;FHEAP[Ec]=0;FHEAP[Jc]=0;f=g=f=ad;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]>1.1920928955078125E-7? +7:8;c:for(;;)if(f==7)g=h=g=f=ad,g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2],g=_sqrtf(g),FHEAP[fa]=g,g=f,f=fa,FHEAP[da]=1/FHEAP[f],f=g,g=da,FHEAP[aa]=FHEAP[f]*FHEAP[g],FHEAP[X]=FHEAP[f+1]*FHEAP[g],FHEAP[ka]=FHEAP[f+2]*FHEAP[g],f=Rd,g=aa,h=X,i=ka,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(nd,Rd,4,4,0),f=a,h=IHEAP[f+10],g=f=nd,__ZmlRK9btVector3RK11btMatrix3x3(V,g,h+256),g=f,f=V,FHEAP[Ec]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+ +FHEAP[g+2]*FHEAP[f+2],f=8;else if(f==8){f=g=f=bd;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]>1.1920928955078125E-7?9:10;break c}c:for(;;)if(f==9)g=h=g=f=bd,g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2],g=_sqrtf(g),FHEAP[ba]=g,g=f,f=ba,FHEAP[ha]=1/FHEAP[f],f=g,g=ha,FHEAP[ca]=FHEAP[f]*FHEAP[g],FHEAP[Y]=FHEAP[f+1]*FHEAP[g],FHEAP[ea]=FHEAP[f+2]*FHEAP[g],f=Sd,g=ca,h=Y,i=ea,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(od, +Sd,4,4,0),f=a,h=IHEAP[f+11],g=f=od,__ZmlRK9btVector3RK11btMatrix3x3(Z,g,h+256),g=f,f=Z,FHEAP[Jc]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2],f=10;else if(f==10)if(g=Ec,f=nd,FHEAP[T]=FHEAP[f]*FHEAP[g],FHEAP[U]=FHEAP[f+1]*FHEAP[g],FHEAP[W]=FHEAP[f+2]*FHEAP[g],f=Td,g=T,h=U,i=W,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,g=Jc,f=od,FHEAP[L]=FHEAP[f]*FHEAP[g],FHEAP[P]=FHEAP[f+1]*FHEAP[g],FHEAP[S]=FHEAP[f+2]*FHEAP[g],f=Ud,g=L,h=P,i=S,FHEAP[f]=FHEAP[g],FHEAP[f+ +1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=Td,g=Ud,FHEAP[O]=FHEAP[f]+FHEAP[g],FHEAP[Q]=FHEAP[f+1]+FHEAP[g+1],FHEAP[I]=FHEAP[f+2]+FHEAP[g+2],f=Uc,g=O,h=Q,i=I,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=g=f=Uc,FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]>1.1920928955078125E-7)break c;else break b;g=h=g=f=Uc;g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];g=_sqrtf(g);FHEAP[R]=g;g=f;f=R;FHEAP[N]=1/FHEAP[f];f=N;FHEAP[g]*=FHEAP[f];FHEAP[g+ +1]*=FHEAP[f];FHEAP[g+2]*=FHEAP[f];f=a;h=IHEAP[f+10];g=f=Uc;__ZmlRK9btVector3RK11btMatrix3x3(K,g,h+256);g=f;f=K;FHEAP[Ec]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];f=a;h=IHEAP[f+11];g=f=Uc;__ZmlRK9btVector3RK11btMatrix3x3(M,g,h+256);g=f;f=M;FHEAP[Jc]=FHEAP[g]*FHEAP[f]+FHEAP[g+1]*FHEAP[f+1]+FHEAP[g+2]*FHEAP[f+2];f=FHEAP[Ec]+FHEAP[Jc];h=Ec;g=ad;FHEAP[G]=FHEAP[g]*FHEAP[h];FHEAP[J]=FHEAP[g+1]*FHEAP[h];FHEAP[H]=FHEAP[g+2]*FHEAP[h];g=Wd;h=G;i=J;q=H;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i]; +FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;h=Jc;g=bd;FHEAP[D]=FHEAP[g]*FHEAP[h];FHEAP[E]=FHEAP[g+1]*FHEAP[h];FHEAP[F]=FHEAP[g+2]*FHEAP[h];g=Xd;h=D;i=E;q=F;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=Wd;h=Xd;FHEAP[C]=FHEAP[g]-FHEAP[h];FHEAP[A]=FHEAP[g+1]-FHEAP[h+1];FHEAP[w]=FHEAP[g+2]-FHEAP[h+2];g=Vd;h=C;i=A;q=w;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;FHEAP[Yd]=f*f;g=Vd;f=Yd;FHEAP[B]=1/FHEAP[f];f=g;g=B;FHEAP[y]=FHEAP[f]*FHEAP[g];FHEAP[x]=FHEAP[f+1]* +FHEAP[g];FHEAP[z]=FHEAP[f+2]*FHEAP[g];f=Kc;g=y;h=x;i=z;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=FHEAP[a+189]>=0?13:14;c:for(;;)if(f==13){FHEAP[cd]=FHEAP[a+189];f=IHEAP[a+170]&1?15:16;d:for(;;)if(f==15)FHEAP[cd]/=FHEAP[Ec],f=16;else if(f==16){f=a+190;g=Kc;FHEAP[s]=FHEAP[f]+FHEAP[g];FHEAP[u]=FHEAP[f+1]+FHEAP[g+1];FHEAP[v]=FHEAP[f+2]+FHEAP[g+2];f=Vc;g=s;h=u;i=v;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=g=f=Vc;f=FHEAP[f]*FHEAP[g]+FHEAP[f+ +1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);f=f>FHEAP[cd]?17:18;break d}for(;;)if(f==17)g=h=g=f=Vc,g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2],g=_sqrtf(g),FHEAP[r]=g,g=f,f=r,FHEAP[p]=1/FHEAP[f],f=p,FHEAP[g]*=FHEAP[f],FHEAP[g+1]*=FHEAP[f],FHEAP[g+2]*=FHEAP[f],g=Vc,f=cd,FHEAP[g]*=FHEAP[f],FHEAP[g+1]*=FHEAP[f],FHEAP[g+2]*=FHEAP[f],g=a+190,f=Vc,FHEAP[c]=FHEAP[f]-FHEAP[g],FHEAP[j]=FHEAP[f+1]-FHEAP[g+1],FHEAP[k]=FHEAP[f+2]-FHEAP[g+2],f=Zd,g=c,h=j,i=k,FHEAP[f]=FHEAP[g],FHEAP[f+1]= +FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Kc,Zd,4,4,0),f=18;else if(f==18){g=a+190;f=Kc;FHEAP[g]+=FHEAP[f];FHEAP[g+1]+=FHEAP[f+1];FHEAP[g+2]+=FHEAP[f+2];f=14;continue c}}else if(f==14){f=g=f=Kc;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[dd]=f;g=Kc;f=dd;FHEAP[o]=1/FHEAP[f];f=g;g=o;FHEAP[l]=FHEAP[f]*FHEAP[g];FHEAP[m]=FHEAP[f+1]*FHEAP[g];FHEAP[n]=FHEAP[f+2]*FHEAP[g];f=pd;g=l;h=m;i=n;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i]; +FHEAP[f+3]=0;f=e;FHEAP[ae]=0;FHEAP[be]=0;FHEAP[ce]=0;g=$d;h=ae;i=be;q=ce;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+10];__ZmlRK11btMatrix3x3RK9btVector3(de,g+256,pd);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(f,$d,de,FHEAP[dd]);f=d;FHEAP[fe]=0;FHEAP[ge]=0;FHEAP[he]=0;g=ee;h=fe;i=ge;q=he;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+11];__ZmlRK11btMatrix3x3RK9btVector3(ie,g+256,pd);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(f, +ee,ie,0-FHEAP[dd]);break b}}else if(f==6){if(!(FHEAP[a+138]>1.1920928955078125E-7))break b;h=e;g=je;h=i=h;i+=322;h+=272;FHEAP[wb]=FHEAP[h]+FHEAP[i];FHEAP[mb]=FHEAP[h+1]+FHEAP[i+1];FHEAP[yb]=FHEAP[h+2]+FHEAP[i+2];h=ub;i=wb;q=mb;Qa=yb;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[q];FHEAP[h+2]=FHEAP[Qa];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,ub,4,4,0);h=d;g=ke;h=i=h;i+=322;h+=272;FHEAP[Ma]=FHEAP[h]+FHEAP[i];FHEAP[sa]=FHEAP[h+1]+FHEAP[i+1];FHEAP[va]=FHEAP[h+2]+FHEAP[i+2];h=pb;i=Ma;q=sa;Qa=va;FHEAP[h]=FHEAP[i]; +FHEAP[h+1]=FHEAP[q];FHEAP[h+2]=FHEAP[Qa];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,pb,4,4,0);g=ke;h=je;FHEAP[ab]=FHEAP[g]-FHEAP[h];FHEAP[db]=FHEAP[g+1]-FHEAP[h+1];FHEAP[vb]=FHEAP[g+2]-FHEAP[h+2];g=ed;h=ab;i=db;q=vb;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=h=g=ed;if(!(FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2]>1.1920928955078125E-7))break b;h=i=h=g=ed;h=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2];h=_sqrtf(h);FHEAP[Cb]=h;h=g;g=Cb; +FHEAP[nb]=1/FHEAP[g];g=h;h=nb;FHEAP[Fb]=FHEAP[g]*FHEAP[h];FHEAP[zb]=FHEAP[g+1]*FHEAP[h];FHEAP[Kb]=FHEAP[g+2]*FHEAP[h];g=qd;h=Fb;i=zb;q=Kb;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=a;i=IHEAP[g+10];h=g=qd;__ZmlRK9btVector3RK11btMatrix3x3(qb,h,i+256);h=g;g=qb;g=FHEAP[h]*FHEAP[g]+FHEAP[h+1]*FHEAP[g+1]+FHEAP[h+2]*FHEAP[g+2];h=a;q=IHEAP[h+11];i=h=qd;__ZmlRK9btVector3RK11btMatrix3x3(Nb,i,q+256);i=h;h=Nb;g=1/(g+(FHEAP[i]*FHEAP[h]+FHEAP[i+1]*FHEAP[h+1]+FHEAP[i+2]*FHEAP[h+2])); +FHEAP[le]=FHEAP[a+138]*g;h=le;g=ed;FHEAP[rb]=FHEAP[g]*FHEAP[h];FHEAP[Gb]=FHEAP[g+1]*FHEAP[h];FHEAP[Ob]=FHEAP[g+2]*FHEAP[h];g=rd;h=rb;i=Gb;q=Ob;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=h=g=rd;g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];g=_sqrtf(g);FHEAP[fd]=g;h=rd;g=fd;FHEAP[Db]=1/FHEAP[g];g=h;h=Db;FHEAP[Hb]=FHEAP[g]*FHEAP[h];FHEAP[Lb]=FHEAP[g+1]*FHEAP[h];FHEAP[ob]=FHEAP[g+2]*FHEAP[h];g=sd;h=Hb;i=Lb;q=ob;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+ +2]=FHEAP[q];FHEAP[g+3]=0;g=e;FHEAP[ne]=0;FHEAP[oe]=0;FHEAP[pe]=0;h=me;i=ne;q=oe;Qa=pe;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[q];FHEAP[h+2]=FHEAP[Qa];FHEAP[h+3]=0;h=IHEAP[a+10];__ZmlRK11btMatrix3x3RK9btVector3(qe,h+256,sd);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(g,me,qe,FHEAP[fd]);g=d;FHEAP[se]=0;FHEAP[te]=0;FHEAP[ue]=0;h=re;i=se;q=te;Qa=ue;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[q];FHEAP[h+2]=FHEAP[Qa];FHEAP[h+3]=0;h=IHEAP[a+11];__ZmlRK11btMatrix3x3RK9btVector3(ve,h+256,sd);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(g, +re,ve,0-FHEAP[fd])}while(0);g=e;f=td;g=h=g;h+=322;g+=272;FHEAP[cb]=FHEAP[g]+FHEAP[h];FHEAP[Pb]=FHEAP[g+1]+FHEAP[h+1];FHEAP[Rb]=FHEAP[g+2]+FHEAP[h+2];g=dc;h=cb;i=Pb;q=Rb;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f,dc,4,4,0);g=d;f=ud;g=h=g;h+=322;g+=272;FHEAP[ac]=FHEAP[g]+FHEAP[h];FHEAP[bc]=FHEAP[g+1]+FHEAP[h+1];FHEAP[ec]=FHEAP[g+2]+FHEAP[h+2];g=hc;h=ac;i=bc;q=ec;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f, +hc,4,4,0);f=IHEAP[a+161]&1?22:23;b:for(;;)if(f==22){g=FHEAP[a+163]*FHEAP[a+154]*FHEAP[a+136]/b;f=ud;h=td;FHEAP[pc]=FHEAP[f]-FHEAP[h];FHEAP[qc]=FHEAP[f+1]-FHEAP[h+1];FHEAP[rc]=FHEAP[f+2]-FHEAP[h+2];f=we;h=pc;i=qc;q=rc;FHEAP[f]=FHEAP[h];FHEAP[f+1]=FHEAP[i];FHEAP[f+2]=FHEAP[q];FHEAP[f+3]=0;h=a+143;f=we;h=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];for(f=h>0?24:25;;)if(f==24)g+=FHEAP[a+163]*h*FHEAP[a+137],f=25;else if(f==25){FHEAP[Ac]=g*FHEAP[a+151];h=FHEAP[a+157];FHEAP[xe]=FHEAP[a+ +157]+FHEAP[Ac];FHEAP[ye]=0;f=xe;g=ye;i=f;q=g;FHEAP[a+157]=FHEAP[FHEAP[f]>FHEAP[g]?i:q];FHEAP[Ac]=FHEAP[a+157]-h;f=a+143;g=Ac;FHEAP[sc]=FHEAP[f]*FHEAP[g];FHEAP[tc]=FHEAP[f+1]*FHEAP[g];FHEAP[uc]=FHEAP[f+2]*FHEAP[g];f=Lc;g=sc;h=tc;i=uc;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;g=a+165;f=Lc;FHEAP[Ae]=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];g=a+165;h=f=Ae;f=g;g=h;FHEAP[fc]=FHEAP[f]*FHEAP[g];FHEAP[ic]=FHEAP[f+1]*FHEAP[g];FHEAP[gc]=FHEAP[f+2]*FHEAP[g];f= +ze;g=fc;h=ic;i=gc;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=Lc;g=ze;FHEAP[jc]=FHEAP[f]-FHEAP[g];FHEAP[kc]=FHEAP[f+1]-FHEAP[g+1];FHEAP[lc]=FHEAP[f+2]-FHEAP[g+2];f=Be;g=jc;h=kc;i=lc;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Lc,Be,4,4,0);f=g=f=Lc;f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2];f=_sqrtf(f);FHEAP[Ac]=f;g=Lc;f=Ac;FHEAP[wc]=1/FHEAP[f];f=g;g=wc;FHEAP[mc]=FHEAP[f]*FHEAP[g];FHEAP[nc]=FHEAP[f+ +1]*FHEAP[g];FHEAP[vc]=FHEAP[f+2]*FHEAP[g];f=vd;g=mc;h=nc;i=vc;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=e;FHEAP[De]=0;FHEAP[Ee]=0;FHEAP[Fe]=0;g=Ce;h=De;i=Ee;q=Fe;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+10];__ZmlRK11btMatrix3x3RK9btVector3(Ge,g+256,vd);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(f,Ce,Ge,FHEAP[Ac]);f=d;FHEAP[Ie]=0;FHEAP[Je]=0;FHEAP[Ke]=0;g=He;h=Ie;i=Je;q=Ke;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+ +2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+11];__ZmlRK11btMatrix3x3RK9btVector3(Le,g+256,vd);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(f,He,Le,0-FHEAP[Ac]);f=23;continue b}}else if(f==23)if(IHEAP[a+160]&1)break b;else{f=1;continue a}g=FHEAP[a+164]*FHEAP[a+155]*FHEAP[a+136]/b;f=ud;h=td;FHEAP[Oc]=FHEAP[f]-FHEAP[h];FHEAP[Pc]=FHEAP[f+1]-FHEAP[h+1];FHEAP[Qc]=FHEAP[f+2]-FHEAP[h+2];f=Me;h=Oc;i=Pc;q=Qc;FHEAP[f]=FHEAP[h];FHEAP[f+1]=FHEAP[i];FHEAP[f+2]=FHEAP[q];FHEAP[f+3]=0;h=a+147;f=Me;h=FHEAP[f]*FHEAP[h]+ +FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2];for(f=h>0?27:28;;)if(f==27)g+=FHEAP[a+164]*h*FHEAP[a+137],f=28;else if(f==28){FHEAP[Mc]=g*FHEAP[a+152];h=FHEAP[a+158];FHEAP[Ne]=FHEAP[a+158]+FHEAP[Mc];FHEAP[Oe]=0;f=Ne;g=Oe;i=f;q=g;FHEAP[a+158]=FHEAP[FHEAP[f]>FHEAP[g]?i:q];FHEAP[Mc]=FHEAP[a+158]-h;f=a+147;g=Mc;FHEAP[Rc]=FHEAP[f]*FHEAP[g];FHEAP[zc]=FHEAP[f+1]*FHEAP[g];FHEAP[Sc]=FHEAP[f+2]*FHEAP[g];f=Ze;g=Rc;h=zc;i=Sc;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;f=e;FHEAP[Qe]=0;FHEAP[Re]= +0;FHEAP[Se]=0;g=Pe;h=Qe;i=Re;q=Se;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+10];__ZmlRK11btMatrix3x3RK9btVector3(Te,g+256,a+147);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(f,Pe,Te,FHEAP[Mc]);f=d;FHEAP[Ve]=0;FHEAP[We]=0;FHEAP[Xe]=0;g=Ue;h=Ve;i=We;q=Xe;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[i];FHEAP[g+2]=FHEAP[q];FHEAP[g+3]=0;g=IHEAP[a+11];__ZmlRK11btMatrix3x3RK9btVector3(Ye,g+256,a+147);__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(f,Ue,Ye, +0-FHEAP[Mc]);f=1;continue a}}else if(f==1){STACKTOP=c;break}} +function __Z15shortestArcQuatRK9btVector3S1_(a,e,d){var b=STACKTOP;STACKTOP+=20;var c=b+1,f=b+2,g=b+3,h=b+7,i=b+11,j=b+15,k=b+16,l=b+17,m=b+18,n=b+19;FHEAP[b]=FHEAP[e+1]*FHEAP[d+2]-FHEAP[e+2]*FHEAP[d+1];FHEAP[c]=FHEAP[e+2]*FHEAP[d]-FHEAP[e]*FHEAP[d+2];FHEAP[f]=FHEAP[e]*FHEAP[d+1]-FHEAP[e+1]*FHEAP[d];FHEAP[g]=FHEAP[b];FHEAP[g+1]=FHEAP[c];FHEAP[g+2]=FHEAP[f];FHEAP[g+3]=0;d=FHEAP[e]*FHEAP[d]+FHEAP[e+1]*FHEAP[d+1]+FHEAP[e+2]*FHEAP[d+2];d<-0.9999998807907104?(__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(e, +h,i),FHEAP[j]=0,FHEAP[a]=FHEAP[h],FHEAP[a+1]=FHEAP[h+1],FHEAP[a+2]=FHEAP[h+2],FHEAP[a+3]=FHEAP[j]):(e=_sqrtf((1+d)*2),h=1/e,FHEAP[k]=FHEAP[g]*h,FHEAP[l]=FHEAP[g+1]*h,FHEAP[m]=FHEAP[g+2]*h,FHEAP[n]=e*0.5,FHEAP[a]=FHEAP[k],FHEAP[a+1]=FHEAP[l],FHEAP[a+2]=FHEAP[m],FHEAP[a+3]=FHEAP[n]);STACKTOP=b} +function __ZN21btConeTwistConstraint20computeConeLimitInfoERK12btQuaternionRfR9btVector3S3_(a,e,d,b,c){var f=STACKTOP;STACKTOP+=6;var g,h,i,j,k,l=f+1,m,n,o,q=f+2;g=o=FHEAP[e+3];h=g<-1;a:do if(h)o=-1;else{if(!(g>1))break a;o=1}while(0);o=2*_acosf(o);FHEAP[d]=o;o=FHEAP[d]>1.1920928955078125E-7;a:do if(o){g=b;h=i=h=e;j=h+1;h=e;k=h+2;h=q;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[j];FHEAP[h+2]=FHEAP[k];FHEAP[h+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,q,4,4,0);h=i=h=g=b;h=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+ +2]*FHEAP[i+2];h=_sqrtf(h);FHEAP[l]=h;h=g;g=l;FHEAP[f]=1/FHEAP[g];g=f;FHEAP[h]*=FHEAP[g];FHEAP[h+1]*=FHEAP[g];FHEAP[h+2]*=FHEAP[g];g=b;for(g=_fabs(FHEAP[g])>1.1920928955078125E-7?3:4;;)if(g==3)g=4;else if(g==4)if(m=b,m=FHEAP[m+1],n=b,n=0-FHEAP[n+2],FHEAP[c]=FHEAP[a+139],_fabs(m)>1.1920928955078125E-7)break;else break a;g=n*n/(m*m);h=1/(FHEAP[a+140]*FHEAP[a+140]);h+=g/(FHEAP[a+139]*FHEAP[a+139]);g=(1+g)/h;g=_sqrt(g);FHEAP[c]=g}else if(!(FHEAP[d]<0))break a;while(0);STACKTOP=f} +function __ZNK21btConeTwistConstraint33adjustSwingAxisToUseEllipseNormalER9btVector3(a,e){var d=STACKTOP;STACKTOP+=2;var b,c,f,g=d+1,h,i;h=0-FHEAP[e+2];i=FHEAP[e+1];for(b=_fabs(i)>1.1920928955078125E-7?0:1;;)if(b==0)b=h/i,b*=FHEAP[a+140]/FHEAP[a+139],h=h>0,b=_fabs(b*i),h=h?b:0-b,c=0-h,b=e,FHEAP[b+2]=c,c=i,b=e,FHEAP[b+1]=c,c=f=c=b=e,c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2],c=_sqrtf(c),FHEAP[g]=c,c=b,b=g,FHEAP[d]=1/FHEAP[b],b=d,FHEAP[c]*=FHEAP[b],FHEAP[c+1]*=FHEAP[b],FHEAP[c+ +2]*=FHEAP[b],b=1;else if(b==1){STACKTOP=d;break}} +function __ZN21btConeTwistConstraint21computeTwistLimitInfoERK12btQuaternionRfR9btVector3(a,e,d,b){a=STACKTOP;STACKTOP+=42;var c,f,g,h,i,j,k=a+1,l,m,n,o;h=a+2;f=a+3;i=a+4;var q=a+5;g=a+6;var p=a+22;j=a+38;_llvm_memcpy_p0i8_p0i8_i32(g,e,16,4,0);l=c=FHEAP[e+3];m=l<-1;a:do if(m)c=-1;else{if(!(l>1))break a;c=1}while(0);c=2*_acosf(c);FHEAP[d]=c;c=FHEAP[d]>3.1415927410125732?3:4;a:for(;;)if(c==3){l=c=e;FHEAP[h]=0-FHEAP[l];l=c;FHEAP[f]=0-FHEAP[l+1];l=c;FHEAP[i]=0-FHEAP[l+2];FHEAP[q]=0-FHEAP[c+3];c=p;l=h; +m=f;n=i;o=q;FHEAP[c]=FHEAP[l];FHEAP[c+1]=FHEAP[m];FHEAP[c+2]=FHEAP[n];FHEAP[c+3]=FHEAP[o];_llvm_memcpy_p0i8_p0i8_i32(g,p,16,4,0);c=g;l=c=FHEAP[c+3];m=l<-1;b:do if(m)c=-1;else{if(!(l>1))break b;c=1}while(0);c=2*_acosf(c);FHEAP[d]=c;c=4}else if(c==4){c=FHEAP[d]<0?8:9;break a}a:for(;;)if(c==8)c=9;else if(c==9){e=b;f=h=g;f+=1;i=g+2;g=j;FHEAP[g]=FHEAP[h];FHEAP[g+1]=FHEAP[f];FHEAP[g+2]=FHEAP[i];FHEAP[g+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,j,4,4,0);c=FHEAP[d]>1.1920928955078125E-7?10:11;break a}for(;;)if(c== +10)j=g=j=d=b,j=FHEAP[j]*FHEAP[g]+FHEAP[j+1]*FHEAP[g+1]+FHEAP[j+2]*FHEAP[g+2],j=_sqrtf(j),FHEAP[k]=j,j=d,d=k,FHEAP[a]=1/FHEAP[d],d=a,FHEAP[j]*=FHEAP[d],FHEAP[j+1]*=FHEAP[d],FHEAP[j+2]*=FHEAP[d],c=11;else if(c==11){STACKTOP=a;break}} +function __ZNK21btConeTwistConstraint16GetPointForAngleEff(a,e,d,b){var c=STACKTOP;STACKTOP+=31;var f,g,h,i,j,k,l;k=c+1;h=c+2;var m;i=c+3;l=c+7;j=c+8;var n=c+9,o=c+25;g=c+29;f=c+30;FHEAP[c]=b;b=_cosf(d);FHEAP[k]=b;d=_sinf(d);FHEAP[h]=FHEAP[e+139];for(b=_fabs(FHEAP[k])>1.1920928955078125E-7?0:1;;)if(b==0)b=d*d/(FHEAP[k]*FHEAP[k]),m=1/(FHEAP[e+140]*FHEAP[e+140]),m+=b/(FHEAP[e+139]*FHEAP[e+139]),b=(1+b)/m,b=_sqrt(b),FHEAP[h]=b,b=1;else if(b==1){FHEAP[l]=0;FHEAP[j]=0-d;e=i;d=k;k=l;l=d;d=j;j=e;e=d;FHEAP[j]= +FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[e];FHEAP[j+3]=0;j=n;k=i;i=j;j=k;__ZN12btQuaternion11setRotationERK9btVector3RKf(i,j,h);FHEAP[g]=0;FHEAP[f]=0;h=o;i=c;j=g;g=i;i=j;j=f;f=h;h=i;i=j;FHEAP[f]=FHEAP[g];FHEAP[f+1]=FHEAP[h];FHEAP[f+2]=FHEAP[i];FHEAP[f+3]=0;__Z10quatRotateRK12btQuaternionRK9btVector3(a,n,o);STACKTOP=c;break}} +function __ZN21btConeTwistConstraint8setParamEifi(a,e,d,b){for(e=e==1?1:e==2?1:e==3?2:e==4?2:0;;)if(e==0)break;else e==1?(e=d,b>=0&b<3?(FHEAP[a+196]=e,IHEAP[a+194]|=2):FHEAP[a+136]=e,e=0):e==2&&(e=d,b>=0&b<3?(FHEAP[a+195]=e,IHEAP[a+194]|=1):(FHEAP[a+197]=e,IHEAP[a+194]|=4),e=0)} +function __ZNK21btConeTwistConstraint8getParamEii(a,e,d){var b;b=0;for(e=e==1?3:e==2?3:e==3?4:e==4?4:0;;)if(e==0)return b;else if(e==3){if(d>=0&d<3)b=FHEAP[a+196];else{if(!(d>=3&d<6)){e=0;continue}b=FHEAP[a+136]}e=0}else if(e==4){if(d>=0&d<3)b=FHEAP[a+195];else{if(!(d>=3&d<6)){e=0;continue}b=FHEAP[a+197]}e=0}return null} +function __ZN21btConeTwistConstraint9setFramesERK11btTransformS2_(a,e,d){var b;b=a+103;_llvm_memcpy_p0i8_p0i8_i32(b,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,e+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,e+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,e+12,4,4,0);e=a+119;_llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);FUNCTION_TABLE[IHEAP[IHEAP[a]+2]](a)} +function __ZN21btConeTwistConstraintD1Ev(a){IHEAP[a]=__ZTV21btConeTwistConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN21btConeTwistConstraintD0Ev(a){IHEAP[a]=__ZTV21btConeTwistConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZNK21btConeTwistConstraint28calculateSerializeBufferSizeEv(){return 204} +function __ZNK21btConeTwistConstraint9serializeEPvP12btSerializer(a,e,d){var b,c,f,g;__ZNK17btTypedConstraint9serializeEPvP12btSerializer(a,e,d);b=e+14;d=a+103;g=0;a:for(;;){f=b+g*4;var h=c=d+g*4;for(c=0;;){FHEAP[f+c]=FHEAP[h+c];var i=c+1;c=i;if(!(i<4))break}g=f=g+1;if(!(f<3))break a}g=b+12;d+=12;b=0;a:for(;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break a;b=e+30;d=a+119;g=0;a:for(;;){f=b+g*4;h=c=d+g*4;for(c=0;;)if(FHEAP[f+c]=FHEAP[h+c],c=i=c+1,!(i<4))break;g=f=g+1;if(!(f<3))break a}g=b+12;d+=12; +for(b=0;;)if(FHEAP[g+b]=FHEAP[d+b],b=f=b+1,!(f<4))break;FHEAP[e+46]=FHEAP[a+139];FHEAP[e+47]=FHEAP[a+140];FHEAP[e+48]=FHEAP[a+141];FHEAP[e+49]=FHEAP[a+135];FHEAP[e+50]=FHEAP[a+136];FHEAP[e+51]=FHEAP[a+137];FHEAP[e+52]=FHEAP[a+138];return __str64} +function __ZN17btHingeConstraintC2ER11btRigidBodyS1_RK9btVector3S4_S4_S4_b(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=72;var j,k=i+1,l=i+2,m,n=i+3,o=i+4,q=i+5,p=i+6,r=i+7,s=i+8,u=i+9,v=i+10,y=i+11,x=i+12,z=i+16,B=i+20,C=i+24;m=i+28;var A=i+32;j=i+36;var w=i+40,D=i+44,E=i+48,F=i+64,G=i+68;IHEAP[a+4]=4;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;IHEAP[a+11]=d;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]= +__ZTV17btHingeConstraint+2;d=0;a:for(;;){var J=d+1,d=J;if(!(J<3))break a}for(d=0;;)if(d=J=d+1,!(J<3))break;d=a+200;FHEAP[d]=0;FHEAP[d+1]=-1;FHEAP[d+2]=0.8999999761581421;FHEAP[d+3]=0.30000001192092896;FHEAP[d+4]=1;FHEAP[d+5]=0;FHEAP[d+6]=0;IHEAP[d+7]=0;IHEAP[a+212]=0;IHEAP[a+213]=0;IHEAP[a+214]=0;IHEAP[a+215]=1;IHEAP[a+216]=h&1;IHEAP[a+218]=0;_llvm_memcpy_p0i8_p0i8_i32(a+166+12,b,4,4,0);b=e+1;FHEAP[x]=FHEAP[b+0];FHEAP[x+1]=FHEAP[b+4+0];FHEAP[x+2]=FHEAP[b+8+0];FHEAP[x+3]=0;b=FHEAP[f]*FHEAP[x]+FHEAP[f+ +1]*FHEAP[x+1]+FHEAP[f+2]*FHEAP[x+2];b>=0.9999998807907104?(j=e+1,FHEAP[B]=FHEAP[j+2],FHEAP[B+1]=FHEAP[j+4+2],FHEAP[B+2]=FHEAP[j+8+2],FHEAP[B+3]=0,FHEAP[i]=0-FHEAP[B],FHEAP[k]=0-FHEAP[B+1],FHEAP[l]=0-FHEAP[B+2],FHEAP[C]=FHEAP[i],FHEAP[C+1]=FHEAP[k],FHEAP[C+2]=FHEAP[l],FHEAP[C+3]=0,_llvm_memcpy_p0i8_p0i8_i32(x,C,4,4,0),e+=1,FHEAP[m]=FHEAP[e+1],FHEAP[m+1]=FHEAP[e+4+1],FHEAP[m+2]=FHEAP[e+8+1],FHEAP[m+3]=0,_llvm_memcpy_p0i8_p0i8_i32(z,m,4,4,0)):b<=-0.9999998807907104?(m=e+1,FHEAP[A]=FHEAP[m+2],FHEAP[A+ +1]=FHEAP[m+4+2],FHEAP[A+2]=FHEAP[m+8+2],FHEAP[A+3]=0,_llvm_memcpy_p0i8_p0i8_i32(x,A,4,4,0),e+=1,FHEAP[j]=FHEAP[e+1],FHEAP[j+1]=FHEAP[e+4+1],FHEAP[j+2]=FHEAP[e+8+1],FHEAP[j+3]=0,_llvm_memcpy_p0i8_p0i8_i32(z,j,4,4,0)):(FHEAP[n]=FHEAP[f+1]*FHEAP[x+2]-FHEAP[f+2]*FHEAP[x+1],FHEAP[o]=FHEAP[f+2]*FHEAP[x]-FHEAP[f]*FHEAP[x+2],FHEAP[q]=FHEAP[f]*FHEAP[x+1]-FHEAP[f+1]*FHEAP[x],FHEAP[w]=FHEAP[n],FHEAP[w+1]=FHEAP[o],FHEAP[w+2]=FHEAP[q],FHEAP[w+3]=0,_llvm_memcpy_p0i8_p0i8_i32(z,w,4,4,0),FHEAP[p]=FHEAP[z+1]*FHEAP[f+ +2]-FHEAP[z+2]*FHEAP[f+1],FHEAP[r]=FHEAP[z+2]*FHEAP[f]-FHEAP[z]*FHEAP[f+2],FHEAP[s]=FHEAP[z]*FHEAP[f+1]-FHEAP[z+1]*FHEAP[f],FHEAP[D]=FHEAP[p],FHEAP[D+1]=FHEAP[r],FHEAP[D+2]=FHEAP[s],FHEAP[D+3]=0,_llvm_memcpy_p0i8_p0i8_i32(x,D,4,4,0));__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a+166,x,z,f,x+1,z+1,f+1,x+2,z+2,f+2);__Z15shortestArcQuatRK9btVector3S1_(E,f,g);__Z10quatRotateRK12btQuaternionRK9btVector3(F,E,x);FHEAP[u]=FHEAP[g+1]*FHEAP[F+2]-FHEAP[g+2]*FHEAP[F+1];FHEAP[v]=FHEAP[g+2]*FHEAP[F]- +FHEAP[g]*FHEAP[F+2];FHEAP[y]=FHEAP[g]*FHEAP[F+1]-FHEAP[g+1]*FHEAP[F];FHEAP[G]=FHEAP[u];FHEAP[G+1]=FHEAP[v];FHEAP[G+2]=FHEAP[y];FHEAP[G+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+182+12,c,4,4,0);__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a+182,F,G,g,F+1,G+1,g+1,F+2,G+2,g+2);FHEAP[a+211]=IHEAP[a+216]&1?-1:1;STACKTOP=i} +function __ZN17btHingeConstraintC2ER11btRigidBodyRK9btVector3S4_b(a,e,d,b,c){var f=STACKTOP;STACKTOP+=43;var g=f+1,h=f+2,i,j=f+3,k=f+7,l=f+11,m=f+15,n=f+31,o=f+35,q=f+39;IHEAP[a+4]=4;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;i=a+11;__ZN17btTypedConstraint12getFixedBodyEv();IHEAP[i]=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV17btHingeConstraint+ +2;i=0;a:for(;;){var p=i+1;i=p;if(!(p<3))break a}for(i=0;;)if(i=p=i+1,!(p<3))break;i=a+200;FHEAP[i]=0;FHEAP[i+1]=-1;FHEAP[i+2]=0.8999999761581421;FHEAP[i+3]=0.30000001192092896;FHEAP[i+4]=1;FHEAP[i+5]=0;FHEAP[i+6]=0;IHEAP[i+7]=0;IHEAP[a+212]=0;IHEAP[a+213]=0;IHEAP[a+214]=0;IHEAP[a+215]=1;IHEAP[a+216]=c&1;IHEAP[a+218]=0;__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(b,j,k);_llvm_memcpy_p0i8_p0i8_i32(a+166+12,d,4,4,0);__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a+166,j,k,b,j+1,k+1,b+1,j+2,k+2, +b+2);__ZmlRK11btMatrix3x3RK9btVector3(l,e+1,b);__Z15shortestArcQuatRK9btVector3S1_(m,b,l);__Z10quatRotateRK12btQuaternionRK9btVector3(n,m,j);FHEAP[f]=FHEAP[l+1]*FHEAP[n+2]-FHEAP[l+2]*FHEAP[n+1];FHEAP[g]=FHEAP[l+2]*FHEAP[n]-FHEAP[l]*FHEAP[n+2];FHEAP[h]=FHEAP[l]*FHEAP[n+1]-FHEAP[l+1]*FHEAP[n];FHEAP[o]=FHEAP[f];FHEAP[o+1]=FHEAP[g];FHEAP[o+2]=FHEAP[h];FHEAP[o+3]=0;b=a+182+12;__ZNK11btTransformclERK9btVector3(q,e+1,d);_llvm_memcpy_p0i8_p0i8_i32(b,q,4,4,0);__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(a+ +182,n,o,l,n+1,o+1,l+1,n+2,o+2,l+2);FHEAP[a+211]=IHEAP[a+216]&1?-1:1;STACKTOP=f} +function __ZN17btHingeConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,b,c,f){IHEAP[a+4]=4;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;IHEAP[a+11]=d;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV17btHingeConstraint+2;e=0;a:for(;;)if(e=d=e+1,!(d<3))break a;for(e=0;;)if(e=d=e+1,!(d<3))break;e=a+166;_llvm_memcpy_p0i8_p0i8_i32(e,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+ +8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,b+12,4,4,0);b=a+182;_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,c+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,c+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,c+12,4,4,0);c=a+200;FHEAP[c]=0;FHEAP[c+1]=-1;FHEAP[c+2]=0.8999999761581421;FHEAP[c+3]=0.30000001192092896;FHEAP[c+4]=1;FHEAP[c+5]=0;FHEAP[c+6]=0;IHEAP[c+7]=0;IHEAP[a+212]=0;IHEAP[a+213]=0;IHEAP[a+214]=0;IHEAP[a+215]=1;IHEAP[a+216]=f&1;IHEAP[a+218]=0;FHEAP[a+211]=IHEAP[a+216]&1?-1:1} +function __ZN17btHingeConstraintC2ER11btRigidBodyRK11btTransformb(a,e,d,b){var c=STACKTOP;STACKTOP+=4;IHEAP[a+4]=4;IHEAP[a]=__ZTV17btTypedConstraint+2;IHEAP[a+5]=-1;IHEAP[a+6]=-1;FHEAP[a+7]=3.4028234663852886E38;IHEAP[a+8]=1;IHEAP[a+9]=0;IHEAP[a+10]=e;e=a+11;__ZN17btTypedConstraint12getFixedBodyEv();IHEAP[e]=__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed;FHEAP[a+12]=0;FHEAP[a+13]=0.30000001192092896;IHEAP[a]=__ZTV17btHingeConstraint+2;e=0;a:for(;;){var f=e+1,e=f;if(!(f<3))break a}for(e=0;;)if(e= +f=e+1,!(f<3))break;e=a+166;_llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);e=a+182;_llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,d+12,4,4,0);d=a+200;FHEAP[d]=0;FHEAP[d+1]=-1;FHEAP[d+2]=0.8999999761581421;FHEAP[d+3]=0.30000001192092896;FHEAP[d+4]=1;FHEAP[d+5]=0;FHEAP[d+6]=0;IHEAP[d+ +7]=0;IHEAP[a+212]=0;IHEAP[a+213]=0;IHEAP[a+214]=0;IHEAP[a+215]=1;IHEAP[a+216]=b&1;IHEAP[a+218]=0;b=a+182+12;__ZNK11btTransformclERK9btVector3(c,IHEAP[a+10]+1,a+166+12);_llvm_memcpy_p0i8_p0i8_i32(b,c,4,4,0);FHEAP[a+211]=IHEAP[a+216]&1?-1:1;STACKTOP=c} +function __ZN17btHingeConstraint13buildJacobianEv(a){var e=STACKTOP;STACKTOP+=193;var d,b,c,f,g,h,i,j,k,l,m,n,o,q,p=e+1,r=e+2,s,u=e+3,v=e+4,y=e+5,x,z,B,C,A,w,D=e+6,E=e+7,F=e+8,G=e+9,J=e+10,H=e+11,M=e+12,K=e+13,N=e+14,R=e+18,O=e+22,Q=e+26,I=e+30,L=e+34,P=e+46,S=e+50,T=e+51,U=e+52,W=e+53,Z=e+65,ca=e+77,Y=e+81,ea=e+85,ha=e+89,ba=e+93,V=e+97,aa=e+101,X=e+105,ka=e+109,da=e+113,fa=e+125,ga=e+137,ja=e+149,la=e+161,qa=e+173,pa=e+185,wa=e+189;d=IHEAP[a+214]&1?0:1;a:for(;;)if(d==0){FHEAP[a+12]=0;FHEAP[a+217]= +0;d=IHEAP[a+212]&1?2:3;b:for(;;)if(d==2){o=m=a+166;o+=2;n=m+4;n+=2;m+=8;q=m+2;m=ba;FHEAP[m]=FHEAP[o];FHEAP[m+1]=FHEAP[n];FHEAP[m+2]=FHEAP[q];FHEAP[m+3]=0;__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(ba,ea,ha);m=a;m=IHEAP[m+10];m+=1;__ZmlRK11btMatrix3x3RK9btVector3(V,m,ea);m=a;m=IHEAP[m+10];m+=1;__ZmlRK11btMatrix3x3RK9btVector3(aa,m,ha);m=a;m=IHEAP[m+10];m+=1;n=o=a+166;n+=2;q=o+4;q+=2;o+=8;s=o+2;o=ka;FHEAP[o]=FHEAP[n];FHEAP[o+1]=FHEAP[q];FHEAP[o+2]=FHEAP[s];FHEAP[o+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(X, +m,ka);m=a+103;d=m==0?8:9;break b}else if(d==3){o=IHEAP[a+10];o+=1;n=a+166;n+=12;__ZNK11btTransformclERK9btVector3(O,o,n);o=IHEAP[a+11];o+=1;n=a+182;n+=12;__ZNK11btTransformclERK9btVector3(Q,o,n);o=Q;n=O;FHEAP[H]=FHEAP[o]-FHEAP[n];FHEAP[M]=FHEAP[o+1]-FHEAP[n+1];FHEAP[K]=FHEAP[o+2]-FHEAP[n+2];o=I;n=H;q=M;s=K;FHEAP[o]=FHEAP[n];FHEAP[o+1]=FHEAP[q];FHEAP[o+2]=FHEAP[s];FHEAP[o+3]=0;q=o=n=o=I;o=L;FHEAP[q]*FHEAP[n]+FHEAP[q+1]*FHEAP[n+1]+FHEAP[q+2]*FHEAP[n+2]>1.1920928955078125E-7?(q=s=q=n=I,q=FHEAP[q]*FHEAP[s]+ +FHEAP[q+1]*FHEAP[s+1]+FHEAP[q+2]*FHEAP[s+2],q=_sqrtf(q),FHEAP[J]=q,q=n,n=J,FHEAP[G]=1/FHEAP[n],n=q,q=G,FHEAP[D]=FHEAP[n]*FHEAP[q],FHEAP[E]=FHEAP[n+1]*FHEAP[q],FHEAP[F]=FHEAP[n+2]*FHEAP[q],n=P,q=D,s=E,x=F,FHEAP[n]=FHEAP[q],FHEAP[n+1]=FHEAP[s],FHEAP[n+2]=FHEAP[x],FHEAP[n+3]=0,_llvm_memcpy_p0i8_p0i8_i32(o,P,4,4,0)):(FHEAP[S]=1,FHEAP[T]=0,FHEAP[U]=0,s=o,o=S,n=T,q=U,FHEAP[s]=FHEAP[o],FHEAP[s+1]=FHEAP[n],FHEAP[s+2]=FHEAP[q],FHEAP[s+3]=0);__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(L,L+4,L+8);o=0;n=a+40; +q=a+10;s=a+11;x=a+10;z=a+11;B=a+10;C=a+10;A=a+11;w=a+11;c:for(;;){var ua=n+o*21;for(d=ua==0?6:7;;)if(d==6)if(o=ua=o+1,ua<3){d=5;continue c}else{d=2;continue b}else d==7&&(d=ua,b=IHEAP[q],b+=1,c=b,f=b+4,g=b+8,h=b,h+=1,i=b+4,i+=1,j=b+8,j+=1,k=b,k+=2,l=b+4,l+=2,b+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(W,c,f,g,h,i,j,k,l,b+2),b=IHEAP[s],b+=1,c=b,f=b+4,g=b+8,h=b,h+=1,i=b+4,i+=1,j=b+8,j+=1,k=b,k+=2,l=b+4,l+=2,b+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(Z,c,f,g,h,i,j,k,l,b+2),b=IHEAP[x], +b+=1,c=b+12,b=O,FHEAP[u]=FHEAP[b]-FHEAP[c],FHEAP[v]=FHEAP[b+1]-FHEAP[c+1],FHEAP[y]=FHEAP[b+2]-FHEAP[c+2],b=ca,c=u,f=v,g=y,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,b=IHEAP[z],b+=1,c=b+12,b=Q,FHEAP[e]=FHEAP[b]-FHEAP[c],FHEAP[p]=FHEAP[b+1]-FHEAP[c+1],FHEAP[r]=FHEAP[b+2]-FHEAP[c+2],b=Y,c=e,f=p,g=r,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[f],FHEAP[b+2]=FHEAP[g],FHEAP[b+3]=0,h=L+o*4,b=IHEAP[B],i=b+289,b=IHEAP[C],j=FHEAP[b+276],b=IHEAP[A],k=b+289,b=IHEAP[w],l=FHEAP[b+276],b=W,c=Z, +f=ca,g=Y,__ZN15btJacobianEntryC2ERK11btMatrix3x3S2_RK9btVector3S5_S5_S5_fS5_f(d,b,c,f,g,h,i,j,k,l),d=6)}}b:for(;;)if(d==8){var na=a+103+21;d=na==0?10:11;break b}else d==9&&(o=m,n=IHEAP[a+10],n+=1,q=n,s=n+4,x=n+8,z=n,z+=1,B=n+4,B+=1,C=n+8,C+=1,A=n,A+=2,w=n+4,w+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(da,q,s,x,z,B,C,A,w,n+2),n=IHEAP[a+11],n+=1,q=n,s=n+4,x=n+8,z=n,z+=1,B=n+4,B+=1,C=n+8,C+=1,A=n,A+=2,w=n+4,w+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(fa,q,s,x,z,B,C,A,w,n+2), +n=IHEAP[a+10],x=n+289,n=IHEAP[a+11],z=n+289,n=V,q=da,s=fa,__ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(o,n,q,s,x,z),d=8);b:for(;;)if(d==10){var ya=a+103+42;d=ya==0?12:13;break b}else d==11&&(o=na,n=IHEAP[a+10],n+=1,q=n,s=n+4,x=n+8,z=n,z+=1,B=n+4,B+=1,C=n+8,C+=1,A=n,A+=2,w=n+4,w+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ga,q,s,x,z,B,C,A,w,n+2),n=IHEAP[a+11],n+=1,q=n,s=n+4,x=n+8,z=n,z+=1,B=n+4,B+=1,C=n+8,C+=1,A=n,A+=2,w=n+4,w+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ja, +q,s,x,z,B,C,A,w,n+2),n=IHEAP[a+10],x=n+289,n=IHEAP[a+11],z=n+289,n=aa,q=ga,s=ja,__ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(o,n,q,s,x,z),d=10);for(;;)if(d==12){FHEAP[a+209]=0;o=IHEAP[a+10];n=o+1;o=IHEAP[a+11];q=o+1;o=a;n=__ZN17btHingeConstraint13getHingeAngleERK11btTransformS2_(o,n,q);FHEAP[o+210]=n;__ZN14btAngularLimit4testEf(o+200,FHEAP[o+210]);o=a;o=IHEAP[o+10];o+=1;q=n=a+166;q+=2;s=n+4;s+=2;n+=8;x=n+2;n=wa;FHEAP[n]=FHEAP[q];FHEAP[n+1]=FHEAP[s];FHEAP[n+2]=FHEAP[x];FHEAP[n+3]=0; +__ZmlRK11btMatrix3x3RK9btVector3(pa,o,wa);o=a;q=IHEAP[o+10];n=o=pa;__ZmlRK9btVector3RK11btMatrix3x3(N,n,q+256);n=o;o=N;o=FHEAP[n]*FHEAP[o]+FHEAP[n+1]*FHEAP[o+1]+FHEAP[n+2]*FHEAP[o+2];n=a;s=IHEAP[n+11];q=n=pa;__ZmlRK9btVector3RK11btMatrix3x3(R,q,s+256);q=n;n=R;FHEAP[a+208]=1/(o+(FHEAP[q]*FHEAP[n]+FHEAP[q+1]*FHEAP[n+1]+FHEAP[q+2]*FHEAP[n+2]));d=1;continue a}else d==13&&(o=ya,n=IHEAP[a+10],n+=1,q=n,s=n+4,x=n+8,z=n,z+=1,B=n+4,B+=1,C=n+8,C+=1,A=n,A+=2,w=n+4,w+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(la, +q,s,x,z,B,C,A,w,n+2),n=IHEAP[a+11],n+=1,q=n,s=n+4,x=n+8,z=n,z+=1,B=n+4,B+=1,C=n+8,C+=1,A=n,A+=2,w=n+4,w+=2,n+=8,__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(qa,q,s,x,z,B,C,A,w,n+2),n=IHEAP[a+10],x=n+289,n=IHEAP[a+11],z=n+289,n=X,q=la,s=qa,__ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(o,n,q,s,x,z),d=12)}else if(d==1){STACKTOP=e;break}} +function __ZN17btHingeConstraint9testLimitERK11btTransformS2_(a,e,d){e=__ZN17btHingeConstraint13getHingeAngleERK11btTransformS2_(a,e,d);FHEAP[a+210]=e;__ZN14btAngularLimit4testEf(a+200,FHEAP[a+210])} +function __ZN17btHingeConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E(a,e){var d,b,c,f=IHEAP[a+214]&1;a:do if(f)IHEAP[e]=0,IHEAP[e+1]=0;else{IHEAP[e]=5;IHEAP[e+1]=1;d=IHEAP[a+10];b=d+1;d=IHEAP[a+11];c=d+1;d=a;b=__ZN17btHingeConstraint13getHingeAngleERK11btTransformS2_(d,b,c);FHEAP[d+210]=b;__ZN14btAngularLimit4testEf(d+200,FHEAP[d+210]);d=a;d+=200;for(d=(IHEAP[d+7]&1)!=0?1:2;;)if(d==1){IHEAP[e]+=1;IHEAP[e+1]+=-1;break a}else if(d==2)if(d=a,IHEAP[d+213]&1)d=1;else break a}while(0)} +function __ZN17btHingeConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E(a,e){var d=IHEAP[a+10]+1,b=IHEAP[a+11]+1,c=IHEAP[a+10]+272,f=IHEAP[a+11]+272;IHEAP[a+215]&1?__ZN17btHingeConstraint32getInfo2InternalUsingFrameOffsetEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_(a,e,d,b,c,f):__ZN17btHingeConstraint16getInfo2InternalEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_(a,e,d,b,c,f)} +function __ZN17btHingeConstraint32getInfo2InternalUsingFrameOffsetEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_(a,e,d,b,c,f){var cb;var g=STACKTOP;STACKTOP+=330;var h,i=null,j=g+1,k=g+2,l=g+3,m=g+4,n,o=g+5,q=g+6,p=g+7,r=g+8,s=g+9,u=g+10,v=g+11,y=g+12,x=g+13,z=g+14,B=g+15,C=g+16,A=g+17,w=g+18,D=g+19,E=g+20,F=g+21,G=g+22,J=g+23,H=g+24,M=g+25,K=g+26,N=g+27,R=g+28,O=g+29,Q=g+30,I=g+31,L=g+32,P=g+33,S=g+34,T=g+35,U=g+36,W=g+37,Z=g+38,ca=g+39,Y=g+40,ea=g+41,ha=g+42,ba=g+43, +V=g+44,aa=g+45,X=g+46,ka=g+47,da=g+48,fa=g+49,ga=g+50,ja=g+51,la=g+52,qa=g+53,pa=g+54,wa=g+55,ua=g+56,na=g+57,ya=g+58,xa=g+59,ia=g+60,ma=g+61,ta=g+62,ra=g+63,oa=g+64,Da=g+65,Ba=g+66,Oa=g+67,Fa=g+68,Ha=g+69,La=g+70,Ea=g+71,Ca,Aa,za,Ja,Ra,Ua,Xa,Wa,Sa;Xa=g+72;Ua=g+73;Ra=g+74;var Ga,Ia,Pa,Ta,Va,fb=g+75,ib=g+76,Na=g+77,Za,gb,i=g+78;h=g+79;var lb=g+80,$a;gb=g+81;var eb=g+93,bb=g+97,sb=g+109,Ka=g+113;n=g+129;var Ya=g+145,jb=g+149,kb=g+153,tb,Bb;Ca=g+157;za=g+158;Sa=g+159;Wa=g+163;var Qa=g+167,wb=g+171,mb= +g+175,yb=g+179,ub=g+195;Aa=g+211;var Ma=g+215,sa=g+219,va=g+223;Ga=g+227;Pa=g+231;var pb=g+235,ab=g+239,db=g+243,vb=g+244,Fb=g+248,zb=g+252,Kb=g+256,nb=g+257,Cb=g+261,Eb=g+265,Ib=g+269,Jb=g+273,Ab=g+277,qb=g+281,Nb=g+285,rb=g+289,Gb=g+293,Ob=g+294,hb=g+298,Sb=g+302,Ub=g+306,Vb=g+310,Hb=g+314,Lb=g+318,ob=g+322,Db;Ia=g+326;var xb,Qb;Ja=IHEAP[e+6];$a=a+166;__ZmlRK11btMatrix3x3S1_(bb,d,$a);__ZNK11btTransformclERK9btVector3(sb,d,$a+12);_llvm_memcpy_p0i8_p0i8_i32(Ka,bb,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Ka+ +4,bb+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Ka+8,bb+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Ka+12,sb,4,4,0);$a=a+182;__ZmlRK11btMatrix3x3S1_(gb,b,$a);__ZNK11btTransformclERK9btVector3(eb,b,$a+12);_llvm_memcpy_p0i8_p0i8_i32(n,gb,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+4,gb+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+8,gb+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+12,eb,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Ya,Ka+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(jb,n+12,4,4,0);eb=Ka+12;gb=n+12;FHEAP[i]=FHEAP[gb]-FHEAP[eb];FHEAP[h]=FHEAP[gb+ +1]-FHEAP[eb+1];FHEAP[lb]=FHEAP[gb+2]-FHEAP[eb+2];FHEAP[kb]=FHEAP[i];FHEAP[kb+1]=FHEAP[h];FHEAP[kb+2]=FHEAP[lb];FHEAP[kb+3]=0;gb=FHEAP[IHEAP[a+10]+276];lb=FHEAP[IHEAP[a+11]+276];gb<1.1920928955078125E-7?(i=-1,h=0):(i=-1,h=1);a:for(;;)if(h==0){tb=i==-1?1:Wb;Bb=Wb=gb+lb;h=Wb>0?2:3;break a}else if(h==1){var Wb=lb<1.1920928955078125E-7,i=1;h=0}h==2?FHEAP[Ca]=lb/Bb:h==3&&(FHEAP[Ca]=0.5);FHEAP[za]=1-FHEAP[Ca];FHEAP[Sa]=FHEAP[Ka+2];FHEAP[Sa+1]=FHEAP[Ka+4+2];FHEAP[Sa+2]=FHEAP[Ka+8+2];FHEAP[Sa+3]=0;FHEAP[Wa]= +FHEAP[n+2];FHEAP[Wa+1]=FHEAP[n+4+2];FHEAP[Wa+2]=FHEAP[n+8+2];FHEAP[Wa+3]=0;FHEAP[fb]=FHEAP[Sa]*FHEAP[Ca];FHEAP[ib]=FHEAP[Sa+1]*FHEAP[Ca];FHEAP[Na]=FHEAP[Sa+2]*FHEAP[Ca];FHEAP[wb]=FHEAP[fb];FHEAP[wb+1]=FHEAP[ib];FHEAP[wb+2]=FHEAP[Na];FHEAP[wb+3]=0;FHEAP[ka]=FHEAP[Wa]*FHEAP[za];FHEAP[da]=FHEAP[Wa+1]*FHEAP[za];FHEAP[fa]=FHEAP[Wa+2]*FHEAP[za];FHEAP[mb]=FHEAP[ka];FHEAP[mb+1]=FHEAP[da];FHEAP[mb+2]=FHEAP[fa];FHEAP[mb+3]=0;FHEAP[k]=FHEAP[wb]+FHEAP[mb];FHEAP[l]=FHEAP[wb+1]+FHEAP[mb+1];FHEAP[m]=FHEAP[wb+2]+ +FHEAP[mb+2];FHEAP[Qa]=FHEAP[k];FHEAP[Qa+1]=FHEAP[l];FHEAP[Qa+2]=FHEAP[m];FHEAP[Qa+3]=0;k=_sqrtf(FHEAP[Qa]*FHEAP[Qa]+FHEAP[Qa+1]*FHEAP[Qa+1]+FHEAP[Qa+2]*FHEAP[Qa+2]);FHEAP[j]=k;FHEAP[g]=1/FHEAP[j];FHEAP[Qa]*=FHEAP[g];FHEAP[Qa+1]*=FHEAP[g];FHEAP[Qa+2]*=FHEAP[g];_llvm_memcpy_p0i8_p0i8_i32(yb,d,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(yb+4,d+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(yb+8,d+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(yb+12,d+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ub,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ub+4, +b+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ub+8,b+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(ub+12,b+12,4,4,0);b=Ja*2;d=2;ub+=12;n+=12;FHEAP[o]=FHEAP[n]-FHEAP[ub];FHEAP[q]=FHEAP[n+1]-FHEAP[ub+1];FHEAP[p]=FHEAP[n+2]-FHEAP[ub+2];FHEAP[pb]=FHEAP[o];FHEAP[pb+1]=FHEAP[q];FHEAP[pb+2]=FHEAP[p];FHEAP[pb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(va,pb,4,4,0);FHEAP[db]=FHEAP[va]*FHEAP[Qa]+FHEAP[va+1]*FHEAP[Qa+1]+FHEAP[va+2]*FHEAP[Qa+2];FHEAP[r]=FHEAP[Qa]*FHEAP[db];FHEAP[s]=FHEAP[Qa+1]*FHEAP[db];FHEAP[u]=FHEAP[Qa+2]*FHEAP[db];FHEAP[ab]= +FHEAP[r];FHEAP[ab+1]=FHEAP[s];FHEAP[ab+2]=FHEAP[u];FHEAP[ab+3]=0;FHEAP[v]=FHEAP[va]-FHEAP[ab];FHEAP[y]=FHEAP[va+1]-FHEAP[ab+1];FHEAP[x]=FHEAP[va+2]-FHEAP[ab+2];FHEAP[vb]=FHEAP[v];FHEAP[vb+1]=FHEAP[y];FHEAP[vb+2]=FHEAP[x];FHEAP[vb+3]=0;q=yb+12;o=Ka+12;FHEAP[z]=FHEAP[o]-FHEAP[q];FHEAP[B]=FHEAP[o+1]-FHEAP[q+1];FHEAP[C]=FHEAP[o+2]-FHEAP[q+2];FHEAP[Fb]=FHEAP[z];FHEAP[Fb+1]=FHEAP[B];FHEAP[Fb+2]=FHEAP[C];FHEAP[Fb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(sa,Fb,4,4,0);FHEAP[Kb]=FHEAP[sa]*FHEAP[Qa]+FHEAP[sa+1]*FHEAP[Qa+ +1]+FHEAP[sa+2]*FHEAP[Qa+2];FHEAP[A]=FHEAP[Qa]*FHEAP[Kb];FHEAP[w]=FHEAP[Qa+1]*FHEAP[Kb];FHEAP[D]=FHEAP[Qa+2]*FHEAP[Kb];FHEAP[zb]=FHEAP[A];FHEAP[zb+1]=FHEAP[w];FHEAP[zb+2]=FHEAP[D];FHEAP[zb+3]=0;FHEAP[E]=FHEAP[sa]-FHEAP[zb];FHEAP[F]=FHEAP[sa+1]-FHEAP[zb+1];FHEAP[G]=FHEAP[sa+2]-FHEAP[zb+2];FHEAP[nb]=FHEAP[E];FHEAP[nb+1]=FHEAP[F];FHEAP[nb+2]=FHEAP[G];FHEAP[nb+3]=0;FHEAP[J]=FHEAP[zb]-FHEAP[ab];FHEAP[H]=FHEAP[zb+1]-FHEAP[ab+1];FHEAP[M]=FHEAP[zb+2]-FHEAP[ab+2];FHEAP[Cb]=FHEAP[J];FHEAP[Cb+1]=FHEAP[H];FHEAP[Cb+ +2]=FHEAP[M];FHEAP[Cb+3]=0;FHEAP[K]=FHEAP[Cb]*FHEAP[Ca];FHEAP[N]=FHEAP[Cb+1]*FHEAP[Ca];FHEAP[R]=FHEAP[Cb+2]*FHEAP[Ca];FHEAP[Eb]=FHEAP[K];FHEAP[Eb+1]=FHEAP[N];FHEAP[Eb+2]=FHEAP[R];FHEAP[Eb+3]=0;FHEAP[O]=FHEAP[nb]+FHEAP[Eb];FHEAP[Q]=FHEAP[nb+1]+FHEAP[Eb+1];FHEAP[I]=FHEAP[nb+2]+FHEAP[Eb+2];FHEAP[Ib]=FHEAP[O];FHEAP[Ib+1]=FHEAP[Q];FHEAP[Ib+2]=FHEAP[I];FHEAP[Ib+3]=0;_llvm_memcpy_p0i8_p0i8_i32(sa,Ib,4,4,0);FHEAP[L]=FHEAP[Cb]*FHEAP[za];FHEAP[P]=FHEAP[Cb+1]*FHEAP[za];FHEAP[S]=FHEAP[Cb+2]*FHEAP[za];FHEAP[Jb]= +FHEAP[L];FHEAP[Jb+1]=FHEAP[P];FHEAP[Jb+2]=FHEAP[S];FHEAP[Jb+3]=0;FHEAP[T]=FHEAP[vb]-FHEAP[Jb];FHEAP[U]=FHEAP[vb+1]-FHEAP[Jb+1];FHEAP[W]=FHEAP[vb+2]-FHEAP[Jb+2];FHEAP[Ab]=FHEAP[T];FHEAP[Ab+1]=FHEAP[U];FHEAP[Ab+2]=FHEAP[W];FHEAP[Ab+3]=0;_llvm_memcpy_p0i8_p0i8_i32(va,Ab,4,4,0);FHEAP[Z]=FHEAP[vb]*FHEAP[Ca];FHEAP[ca]=FHEAP[vb+1]*FHEAP[Ca];FHEAP[Y]=FHEAP[vb+2]*FHEAP[Ca];FHEAP[qb]=FHEAP[Z];FHEAP[qb+1]=FHEAP[ca];FHEAP[qb+2]=FHEAP[Y];FHEAP[qb+3]=0;FHEAP[ea]=FHEAP[nb]*FHEAP[za];FHEAP[ha]=FHEAP[nb+1]*FHEAP[za]; +FHEAP[ba]=FHEAP[nb+2]*FHEAP[za];FHEAP[Nb]=FHEAP[ea];FHEAP[Nb+1]=FHEAP[ha];FHEAP[Nb+2]=FHEAP[ba];FHEAP[Nb+3]=0;FHEAP[V]=FHEAP[qb]+FHEAP[Nb];FHEAP[aa]=FHEAP[qb+1]+FHEAP[Nb+1];FHEAP[X]=FHEAP[qb+2]+FHEAP[Nb+2];FHEAP[rb]=FHEAP[V];FHEAP[rb+1]=FHEAP[aa];FHEAP[rb+2]=FHEAP[X];FHEAP[rb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ga,rb,4,4,0);z=FHEAP[Ga]*FHEAP[Ga]+FHEAP[Ga+1]*FHEAP[Ga+1]+FHEAP[Ga+2]*FHEAP[Ga+2];z>1.1920928955078125E-7?(Ka=_sqrtf(z),FHEAP[Gb]=Ka,FHEAP[ga]=1/FHEAP[Gb],FHEAP[Ga]*=FHEAP[ga],FHEAP[Ga+1]*=FHEAP[ga], +FHEAP[Ga+2]*=FHEAP[ga]):(FHEAP[Ob]=FHEAP[Ka+1],FHEAP[Ob+1]=FHEAP[Ka+4+1],FHEAP[Ob+2]=FHEAP[Ka+8+1],FHEAP[Ob+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Ga,Ob,4,4,0));FHEAP[ja]=FHEAP[Qa+1]*FHEAP[Ga+2]-FHEAP[Qa+2]*FHEAP[Ga+1];FHEAP[la]=FHEAP[Qa+2]*FHEAP[Ga]-FHEAP[Qa]*FHEAP[Ga+2];FHEAP[qa]=FHEAP[Qa]*FHEAP[Ga+1]-FHEAP[Qa+1]*FHEAP[Ga];FHEAP[hb]=FHEAP[ja];FHEAP[hb+1]=FHEAP[la];FHEAP[hb+2]=FHEAP[qa];FHEAP[hb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Pa,hb,4,4,0);FHEAP[pa]=FHEAP[sa+1]*FHEAP[Ga+2]-FHEAP[sa+2]*FHEAP[Ga+1];FHEAP[wa]= +FHEAP[sa+2]*FHEAP[Ga]-FHEAP[sa]*FHEAP[Ga+2];FHEAP[ua]=FHEAP[sa]*FHEAP[Ga+1]-FHEAP[sa+1]*FHEAP[Ga];FHEAP[Sb]=FHEAP[pa];FHEAP[Sb+1]=FHEAP[wa];FHEAP[Sb+2]=FHEAP[ua];FHEAP[Sb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Aa,Sb,4,4,0);FHEAP[na]=FHEAP[va+1]*FHEAP[Ga+2]-FHEAP[va+2]*FHEAP[Ga+1];FHEAP[ya]=FHEAP[va+2]*FHEAP[Ga]-FHEAP[va]*FHEAP[Ga+2];FHEAP[xa]=FHEAP[va]*FHEAP[Ga+1]-FHEAP[va+1]*FHEAP[Ga];FHEAP[Ub]=FHEAP[na];FHEAP[Ub+1]=FHEAP[ya];FHEAP[Ub+2]=FHEAP[xa];FHEAP[Ub+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ma,Ub,4,4,0);ga= +0;a:for(;;)if(la=ga,ja=Aa,FHEAP[IHEAP[e+3]+(ga+0)]=FHEAP[ja+la],ga=ja=ga+1,!(ja<3))break a;ga=0;a:for(;;)if(la=ga,ja=Ma,FHEAP[IHEAP[e+5]+(ga+0)]=0-FHEAP[ja+la],ga=ja=ga+1,!(ja<3))break a;FHEAP[ia]=FHEAP[sa+1]*FHEAP[Pa+2]-FHEAP[sa+2]*FHEAP[Pa+1];FHEAP[ma]=FHEAP[sa+2]*FHEAP[Pa]-FHEAP[sa]*FHEAP[Pa+2];FHEAP[ta]=FHEAP[sa]*FHEAP[Pa+1]-FHEAP[sa+1]*FHEAP[Pa];FHEAP[Vb]=FHEAP[ia];FHEAP[Vb+1]=FHEAP[ma];FHEAP[Vb+2]=FHEAP[ta];FHEAP[Vb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Aa,Vb,4,4,0);FHEAP[ra]=FHEAP[va+1]*FHEAP[Pa+ +2]-FHEAP[va+2]*FHEAP[Pa+1];FHEAP[oa]=FHEAP[va+2]*FHEAP[Pa]-FHEAP[va]*FHEAP[Pa+2];FHEAP[Da]=FHEAP[va]*FHEAP[Pa+1]-FHEAP[va+1]*FHEAP[Pa];FHEAP[Hb]=FHEAP[ra];FHEAP[Hb+1]=FHEAP[oa];FHEAP[Hb+2]=FHEAP[Da];FHEAP[Hb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ma,Hb,4,4,0);h=tb&1?10:11;a:for(;;)if(h==10){ia=a;ia+=200;if((IHEAP[ia+7]&1)==0){h=11;continue a}ma=Ma;ia=za;FHEAP[ma]*=FHEAP[ia];FHEAP[ma+1]*=FHEAP[ia];FHEAP[ma+2]*=FHEAP[ia];ma=Aa;ia=Ca;FHEAP[ma]*=FHEAP[ia];FHEAP[ma+1]*=FHEAP[ia];FHEAP[ma+2]*=FHEAP[ia];h=11}else if(h== +11){ga=0;break a}a:for(;;)if(ma=ga,ia=Aa,FHEAP[IHEAP[e+3]+(ga+Ja)]=FHEAP[ia+ma],ga=ia=ga+1,!(ia<3))break a;ga=0;a:for(;;)if(ma=ga,ia=Ma,FHEAP[IHEAP[e+5]+(ga+Ja)]=0-FHEAP[ia+ma],ga=ia=ga+1,!(ia<3))break a;FHEAP[Ba]=FHEAP[sa+1]*FHEAP[Qa+2]-FHEAP[sa+2]*FHEAP[Qa+1];FHEAP[Oa]=FHEAP[sa+2]*FHEAP[Qa]-FHEAP[sa]*FHEAP[Qa+2];FHEAP[Fa]=FHEAP[sa]*FHEAP[Qa+1]-FHEAP[sa+1]*FHEAP[Qa];FHEAP[Lb]=FHEAP[Ba];FHEAP[Lb+1]=FHEAP[Oa];FHEAP[Lb+2]=FHEAP[Fa];FHEAP[Lb+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Aa,Lb,4,4,0);FHEAP[Ha]=FHEAP[va+ +1]*FHEAP[Qa+2]-FHEAP[va+2]*FHEAP[Qa+1];FHEAP[La]=FHEAP[va+2]*FHEAP[Qa]-FHEAP[va]*FHEAP[Qa+2];FHEAP[Ea]=FHEAP[va]*FHEAP[Qa+1]-FHEAP[va+1]*FHEAP[Qa];FHEAP[ob]=FHEAP[Ha];FHEAP[ob+1]=FHEAP[La];FHEAP[ob+2]=FHEAP[Ea];FHEAP[ob+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Ma,ob,4,4,0);h=tb&1?17:18;a:for(;;)if(h==17)Oa=Ma,Ba=za,FHEAP[Oa]*=FHEAP[Ba],FHEAP[Oa+1]*=FHEAP[Ba],FHEAP[Oa+2]*=FHEAP[Ba],Oa=Aa,Ba=Ca,FHEAP[Oa]*=FHEAP[Ba],FHEAP[Oa+1]*=FHEAP[Ba],FHEAP[Oa+2]*=FHEAP[Ba],h=18;else if(h==18){ga=0;break a}a:for(;;)if(za= +ga,Ca=Aa,FHEAP[IHEAP[e+3]+(ga+b)]=FHEAP[Ca+za],ga=Ca=ga+1,!(Ca<3))break a;ga=0;a:for(;;)if(Ca=ga,Aa=Ma,FHEAP[IHEAP[e+5]+(ga+b)]=0-FHEAP[Aa+Ca],ga=Aa=ga+1,!(Aa<3))break a;Ma=FHEAP[e]*FHEAP[e+1];h=IHEAP[a+212]&1?23:24;a:for(;;)if(h==23){Db=Ja*3;Ta=Ja*4;Ja=Ga;FHEAP[IHEAP[e+3]+Db]=FHEAP[Ja];Ja=Ga;FHEAP[IHEAP[e+3]+(Db+1)]=FHEAP[Ja+1];Ja=Ga;FHEAP[IHEAP[e+3]+(Db+2)]=FHEAP[Ja+2];Ja=Pa;FHEAP[IHEAP[e+3]+Ta]=FHEAP[Ja];Ja=Pa;FHEAP[IHEAP[e+3]+(Ta+1)]=FHEAP[Ja+1];Ja=Pa;FHEAP[IHEAP[e+3]+(Ta+2)]=FHEAP[Ja+2];Ja=Ga; +FHEAP[IHEAP[e+5]+Db]=0-FHEAP[Ja];Ja=Ga;FHEAP[IHEAP[e+5]+(Db+1)]=0-FHEAP[Ja+1];Ja=Ga;FHEAP[IHEAP[e+5]+(Db+2)]=0-FHEAP[Ja+2];Ja=Pa;FHEAP[IHEAP[e+5]+Ta]=0-FHEAP[Ja];Ja=Pa;FHEAP[IHEAP[e+5]+(Ta+1)]=0-FHEAP[Ja+1];Ja=Pa;FHEAP[IHEAP[e+5]+(Ta+2)]=0-FHEAP[Ja+2];Ma=FHEAP[e]*FHEAP[e+1];FHEAP[Xa]=FHEAP[Sa+1]*FHEAP[Wa+2]-FHEAP[Sa+2]*FHEAP[Wa+1];FHEAP[Ua]=FHEAP[Sa+2]*FHEAP[Wa]-FHEAP[Sa]*FHEAP[Wa+2];FHEAP[Ra]=FHEAP[Sa]*FHEAP[Wa+1]-FHEAP[Sa+1]*FHEAP[Wa];Wa=Ia;Sa=Ua;Ua=Xa;Xa=Sa;Sa=Ra;Ra=Wa;Wa=Sa;FHEAP[Ra]=FHEAP[Ua]; +FHEAP[Ra+1]=FHEAP[Xa];FHEAP[Ra+2]=FHEAP[Wa];FHEAP[Ra+3]=0;Ra=Ma;Ua=Ia;FHEAP[IHEAP[e+7]+Db]=Ra*(FHEAP[Ua]*FHEAP[Ga]+FHEAP[Ua+1]*FHEAP[Ga+1]+FHEAP[Ua+2]*FHEAP[Ga+2]);Db=Ma;FHEAP[IHEAP[e+7]+Ta]=Db*(FHEAP[Ia]*FHEAP[Pa]+FHEAP[Ia+1]*FHEAP[Pa+1]+FHEAP[Ia+2]*FHEAP[Pa+2]);d=4;Db=Ta=0;Pa=a;Pa+=200;h=(IHEAP[Pa+7]&1)!=0?31:32;break a}else if(h==24){ga=0;b:for(;;)if(Ca=ga,Aa=Ga,FHEAP[IHEAP[e+2]+(ga+0)]=FHEAP[Aa+Ca],ga=Aa=ga+1,!(Aa<3))break b;ga=0;b:for(;;)if(Ca=ga,Aa=Pa,FHEAP[IHEAP[e+2]+(ga+Ja)]=FHEAP[Aa+Ca], +ga=Aa=ga+1,!(Aa<3))break b;for(ga=0;;)if(Ca=ga,Aa=Qa,FHEAP[IHEAP[e+2]+(ga+b)]=FHEAP[Aa+Ca],ga=Aa=ga+1,!(Aa<3))break;Ca=Ma;za=Ga;Aa=kb;Aa=Ca*(FHEAP[za]*FHEAP[Aa]+FHEAP[za+1]*FHEAP[Aa+1]+FHEAP[za+2]*FHEAP[Aa+2]);FHEAP[IHEAP[e+7]+0]=Aa;Ca=Ma;za=Pa;Aa=kb;Aa=Ca*(FHEAP[za]*FHEAP[Aa]+FHEAP[za+1]*FHEAP[Aa+1]+FHEAP[za+2]*FHEAP[Aa+2]);FHEAP[IHEAP[e+7]+Ja]=Aa;Ca=Ma;za=Qa;Aa=kb;Aa=Ca*(FHEAP[za]*FHEAP[Aa]+FHEAP[za+1]*FHEAP[Aa+1]+FHEAP[za+2]*FHEAP[Aa+2]);FHEAP[IHEAP[e+7]+b]=Aa;h=23}a:for(;;)if(h==31)Ta=a+200,Ta= +FHEAP[Ta+5]*FHEAP[a+211],Db=Ta>0?1:2,h=32;else if(h==32){Qb=0;Pa=a;h=IHEAP[Pa+213]&1?33:34;break a}a:for(;;)if(h==33)Qb=1,h=34;else if(h==34){h=Db!=0?35:36;break a}a:for(;;)if(h==35){d+=1;xb=IHEAP[e+6]*d;Va=Qa;FHEAP[IHEAP[e+3]+xb]=FHEAP[Va];Va=Qa;FHEAP[IHEAP[e+3]+(xb+1)]=FHEAP[Va+1];Va=Qa;FHEAP[IHEAP[e+3]+(xb+2)]=FHEAP[Va+2];Va=Qa;FHEAP[IHEAP[e+5]+xb]=0-FHEAP[Va];Va=Qa;FHEAP[IHEAP[e+5]+(xb+1)]=0-FHEAP[Va+1];Va=Qa;FHEAP[IHEAP[e+5]+(xb+2)]=0-FHEAP[Va+2];Va=a;Va+=200;Va=FHEAP[Va]-FHEAP[Va+1];var Tb= +_fmodf(Va,6.2831854820251465);Va=Tb;h=Tb<-3.1415927410125732?38:39;break a}else if(h==36)if(Qb!=0)h=35;else{h=37;break a}a:for(;;){if(h==37){STACKTOP=g;break}else h==38?Za=Tb+6.2831854820251465:h==39&&(Za=Va,Za=Tb>3.1415927410125732?Za-6.2831854820251465:Za);Pa=Za;Ia=a;Ia+=200;cb=Ga=FHEAP[Ia]+FHEAP[Ia+1],Ia=cb;Ga=Ia=_fmodf(Ia,6.2831854820251465);Ia<-3.1415927410125732?Ia+=6.2831854820251465:Ia=Ia>3.1415927410125732?Ga-6.2831854820251465:Ga;h=Db!=0?42:43;b:for(;;)if(h==42){if(Pa!=Ia){h=43;continue b}Qb= +0;h=43}else if(h==43){FHEAP[IHEAP[e+7]+xb]=0;h=(IHEAP[a+218]&2)!=0?45:46;break b}if(h==45)var $b=FHEAP[a+221],i=45;else if(h==46)var Zb=FHEAP[e+1],i=46;Ga=i==45?$b:Zb;h=Qb!=0?48:49;b:for(;;)if(h==48)for(h=(IHEAP[a+218]&4)!=0?50:51;;)if(h==50)FHEAP[IHEAP[e+8]+xb]=FHEAP[a+219],h=51;else{if(h==51){Ra=__ZN17btTypedConstraint14getMotorFactorEfffff(a,FHEAP[a+210],Pa,Ia,FHEAP[a+198],FHEAP[e]*Ga);FHEAP[IHEAP[e+7]+xb]+=Ra*FHEAP[a+198]*FHEAP[a+211];FHEAP[IHEAP[e+9]+xb]=0-FHEAP[a+199];FHEAP[IHEAP[e+10]+xb]= +FHEAP[a+199];h=49;continue b}}else if(h==49)if(Db!=0)break b;else{h=37;continue a}Ma=FHEAP[e]*Ga;FHEAP[IHEAP[e+7]+xb]+=Ma*Ta;h=(IHEAP[a+218]&1)!=0?53:54;b:for(;;)if(h==53)FHEAP[IHEAP[e+8]+xb]=FHEAP[a+220],h=54;else if(h==54){h=Pa==Ia?55:56;break b}h==55?(FHEAP[IHEAP[e+9]+xb]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+xb]=3.4028234663852886E38):h==56&&(Pa=IHEAP[e+9]+xb,Db==1?(FHEAP[Pa]=0,FHEAP[IHEAP[e+10]+xb]=3.4028234663852886E38):(FHEAP[Pa]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+xb]=0));Pa=a+200; +Pa=Ia=FHEAP[Pa+4];for(h=Ia>0?58:59;;)if(h==58){Ga=c;Ia=Qa;Ia=FHEAP[Ga]*FHEAP[Ia]+FHEAP[Ga+1]*FHEAP[Ia+1]+FHEAP[Ga+2]*FHEAP[Ia+2];Ra=f;Ga=Qa;Ia-=FHEAP[Ra]*FHEAP[Ga]+FHEAP[Ra+1]*FHEAP[Ga+1]+FHEAP[Ra+2]*FHEAP[Ga+2];Ga=Ia;if(Db==1){if(!(Ga<0)){h=59;continue}Ia*=0-Pa;if(!(Ia>FHEAP[IHEAP[e+7]+xb])){h=59;continue}}else{if(!(Ga>0)){h=59;continue}Ia*=0-Pa;if(!(Ia<FHEAP[IHEAP[e+7]+xb])){h=59;continue}}FHEAP[IHEAP[e+7]+xb]=Ia;h=59}else if(h==59){Pa=a+200;FHEAP[IHEAP[e+7]+xb]*=FHEAP[Pa+3];h=37;continue a}}} +function __ZN17btHingeConstraint16getInfo2InternalEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_(a,e,d,b,c,f){var V;var g=STACKTOP;STACKTOP+=116;var h,i=null,j,k,l,m,n,o,q,p,r;p=g+1;q=g+2;var s,u,v,y,x,z,B,C,A;A=g+3;z=g+4;C=g+5;var w,D,E,F,G;E=g+6;D=g+7;w=g+8;var J,H;G=g+9;H=g+10;J=g+11;var M;h=g+12;var K=g+24,N=g+28,R=g+40,O;k=g+44;n=g+60;var Q=g+76,I=g+80;F=g+84;var L=g+88;O=g+92;var P=g+96;s=g+100;v=g+104;r=g+108;u=g+112;var S,T;o=IHEAP[e+6];M=a+166;__ZmlRK11btMatrix3x3S1_(N, +d,M);__ZNK11btTransformclERK9btVector3(R,d,M+12);_llvm_memcpy_p0i8_p0i8_i32(k,N,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+4,N+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+8,N+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(k+12,R,4,4,0);M=a+182;__ZmlRK11btMatrix3x3S1_(h,b,M);__ZNK11btTransformclERK9btVector3(K,b,M+12);_llvm_memcpy_p0i8_p0i8_i32(n,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+12,K,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(Q,k+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(I, +n+12,4,4,0);h=IHEAP[a+212]&1?0:1;a:for(;;)if(h==0){B=d;d=B+12;B=Q;FHEAP[G]=FHEAP[B]-FHEAP[d];FHEAP[H]=FHEAP[B+1]-FHEAP[d+1];FHEAP[J]=FHEAP[B+2]-FHEAP[d+2];B=F;d=J;J=G;G=d;FHEAP[B]=FHEAP[J];FHEAP[B+1]=FHEAP[H];FHEAP[B+2]=FHEAP[G];FHEAP[B+3]=0;B=IHEAP[e+3];J=IHEAP[e+3]+o;H=IHEAP[e+3]+o*2;FHEAP[E]=0-FHEAP[F];FHEAP[D]=0-FHEAP[F+1];FHEAP[w]=0-FHEAP[F+2];F=L;G=D;D=E;E=G;G=w;w=F;F=G;FHEAP[w]=FHEAP[D];FHEAP[w+1]=FHEAP[E];FHEAP[w+2]=FHEAP[F];FHEAP[w+3]=0;__ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(L, +B,J,H);B=b;b=B+12;B=I;FHEAP[A]=FHEAP[B]-FHEAP[b];FHEAP[z]=FHEAP[B+1]-FHEAP[b+1];FHEAP[C]=FHEAP[B+2]-FHEAP[b+2];B=O;b=C;C=A;A=b;FHEAP[B]=FHEAP[C];FHEAP[B+1]=FHEAP[z];FHEAP[B+2]=FHEAP[A];FHEAP[B+3]=0;B=IHEAP[e+5];C=IHEAP[e+5]+o;z=IHEAP[e+5]+o*2;__ZNK9btVector322getSkewSymmetricMatrixEPS_S0_S0_(O,B,C,z);B=FHEAP[e]*FHEAP[e+1];h=IHEAP[a+212]&1?2:3;break a}else h==1&&(FHEAP[IHEAP[e+2]]=1,FHEAP[IHEAP[e+2]+(o+1)]=1,FHEAP[IHEAP[e+2]+(o*2+2)]=1,h=0);a:for(;;)if(h==2){j=l=k;j+=2;m=l+4;m+=2;l+=8;o=l+2;l=P;FHEAP[l]= +FHEAP[j];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;j=l=k;j+=0;m=l+4;m+=0;l+=8;o=l+0;l=s;FHEAP[l]=FHEAP[j];FHEAP[l+1]=FHEAP[m];FHEAP[l+2]=FHEAP[o];FHEAP[l+3]=0;l=k;l+=1;j=k+4;j+=1;k+=8;m=k+1;k=v;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[j];FHEAP[k+2]=FHEAP[m];FHEAP[k+3]=0;l=IHEAP[e+6]*3;k=IHEAP[e+6]*4;j=s;FHEAP[IHEAP[e+3]+l]=FHEAP[j];j=s;FHEAP[IHEAP[e+3]+(l+1)]=FHEAP[j+1];j=s;FHEAP[IHEAP[e+3]+(l+2)]=FHEAP[j+2];j=v;FHEAP[IHEAP[e+3]+k]=FHEAP[j];j=v;FHEAP[IHEAP[e+3]+(k+1)]=FHEAP[j+1];j=v;FHEAP[IHEAP[e+ +3]+(k+2)]=FHEAP[j+2];j=s;FHEAP[IHEAP[e+5]+l]=0-FHEAP[j];j=s;FHEAP[IHEAP[e+5]+(l+1)]=0-FHEAP[j+1];j=s;FHEAP[IHEAP[e+5]+(l+2)]=0-FHEAP[j+2];j=v;FHEAP[IHEAP[e+5]+k]=0-FHEAP[j];j=v;FHEAP[IHEAP[e+5]+(k+1)]=0-FHEAP[j+1];j=v;FHEAP[IHEAP[e+5]+(k+2)]=0-FHEAP[j+2];j=n;j+=2;m=n+4;m+=2;n+=8;o=n+2;n=r;FHEAP[n]=FHEAP[j];FHEAP[n+1]=FHEAP[m];FHEAP[n+2]=FHEAP[o];FHEAP[n+3]=0;n=P;FHEAP[g]=FHEAP[n+1]*FHEAP[r+2]-FHEAP[n+2]*FHEAP[r+1];FHEAP[p]=FHEAP[n+2]*FHEAP[r]-FHEAP[n]*FHEAP[r+2];FHEAP[q]=FHEAP[n]*FHEAP[r+1]-FHEAP[n+ +1]*FHEAP[r];r=u;n=g;j=p;p=n;n=j;j=q;q=r;r=n;n=j;FHEAP[q]=FHEAP[p];FHEAP[q+1]=FHEAP[r];FHEAP[q+2]=FHEAP[n];FHEAP[q+3]=0;q=B;p=u;FHEAP[IHEAP[e+7]+l]=q*(FHEAP[p]*FHEAP[s]+FHEAP[p+1]*FHEAP[s+1]+FHEAP[p+2]*FHEAP[s+2]);s=B;FHEAP[IHEAP[e+7]+k]=s*(FHEAP[u]*FHEAP[v]+FHEAP[u+1]*FHEAP[v+1]+FHEAP[u+2]*FHEAP[v+2]);m=4;j=l=0;v=a;v+=200;h=(IHEAP[v+7]&1)!=0?5:6;break a}else if(h==3)for(O=0;;)if(C=B,A=O,z=I,A=FHEAP[z+A],b=O,z=Q,FHEAP[IHEAP[e+7]+o*O]=C*(A-FHEAP[z+b]),O=C=O+1,C<3)h=4;else{h=2;continue a}a:for(;;)if(h== +5)v=a+200,l=FHEAP[v+5]*FHEAP[a+211],j=l>0?1:2,h=6;else if(h==6){T=0;v=a;h=IHEAP[v+213]&1?7:8;break a}a:for(;;)if(h==7)T=1,h=8;else if(h==8){h=j!=0?9:10;break a}a:for(;;)if(h==9){m+=1;S=IHEAP[e+6]*m;y=P;FHEAP[IHEAP[e+3]+S]=FHEAP[y];y=P;FHEAP[IHEAP[e+3]+(S+1)]=FHEAP[y+1];y=P;FHEAP[IHEAP[e+3]+(S+2)]=FHEAP[y+2];y=P;FHEAP[IHEAP[e+5]+S]=0-FHEAP[y];y=P;FHEAP[IHEAP[e+5]+(S+1)]=0-FHEAP[y+1];y=P;FHEAP[IHEAP[e+5]+(S+2)]=0-FHEAP[y+2];y=a;y+=200;y=FHEAP[y]-FHEAP[y+1];var U=_fmodf(y,6.2831854820251465);y=U;h=U< +-3.1415927410125732?12:13;break a}else if(h==10)if(T!=0)h=9;else{h=11;break a}a:for(;;){if(h==11){STACKTOP=g;break}else h==12?x=U+6.2831854820251465:h==13&&(x=y,x=U>3.1415927410125732?x-6.2831854820251465:x);v=x;u=a;u+=200;V=s=FHEAP[u]+FHEAP[u+1],u=V;s=u=_fmodf(u,6.2831854820251465);u<-3.1415927410125732?u+=6.2831854820251465:u=u>3.1415927410125732?s-6.2831854820251465:s;h=j!=0?16:17;b:for(;;)if(h==16){if(v!=u){h=17;continue b}T=0;h=17}else if(h==17){FHEAP[IHEAP[e+7]+S]=0;h=(IHEAP[a+218]&2)!=0?19: +20;break b}if(h==19)var W=FHEAP[a+221],i=19;else if(h==20)var Z=FHEAP[e+1],i=20;s=i==19?W:Z;h=T!=0?22:23;b:for(;;)if(h==22)for(h=(IHEAP[a+218]&4)!=0?24:25;;)if(h==24)FHEAP[IHEAP[e+8]+S]=FHEAP[a+219],h=25;else{if(h==25){q=__ZN17btTypedConstraint14getMotorFactorEfffff(a,FHEAP[a+210],v,u,FHEAP[a+198],FHEAP[e]*s);FHEAP[IHEAP[e+7]+S]+=q*FHEAP[a+198]*FHEAP[a+211];FHEAP[IHEAP[e+9]+S]=0-FHEAP[a+199];FHEAP[IHEAP[e+10]+S]=FHEAP[a+199];h=23;continue b}}else if(h==23)if(j!=0)break b;else{h=11;continue a}B=FHEAP[e]* +s;FHEAP[IHEAP[e+7]+S]+=B*l;h=(IHEAP[a+218]&1)!=0?27:28;b:for(;;)if(h==27)FHEAP[IHEAP[e+8]+S]=FHEAP[a+220],h=28;else if(h==28){h=v==u?29:30;break b}h==29?(FHEAP[IHEAP[e+9]+S]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+S]=3.4028234663852886E38):h==30&&(v=IHEAP[e+9]+S,j==1?(FHEAP[v]=0,FHEAP[IHEAP[e+10]+S]=3.4028234663852886E38):(FHEAP[v]=-3.4028234663852886E38,FHEAP[IHEAP[e+10]+S]=0));v=a+200;v=u=FHEAP[v+4];for(h=u>0?32:33;;)if(h==32){s=c;u=P;u=FHEAP[s]*FHEAP[u]+FHEAP[s+1]*FHEAP[u+1]+FHEAP[s+2]*FHEAP[u+ +2];q=f;s=P;u-=FHEAP[q]*FHEAP[s]+FHEAP[q+1]*FHEAP[s+1]+FHEAP[q+2]*FHEAP[s+2];s=u;if(j==1){if(!(s<0)){h=33;continue}u*=0-v;if(!(u>FHEAP[IHEAP[e+7]+S])){h=33;continue}}else{if(!(s>0)){h=33;continue}u*=0-v;if(!(u<FHEAP[IHEAP[e+7]+S])){h=33;continue}}FHEAP[IHEAP[e+7]+S]=u;h=33}else if(h==33){v=a+200;FHEAP[IHEAP[e+7]+S]*=FHEAP[v+3];h=11;continue a}}} +function __ZN17btHingeConstraint13getHingeAngleERK11btTransformS2_(a,e,d){var b=STACKTOP;STACKTOP+=24;var c,f=b+4,g=b+8,h=b+12,i=b+16,j=b+20;c=a+166;FHEAP[f]=FHEAP[c+0];FHEAP[f+1]=FHEAP[c+4+0];FHEAP[f+2]=FHEAP[c+8+0];FHEAP[f+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(b,e,f);c=a+166;FHEAP[h]=FHEAP[c+1];FHEAP[h+1]=FHEAP[c+4+1];FHEAP[h+2]=FHEAP[c+8+1];FHEAP[h+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(g,e,h);e=a+182;FHEAP[j]=FHEAP[e+1];FHEAP[j+1]=FHEAP[e+4+1];FHEAP[j+2]=FHEAP[e+8+1];FHEAP[j+3]=0;__ZmlRK11btMatrix3x3RK9btVector3(i, +d,j);d=_atan2f(FHEAP[i]*FHEAP[b]+FHEAP[i+1]*FHEAP[b+1]+FHEAP[i+2]*FHEAP[b+2],FHEAP[i]*FHEAP[g]+FHEAP[i+1]*FHEAP[g+1]+FHEAP[i+2]*FHEAP[g+2]);a=FHEAP[a+211]*d;STACKTOP=b;return a}function __ZN17btHingeConstraint8setParamEifi(a,e,d,b){for(b=b==-1|b==5?0:1;;)if(b==0){b=e;if(b==2)b=2;else if(b==4)b=3;else if(b==3)b=4;else{b=1;continue}b==2?(FHEAP[a+221]=d,IHEAP[a+218]|=2,b=1):b==3?(FHEAP[a+220]=d,IHEAP[a+218]|=1,b=1):b==4&&(FHEAP[a+219]=d,IHEAP[a+218]|=4,b=1)}else if(b==1)break} +function __ZNK17btHingeConstraint8getParamEii(a,e,d){var b;b=0;for(d=d==-1|d==5?0:1;;)if(d==0){d=e;if(d==2)d=2;else if(d==4)d=3;else if(d==3)d=4;else{d=1;continue}d==2?(b=FHEAP[a+221],d=1):d==3?(b=FHEAP[a+220],d=1):d==4&&(b=FHEAP[a+219],d=1)}else if(d==1)return b;return null}function __ZN17btHingeConstraintD1Ev(a){IHEAP[a]=__ZTV17btHingeConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2} +function __ZN17btHingeConstraintD0Ev(a){IHEAP[a]=__ZTV17btHingeConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)}function __ZNK17btHingeConstraint28calculateSerializeBufferSizeEv(){return 212} +function __ZNK17btHingeConstraint9serializeEPvP12btSerializer(a,e,d){var b,c,f,g;__ZNK17btTypedConstraint9serializeEPvP12btSerializer(a,e,d);c=e+14;d=a+166;b=0;a:for(;;){g=c+b*4;var h=f=d+b*4;for(f=0;;){FHEAP[g+f]=FHEAP[h+f];var i=f+1;f=i;if(!(i<4))break}b=g=b+1;if(!(g<3))break a}b=c+12;d+=12;c=0;a:for(;;)if(FHEAP[b+c]=FHEAP[d+c],c=g=c+1,!(g<4))break a;c=e+30;d=a+182;b=0;a:for(;;){g=c+b*4;h=f=d+b*4;for(f=0;;)if(FHEAP[g+f]=FHEAP[h+f],f=i=f+1,!(i<4))break;b=g=b+1;if(!(g<3))break a}b=c+12;d+=12;for(c= +0;;)if(FHEAP[b+c]=FHEAP[d+c],c=g=c+1,!(g<4))break;IHEAP[e+47]=IHEAP[a+212]&1;IHEAP[e+48]=IHEAP[a+213]&1;FHEAP[e+50]=FHEAP[a+199];FHEAP[e+49]=FHEAP[a+198];IHEAP[e+46]=IHEAP[a+216]&1;d=a+200;b=FHEAP[d]-FHEAP[d+1];d=b=_fmodf(b,6.2831854820251465);b<-3.1415927410125732?d+=6.2831854820251465:d=d>3.1415927410125732?b-6.2831854820251465:b;FHEAP[e+51]=d;d=a+200;d=FHEAP[d]+FHEAP[d+1];d=_fmodf(d,6.2831854820251465);d<-3.1415927410125732?d+=6.2831854820251465:(b=d,d=d>3.1415927410125732?b-6.2831854820251465: +b);FHEAP[e+52]=d;FHEAP[e+53]=FHEAP[a+200+2];FHEAP[e+54]=FHEAP[a+200+3];FHEAP[e+55]=FHEAP[a+200+4];return __str66} +function __ZN18btHinge2ConstraintC2ER11btRigidBodyS1_R9btVector3S3_S3_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=171;var h=g+12,i=g+16,j=g+28,k=g+32,l=g+33,m=g+34,n=g+35,o=g+36,q=g+37,p=g+38,r=g+39,s=g+40,u=g+41,v=g+42,y=g+43,x=g+44,z=g+45,B=g+46,C=g+47,A=g+48,w=g+49,D=g+50,E=g+51,F=g+55,G=g+59,J=g+63,H=g+79,M=g+95,K=g+111,N=g+127,R=g+143,O=g+147,Q=g+148,I=g+149,L=g+150,P=g+154,S=g+155,T=g+156,U=g+157,W=g+161,Z=g+162,ca=g+163,Y=g+164,ea=g+168,ha=g+169,ba=g+170;__ZN11btTransform11getIdentityEv();__ZN11btTransform11getIdentityEv(); +__ZN29btGeneric6DofSpringConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,__ZZN11btTransform11getIdentityEvE17identityTransform,__ZZN11btTransform11getIdentityEvE17identityTransform,1);IHEAP[a]=__ZTV18btHinge2Constraint+2;_llvm_memcpy_p0i8_p0i8_i32(a+1380,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+1384,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+1388,f,4,4,0);var V=_sqrtf(FHEAP[c]*FHEAP[c]+FHEAP[c+1]*FHEAP[c+1]+FHEAP[c+2]*FHEAP[c+2]);FHEAP[D]=V;FHEAP[w]=1/FHEAP[D];FHEAP[c]*=FHEAP[w];FHEAP[c+1]*=FHEAP[w]; +FHEAP[c+2]*=FHEAP[w];_llvm_memcpy_p0i8_p0i8_i32(E,c,4,4,0);c=_sqrtf(FHEAP[f]*FHEAP[f]+FHEAP[f+1]*FHEAP[f+1]+FHEAP[f+2]*FHEAP[f+2]);FHEAP[A]=c;FHEAP[C]=1/FHEAP[A];FHEAP[f]*=FHEAP[C];FHEAP[f+1]*=FHEAP[C];FHEAP[f+2]*=FHEAP[C];_llvm_memcpy_p0i8_p0i8_i32(F,f,4,4,0);FHEAP[x]=FHEAP[E+1]*FHEAP[F+2]-FHEAP[E+2]*FHEAP[F+1];FHEAP[z]=FHEAP[E+2]*FHEAP[F]-FHEAP[E]*FHEAP[F+2];FHEAP[B]=FHEAP[E]*FHEAP[F+1]-FHEAP[E+1]*FHEAP[F];FHEAP[G]=FHEAP[x];FHEAP[G+1]=FHEAP[z];FHEAP[G+2]=FHEAP[B];FHEAP[G+3]=0;FHEAP[k]=1;FHEAP[l]= +0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=1;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(J,k,l,m,n,o,q,p,r,s);f=J+12;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0;FHEAP[f]=FHEAP[u];FHEAP[f+1]=FHEAP[v];FHEAP[f+2]=FHEAP[y];FHEAP[f+3]=0;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(J,F,G,E,F+1,G+1,E+1,F+2,G+2,E+2);_llvm_memcpy_p0i8_p0i8_i32(J+12,b,4,4,0);b=a+40;__ZNK11btTransform7inverseEv(M,e+1);__ZmlRK11btMatrix3x3S1_(g,M,J);__ZNK11btTransformclERK9btVector3(h, +M,J+12);_llvm_memcpy_p0i8_p0i8_i32(H,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+12,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,H,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,H+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,H+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,H+12,4,4,0);e=a+56;__ZNK11btTransform7inverseEv(N,d+1);__ZmlRK11btMatrix3x3S1_(i,N,J);__ZNK11btTransformclERK9btVector3(j,N,J+12);_llvm_memcpy_p0i8_p0i8_i32(K,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(K+ +4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(K+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(K+12,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e,K,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,K+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,K+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,K+12,4,4,0);FHEAP[O]=0;FHEAP[Q]=0;FHEAP[I]=-1;FHEAP[R]=FHEAP[O];FHEAP[R+1]=FHEAP[Q];FHEAP[R+2]=FHEAP[I];FHEAP[R+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+198,R,4,4,0);FHEAP[P]=0;FHEAP[S]=0;FHEAP[T]=1;FHEAP[L]=FHEAP[P];FHEAP[L+1]=FHEAP[S];FHEAP[L+2]=FHEAP[T];FHEAP[L+ +3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+198+4,L,4,4,0);FHEAP[W]=1;FHEAP[Z]=0;FHEAP[ca]=-0.7853981852531433;FHEAP[U]=FHEAP[W];FHEAP[U+1]=FHEAP[Z];FHEAP[U+2]=FHEAP[ca];FHEAP[U+3]=0;__ZN23btGeneric6DofConstraint20setAngularLowerLimitERK9btVector3(a,U);FHEAP[ea]=-1;FHEAP[ha]=0;FHEAP[ba]=0.7853981852531433;FHEAP[Y]=FHEAP[ea];FHEAP[Y+1]=FHEAP[ha];FHEAP[Y+2]=FHEAP[ba];FHEAP[Y+3]=0;__ZN23btGeneric6DofConstraint20setAngularUpperLimitERK9btVector3(a,Y);IHEAP[a+1301+2]=1;IHEAP[a+198+27+2]=1;FHEAP[a+1313+2]=39.47842025756836; +FHEAP[a+1319+2]=0.009999999776482582;__ZN29btGeneric6DofSpringConstraint19setEquilibriumPointEv(a);STACKTOP=g}function __ZN23btGeneric6DofConstraint20setAngularLowerLimitERK9btVector3(a,e){var d,b,c;c=0;for(var f=a+247;;)if(b=c,d=e,d=b=FHEAP[d+b],b=d=_fmodf(d,6.2831854820251465),d<-3.1415927410125732?d+=6.2831854820251465:d=d>3.1415927410125732?b-6.2831854820251465:b,FHEAP[f+c*16]=d,c=d=c+1,!(d<3))break} +function __ZN23btGeneric6DofConstraint20setAngularUpperLimitERK9btVector3(a,e){var d,b,c;c=0;for(var f=a+247;;)if(b=c,d=e,d=b=FHEAP[d+b],b=d=_fmodf(d,6.2831854820251465),d<-3.1415927410125732?d+=6.2831854820251465:d=d>3.1415927410125732?b-6.2831854820251465:b,FHEAP[f+c*16+1]=d,c=d=c+1,!(d<3))break} +function __ZN18btHinge2ConstraintD1Ev(a){IHEAP[a]=__ZTV18btHinge2Constraint+2;IHEAP[a]=__ZTV29btGeneric6DofSpringConstraint+2;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN18btHinge2ConstraintD0Ev(a){IHEAP[a]=__ZTV18btHinge2Constraint+2;IHEAP[a]=__ZTV29btGeneric6DofSpringConstraint+2;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)} +function __ZN21btUniversalConstraintC2ER11btRigidBodyS1_R9btVector3S3_S3_(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=171;var h=g+12,i=g+16,j=g+28,k=g+32,l=g+33,m=g+34,n=g+35,o=g+36,q=g+37,p=g+38,r=g+39,s=g+40,u=g+41,v=g+42,y=g+43,x=g+44,z=g+45,B=g+46,C=g+47,A=g+48,w=g+49,D=g+50,E=g+51,F=g+55,G=g+59,J=g+63,H=g+79,M=g+95,K=g+111,N=g+127,R=g+143,O=g+147,Q=g+148,I=g+149,L=g+150,P=g+154,S=g+155,T=g+156,U=g+157,W=g+161,Z=g+162,ca=g+163,Y=g+164,ea=g+168,ha=g+169,ba=g+170;__ZN11btTransform11getIdentityEv();__ZN11btTransform11getIdentityEv(); +__ZN23btGeneric6DofConstraintC2ER11btRigidBodyS1_RK11btTransformS4_b(a,e,d,__ZZN11btTransform11getIdentityEvE17identityTransform,__ZZN11btTransform11getIdentityEvE17identityTransform,1);IHEAP[a]=__ZTV21btUniversalConstraint+2;_llvm_memcpy_p0i8_p0i8_i32(a+1301,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+1305,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+1309,f,4,4,0);var V=_sqrtf(FHEAP[c]*FHEAP[c]+FHEAP[c+1]*FHEAP[c+1]+FHEAP[c+2]*FHEAP[c+2]);FHEAP[D]=V;FHEAP[w]=1/FHEAP[D];FHEAP[c]*=FHEAP[w];FHEAP[c+1]*=FHEAP[w]; +FHEAP[c+2]*=FHEAP[w];_llvm_memcpy_p0i8_p0i8_i32(E,c,4,4,0);c=_sqrtf(FHEAP[f]*FHEAP[f]+FHEAP[f+1]*FHEAP[f+1]+FHEAP[f+2]*FHEAP[f+2]);FHEAP[A]=c;FHEAP[C]=1/FHEAP[A];FHEAP[f]*=FHEAP[C];FHEAP[f+1]*=FHEAP[C];FHEAP[f+2]*=FHEAP[C];_llvm_memcpy_p0i8_p0i8_i32(F,f,4,4,0);FHEAP[x]=FHEAP[F+1]*FHEAP[E+2]-FHEAP[F+2]*FHEAP[E+1];FHEAP[z]=FHEAP[F+2]*FHEAP[E]-FHEAP[F]*FHEAP[E+2];FHEAP[B]=FHEAP[F]*FHEAP[E+1]-FHEAP[F+1]*FHEAP[E];FHEAP[G]=FHEAP[x];FHEAP[G+1]=FHEAP[z];FHEAP[G+2]=FHEAP[B];FHEAP[G+3]=0;FHEAP[k]=1;FHEAP[l]= +0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[o]=1;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(J,k,l,m,n,o,q,p,r,s);f=J+12;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0;FHEAP[f]=FHEAP[u];FHEAP[f+1]=FHEAP[v];FHEAP[f+2]=FHEAP[y];FHEAP[f+3]=0;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(J,G,F,E,G+1,F+1,E+1,G+2,F+2,E+2);_llvm_memcpy_p0i8_p0i8_i32(J+12,b,4,4,0);b=a+40;__ZNK11btTransform7inverseEv(M,e+1);__ZmlRK11btMatrix3x3S1_(g,M,J);__ZNK11btTransformclERK9btVector3(h, +M,J+12);_llvm_memcpy_p0i8_p0i8_i32(H,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(H+12,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,H,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,H+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,H+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,H+12,4,4,0);e=a+56;__ZNK11btTransform7inverseEv(N,d+1);__ZmlRK11btMatrix3x3S1_(i,N,J);__ZNK11btTransformclERK9btVector3(j,N,J+12);_llvm_memcpy_p0i8_p0i8_i32(K,i,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(K+ +4,i+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(K+8,i+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(K+12,j,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e,K,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+4,K+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+8,K+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(e+12,K+12,4,4,0);FHEAP[O]=0;FHEAP[Q]=0;FHEAP[I]=0;FHEAP[R]=FHEAP[O];FHEAP[R+1]=FHEAP[Q];FHEAP[R+2]=FHEAP[I];FHEAP[R+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+198,R,4,4,0);FHEAP[P]=0;FHEAP[S]=0;FHEAP[T]=0;FHEAP[L]=FHEAP[P];FHEAP[L+1]=FHEAP[S];FHEAP[L+2]=FHEAP[T];FHEAP[L+ +3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+198+4,L,4,4,0);FHEAP[W]=0;FHEAP[Z]=-1.5607963800430298;FHEAP[ca]=-3.1315927505493164;FHEAP[U]=FHEAP[W];FHEAP[U+1]=FHEAP[Z];FHEAP[U+2]=FHEAP[ca];FHEAP[U+3]=0;__ZN23btGeneric6DofConstraint20setAngularLowerLimitERK9btVector3(a,U);FHEAP[ea]=0;FHEAP[ha]=1.5607963800430298;FHEAP[ba]=3.1315927505493164;FHEAP[Y]=FHEAP[ea];FHEAP[Y+1]=FHEAP[ha];FHEAP[Y+2]=FHEAP[ba];FHEAP[Y+3]=0;__ZN23btGeneric6DofConstraint20setAngularUpperLimitERK9btVector3(a,Y);STACKTOP=g} +function __ZN21btUniversalConstraintD1Ev(a){IHEAP[a]=__ZTV21btUniversalConstraint+2;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2}function __ZN21btUniversalConstraintD0Ev(a){IHEAP[a]=__ZTV21btUniversalConstraint+2;IHEAP[a]=__ZTV23btGeneric6DofConstraint+2;IHEAP[a]=__ZTV17btTypedConstraint+2;__ZdlPv(a)} +function __ZN35btSequentialImpulseConstraintSolverC2Ev(a){IHEAP[a]=__ZTV18btConstraintSolver+2;IHEAP[a]=__ZTV35btSequentialImpulseConstraintSolver+2;var e=a+4;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+9;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+14;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+19;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+24;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+29;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]= +0;IHEAP[a+34]=0}function __ZN35btSequentialImpulseConstraintSolverD0Ev(a){var e;try{__THREW__=!1,__ZN35btSequentialImpulseConstraintSolverD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 350202";} +function __ZN35btSequentialImpulseConstraintSolverD2Ev(a){IHEAP[a]=__ZTV35btSequentialImpulseConstraintSolver+2;__ZN20btAlignedObjectArrayIN17btTypedConstraint17btConstraintInfo1EE5clearEv(a+29);__ZN20btAlignedObjectArrayIiE5clearEv(a+24);__ZN20btAlignedObjectArrayIiE5clearEv(a+19);__ZN20btAlignedObjectArrayI18btSolverConstraintE5clearEv(a+14);__ZN20btAlignedObjectArrayI18btSolverConstraintE5clearEv(a+9);__ZN20btAlignedObjectArrayI18btSolverConstraintE5clearEv(a+4);IHEAP[a]=__ZTV18btConstraintSolver+ +2}function __ZN35btSequentialImpulseConstraintSolver37resolveSingleConstraintRowGenericSIMDER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b){__ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b)} +function __ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b){a=STACKTOP;STACKTOP+=21;var c,f,g=a+1,h=a+2,i=a+3,j=a+4,k=a+5,l=a+6,m=a+7,n=a+8,o,q=a+9,p=a+13,r=a+17;o=FHEAP[b+29]-FHEAP[b+21]*FHEAP[b+30];f=e+318;c=b+4;f=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2];c=e+322;c=f+(FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2]);var s=d+318;f=b+4;var s=0-(FHEAP[f]*FHEAP[s]+FHEAP[f+1]*FHEAP[s+1]+FHEAP[f+ +2]*FHEAP[s+2]),u=d+322;f=b+8;f=s+(FHEAP[f]*FHEAP[u]+FHEAP[f+1]*FHEAP[u+1]+FHEAP[f+2]*FHEAP[u+2]);o-=c*FHEAP[b+23];o-=f*FHEAP[b+23];c=FHEAP[b+21]+o;c<FHEAP[b+31]?(o=FHEAP[b+31]-FHEAP[b+21],FHEAP[b+21]=FHEAP[b+31]):c>FHEAP[b+32]?(o=FHEAP[b+32]-FHEAP[b+21],FHEAP[b+21]=FHEAP[b+32]):FHEAP[b+21]=c;f=e+330;c=b+4;FHEAP[a]=FHEAP[c]*FHEAP[f];FHEAP[g]=FHEAP[c+1]*FHEAP[f+1];FHEAP[h]=FHEAP[c+2]*FHEAP[f+2];FHEAP[q]=FHEAP[a];FHEAP[q+1]=FHEAP[g];FHEAP[q+2]=FHEAP[h];FHEAP[q+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(e, +q,b+12,o);e=b+4;FHEAP[i]=0-FHEAP[e];FHEAP[j]=0-FHEAP[e+1];FHEAP[k]=0-FHEAP[e+2];FHEAP[r]=FHEAP[i];FHEAP[r+1]=FHEAP[j];FHEAP[r+2]=FHEAP[k];FHEAP[r+3]=0;e=d+330;FHEAP[l]=FHEAP[r]*FHEAP[e];FHEAP[m]=FHEAP[r+1]*FHEAP[e+1];FHEAP[n]=FHEAP[r+2]*FHEAP[e+2];FHEAP[p]=FHEAP[l];FHEAP[p+1]=FHEAP[m];FHEAP[p+2]=FHEAP[n];FHEAP[p+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(d,p,b+16,o);STACKTOP=a} +function __ZN35btSequentialImpulseConstraintSolver40resolveSingleConstraintRowLowerLimitSIMDER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b){__ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b)} +function __ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b){a=STACKTOP;STACKTOP+=21;var c,f,g=a+1,h=a+2,i=a+3,j=a+4,k=a+5,l=a+6,m=a+7,n=a+8,o,q=a+9,p=a+13,r=a+17;o=FHEAP[b+29]-FHEAP[b+21]*FHEAP[b+30];f=e+318;c=b+4;f=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2];c=e+322;c=f+(FHEAP[b]*FHEAP[c]+FHEAP[b+1]*FHEAP[c+1]+FHEAP[b+2]*FHEAP[c+2]);var s=d+318;f=b+4;var s=0-(FHEAP[f]*FHEAP[s]+FHEAP[f+1]*FHEAP[s+1]+FHEAP[f+ +2]*FHEAP[s+2]),u=d+322;f=b+8;f=s+(FHEAP[f]*FHEAP[u]+FHEAP[f+1]*FHEAP[u+1]+FHEAP[f+2]*FHEAP[u+2]);o-=c*FHEAP[b+23];o-=f*FHEAP[b+23];c=FHEAP[b+21]+o;c<FHEAP[b+31]?(o=FHEAP[b+31]-FHEAP[b+21],FHEAP[b+21]=FHEAP[b+31]):FHEAP[b+21]=c;f=e+330;c=b+4;FHEAP[a]=FHEAP[c]*FHEAP[f];FHEAP[g]=FHEAP[c+1]*FHEAP[f+1];FHEAP[h]=FHEAP[c+2]*FHEAP[f+2];FHEAP[q]=FHEAP[a];FHEAP[q+1]=FHEAP[g];FHEAP[q+2]=FHEAP[h];FHEAP[q+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(e,q,b+12,o);e=b+4;FHEAP[i]=0-FHEAP[e];FHEAP[j]= +0-FHEAP[e+1];FHEAP[k]=0-FHEAP[e+2];FHEAP[r]=FHEAP[i];FHEAP[r+1]=FHEAP[j];FHEAP[r+2]=FHEAP[k];FHEAP[r+3]=0;e=d+330;FHEAP[l]=FHEAP[r]*FHEAP[e];FHEAP[m]=FHEAP[r+1]*FHEAP[e+1];FHEAP[n]=FHEAP[r+2]*FHEAP[e+2];FHEAP[p]=FHEAP[l];FHEAP[p+1]=FHEAP[m];FHEAP[p+2]=FHEAP[n];FHEAP[p+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(d,p,b+16,o);STACKTOP=a} +function __ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b){a=STACKTOP;STACKTOP+=21;var c,f,g,h,i,j=a+1,k=a+2,l=a+3,m=a+4,n=a+5,o=a+6,q=a+7,p=a+8,r,s=a+9,u=a+13,v=a+17;for(c=FHEAP[b+33]!=0?0:1;;)if(c==0)IHEAP[_gNumSplitImpulseRecoveries]+=1,c=FHEAP[b+33]-FHEAP[b+20]*FHEAP[b+30],r=b+4,f=e,f+=334,r=FHEAP[r]*FHEAP[f]+FHEAP[r+1]*FHEAP[f+1]+FHEAP[r+2]*FHEAP[f+2],f=b,g=e,g+=338,r+=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+ +FHEAP[f+2]*FHEAP[g+2],f=b+4,g=d,g+=334,f=0-(FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2]),g=b+8,h=d,h+=338,f+=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2],c-=r*FHEAP[b+23],c-=f*FHEAP[b+23],r=FHEAP[b+20]+c,r<FHEAP[b+31]?(c=FHEAP[b+31]-FHEAP[b+20],FHEAP[b+20]=FHEAP[b+31]):FHEAP[b+20]=r,r=e,f=b+4,g=e,g+=330,FHEAP[a]=FHEAP[f]*FHEAP[g],FHEAP[j]=FHEAP[f+1]*FHEAP[g+1],FHEAP[k]=FHEAP[f+2]*FHEAP[g+2],f=s,g=a,h=j,i=k,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i], +FHEAP[f+3]=0,__ZN11btRigidBody24internalApplyPushImpulseERK9btVector3S2_f(r,s,b+12,c),r=d,f=b+4,FHEAP[l]=0-FHEAP[f],FHEAP[m]=0-FHEAP[f+1],FHEAP[n]=0-FHEAP[f+2],f=v,g=l,h=m,i=n,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=d,g=f+330,f=v,FHEAP[o]=FHEAP[f]*FHEAP[g],FHEAP[q]=FHEAP[f+1]*FHEAP[g+1],FHEAP[p]=FHEAP[f+2]*FHEAP[g+2],f=u,g=o,h=q,i=p,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,__ZN11btRigidBody24internalApplyPushImpulseERK9btVector3S2_f(r, +u,b+16,c),c=1;else if(c==1){STACKTOP=a;break}} +function __ZN11btRigidBody24internalApplyPushImpulseERK9btVector3S2_f(a,e,d,b){var c=STACKTOP;STACKTOP+=22;var f,g,h,i,j,k=c+1,l=c+2,m=c+3,n=c+4,o=c+5,q=c+6,p=c+7,r=c+8,s=c+9,u=c+10,v=c+14,y=c+18;FHEAP[s]=b;for(b=FHEAP[a+276]!=0?0:1;;)if(b==0)b=a+334,f=e,g=s,FHEAP[q]=FHEAP[f]*FHEAP[g],FHEAP[p]=FHEAP[f+1]*FHEAP[g],FHEAP[r]=FHEAP[f+2]*FHEAP[g],f=u,g=q,h=p,i=r,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=b,b=u,FHEAP[f]+=FHEAP[b],FHEAP[f+1]+=FHEAP[b+1],FHEAP[f+2]+=FHEAP[b+ +2],b=a+338,f=d,h=a+326,i=g=s,g=h,h=i,FHEAP[c]=FHEAP[g]*FHEAP[h],FHEAP[k]=FHEAP[g+1]*FHEAP[h],FHEAP[l]=FHEAP[g+2]*FHEAP[h],g=y,h=c,i=k,j=l,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,g=y,FHEAP[m]=FHEAP[f]*FHEAP[g],FHEAP[n]=FHEAP[f+1]*FHEAP[g+1],FHEAP[o]=FHEAP[f+2]*FHEAP[g+2],f=v,g=m,h=n,i=o,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,f=b,b=v,FHEAP[f]+=FHEAP[b],FHEAP[f+1]+=FHEAP[b+1],FHEAP[f+2]+=FHEAP[b+2],b=1;else if(b==1){STACKTOP=c;break}} +function __ZN35btSequentialImpulseConstraintSolver27resolveSplitPenetrationSIMDER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b){__ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(a,e,d,b)}function __ZN35btSequentialImpulseConstraintSolver7btRand2Ev(a){IHEAP[a+34]=IHEAP[a+34]*1664525+1013904223;return IHEAP[a+34]} +function __ZN35btSequentialImpulseConstraintSolver10btRandInt2Ei(a,e){var d,b;IHEAP[a+34]=IHEAP[a+34]*1664525+1013904223;b=IHEAP[a+34];for(d=e<=65536?0:1;;)if(d==0)b^=b>>>16,e<=256&&(b^=b>>>8,e<=16&&(b^=b>>>4,e<=4&&(b^=b>>>2,e<=2&&(b^=b>>>1)))),d=1;else if(d==1)return b%e;return null}function __ZN35btSequentialImpulseConstraintSolver16restitutionCurveEff(a,e,d){return d*(0-e)} +function __Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(a,e){var d=STACKTOP;STACKTOP+=8;var b,c,f=d+4;for(b=a!=0?0:1;;)if(b==0)b=a,IHEAP[b+45]!=0&&(b=e,c=a,c+=1,__ZmlRK9btVector3RK11btMatrix3x3(d,b,c),b=a,b+=41,c=b,b=d,FHEAP[b]*=FHEAP[c],FHEAP[b+1]*=FHEAP[c+1],FHEAP[b+2]*=FHEAP[c+2],b=e,c=a,c+=1,__ZmlRK11btMatrix3x3RK9btVector3(f,c,d),_llvm_memcpy_p0i8_p0i8_i32(b,f,4,4,0)),b=1;else if(b==1){STACKTOP=d;break}} +function __ZN35btSequentialImpulseConstraintSolver23setupFrictionConstraintER18btSolverConstraintRK9btVector3P11btRigidBodyS6_R15btManifoldPointS4_S4_P17btCollisionObjectSA_fff(a,e,d,b,c,f,g,h,i,j,k,l,m){a=STACKTOP;STACKTOP+=102;var n,o=null,q=a+1,p=a+2,r,s=a+3,u=a+4,v=a+5,y=a+6,x=a+7,z=a+8,B=a+9,C=a+10,A=a+11,w,D=a+12,E=a+13;n=a+14;var F,G,J=a+15,H=a+16,M=a+17,K=a+18,N=a+19,R=a+20,O=a+21,Q=a+22,I=a+23,L=a+24,P=a+28,S=a+32,T=a+36,U=a+37,W=a+38;w=a+39;var Z=a+43;F=a+47;G=a+51;var ca=a+55,Y=a+56,ea= +a+57,ha=a+58,ba=a+62,V=a+66,aa=a+70,X=a+74,ka=a+78,da=a+79,fa=a+80,ga=a+81,ja=a+85,la=a+86,qa=a+87,pa=a+88,wa=a+92,ua=a+93,na=a+94,b=a+95,c=a+99,ya=a+100,xa=a+101,i=(IHEAP[i+58]&2)!=0?i:0,j=(IHEAP[j+58]&2)!=0?j:0;_llvm_memcpy_p0i8_p0i8_i32(e+4,d,4,4,0);i!=0?(r=i,o=2):(__ZN35btSequentialImpulseConstraintSolver12getFixedBodyEv(),o=4);IHEAP[e+26]=o==2?r:__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed;if(j!=0)var ia=j,o=5;else __ZN35btSequentialImpulseConstraintSolver12getFixedBodyEv(), +o=7;IHEAP[e+27]=o==5?ia:__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed;FHEAP[e+22]=FHEAP[f+21];IHEAP[e+28]=0;FHEAP[e+21]=0;FHEAP[e+20]=0;f=e+4;FHEAP[a]=FHEAP[g+1]*FHEAP[f+2]-FHEAP[g+2]*FHEAP[f+1];FHEAP[q]=FHEAP[g+2]*FHEAP[f]-FHEAP[g]*FHEAP[f+2];FHEAP[p]=FHEAP[g]*FHEAP[f+1]-FHEAP[g+1]*FHEAP[f];FHEAP[L]=FHEAP[a];FHEAP[L+1]=FHEAP[q];FHEAP[L+2]=FHEAP[p];FHEAP[L+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e,L,4,4,0);f=e+12;i!=0?(__ZmlRK11btMatrix3x3RK9btVector3(S,i+256,L),r=i+326,FHEAP[s]=FHEAP[S]* +FHEAP[r],FHEAP[u]=FHEAP[S+1]*FHEAP[r+1],FHEAP[v]=FHEAP[S+2]*FHEAP[r+2],FHEAP[P]=FHEAP[s],FHEAP[P+1]=FHEAP[u],FHEAP[P+2]=FHEAP[v]):(FHEAP[T]=0,FHEAP[U]=0,FHEAP[W]=0,FHEAP[P]=FHEAP[T],FHEAP[P+1]=FHEAP[U],FHEAP[P+2]=FHEAP[W]);FHEAP[P+3]=0;_llvm_memcpy_p0i8_p0i8_i32(f,P,4,4,0);f=e+4;FHEAP[y]=0-FHEAP[f];FHEAP[x]=0-FHEAP[f+1];FHEAP[z]=0-FHEAP[f+2];FHEAP[Z]=FHEAP[y];FHEAP[Z+1]=FHEAP[x];FHEAP[Z+2]=FHEAP[z];FHEAP[Z+3]=0;FHEAP[B]=FHEAP[h+1]*FHEAP[Z+2]-FHEAP[h+2]*FHEAP[Z+1];FHEAP[C]=FHEAP[h+2]*FHEAP[Z]-FHEAP[h]* +FHEAP[Z+2];FHEAP[A]=FHEAP[h]*FHEAP[Z+1]-FHEAP[h+1]*FHEAP[Z];FHEAP[w]=FHEAP[B];FHEAP[w+1]=FHEAP[C];FHEAP[w+2]=FHEAP[A];FHEAP[w+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e+8,w,4,4,0);y=e+16;j!=0?(__ZmlRK11btMatrix3x3RK9btVector3(G,j+256,w),w=j+326,FHEAP[D]=FHEAP[G]*FHEAP[w],FHEAP[E]=FHEAP[G+1]*FHEAP[w+1],FHEAP[n]=FHEAP[G+2]*FHEAP[w+2],FHEAP[F]=FHEAP[D],FHEAP[F+1]=FHEAP[E],FHEAP[F+2]=FHEAP[n]):(FHEAP[ca]=0,FHEAP[Y]=0,FHEAP[ea]=0,FHEAP[F]=FHEAP[ca],FHEAP[F+1]=FHEAP[Y],FHEAP[F+2]=FHEAP[ea]);FHEAP[F+3]=0;_llvm_memcpy_p0i8_p0i8_i32(y, +F,4,4,0);E=D=0;n=i!=0?10:11;a:for(;;)if(n==10)n=g,D=e+12,FHEAP[J]=FHEAP[D+1]*FHEAP[n+2]-FHEAP[D+2]*FHEAP[n+1],FHEAP[H]=FHEAP[D+2]*FHEAP[n]-FHEAP[D]*FHEAP[n+2],FHEAP[M]=FHEAP[D]*FHEAP[n+1]-FHEAP[D+1]*FHEAP[n],D=ba,n=J,F=H,G=M,FHEAP[D]=FHEAP[n],FHEAP[D+1]=FHEAP[F],FHEAP[D+2]=FHEAP[G],FHEAP[D+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ha,ba,4,4,0),D=i,n=FHEAP[D+276],F=d,D=ha,D=n+(FHEAP[F]*FHEAP[D]+FHEAP[F+1]*FHEAP[D+1]+FHEAP[F+2]*FHEAP[D+2]),n=11;else if(n==11){n=j!=0?12:13;break a}for(;;)if(n==12)g=e+16,FHEAP[K]= +0-FHEAP[g],FHEAP[N]=0-FHEAP[g+1],FHEAP[R]=0-FHEAP[g+2],g=V,J=K,H=N,M=R,FHEAP[g]=FHEAP[J],FHEAP[g+1]=FHEAP[H],FHEAP[g+2]=FHEAP[M],FHEAP[g+3]=0,J=h,g=V,FHEAP[O]=FHEAP[g+1]*FHEAP[J+2]-FHEAP[g+2]*FHEAP[J+1],FHEAP[Q]=FHEAP[g+2]*FHEAP[J]-FHEAP[g]*FHEAP[J+2],FHEAP[I]=FHEAP[g]*FHEAP[J+1]-FHEAP[g+1]*FHEAP[J],g=aa,J=O,H=Q,M=I,FHEAP[g]=FHEAP[J],FHEAP[g+1]=FHEAP[H],FHEAP[g+2]=FHEAP[M],FHEAP[g+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ha,aa,4,4,0),g=j,J=FHEAP[g+276],H=d,g=ha,E=J+(FHEAP[H]*FHEAP[g]+FHEAP[H+1]*FHEAP[g+1]+ +FHEAP[H+2]*FHEAP[g+2]),n=13;else if(n==13){d=k/(D+E);FHEAP[e+23]=d;var ma=e+4;n=i!=0?14:15;break}n==14?_llvm_memcpy_p0i8_p0i8_i32(X,i+268,4,4,0):n==15&&(FHEAP[ka]=0,FHEAP[da]=0,FHEAP[fa]=0,FHEAP[X]=FHEAP[ka],FHEAP[X+1]=FHEAP[da],FHEAP[X+2]=FHEAP[fa],FHEAP[X+3]=0);d=ma;d=FHEAP[d]*FHEAP[X]+FHEAP[d+1]*FHEAP[X+1]+FHEAP[d+2]*FHEAP[X+2];i!=0?_llvm_memcpy_p0i8_p0i8_i32(ga,i+272,4,4,0):(FHEAP[ja]=0,FHEAP[la]=0,FHEAP[qa]=0,FHEAP[ga]=FHEAP[ja],FHEAP[ga+1]=FHEAP[la],FHEAP[ga+2]=FHEAP[qa],FHEAP[ga+3]=0);d+=FHEAP[e]* +FHEAP[ga]+FHEAP[e+1]*FHEAP[ga+1]+FHEAP[e+2]*FHEAP[ga+2];h=e+4;j!=0?_llvm_memcpy_p0i8_p0i8_i32(pa,j+268,4,4,0):(FHEAP[wa]=0,FHEAP[ua]=0,FHEAP[na]=0,FHEAP[pa]=FHEAP[wa],FHEAP[pa+1]=FHEAP[ua],FHEAP[pa+2]=FHEAP[na],FHEAP[pa+3]=0);pa=0-(FHEAP[h]*FHEAP[pa]+FHEAP[h+1]*FHEAP[pa+1]+FHEAP[h+2]*FHEAP[pa+2]);wa=e+8;j!=0?_llvm_memcpy_p0i8_p0i8_i32(b,j+272,4,4,0):(FHEAP[c]=0,FHEAP[ya]=0,FHEAP[xa]=0,FHEAP[b]=FHEAP[c],FHEAP[b+1]=FHEAP[ya],FHEAP[b+2]=FHEAP[xa],FHEAP[b+3]=0);FHEAP[e+29]=(l-(d+(pa+(FHEAP[wa]*FHEAP[b]+ +FHEAP[wa+1]*FHEAP[b+1]+FHEAP[wa+2]*FHEAP[b+2]))))*FHEAP[e+23];FHEAP[e+30]=m;FHEAP[e+31]=0;FHEAP[e+32]=1E10;STACKTOP=a} +function __ZN35btSequentialImpulseConstraintSolver12getFixedBodyEv(){var a=STACKTOP;STACKTOP+=14;var e,d,b,c,f,g,h,i,j;f=a+4;g=a+5;var k=a+6,l=a+7;c=a+11;b=a+12;d=a+13;for(e=IHEAP[__ZGVZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed]==0?0:1;;)if(e==0){if(___cxa_guard_acquire(__ZGVZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed)!=0){FHEAP[f]=0;FHEAP[g]=0;FHEAP[k]=0;e=a;h=f;i=g;j=k;FHEAP[e]=FHEAP[h];FHEAP[e+1]=FHEAP[i];FHEAP[e+2]=FHEAP[j];FHEAP[e+3]=0;try{__THREW__= +!1,__ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed,0,0,0,a)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__)break;___cxa_atexit(8,__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed,___dso_handle);___cxa_guard_release(__ZGVZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed)}e=1}else if(e==1)return FHEAP[c]= +0,FHEAP[b]=0,FHEAP[d]=0,f=l,g=b,b=c,c=g,g=d,d=f,f=g,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,__ZN11btRigidBody12setMassPropsEfRK9btVector3(__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed,0,l),STACKTOP=a,__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed;a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);___cxa_guard_abort(__ZGVZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed);__Unwind_Resume_or_Rethrow(a); +throw"Reached an unreachable! Original .ll line: 354164";} +function __ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a,e,d,b,c,f,g,h,i,j,k,l,m){var n,o=null,q,p,r=a+14;p=IHEAP[r+1];n=p==IHEAP[r+2]?0:1;a:for(;;)if(n==0){n=r;q=IHEAP[n+1];q!=0?(o=0,n=2):(o=0,n=3);for(;;)if(n==2){var s=q*2,o=2;n=3}else if(n==3){__ZN20btAlignedObjectArrayI18btSolverConstraintE7reserveEi(r,o==2?s:1);n=1;continue a}}else if(n==1)return IHEAP[r+1]+=1,p=IHEAP[r+3]+34*p,IHEAP[p+25]=c,__ZN35btSequentialImpulseConstraintSolver23setupFrictionConstraintER18btSolverConstraintRK9btVector3P11btRigidBodyS6_R15btManifoldPointS4_S4_P17btCollisionObjectSA_fff(a, +p,e,d,b,f,g,h,i,j,k,l,m),p;return null} +function __ZN35btSequentialImpulseConstraintSolver22setupContactConstraintER18btSolverConstraintP17btCollisionObjectS3_R15btManifoldPointRK19btContactSolverInfoR9btVector3RfSB_SA_SA_(a,e,d,b,c,f,g,h,i,j,k){a=STACKTOP;STACKTOP+=195;var l,m=a+1,n=a+2,o=a+3,q=a+4,p=a+5,r=a+6,s=a+7,u=a+8,v,y=a+9,x=a+10,z=a+11,B=a+12,C=a+13,A=a+14,w=a+15,D=a+16,E=a+17,F=a+18,G=a+19;l=a+20;var J,H,M=a+21,K=a+22,N=a+23,R,O=a+24,Q=a+25,I=a+26,L=a+27,P=a+28,S=a+29,T,U,W;W=a+30;U=a+31;T=a+32;var Z,ca,Y;Y=a+33;ca=a+34;Z=a+35; +var ea,ha,ba,V;ba=a+36;ha=a+37;ea=a+38;var aa=a+39,X=a+40,ka=a+41,da,fa=a+42,ga=a+43,ja=a+44,la=a+45,qa=a+46,pa=a+47,wa=a+48,ua=a+49,na=a+50,ya=a+51,xa=a+52,ia=a+53,ma=a+54,ta=a+55,ra=a+56,oa,Da,Ba,Oa,Fa=a+57,Ha=a+61;v=a+65;var La=a+69,Ea=a+73,Ca=a+77,Aa=a+78,za=a+79,Ja=a+80;J=a+84;H=a+88;var Ra=a+92,Ua=a+96,Xa=a+97,Wa=a+98,Sa=a+99;R=a+103;var Ga=a+107,Ia=a+111,Pa=a+115;V=a+119;da=a+123;var Ta=a+127,Va=a+131,fb=a+132,ib=a+133,Na=a+134,Za=a+138,gb=a+139,lb=a+140,$a=a+141,eb=a+145,bb=a+149,sb=a+153, +Ka=a+154,Ya=a+158,jb=a+162,kb=a+163,tb=a+167,Bb=a+171,Qa=a+172,wb=a+173,mb=a+174,yb=a+178,ub=a+179,Ma=a+180,sa=a+181,va=a+185,pb=a+186,ab=a+187,db=a+188,vb=a+192,Fb=a+193,zb=a+194;oa=(IHEAP[d+58]&2)!=0?d:0;Da=(IHEAP[b+58]&2)!=0?b:0;Ba=c+12;Oa=c+8;d=d+1+12;FHEAP[r]=FHEAP[Ba]-FHEAP[d];FHEAP[s]=FHEAP[Ba+1]-FHEAP[d+1];FHEAP[u]=FHEAP[Ba+2]-FHEAP[d+2];FHEAP[Fa]=FHEAP[r];FHEAP[Fa+1]=FHEAP[s];FHEAP[Fa+2]=FHEAP[u];FHEAP[Fa+3]=0;_llvm_memcpy_p0i8_p0i8_i32(j,Fa,4,4,0);b=b+1+12;FHEAP[a]=FHEAP[Oa]-FHEAP[b];FHEAP[m]= +FHEAP[Oa+1]-FHEAP[b+1];FHEAP[n]=FHEAP[Oa+2]-FHEAP[b+2];FHEAP[Ha]=FHEAP[a];FHEAP[Ha+1]=FHEAP[m];FHEAP[Ha+2]=FHEAP[n];FHEAP[Ha+3]=0;_llvm_memcpy_p0i8_p0i8_i32(k,Ha,4,4,0);FHEAP[i]=1;b=c+16;FHEAP[o]=FHEAP[j+1]*FHEAP[b+2]-FHEAP[j+2]*FHEAP[b+1];FHEAP[q]=FHEAP[j+2]*FHEAP[b]-FHEAP[j]*FHEAP[b+2];FHEAP[p]=FHEAP[j]*FHEAP[b+1]-FHEAP[j+1]*FHEAP[b];FHEAP[v]=FHEAP[o];FHEAP[v+1]=FHEAP[q];FHEAP[v+2]=FHEAP[p];FHEAP[v+3]=0;o=e+12;oa!=0?(__ZmlRK11btMatrix3x3RK9btVector3(Ea,oa+256,v),v=oa+326,FHEAP[y]=FHEAP[Ea]*FHEAP[v], +FHEAP[x]=FHEAP[Ea+1]*FHEAP[v+1],FHEAP[z]=FHEAP[Ea+2]*FHEAP[v+2],FHEAP[La]=FHEAP[y],FHEAP[La+1]=FHEAP[x],FHEAP[La+2]=FHEAP[z]):(FHEAP[Ca]=0,FHEAP[Aa]=0,FHEAP[za]=0,FHEAP[La]=FHEAP[Ca],FHEAP[La+1]=FHEAP[Aa],FHEAP[La+2]=FHEAP[za]);FHEAP[La+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o,La,4,4,0);y=c+16;FHEAP[B]=FHEAP[k+1]*FHEAP[y+2]-FHEAP[k+2]*FHEAP[y+1];FHEAP[C]=FHEAP[k+2]*FHEAP[y]-FHEAP[k]*FHEAP[y+2];FHEAP[A]=FHEAP[k]*FHEAP[y+1]-FHEAP[k+1]*FHEAP[y];FHEAP[Ja]=FHEAP[B];FHEAP[Ja+1]=FHEAP[C];FHEAP[Ja+2]=FHEAP[A];FHEAP[Ja+ +3]=0;B=e+16;Da!=0?(FHEAP[w]=0-FHEAP[Ja],FHEAP[D]=0-FHEAP[Ja+1],FHEAP[E]=0-FHEAP[Ja+2],FHEAP[Ra]=FHEAP[w],FHEAP[Ra+1]=FHEAP[D],FHEAP[Ra+2]=FHEAP[E],FHEAP[Ra+3]=0,__ZmlRK11btMatrix3x3RK9btVector3(H,Da+256,Ra),w=Da+326,FHEAP[F]=FHEAP[H]*FHEAP[w],FHEAP[G]=FHEAP[H+1]*FHEAP[w+1],FHEAP[l]=FHEAP[H+2]*FHEAP[w+2],FHEAP[J]=FHEAP[F],FHEAP[J+1]=FHEAP[G],FHEAP[J+2]=FHEAP[l]):(FHEAP[Ua]=0,FHEAP[Xa]=0,FHEAP[Wa]=0,FHEAP[J]=FHEAP[Ua],FHEAP[J+1]=FHEAP[Xa],FHEAP[J+2]=FHEAP[Wa]);FHEAP[J+3]=0;_llvm_memcpy_p0i8_p0i8_i32(B, +J,4,4,0);G=F=0;l=oa!=0?4:5;a:for(;;)if(l==4)l=j,F=e+12,FHEAP[M]=FHEAP[F+1]*FHEAP[l+2]-FHEAP[F+2]*FHEAP[l+1],FHEAP[K]=FHEAP[F+2]*FHEAP[l]-FHEAP[F]*FHEAP[l+2],FHEAP[N]=FHEAP[F]*FHEAP[l+1]-FHEAP[F+1]*FHEAP[l],F=R,l=M,J=K,H=N,FHEAP[F]=FHEAP[l],FHEAP[F+1]=FHEAP[J],FHEAP[F+2]=FHEAP[H],FHEAP[F+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Sa,R,4,4,0),F=oa,l=FHEAP[F+276],J=c+16,F=Sa,F=l+(FHEAP[J]*FHEAP[F]+FHEAP[J+1]*FHEAP[F+1]+FHEAP[J+2]*FHEAP[F+2]),l=5;else if(l==5){l=Da!=0?6:7;break a}a:for(;;)if(l==6)M=e+16,FHEAP[O]= +0-FHEAP[M],FHEAP[Q]=0-FHEAP[M+1],FHEAP[I]=0-FHEAP[M+2],M=Ga,K=O,N=Q,R=I,FHEAP[M]=FHEAP[K],FHEAP[M+1]=FHEAP[N],FHEAP[M+2]=FHEAP[R],FHEAP[M+3]=0,K=k,M=Ga,FHEAP[L]=FHEAP[M+1]*FHEAP[K+2]-FHEAP[M+2]*FHEAP[K+1],FHEAP[P]=FHEAP[M+2]*FHEAP[K]-FHEAP[M]*FHEAP[K+2],FHEAP[S]=FHEAP[M]*FHEAP[K+1]-FHEAP[M+1]*FHEAP[K],M=Ia,K=L,N=P,R=S,FHEAP[M]=FHEAP[K],FHEAP[M+1]=FHEAP[N],FHEAP[M+2]=FHEAP[R],FHEAP[M+3]=0,_llvm_memcpy_p0i8_p0i8_i32(Sa,Ia,4,4,0),M=Da,K=FHEAP[M+276],N=c+16,M=Sa,G=K+(FHEAP[N]*FHEAP[M]+FHEAP[N+1]*FHEAP[M+ +1]+FHEAP[N+2]*FHEAP[M+2]),l=7;else if(l==7){i=FHEAP[i]/(F+G);FHEAP[e+23]=i;_llvm_memcpy_p0i8_p0i8_i32(e+4,c+16,4,4,0);i=e;Q=c+16;O=j;FHEAP[W]=FHEAP[O+1]*FHEAP[Q+2]-FHEAP[O+2]*FHEAP[Q+1];FHEAP[U]=FHEAP[O+2]*FHEAP[Q]-FHEAP[O]*FHEAP[Q+2];FHEAP[T]=FHEAP[O]*FHEAP[Q+1]-FHEAP[O+1]*FHEAP[Q];O=Pa;Q=U;U=W;W=Q;Q=T;T=O;O=Q;FHEAP[T]=FHEAP[U];FHEAP[T+1]=FHEAP[W];FHEAP[T+2]=FHEAP[O];FHEAP[T+3]=0;_llvm_memcpy_p0i8_p0i8_i32(i,Pa,4,4,0);Pa=e+8;T=k;U=c+16;FHEAP[Y]=0-FHEAP[U];FHEAP[ca]=0-FHEAP[U+1];FHEAP[Z]=0-FHEAP[U+ +2];U=V;W=ca;ca=Y;Y=W;W=Z;Z=U;U=W;FHEAP[Z]=FHEAP[ca];FHEAP[Z+1]=FHEAP[Y];FHEAP[Z+2]=FHEAP[U];FHEAP[Z+3]=0;Z=T;FHEAP[ba]=FHEAP[Z+1]*FHEAP[V+2]-FHEAP[Z+2]*FHEAP[V+1];FHEAP[ha]=FHEAP[Z+2]*FHEAP[V]-FHEAP[Z]*FHEAP[V+2];FHEAP[ea]=FHEAP[Z]*FHEAP[V+1]-FHEAP[Z+1]*FHEAP[V];V=da;Z=ha;ha=ba;ba=Z;Z=ea;ea=V;V=Z;FHEAP[ea]=FHEAP[ha];FHEAP[ea+1]=FHEAP[ba];FHEAP[ea+2]=FHEAP[V];FHEAP[ea+3]=0;_llvm_memcpy_p0i8_p0i8_i32(Pa,da,4,4,0);l=oa!=0?8:9;break a}l==8?__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(Ta,oa, +j):l==9&&(FHEAP[Va]=0,FHEAP[fb]=0,FHEAP[ib]=0,FHEAP[Ta]=FHEAP[Va],FHEAP[Ta+1]=FHEAP[fb],FHEAP[Ta+2]=FHEAP[ib],FHEAP[Ta+3]=0);Da!=0?__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(Na,Da,k):(FHEAP[Za]=0,FHEAP[gb]=0,FHEAP[lb]=0,FHEAP[Na]=FHEAP[Za],FHEAP[Na+1]=FHEAP[gb],FHEAP[Na+2]=FHEAP[lb],FHEAP[Na+3]=0);FHEAP[aa]=FHEAP[Ta]-FHEAP[Na];FHEAP[X]=FHEAP[Ta+1]-FHEAP[Na+1];FHEAP[ka]=FHEAP[Ta+2]-FHEAP[Na+2];FHEAP[$a]=FHEAP[aa];FHEAP[$a+1]=FHEAP[X];FHEAP[$a+2]=FHEAP[ka];FHEAP[$a+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g, +$a,4,4,0);j=c+16;FHEAP[h]=FHEAP[j]*FHEAP[g]+FHEAP[j+1]*FHEAP[g+1]+FHEAP[j+2]*FHEAP[g+2];g=FHEAP[c+20]+FHEAP[f+13];FHEAP[e+22]=FHEAP[c+21];k=IHEAP[c+36]>IHEAP[f+16];a:do{if(!k&&(aa=FHEAP[c+22],j=FHEAP[h],j=aa*(0-j),!(j<=0)))break a;j=0}while(0);h=(IHEAP[f+15]&4)!=0;a:do if(h){FHEAP[e+21]=FHEAP[c+28]*FHEAP[f+14];for(l=oa!=0?15:16;;)if(l==15)k=oa,X=e+4,aa=oa,FHEAP[sb]=FHEAP[aa+276],aa=X,X=sb,FHEAP[fa]=FHEAP[aa]*FHEAP[X],FHEAP[ga]=FHEAP[aa+1]*FHEAP[X],FHEAP[ja]=FHEAP[aa+2]*FHEAP[X],aa=bb,X=fa,ka=ga,da= +ja,FHEAP[aa]=FHEAP[X],FHEAP[aa+1]=FHEAP[ka],FHEAP[aa+2]=FHEAP[da],FHEAP[aa+3]=0,aa=oa,X=aa+277,aa=bb,FHEAP[la]=FHEAP[aa]*FHEAP[X],FHEAP[qa]=FHEAP[aa+1]*FHEAP[X+1],FHEAP[pa]=FHEAP[aa+2]*FHEAP[X+2],aa=eb,X=la,ka=qa,da=pa,FHEAP[aa]=FHEAP[X],FHEAP[aa+1]=FHEAP[ka],FHEAP[aa+2]=FHEAP[da],FHEAP[aa+3]=0,__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(k,eb,e+12,FHEAP[e+21]),l=16;else if(l==16)if(Da!=0)break;else break a;k=Da;X=e+4;aa=Da;FHEAP[jb]=FHEAP[aa+276];aa=X;X=jb;FHEAP[wa]=FHEAP[aa]*FHEAP[X]; +FHEAP[ua]=FHEAP[aa+1]*FHEAP[X];FHEAP[na]=FHEAP[aa+2]*FHEAP[X];aa=Ya;X=wa;ka=ua;da=na;FHEAP[aa]=FHEAP[X];FHEAP[aa+1]=FHEAP[ka];FHEAP[aa+2]=FHEAP[da];FHEAP[aa+3]=0;aa=Da;X=aa+277;aa=Ya;FHEAP[ya]=FHEAP[aa]*FHEAP[X];FHEAP[xa]=FHEAP[aa+1]*FHEAP[X+1];FHEAP[ia]=FHEAP[aa+2]*FHEAP[X+2];aa=Ka;X=ya;ka=xa;da=ia;FHEAP[aa]=FHEAP[X];FHEAP[aa+1]=FHEAP[ka];FHEAP[aa+2]=FHEAP[da];FHEAP[aa+3]=0;aa=e+16;FHEAP[ma]=0-FHEAP[aa];FHEAP[ta]=0-FHEAP[aa+1];FHEAP[ra]=0-FHEAP[aa+2];aa=kb;X=ma;ka=ta;da=ra;FHEAP[aa]=FHEAP[X];FHEAP[aa+ +1]=FHEAP[ka];FHEAP[aa+2]=FHEAP[da];FHEAP[aa+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(k,Ka,kb,0-FHEAP[e+21])}else FHEAP[e+21]=0;while(0);FHEAP[e+20]=0;c=e+4;oa!=0?_llvm_memcpy_p0i8_p0i8_i32(tb,oa+268,4,4,0):(FHEAP[Bb]=0,FHEAP[Qa]=0,FHEAP[wb]=0,FHEAP[tb]=FHEAP[Bb],FHEAP[tb+1]=FHEAP[Qa],FHEAP[tb+2]=FHEAP[wb],FHEAP[tb+3]=0);c=FHEAP[c]*FHEAP[tb]+FHEAP[c+1]*FHEAP[tb+1]+FHEAP[c+2]*FHEAP[tb+2];oa!=0?_llvm_memcpy_p0i8_p0i8_i32(mb,oa+272,4,4,0):(FHEAP[yb]=0,FHEAP[ub]=0,FHEAP[Ma]=0,FHEAP[mb]= +FHEAP[yb],FHEAP[mb+1]=FHEAP[ub],FHEAP[mb+2]=FHEAP[Ma],FHEAP[mb+3]=0);oa=c+(FHEAP[e]*FHEAP[mb]+FHEAP[e+1]*FHEAP[mb+1]+FHEAP[e+2]*FHEAP[mb+2]);mb=e+4;Da!=0?_llvm_memcpy_p0i8_p0i8_i32(sa,Da+268,4,4,0):(FHEAP[va]=0,FHEAP[pb]=0,FHEAP[ab]=0,FHEAP[sa]=FHEAP[va],FHEAP[sa+1]=FHEAP[pb],FHEAP[sa+2]=FHEAP[ab],FHEAP[sa+3]=0);sa=0-(FHEAP[mb]*FHEAP[sa]+FHEAP[mb+1]*FHEAP[sa+1]+FHEAP[mb+2]*FHEAP[sa+2]);va=e+8;Da!=0?_llvm_memcpy_p0i8_p0i8_i32(db,Da+272,4,4,0):(FHEAP[vb]=0,FHEAP[Fb]=0,FHEAP[zb]=0,FHEAP[db]=FHEAP[vb], +FHEAP[db+1]=FHEAP[Fb],FHEAP[db+2]=FHEAP[zb],FHEAP[db+3]=0);db=j-(oa+(sa+(FHEAP[va]*FHEAP[db]+FHEAP[va+1]*FHEAP[db+1]+FHEAP[va+2]*FHEAP[db+2])));g>0?(Da=0,db-=g/FHEAP[f+3]):Da=(0-g)*FHEAP[f+8]/FHEAP[f+3];Da*=FHEAP[e+23];db*=FHEAP[e+23];l=IHEAP[f+11]!=0?25:26;a:for(;;)if(l==25)if(g>FHEAP[f+12])l=26;else{l=27;break a}else if(l==26){FHEAP[e+29]=Da+db;FHEAP[e+33]=0;l=28;break a}for(;;)if(l==27)FHEAP[e+29]=db,FHEAP[e+33]=Da,l=28;else if(l==28){FHEAP[e+30]=0;FHEAP[e+31]=0;FHEAP[e+32]=1E10;STACKTOP=a;break}} +function __ZN35btSequentialImpulseConstraintSolver28setFrictionConstraintImpulseER18btSolverConstraintP11btRigidBodyS3_R15btManifoldPointRK19btContactSolverInfo(a,e,d,b,c,f){var g=STACKTOP;STACKTOP+=60;var h,i,j,k,l,m=g+1,n=g+2,o=g+3,q=g+4,p=g+5,r=g+6,s=g+7,u=g+8,v=g+9,y=g+10,x=g+11,z,B,C=g+12,A=g+13,w=g+14,D=g+15,E=g+16,F=g+17,G=g+18,J=g+19,H=g+20,M=g+21,K=g+22,N=g+23,R=g+24,O=g+28,Q=g+32,I=g+33,L=g+37,P=g+41,S=g+42,T=g+46,U=g+50,W=g+51,Z=g+55,ca=g+56,Y=(IHEAP[f+15]&8)!=0,ea=IHEAP[a+14+3]+34*IHEAP[e+ +25];a:do if(Y){z=ea;B=(IHEAP[f+15]&4)!=0;b:do if(B){FHEAP[z+21]=FHEAP[c+30]*FHEAP[f+14];for(h=d!=0?0:1;;)if(h==0)h=d,j=z+4,i=d,FHEAP[Q]=FHEAP[i+276],i=j,j=Q,FHEAP[D]=FHEAP[i]*FHEAP[j],FHEAP[E]=FHEAP[i+1]*FHEAP[j],FHEAP[F]=FHEAP[i+2]*FHEAP[j],i=O,j=D,k=E,l=F,FHEAP[i]=FHEAP[j],FHEAP[i+1]=FHEAP[k],FHEAP[i+2]=FHEAP[l],FHEAP[i+3]=0,i=d,j=i+277,i=O,FHEAP[g]=FHEAP[i]*FHEAP[j],FHEAP[m]=FHEAP[i+1]*FHEAP[j+1],FHEAP[n]=FHEAP[i+2]*FHEAP[j+2],i=R,j=g,k=m,l=n,FHEAP[i]=FHEAP[j],FHEAP[i+1]=FHEAP[k],FHEAP[i+2]=FHEAP[l], +FHEAP[i+3]=0,__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(h,R,z+12,FHEAP[z+21]),h=1;else if(h==1)if(b!=0)break;else break b;h=b;j=z+4;i=b;FHEAP[P]=FHEAP[i+276];i=j;j=P;FHEAP[o]=FHEAP[i]*FHEAP[j];FHEAP[q]=FHEAP[i+1]*FHEAP[j];FHEAP[p]=FHEAP[i+2]*FHEAP[j];i=L;j=o;k=q;l=p;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;i=b;j=i+277;i=L;FHEAP[r]=FHEAP[i]*FHEAP[j];FHEAP[s]=FHEAP[i+1]*FHEAP[j+1];FHEAP[u]=FHEAP[i+2]*FHEAP[j+2];i=I;j=r;k=s;l=u;FHEAP[i]=FHEAP[j];FHEAP[i+1]= +FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;i=z+16;FHEAP[v]=0-FHEAP[i];FHEAP[y]=0-FHEAP[i+1];FHEAP[x]=0-FHEAP[i+2];i=S;j=v;k=y;l=x;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(h,I,S,0-FHEAP[z+21])}else FHEAP[z+21]=0;while(0);if((IHEAP[f+15]&16)==0)break a;B=IHEAP[e+25]+1;z=a+14;z=IHEAP[z+3]+34*B;if((IHEAP[f+15]&4)!=0){FHEAP[z+21]=FHEAP[c+31]*FHEAP[f+14];for(h=d!=0?7:8;;)if(h==7)B=d,i=z+4,h=d,FHEAP[U]=FHEAP[h+276],h=i, +i=U,FHEAP[C]=FHEAP[h]*FHEAP[i],FHEAP[A]=FHEAP[h+1]*FHEAP[i],FHEAP[w]=FHEAP[h+2]*FHEAP[i],h=T,i=C,j=A,k=w,FHEAP[h]=FHEAP[i],FHEAP[h+1]=FHEAP[j],FHEAP[h+2]=FHEAP[k],FHEAP[h+3]=0,__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(B,T,z+12,FHEAP[z+21]),h=8;else if(h==8)if(b!=0)break;else break a;B=b;i=z+4;h=b;FHEAP[Z]=FHEAP[h+276];h=i;i=Z;FHEAP[G]=FHEAP[h]*FHEAP[i];FHEAP[J]=FHEAP[h+1]*FHEAP[i];FHEAP[H]=FHEAP[h+2]*FHEAP[i];h=W;i=G;j=J;k=H;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[j];FHEAP[h+2]=FHEAP[k]; +FHEAP[h+3]=0;h=z+16;FHEAP[M]=0-FHEAP[h];FHEAP[K]=0-FHEAP[h+1];FHEAP[N]=0-FHEAP[h+2];h=ca;i=M;j=K;k=N;FHEAP[h]=FHEAP[i];FHEAP[h+1]=FHEAP[j];FHEAP[h+2]=FHEAP[k];FHEAP[h+3]=0;__ZN11btRigidBody20internalApplyImpulseERK9btVector3S2_f(B,W,ca,0-FHEAP[z+21])}else FHEAP[z+21]=0}else{z=ea;FHEAP[z+21]=0;if((IHEAP[f+15]&16)==0)break a;B=IHEAP[e+25]+1;z=a+14;z=IHEAP[z+3]+34*B;FHEAP[z+21]=0}while(0);STACKTOP=g} +function __ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo(a,e,d){var b=STACKTOP;STACKTOP+=39;var c,f=null,g,h,i,j=b+1,k=b+2,l=b+3,m,n=b+4,o=b+5,q=b+6,p=b+7,r=b+8,s=b+9,u=b+10,v=b+11,y,x,z,B,C,A,w,D,E,F,G=b+12,J=b+16,H=b+20,M=b+21,K=b+22,N,R=b+26,O=b+30,Q=b+34,I=b+35;D=IHEAP[e+280];E=IHEAP[e+281];F=(IHEAP[D+58]&2)!=0?D:0;var L=(IHEAP[E+58]&2)!=0?E:0;F!=0?(f=2,c=3):(f=2,c=4);a:for(;;)if(c==3){w=F;if(FHEAP[w+276]!=0){c=5;break a}w=L;f=6;c=4}else if(c== +4){c=(f==6?w:L)!=0?7:8;break a}a:for(;;)if(c==5){var P=w=0;A=e;if(!(P<IHEAP[A+282])){c=8;continue a}var P=a+4,S=a+4,T=a+14,U=O,W=I;b:for(;;){C=w;A=e;C=A=A+4+C*69;x=FHEAP[C+20];C=e;c=x<=FHEAP[C+284]?11:12;c:for(;;)if(c==11){C=P;C=IHEAP[C+1];y=x=S;f=y=IHEAP[y+1];c=x;c=f==IHEAP[c+2]?13:14;d:for(;;)if(c==13){c=x;h=IHEAP[c+1];h!=0?(f=13,c=15):(f=13,c=16);for(;;)if(c==15){var Z=h*2,f=15;c=16}else if(c==16){__ZN20btAlignedObjectArrayI18btSolverConstraintE7reserveEi(x,f==15?Z:1);c=14;continue d}}else if(c== +14){IHEAP[x+1]+=1;N=IHEAP[x+3]+34*y;x=B=D;c=(IHEAP[x+58]&2)!=0?17:18;break d}c==17?z=B:c==18&&(z=0);x=z;y=c=E;y=(IHEAP[y+58]&2)!=0?c:0;if(x!=0)var ca=x,f=21;else __ZN35btSequentialImpulseConstraintSolver12getFixedBodyEv(),f=23;IHEAP[N+26]=f==21?ca:__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed;if(y!=0)var Y=y,f=24;else __ZN35btSequentialImpulseConstraintSolver12getFixedBodyEv(),f=26;IHEAP[N+27]=f==24?Y:__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed;IHEAP[N+ +28]=A;__ZN35btSequentialImpulseConstraintSolver22setupContactConstraintER18btSolverConstraintP17btCollisionObjectS3_R15btManifoldPointRK19btContactSolverInfoR9btVector3RfSB_SA_SA_(a,N,D,E,A,d,K,M,H,G,J);c=T;IHEAP[N+25]=IHEAP[c+1];c=(IHEAP[d+15]&32)!=0?27:28;d:for(;;)if(c==27)if(IHEAP[A+29]&1){c=29;break d}else c=28;else if(c==28){g=A+37;c=A+16;f=M;FHEAP[p]=FHEAP[c]*FHEAP[f];FHEAP[r]=FHEAP[c+1]*FHEAP[f];FHEAP[s]=FHEAP[c+2]*FHEAP[f];c=R;f=p;h=r;i=s;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[i]; +FHEAP[c+3]=0;c=K;f=R;FHEAP[b]=FHEAP[c]-FHEAP[f];FHEAP[j]=FHEAP[c+1]-FHEAP[f+1];FHEAP[k]=FHEAP[c+2]-FHEAP[f+2];c=O;f=b;h=j;i=k;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[h];FHEAP[c+2]=FHEAP[i];FHEAP[c+3]=0;_llvm_memcpy_p0i8_p0i8_i32(g,U,4,4,0);g=c=g=A+37;g=FHEAP[g]*FHEAP[c]+FHEAP[g+1]*FHEAP[c+1]+FHEAP[g+2]*FHEAP[c+2];c=(IHEAP[d+15]&64)!=0?30:31;break d}d:for(;;)if(c==29){__ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a, +A+37,F,L,C,A,G,J,D,E,FHEAP[H],FHEAP[A+32],FHEAP[A+34]);c=(IHEAP[d+15]&16)!=0?38:35;break d}else if(c==30){__Z13btPlaneSpace1I9btVector3EvRKT_RS1_S4_(A+16,A+37,A+41);c=(IHEAP[d+15]&16)!=0?36:37;break d}else if(c==31)if(g>1.1920928955078125E-7){c=32;break d}else c=30;d:for(;;)if(c==38)__ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a,A+41,F,L,C,A,G,J,D,E,FHEAP[H],FHEAP[A+33],FHEAP[A+35]),c=35;else if(c== +35){__ZN35btSequentialImpulseConstraintSolver28setFrictionConstraintImpulseER18btSolverConstraintP11btRigidBodyS3_R15btManifoldPointRK19btContactSolverInfo(a,N,x,y,A,d);c=12;continue c}else if(c==36)__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(D,A+41),__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(E,A+41),__ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a,A+41,F,L,C,A,G,J, +D,E,FHEAP[H],0,0),c=37;else if(c==37)__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(D,A+37),__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(E,A+37),__ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a,A+37,F,L,C,A,G,J,D,E,FHEAP[H],0,0),IHEAP[A+29]=1,c=35;else if(c==32){c=A+37;f=g;f=_sqrtf(f);FHEAP[Q]=f;f=c;c=Q;FHEAP[l]=1/FHEAP[c];c=l;FHEAP[f]*=FHEAP[c];FHEAP[f+1]*=FHEAP[c];FHEAP[f+ +2]*=FHEAP[c];for(c=(IHEAP[d+15]&16)!=0?33:34;;)if(c==33)c=A+41,h=A+16,f=A+37,FHEAP[n]=FHEAP[f+1]*FHEAP[h+2]-FHEAP[f+2]*FHEAP[h+1],FHEAP[o]=FHEAP[f+2]*FHEAP[h]-FHEAP[f]*FHEAP[h+2],FHEAP[q]=FHEAP[f]*FHEAP[h+1]-FHEAP[f+1]*FHEAP[h],f=I,h=n,i=o,m=q,FHEAP[f]=FHEAP[h],FHEAP[f+1]=FHEAP[i],FHEAP[f+2]=FHEAP[m],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(c,W,4,4,0),f=h=f=c=A+41,f=FHEAP[f]*FHEAP[h]+FHEAP[f+1]*FHEAP[h+1]+FHEAP[f+2]*FHEAP[h+2],f=_sqrtf(f),FHEAP[v]=f,f=c,c=v,FHEAP[u]=1/FHEAP[c],c=u,FHEAP[f]*=FHEAP[c], +FHEAP[f+1]*=FHEAP[c],FHEAP[f+2]*=FHEAP[c],__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(D,A+41),__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(E,A+41),__ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a,A+41,F,L,C,A,G,J,D,E,FHEAP[H],0,0),c=34;else if(c==34){__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(D,A+37);__Z24applyAnisotropicFrictionP17btCollisionObjectR9btVector3(E, +A+37);__ZN35btSequentialImpulseConstraintSolver21addFrictionConstraintERK9btVector3P11btRigidBodyS4_iR15btManifoldPointS2_S2_P17btCollisionObjectS8_fff(a,A+37,F,L,C,A,G,J,D,E,FHEAP[H],0,0);IHEAP[A+29]=1;c=35;continue d}}}else if(c==12)if(w+=1,C=w,A=e,C<IHEAP[A+282]){c=10;continue b}else{c=8;continue a}}}else if(c==7)w=L,c=FHEAP[w+276]!=0?5:8;else if(c==8){STACKTOP=b;break}} +function __ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h){var i=STACKTOP;STACKTOP+=201;var j,k,l,m,n,o=i+1,q=i+2,p,r,s,u=i+3,v=i+4,y=i+5,x,z,B,C,A,w,D,E,F,G,J=i+6,H=i+7,M=i+8,K,N,R=i+9,O=i+10,Q=i+11,I=i+12,L=i+13,P=i+14,S=i+15,T=i+16,U=i+17,W=i+18,Z=i+19,ca=i+20,Y=i+21,ea=i+22,ha=i+23,ba=i+24,V=i+25,aa=i+26,X,ka,da=i+27,fa=i+28,ga=i+29, +ja,la,qa=i+31,pa=i+33,wa,ua=i+67,na=i+68,ya=i+69,xa=i+70,ia=i+71,ma=i+72,ta=i+73,ra=i+74,oa=i+75,Da=i+76,Ba=i+77,Oa=i+78,Fa=i+79,Ha=i+93,La=i+97,Ea=i+101,Ca=i+105,Aa=i+109,za=i+113,Ja=i+114,Ra=i+118,Ua=i+122,Xa=i+123,Wa=i+127,Sa=i+199,Ga=i+200,Ia;__ZN15CProfileManager13Start_ProfileEPKc(__str71);var Pa=c+g!=0;a:do if(Pa){G=IHEAP[h+11]!=0;b:do if(G){p=0;if(!(p<d)){j=2;break b}for(;;){r=F=IHEAP[e+p];r=(IHEAP[r+58]&2)!=0;d:do if(r){l=m=F;if(m==0)break d;m=l;m+=318;FHEAP[da]=0;FHEAP[fa]=0;FHEAP[ga]=0; +s=m;m=da;n=fa;k=ga;FHEAP[s]=FHEAP[m];FHEAP[s+1]=FHEAP[n];FHEAP[s+2]=FHEAP[k];FHEAP[s+3]=0;m=l;m+=322;FHEAP[ba]=0;FHEAP[V]=0;FHEAP[aa]=0;s=m;m=ba;n=V;k=aa;FHEAP[s]=FHEAP[m];FHEAP[s+1]=FHEAP[n];FHEAP[s+2]=FHEAP[k];FHEAP[s+3]=0;m=l;m+=334;FHEAP[W]=0;FHEAP[Z]=0;FHEAP[ca]=0;s=m;m=W;n=Z;k=ca;FHEAP[s]=FHEAP[m];FHEAP[s+1]=FHEAP[n];FHEAP[s+2]=FHEAP[k];FHEAP[s+3]=0;l+=338;FHEAP[J]=0;FHEAP[H]=0;FHEAP[M]=0;k=l;l=J;m=H;n=M;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0}while(0);p+=1;if(p< +d)j=1;else{j=2;break b}}}else{p=0;if(!(p<d)){j=2;break b}for(;;){r=F=IHEAP[e+p];r=(IHEAP[r+58]&2)!=0;d:do if(r){l=m=F;if(m==0)break d;m=l;m+=318;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0;s=m;m=u;n=v;k=y;FHEAP[s]=FHEAP[m];FHEAP[s+1]=FHEAP[n];FHEAP[s+2]=FHEAP[k];FHEAP[s+3]=0;l+=322;FHEAP[i]=0;FHEAP[o]=0;FHEAP[q]=0;k=l;l=i;m=o;n=q;FHEAP[k]=FHEAP[l];FHEAP[k+1]=FHEAP[m];FHEAP[k+2]=FHEAP[n];FHEAP[k+3]=0}while(0);p+=1;if(p<d)j=8;else{j=2;break b}}}while(0);G=0;b:for(;;){if(!(G<g)){j=14;break b}F=p=IHEAP[f+G];r=IHEAP[IHEAP[F]+ +2];try{__THREW__=!1,FUNCTION_TABLE[r](F)}catch(Ta){if(ABORT)throw Ta;__THREW__=!0;print("Exception: "+Ta+" : "+Ta.stack+", currently at: "+Error().stack)}if(__THREW__){j=44;break b}FHEAP[p+12]=0;G+=1;j=12}b:for(;;)if(j==14){p=0;G=a+29;F=g;_llvm_memset_p0i8_i32(qa,0,2,4,0);__ZN20btAlignedObjectArrayIN17btTypedConstraint17btConstraintInfo1EE6resizeEiRKS1_(G,F,qa);G=0;F=a+29;c:for(;;){if(!(G<g)){j=17;break c}l=G;r=F;r=IHEAP[r+3]+2*l;l=IHEAP[f+G];if(IHEAP[l+8]&1){l=IHEAP[f+G];m=IHEAP[IHEAP[l]+4];n=r; +try{__THREW__=!1,FUNCTION_TABLE[m](l,n)}catch(Va){if(ABORT)throw Va;__THREW__=!0;print("Exception: "+Va+" : "+Va.stack+", currently at: "+Error().stack)}if(__THREW__){j=44;continue b}}else IHEAP[r]=0,IHEAP[r+1]=0;p+=IHEAP[r];G+=1;j=15}G=a+9;_llvm_memset_p0i8_i32(pa,0,34,4,0);__ZN20btAlignedObjectArrayI18btSolverConstraintE6resizeEiRKS0_(G,p,pa);G=p=0;F=a+29;r=a+9;l=Fa;m=Fa+1;n=Fa+2;k=Fa+3;s=Fa+4;var fb=Fa+5,ib=Fa+6,Na=Fa+7,Za=Fa+13,gb=Fa+8,lb=Fa+9,$a=Fa+10,eb=Fa+12,bb=La,sb=Ca,Ka=Fa+13,Ya=a+29;c:for(;;){if(!(G< +g)){j=21;break c}z=G;x=F;x=IHEAP[x+3]+2*z;j=IHEAP[x]!=0?22:23;d:for(;;)if(j==22){B=p;z=r;z=IHEAP[z+3]+34*B;C=B=IHEAP[f+G];C=IHEAP[C+10];A=B;A=IHEAP[A+11];wa=0;j=wa<IHEAP[x]?24:25;e:for(;;)if(j==24)_llvm_memset_p0i8_i32(z+34*wa,0,34,1,0),FHEAP[z+34*wa+31]=-3.4028234663852886E38,FHEAP[z+34*wa+32]=3.4028234663852886E38,FHEAP[z+34*wa+21]=0,FHEAP[z+34*wa+20]=0,IHEAP[z+34*wa+26]=C,IHEAP[z+34*wa+27]=A,wa+=1,j=wa<IHEAP[x]?24:25;else if(j==25){j=C;j+=318;FHEAP[ua]=0;FHEAP[na]=0;FHEAP[ya]=0;w=j;j=ua;D=na;E= +ya;FHEAP[w]=FHEAP[j];FHEAP[w+1]=FHEAP[D];FHEAP[w+2]=FHEAP[E];FHEAP[w+3]=0;j=C;j+=322;FHEAP[xa]=0;FHEAP[ia]=0;FHEAP[ma]=0;w=j;j=xa;D=ia;E=ma;FHEAP[w]=FHEAP[j];FHEAP[w+1]=FHEAP[D];FHEAP[w+2]=FHEAP[E];FHEAP[w+3]=0;j=A;j+=318;FHEAP[ta]=0;FHEAP[ra]=0;FHEAP[oa]=0;w=j;j=ta;D=ra;E=oa;FHEAP[w]=FHEAP[j];FHEAP[w+1]=FHEAP[D];FHEAP[w+2]=FHEAP[E];FHEAP[w+3]=0;j=A;j+=322;FHEAP[Da]=0;FHEAP[Ba]=0;FHEAP[Oa]=0;w=j;j=Da;D=Ba;E=Oa;FHEAP[w]=FHEAP[j];FHEAP[w+1]=FHEAP[D];FHEAP[w+2]=FHEAP[E];FHEAP[w+3]=0;FHEAP[l]=1/FHEAP[h+ +3];FHEAP[m]=FHEAP[h+8];j=z+4;IHEAP[n]=j;j=z;IHEAP[k]=j;IHEAP[s]=0;j=z+8;IHEAP[fb]=j;IHEAP[ib]=34;IHEAP[Na]=z+29;FHEAP[z+30]=FHEAP[h+10];FHEAP[Za]=FHEAP[h+1];IHEAP[gb]=z+30;IHEAP[lb]=z+31;IHEAP[$a]=z+32;IHEAP[eb]=IHEAP[h+5];j=IHEAP[f+G];D=IHEAP[IHEAP[j]+5];try{__THREW__=!1,FUNCTION_TABLE[D](j,Fa)}catch(jb){if(ABORT)throw jb;__THREW__=!0;print("Exception: "+jb+" : "+jb.stack+", currently at: "+Error().stack)}if(__THREW__){j=44;continue b}else break e}D=FHEAP[z+32];j=IHEAP[f+G];j=D>FHEAP[j+7]?26:27; +e:for(;;)if(j==26)j=IHEAP[f+G],FHEAP[z+32]=FHEAP[j+7],j=27;else if(j==27){D=FHEAP[z+31];j=IHEAP[f+G];j=D<0-FHEAP[j+7]?28:29;break e}e:for(;;)if(j==28)j=IHEAP[f+G],FHEAP[z+31]=0-FHEAP[j+7],j=29;else if(j==29)if(wa=0,wa<IHEAP[x]){j=30;break e}else{j=23;continue d}for(;;)if(j=z+34*wa,IHEAP[j+28]=B,E=j,D=j+12,w=B,w=IHEAP[w+10],__ZmlRK11btMatrix3x3RK9btVector3(Ha,w+256,E),E=B,E=IHEAP[E+10],w=E+326,E=Ha,FHEAP[R]=FHEAP[E]*FHEAP[w],FHEAP[O]=FHEAP[E+1]*FHEAP[w+1],FHEAP[Q]=FHEAP[E+2]*FHEAP[w+2],E=La,w=R,K= +O,N=Q,FHEAP[E]=FHEAP[w],FHEAP[E+1]=FHEAP[K],FHEAP[E+2]=FHEAP[N],FHEAP[E+3]=0,_llvm_memcpy_p0i8_p0i8_i32(D,bb,4,4,0),E=j+8,D=j+16,w=B,w=IHEAP[w+11],__ZmlRK11btMatrix3x3RK9btVector3(Ea,w+256,E),E=B,E=IHEAP[E+11],w=E+326,E=Ea,FHEAP[I]=FHEAP[E]*FHEAP[w],FHEAP[L]=FHEAP[E+1]*FHEAP[w+1],FHEAP[P]=FHEAP[E+2]*FHEAP[w+2],E=Ca,w=I,K=L,N=P,FHEAP[E]=FHEAP[w],FHEAP[E+1]=FHEAP[K],FHEAP[E+2]=FHEAP[N],FHEAP[E+3]=0,_llvm_memcpy_p0i8_p0i8_i32(D,sb,4,4,0),E=j+4,D=C,FHEAP[za]=FHEAP[D+276],D=E,E=za,FHEAP[S]=FHEAP[D]*FHEAP[E], +FHEAP[T]=FHEAP[D+1]*FHEAP[E],FHEAP[U]=FHEAP[D+2]*FHEAP[E],D=Aa,E=S,w=T,K=U,FHEAP[D]=FHEAP[E],FHEAP[D+1]=FHEAP[w],FHEAP[D+2]=FHEAP[K],FHEAP[D+3]=0,D=C,__ZmlRK11btMatrix3x3RK9btVector3(Ja,D+256,j),E=j+4,D=A,FHEAP[Ua]=FHEAP[D+276],D=E,E=Ua,FHEAP[Y]=FHEAP[D]*FHEAP[E],FHEAP[ea]=FHEAP[D+1]*FHEAP[E],FHEAP[ha]=FHEAP[D+2]*FHEAP[E],D=Ra,E=Y,w=ea,K=ha,FHEAP[D]=FHEAP[E],FHEAP[D+1]=FHEAP[w],FHEAP[D+2]=FHEAP[K],FHEAP[D+3]=0,D=A,__ZmlRK11btMatrix3x3RK9btVector3(Xa,D+256,j+8),E=j+4,D=Aa,D=FHEAP[D]*FHEAP[E]+FHEAP[D+ +1]*FHEAP[E+1]+FHEAP[D+2]*FHEAP[E+2],w=j,E=Ja,D+=FHEAP[E]*FHEAP[w]+FHEAP[E+1]*FHEAP[w+1]+FHEAP[E+2]*FHEAP[w+2],w=j+4,E=Ra,D+=FHEAP[E]*FHEAP[w]+FHEAP[E+1]*FHEAP[w+1]+FHEAP[E+2]*FHEAP[w+2],w=j+8,E=Xa,D+=FHEAP[E]*FHEAP[w]+FHEAP[E+1]*FHEAP[w+1]+FHEAP[E+2]*FHEAP[w+2],FHEAP[j+23]=1/D,D=j+4,E=C,E+=268,D=FHEAP[D]*FHEAP[E]+FHEAP[D+1]*FHEAP[E+1]+FHEAP[D+2]*FHEAP[E+2],E=j,w=C,w+=272,D+=FHEAP[E]*FHEAP[w]+FHEAP[E+1]*FHEAP[w+1]+FHEAP[E+2]*FHEAP[w+2],E=j+4,w=A,w+=268,E=0-(FHEAP[E]*FHEAP[w]+FHEAP[E+1]*FHEAP[w+1]+ +FHEAP[E+2]*FHEAP[w+2]),w=j+8,K=A,K+=272,E+=FHEAP[w]*FHEAP[K]+FHEAP[w+1]*FHEAP[K+1]+FHEAP[w+2]*FHEAP[K+2],E=D+E,D=FHEAP[j+29],E=0-E*FHEAP[Ka],D*=FHEAP[j+23],E*=FHEAP[j+23],FHEAP[j+29]=D+E,FHEAP[j+21]=0,wa+=1,wa<IHEAP[x])j=30;else{j=23;continue d}}else if(j==23){z=G;x=Ya;p+=IHEAP[IHEAP[x+3]+2*z];G+=1;j=19;continue c}}for(G=0;;){if(!(G<c)){j=33;break b}p=IHEAP[b+G];F=h;try{__THREW__=!1,__ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo(a,p,F)}catch(kb){if(ABORT)throw kb; +__THREW__=!0;print("Exception: "+kb+" : "+kb.stack+", currently at: "+Error().stack)}if(__THREW__){j=44;continue b}G+=1;j=31}}else if(j==44){la=G=_llvm_eh_exception();_llvm_eh_selector(G,___gxx_personality_v0,0);j=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?6:7;break b}b:for(;;)if(j==6)G=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[G+5],j=7;else if(j==7)throw __Unwind_Resume_or_Rethrow(la),"Reached an unreachable! Original .ll line: 361159"; +else if(j==33){_llvm_memcpy_p0i8_p0i8_i32(Wa,h,72,4,0);X=a+4;X=IHEAP[X+1];ka=a+14;ka=IHEAP[ka+1];Ia=a+19;G=X;IHEAP[Sa]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(Ia,G,Sa);Ia=a+24;G=ka;IHEAP[Ga]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(Ia,G,Ga);Ia=0;j=Ia<X?34:35;break b}b:for(;;)if(j==34)for(G=a+19;;)if(r=F=Ia,p=G,IHEAP[IHEAP[p+3]+r]=F,Ia+=1,Ia<X)j=36;else{j=35;continue b}else if(j==35){Ia=0;j=Ia<ka?37:38;break b}b:for(;;)if(j==37)for(G=a+24;;)if(r=F=Ia,p=G,IHEAP[IHEAP[p+3]+r]=F,Ia+=1,Ia<ka)j= +39;else{j=38;continue b}else if(j==38){ja=0;break a}}else ja=0;while(0);for(j=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?41:42;;)if(j==41)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],j=42;else if(j==42)return STACKTOP=i,ja;return null} +function __ZN20btAlignedObjectArrayIN17btTypedConstraint17btConstraintInfo1EE6resizeEiRKS1_(a,e,d){var b,c,f,g;f=IHEAP[a+1];var h=e<f;a:do if(h){c=e;if(!(c<f))break a;for(;;)if(c+=1,!(c<f))break a}else{c=a;b=e>IHEAP[c+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIN17btTypedConstraint17btConstraintInfo1EE7reserveEi(a,e),b=3;else if(b==3)if(g=f,g<e)break b;else break a;c=a+3;b:for(;;){var i=IHEAP[c]+2*g;for(b=i==0?6:7;;)if(b==6)if(g+=1,g<e)continue b;else break a;else b==7&&(b=i,_llvm_memset_p0i8_i32(b, +0,2,4,0),_llvm_memcpy_p0i8_p0i8_i32(b,d,2,4,0),b=6)}}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayI18btSolverConstraintE6resizeEiRKS0_(a,e,d){var b,c,f,g;f=IHEAP[a+1];var h=e<f;a:do if(h){b=e;if(!(b<f))break a;for(;;)if(b+=1,!(b<f))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI18btSolverConstraintE7reserveEi(a,e),b=3;else if(b==3)if(g=f,g<e)break b;else break a;for(b=a+3;;)if(c=IHEAP[b]+34*g,_llvm_memset_p0i8_i32(c,0,34,4,0),_llvm_memcpy_p0i8_p0i8_i32(c,d,34,4,0),g+=1,!(g<e))break a}while(0);IHEAP[a+1]=e} +function __ZN35btSequentialImpulseConstraintSolver20solveSingleIterationEiPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h,i){var j,k,l,m,n,o,q,p,r,s,u,v,d=IHEAP[a+4+1],b=IHEAP[a+14+1],c=(IHEAP[i+15]&1)!=0?0:1;a:for(;;)if(c==0){if((e&7)!=0){c=1;continue a}v=0;c=v<d?3:4;b:for(;;)if(c==3){f=a+19;o=a+19;p=a+19;for(r=a+19;;)if(n=v,c=f,n=IHEAP[IHEAP[c+3]+n],l=c=__ZN35btSequentialImpulseConstraintSolver10btRandInt2Ei(a, +v+1),j=o,l=IHEAP[IHEAP[j+3]+l],k=v,j=p,IHEAP[IHEAP[j+3]+k]=l,j=c,c=r,IHEAP[IHEAP[c+3]+j]=n,v+=1,v<d)c=5;else{c=4;continue b}}else if(c==4)if(v=0,v<b){c=6;break b}else{c=1;continue a}f=a+24;o=a+24;p=a+24;for(r=a+24;;)if(n=v,c=f,n=IHEAP[IHEAP[c+3]+n],l=c=__ZN35btSequentialImpulseConstraintSolver10btRandInt2Ei(a,v+1),j=o,l=IHEAP[IHEAP[j+3]+l],k=v,j=p,IHEAP[IHEAP[j+3]+k]=l,j=c,c=r,IHEAP[IHEAP[c+3]+j]=n,v+=1,v<b)c=7;else{c=1;continue a}}else if(c==1){var e=(IHEAP[i+15]&256)!=0,y=v=0,x=a+9,c=e?8:9;break a}a:do if(c== +8){d=x;c=y<IHEAP[d+1]?10:11;b:for(;;)if(c==10)for(e=a+9;;)if(b=v,d=e,d=IHEAP[d+3]+34*b,b=IHEAP[d+26],c=IHEAP[d+27],f=d,d=a,__ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(d,b,c,f),v+=1,b=v,d=x,b<IHEAP[d+1])c=12;else{c=11;continue b}else if(c==11){v=0;c=v<h?16:17;break b}b:for(;;)if(c==16)e=IHEAP[g+v],d=IHEAP[IHEAP[e]+6],b=IHEAP[g+v],c=IHEAP[b+10],b=IHEAP[g+v],FUNCTION_TABLE[d](e,c,IHEAP[b+11],FHEAP[i+3]),v+=1,c=v<h?16:17;else if(c== +17){m=a+4;m=IHEAP[m+1];v=0;c=v<m?18:19;break b}b:for(;;)if(c==18){e=a+4;for(d=a+19;;)if(c=v,b=d,c=IHEAP[IHEAP[b+3]+c],b=e,b=IHEAP[b+3]+34*c,c=IHEAP[b+26],f=IHEAP[b+27],o=b,b=a,__ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(b,c,f,o),v+=1,v<m)c=20;else{c=19;continue b}}else if(c==19)if(q=a+14,q=IHEAP[q+1],v=0,v<q){c=21;break b}else break a;e=a+14;d=a+24;b=a+4;b:for(;;){f=v;c=d;f=IHEAP[IHEAP[c+3]+f];c=e;f=IHEAP[c+3]+34*f;o=IHEAP[f+ +25];c=b;o=c=FHEAP[IHEAP[c+3]+34*o+21];for(c=c>0?24:25;;)if(c==24)FHEAP[f+31]=0-FHEAP[f+22]*o,FHEAP[f+32]=FHEAP[f+22]*o,p=IHEAP[f+26],n=IHEAP[f+27],r=f,c=a,__ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(c,p,n,r),c=25;else if(c==25)if(v+=1,v<q){c=23;continue b}else break a}}else if(c==9){d=x;c=y<IHEAP[d+1]?13:14;b:for(;;)if(c==13)for(e=a+9;;)if(b=v,d=e,d=IHEAP[d+3]+34*b,__ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(a, +IHEAP[d+26],IHEAP[d+27],d),v+=1,b=v,d=x,b<IHEAP[d+1])c=15;else{c=14;continue b}else if(c==14){v=0;c=v<h?26:27;break b}b:for(;;)if(c==26)e=IHEAP[g+v],d=IHEAP[IHEAP[e]+6],b=IHEAP[g+v],c=IHEAP[b+10],b=IHEAP[g+v],FUNCTION_TABLE[d](e,c,IHEAP[b+11],FHEAP[i+3]),v+=1,c=v<h?26:27;else if(c==27){s=a+4;s=IHEAP[s+1];v=0;c=v<s?28:29;break b}b:for(;;)if(c==28){e=a+4;for(d=a+19;;)if(c=v,b=d,c=IHEAP[IHEAP[b+3]+c],b=e,b=IHEAP[b+3]+34*c,__ZN35btSequentialImpulseConstraintSolver36resolveSingleConstraintRowLowerLimitER11btRigidBodyS1_RK18btSolverConstraint(a, +IHEAP[b+26],IHEAP[b+27],b),v+=1,v<s)c=30;else{c=29;continue b}}else if(c==29)if(u=a+14,u=IHEAP[u+1],v=0,v<u){c=31;break b}else break a;e=a+14;d=a+24;b=a+4;b:for(;;){f=v;c=d;f=IHEAP[IHEAP[c+3]+f];c=e;f=IHEAP[c+3]+34*f;o=IHEAP[f+25];c=b;o=c=FHEAP[IHEAP[c+3]+34*o+21];for(c=c>0?33:34;;)if(c==33)FHEAP[f+31]=0-FHEAP[f+22]*o,FHEAP[f+32]=FHEAP[f+22]*o,__ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint(a,IHEAP[f+26],IHEAP[f+27],f),c=34;else if(c== +34)if(v+=1,v<u){c=32;continue b}else break a}}while(0);return 0} +function __ZN35btSequentialImpulseConstraintSolver45solveGroupCacheFriendlySplitImpulseIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h){var i,j,k,l;i=IHEAP[h+11]!=0?0:1;a:for(;;)if(i==0)if(d=(IHEAP[h+15]&256)!=0,e=0,b=e<IHEAP[h+5],d){if(!b){i=1;continue a}d=a+4;b=a+4;c=a+19;b:for(;;){f=d;f=IHEAP[f+1];g=0;for(i=g<f?6:7;;)if(i==6)j=g,i=c,j=IHEAP[IHEAP[i+3]+j],i=b,i=IHEAP[i+3]+34*j,j=IHEAP[i+26],k=IHEAP[i+ +27],l=i,i=a,__ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(i,j,k,l),g+=1,i=g<f?6:7;else if(i==7)if(e+=1,e<IHEAP[h+5]){i=3;continue b}else{i=1;continue a}}}else{if(!b){i=1;continue a}d=a+4;b=a+4;c=a+19;b:for(;;){f=d;f=IHEAP[f+1];g=0;for(i=g<f?8:9;;)if(i==8)j=g,i=c,j=IHEAP[IHEAP[i+3]+j],i=b,i=IHEAP[i+3]+34*j,__ZN35btSequentialImpulseConstraintSolver43resolveSplitPenetrationImpulseCacheFriendlyER11btRigidBodyS1_RK18btSolverConstraint(a, +IHEAP[i+26],IHEAP[i+27],i),g+=1,i=g<f?8:9;else if(i==9)if(e+=1,e<IHEAP[h+5]){i=5;continue b}else{i=1;continue a}}}else if(i==1)break} +function __ZN35btSequentialImpulseConstraintSolver33solveGroupCacheFriendlyIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h,i,j){var k=STACKTOP;STACKTOP+=1;var l,m,n,o;__ZN15CProfileManager13Start_ProfileEPKc(__str172);o=IHEAP[IHEAP[a]+6];try{__THREW__=!1,FUNCTION_TABLE[o](a,e,d,b,c,f,g,h,i,j)}catch(q){if(ABORT)throw q;__THREW__=!0;print("Exception: "+q+" : "+q.stack+", currently at: "+Error().stack)}l= +__THREW__?8:7;a:for(;;)if(l==7)for(o=0;;){if(!(o<IHEAP[h+5])){l=2;break a}l=o;var p=e,r=d,s=b,u=c,v=f,y=g,x=h,z=i,B=j;try{__THREW__=!1,__ZN35btSequentialImpulseConstraintSolver20solveSingleIterationEiPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(a,l,p,r,s,u,v,y,x,z,B)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack)}if(__THREW__){l=8;continue a}o+=1;l=0}else if(l== +8){m=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);l=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?3:4;break a}a:for(;;)if(l==2){n=0;l=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?5:6;break a}else if(l==3)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],l=4;else if(l==4)throw __Unwind_Resume_or_Rethrow(m),"Reached an unreachable! Original .ll line: 362671";for(;;)if(l==5)m= +IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[m+5],l=6;else if(l==6)return STACKTOP=k,n;return null} +function __ZN35btSequentialImpulseConstraintSolver29solveGroupCacheFriendlyFinishEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(a,e,d,b,c,f,g,h){b=STACKTOP;STACKTOP+=102;var i,j,k,l,m,n,o,q,f=b+34,c=b+68,g=IHEAP[a+4+1];l=0;i=l<g?0:1;a:for(;;)if(i==0){var p=a+4;m=a+14;j=a+14;b:for(;;){k=l;o=p;o=IHEAP[o+3]+34*k;k=IHEAP[o+28];FHEAP[k+28]=FHEAP[o+21];for(i=(IHEAP[h+15]&8)!=0?3:4;;)if(i==3)n=IHEAP[o+25],i=m,FHEAP[k+30]=FHEAP[IHEAP[i+ +3]+34*n+21],n=IHEAP[o+25]+1,i=j,FHEAP[k+31]=FHEAP[IHEAP[i+3]+34*n+21],i=4;else if(i==4)if(l+=1,l<g){i=2;continue b}else{i=1;continue a}}}else if(i==1){g=a+9;g=IHEAP[g+1];l=0;i=l<g?5:6;break a}a:for(;;)if(i==5){p=a+9;b:for(;;){j=l;m=p;o=IHEAP[m+3]+34*j;m=IHEAP[o+28];k=FHEAP[o+21];j=m;FHEAP[j+12]=k;o=FHEAP[o+21];j=m;for(i=o>FHEAP[j+7]?8:9;;)if(i==8)j=m,IHEAP[j+8]=0,i=9;else if(i==9)if(l+=1,l<g){i=7;continue b}else{i=6;continue a}}}else if(i==6){g=IHEAP[h+11]!=0;q=0;var r=q<d;i=g?10:11;break a}a:do if(i== +10){if(!r)break a;for(;;){l=g=IHEAP[e+q];p=(IHEAP[l+58]&2)!=0;c:do if(p){l=m=g;if(m==0)break c;__ZN11btRigidBody25internalWritebackVelocityEf(l,FHEAP[h+3])}while(0);q+=1;if(q<d)i=12;else break a}}else if(i==11){if(!r)break a;for(;;){l=g=IHEAP[e+q];p=(IHEAP[l+58]&2)!=0;c:do if(p){l=m=g;if(m==0)break c;__ZN11btRigidBody25internalWritebackVelocityEv(l)}while(0);q+=1;if(q<d)i=14;else break a}}while(0);e=a+4;_llvm_memset_p0i8_i32(b,0,34,4,0);__ZN20btAlignedObjectArrayI18btSolverConstraintE6resizeEiRKS0_(e, +0,b);e=a+9;_llvm_memset_p0i8_i32(f,0,34,4,0);__ZN20btAlignedObjectArrayI18btSolverConstraintE6resizeEiRKS0_(e,0,f);a+=14;_llvm_memset_p0i8_i32(c,0,34,4,0);__ZN20btAlignedObjectArrayI18btSolverConstraintE6resizeEiRKS0_(a,0,c);STACKTOP=b;return 0} +function __ZN11btRigidBody25internalWritebackVelocityEv(a){var e=STACKTOP;STACKTOP+=14;var d,b,c,f,g=e+1,h=e+2,i=e+3,j=e+4,k=e+5,l=e+6,m=e+10;for(d=FHEAP[a+276]!=0?0:1;;)if(d==0)d=a,b=a+318,d+=268,FHEAP[i]=FHEAP[d]+FHEAP[b],FHEAP[j]=FHEAP[d+1]+FHEAP[b+1],FHEAP[k]=FHEAP[d+2]+FHEAP[b+2],d=l,b=i,c=j,f=k,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,d=a,b=l,_llvm_memcpy_p0i8_p0i8_i32(d+268,b,4,4,0),d=a,b=a+322,d+=272,FHEAP[e]=FHEAP[d]+FHEAP[b],FHEAP[g]=FHEAP[d+1]+FHEAP[b+1],FHEAP[h]= +FHEAP[d+2]+FHEAP[b+2],d=m,b=e,c=g,f=h,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,d=a,b=m,_llvm_memcpy_p0i8_p0i8_i32(d+272,b,4,4,0),d=1;else if(d==1){STACKTOP=e;break}} +function __ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAllocP12btDispatcher(a,e,d,b,c,f,g,h,i,j){var k=STACKTOP;STACKTOP+=1;var l,m,n;__ZN15CProfileManager13Start_ProfileEPKc(__str273);l=IHEAP[IHEAP[a]+8];try{__THREW__=!1,FUNCTION_TABLE[l](a,e,d,b,c,f,g,h,i,j)}catch(o){if(ABORT)throw o;__THREW__=!0;print("Exception: "+o+" : "+o.stack+", currently at: "+Error().stack)}l=__THREW__? +5:4;a:for(;;)if(l==4){l=IHEAP[IHEAP[a]+9];var q=e,p=d,r=b,s=c,u=f,v=g,y=h,x=i,z=j;try{__THREW__=!1,FUNCTION_TABLE[l](a,q,p,r,s,u,v,y,x,z)}catch(B){if(ABORT)throw B;__THREW__=!0;print("Exception: "+B+" : "+B.stack+", currently at: "+Error().stack)}if(__THREW__){l=5;continue a}l=IHEAP[IHEAP[a]+7];q=e;p=d;r=b;s=c;u=f;v=g;y=h;x=i;z=j;try{__THREW__=!1,FUNCTION_TABLE[l](a,q,p,r,s,u,v,y,x,z)}catch(C){if(ABORT)throw C;__THREW__=!0;print("Exception: "+C+" : "+C.stack+", currently at: "+Error().stack)}if(__THREW__)l= +5;else{l=7;break a}}else if(l==5){m=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);l=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?2:3;break a}a:for(;;)if(l==7){n=0;l=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?0:1;break a}else if(l==2)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],l=3;else if(l==3)throw __Unwind_Resume_or_Rethrow(m),"Reached an unreachable! Original .ll line: 363450"; +for(;;)if(l==0)m=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[m+5],l=1;else if(l==1)return STACKTOP=k,n;return null}function __ZN35btSequentialImpulseConstraintSolver5resetEv(a){IHEAP[a+34]=0}function __ZN18btConstraintSolver12prepareSolveEii(){}function __ZN18btConstraintSolver9allSolvedERK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc(){} +function __ZN20btAlignedObjectArrayI18btSolverConstraintE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*136,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3)for(var l=k+3;;)if(d=f+34*b,_llvm_memset_p0i8_i32(d,0,34,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+34*b,34,4,0),b+=1,b<c)d=5;else{d=4;continue b}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?6:7;break b}b:for(;;)if(d==6)h+=1,d=h<g?6:7;else if(d==7){j=a;d=IHEAP[j+ +3]!=0?8:9;break b}b:for(;;)if(d==8)for(d=IHEAP[j+4]&1?10:11;;)if(d==10)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=11;else{if(d==11){IHEAP[j+3]=0;d=9;continue b}}else if(d==9){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIN17btTypedConstraint17btConstraintInfo1EE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*8,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=f+2*b;for(d=m==0?6:7;;)if(d==6)if(b+=1,b<c){d=5;continue c}else{d=4;continue b}else d==7&&(d=m,_llvm_memset_p0i8_i32(d,0,2,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+2*b,2,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+ +1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIN17btTypedConstraint17btConstraintInfo1EE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayI18btSolverConstraintE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN18btConstraintSolverD1Ev(a){IHEAP[a]=__ZTV18btConstraintSolver+2}function __ZN18btConstraintSolverD0Ev(a){IHEAP[a]=__ZTV18btConstraintSolver+2;__ZdlPv(a)}function __ZNK11btWheelInfo23getSuspensionRestLengthEv(a){return FHEAP[a+51]} +function __ZN17btActionInterface12getFixedBodyEv(){var a=STACKTOP;STACKTOP+=14;var e,d,b,c,f,g,h,i,j;f=a+4;g=a+5;var k=a+6,l=a+7;c=a+11;b=a+12;d=a+13;for(e=IHEAP[__ZGVZN17btActionInterface12getFixedBodyEvE7s_fixed]==0?0:1;;)if(e==0){if(___cxa_guard_acquire(__ZGVZN17btActionInterface12getFixedBodyEvE7s_fixed)!=0){FHEAP[f]=0;FHEAP[g]=0;FHEAP[k]=0;e=a;h=f;i=g;j=k;FHEAP[e]=FHEAP[h];FHEAP[e+1]=FHEAP[i];FHEAP[e+2]=FHEAP[j];FHEAP[e+3]=0;try{__THREW__=!1,__ZN11btRigidBodyC2EfP13btMotionStateP16btCollisionShapeRK9btVector3(__ZZN17btActionInterface12getFixedBodyEvE7s_fixed, +0,0,0,a)}catch(m){if(ABORT)throw m;__THREW__=!0;print("Exception: "+m+" : "+m.stack+", currently at: "+Error().stack)}if(__THREW__)break;___cxa_atexit(8,__ZZN17btActionInterface12getFixedBodyEvE7s_fixed,___dso_handle);___cxa_guard_release(__ZGVZN17btActionInterface12getFixedBodyEvE7s_fixed)}e=1}else if(e==1)return FHEAP[c]=0,FHEAP[b]=0,FHEAP[d]=0,f=l,g=b,b=c,c=g,g=d,d=f,f=g,FHEAP[d]=FHEAP[b],FHEAP[d+1]=FHEAP[c],FHEAP[d+2]=FHEAP[f],FHEAP[d+3]=0,__ZN11btRigidBody12setMassPropsEfRK9btVector3(__ZZN17btActionInterface12getFixedBodyEvE7s_fixed, +0,l),STACKTOP=a,__ZZN17btActionInterface12getFixedBodyEvE7s_fixed;a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);___cxa_guard_abort(__ZGVZN17btActionInterface12getFixedBodyEvE7s_fixed);__Unwind_Resume_or_Rethrow(a);throw"Reached an unreachable! Original .ll line: 364405";} +function __ZN16btRaycastVehicleC2ERKNS_15btVehicleTuningEP11btRigidBodyP18btVehicleRaycaster(a,e,d,b){IHEAP[a]=__ZTV17btActionInterface+2;IHEAP[a]=__ZTV16btRaycastVehicle+2;e=a+4;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+9;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+14;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;e=a+19;IHEAP[e+4]=1;IHEAP[e+3]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[a+28]=b;FHEAP[a+29]=0;b=a+36;IHEAP[b+4]=1;IHEAP[b+3]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;IHEAP[a+ +32]=d;IHEAP[a+33]=0;IHEAP[a+34]=2;IHEAP[a+35]=1;FHEAP[a+31]=0;FHEAP[a+30]=0}function __ZN16btRaycastVehicle11defaultInitERKNS_15btVehicleTuningE(a){FHEAP[a+31]=0;FHEAP[a+30]=0} +function __ZN16btRaycastVehicleD0Ev(a){var e;try{__THREW__=!1,__ZN16btRaycastVehicleD2Ev(a)}catch(d){if(ABORT)throw d;__THREW__=!0;print("Exception: "+d+" : "+d.stack+", currently at: "+Error().stack)}e=__THREW__?1:0;if(e==0)__ZdlPv(a);else if(e==1)throw e=_llvm_eh_exception(),_llvm_eh_selector(e,___gxx_personality_v0,0),__ZdlPv(a),__Unwind_Resume_or_Rethrow(e),"Reached an unreachable! Original .ll line: 364650";} +function __ZN16btRaycastVehicleD2Ev(a){IHEAP[a]=__ZTV16btRaycastVehicle+2;__ZN20btAlignedObjectArrayI11btWheelInfoE5clearEv(a+36);__ZN20btAlignedObjectArrayIfE5clearEv(a+19);__ZN20btAlignedObjectArrayIfE5clearEv(a+14);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+9);__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a+4);IHEAP[a]=__ZTV17btActionInterface+2} +function __ZN16btRaycastVehicle23updateWheelTransformsWSER11btWheelInfob(a,e,d){var b=STACKTOP;STACKTOP+=28;var c,f,g;c=b+16;f=b+20;var h=b+24;IHEAP[e+21]=0;g=IHEAP[a+32]+1;_llvm_memcpy_p0i8_p0i8_i32(b,g,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+4,g+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+8,g+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(b+12,g+12,4,4,0);for(d=d&1?0:1;;)if(d==0)d=a,d=IHEAP[d+32],IHEAP[d+310]!=0&&(d=a,d=IHEAP[d+32],d=IHEAP[d+310],FUNCTION_TABLE[IHEAP[IHEAP[d]+2]](d,b)),d=1;else if(d==1){a=e+9;__ZNK11btTransformclERK9btVector3(c, +b,e+39);_llvm_memcpy_p0i8_p0i8_i32(a,c,4,4,0);a=e+13;c=b;__ZmlRK11btMatrix3x3RK9btVector3(f,c,e+43);_llvm_memcpy_p0i8_p0i8_i32(a,f,4,4,0);c=e+17;f=b;__ZmlRK11btMatrix3x3RK9btVector3(h,f,e+47);_llvm_memcpy_p0i8_p0i8_i32(c,h,4,4,0);STACKTOP=b;break}} +function __ZN16btRaycastVehicle20updateWheelTransformEib(a,e,d){var b=STACKTOP;STACKTOP+=124;var c=b+1,f=b+2,g=b+3,h=b+4,i,j=b+5,k=b+6,l=b+7,m=b+8,n=b+9,o=b+10,q=b+11,p=b+12,r=b+13,s=b+14,u=b+18,v=b+22,y=b+23;i=b+39;var x=b+51,z=b+67,B=b+68,C=b+80,A=b+92,w=b+104,D=b+116,E=b+120,e=IHEAP[a+36+3]+71*e;__ZN16btRaycastVehicle23updateWheelTransformsWSER11btWheelInfob(a,e,d&1);a=e+13;FHEAP[q]=0-FHEAP[a];FHEAP[p]=0-FHEAP[a+1];FHEAP[r]=0-FHEAP[a+2];FHEAP[s]=FHEAP[q];FHEAP[s+1]=FHEAP[p];FHEAP[s+2]=FHEAP[r]; +FHEAP[s+3]=0;q=e+17;FHEAP[f]=FHEAP[s+1]*FHEAP[q+2]-FHEAP[s+2]*FHEAP[q+1];FHEAP[g]=FHEAP[s+2]*FHEAP[q]-FHEAP[s]*FHEAP[q+2];FHEAP[h]=FHEAP[s]*FHEAP[q+1]-FHEAP[s+1]*FHEAP[q];FHEAP[u]=FHEAP[f];FHEAP[u+1]=FHEAP[g];FHEAP[u+2]=FHEAP[h];FHEAP[u+3]=0;f=_sqrtf(FHEAP[u]*FHEAP[u]+FHEAP[u+1]*FHEAP[u+1]+FHEAP[u+2]*FHEAP[u+2]);FHEAP[c]=f;FHEAP[b]=1/FHEAP[c];FHEAP[u]*=FHEAP[b];FHEAP[u+1]*=FHEAP[b];FHEAP[u+2]*=FHEAP[b];_llvm_memcpy_p0i8_p0i8_i32(u,u,4,4,0);FHEAP[v]=FHEAP[e+58];__ZN12btQuaternion11setRotationERK9btVector3RKf(y, +s,v);__ZN11btMatrix3x311setRotationERK12btQuaternion(i,y);FHEAP[z]=0-FHEAP[e+59];__ZN12btQuaternion11setRotationERK9btVector3RKf(x,q,z);__ZN11btMatrix3x311setRotationERK12btQuaternion(B,x);__ZN11btMatrix3x3C1ERKfS1_S1_S1_S1_S1_S1_S1_S1_(C,q,u,s,q+1,u+1,s+1,q+2,u+2,s+2);c=e+23;__ZmlRK11btMatrix3x3S1_(w,i,B);__ZmlRK11btMatrix3x3S1_(A,w,C);_llvm_memcpy_p0i8_p0i8_i32(c,A,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+4,A+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(c+8,A+8,4,4,0);B=e+9;C=e+8;i=e+13;FHEAP[j]=FHEAP[i]*FHEAP[C]; +FHEAP[k]=FHEAP[i+1]*FHEAP[C];FHEAP[l]=FHEAP[i+2]*FHEAP[C];FHEAP[E]=FHEAP[j];FHEAP[E+1]=FHEAP[k];FHEAP[E+2]=FHEAP[l];FHEAP[E+3]=0;FHEAP[m]=FHEAP[B]+FHEAP[E];FHEAP[n]=FHEAP[B+1]+FHEAP[E+1];FHEAP[o]=FHEAP[B+2]+FHEAP[E+2];FHEAP[D]=FHEAP[m];FHEAP[D+1]=FHEAP[n];FHEAP[D+2]=FHEAP[o];FHEAP[D+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e+23+12,D,4,4,0);STACKTOP=b}function __ZNK16btRaycastVehicle19getWheelTransformWSEi(a,e){return IHEAP[a+36+3]+71*e+23} +function __ZNK16btRaycastVehicle24getChassisWorldTransformEv(a){return IHEAP[a+32]+1} +function __ZN16btRaycastVehicle7rayCastER11btWheelInfo(a,e){var d=STACKTOP;STACKTOP+=46;var b,c=d+1,f=d+2,g,h,i,j,k,l;l=d+3;k=d+4;j=d+5;var m,n=d+6,o=d+7,q=d+8,p,r;b=d+9;var s=d+10,u=d+11,v,y=d+12,x=d+13,z=d+17;i=d+21;r=d+30;p=d+34;var B=d+38,C=d+42;__ZN16btRaycastVehicle23updateWheelTransformsWSER11btWheelInfob(a,e,0);v=-1;FHEAP[y]=FHEAP[e+51]+FHEAP[e+53];m=e+13;FHEAP[n]=FHEAP[m]*FHEAP[y];FHEAP[o]=FHEAP[m+1]*FHEAP[y];FHEAP[q]=FHEAP[m+2]*FHEAP[y];FHEAP[x]=FHEAP[n];FHEAP[x+1]=FHEAP[o];FHEAP[x+2]=FHEAP[q]; +FHEAP[x+3]=0;m=e+9;FHEAP[d]=FHEAP[m]+FHEAP[x];FHEAP[c]=FHEAP[m+1]+FHEAP[x+1];FHEAP[f]=FHEAP[m+2]+FHEAP[x+2];FHEAP[z]=FHEAP[d];FHEAP[z+1]=FHEAP[c];FHEAP[z+2]=FHEAP[f];FHEAP[z+3]=0;_llvm_memcpy_p0i8_p0i8_i32(e+4,z,4,4,0);FHEAP[i+8]=-1;c=IHEAP[a+28];c=FUNCTION_TABLE[IHEAP[IHEAP[c]+2]](c,m,e+4,i);IHEAP[e+22]=0;if(c!=0){b=FHEAP[i+8];v=FHEAP[y]*FHEAP[i+8];_llvm_memcpy_p0i8_p0i8_i32(e,i+4,4,4,0);IHEAP[e+21]=1;__ZN17btActionInterface12getFixedBodyEv();IHEAP[e+22]=__ZZN17btActionInterface12getFixedBodyEvE7s_fixed; +b*=FHEAP[y];FHEAP[e+8]=b-FHEAP[e+53];s=FHEAP[e+51]-FHEAP[e+52]*0.009999999776482582;u=FHEAP[e+51]+FHEAP[e+52]*0.009999999776482582;b=FHEAP[e+8]<s?0:1;a:for(;;)if(b==0)FHEAP[e+8]=s,b=1;else if(b==1){b=FHEAP[e+8]>u?2:3;break a}for(;;)if(b==2)FHEAP[e+8]=u,b=3;else if(b==3){_llvm_memcpy_p0i8_p0i8_i32(e+4,i,4,4,0);h=e+13;g=e;g=FHEAP[g]*FHEAP[h]+FHEAP[g+1]*FHEAP[h+1]+FHEAP[g+2]*FHEAP[h+2];h=e+4;i=a;i=IHEAP[i+32];i+=1;i+=12;FHEAP[l]=FHEAP[h]-FHEAP[i];FHEAP[k]=FHEAP[h+1]-FHEAP[i+1];FHEAP[j]=FHEAP[h+2]-FHEAP[i+ +2];h=p;i=k;k=l;l=i;i=j;j=h;h=i;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[h];FHEAP[j+3]=0;j=a;__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(B,IHEAP[j+32],p);_llvm_memcpy_p0i8_p0i8_i32(r,B,4,4,0);p=e;h=FHEAP[p]*FHEAP[r]+FHEAP[p+1]*FHEAP[r+1]+FHEAP[p+2]*FHEAP[r+2];b=g>=-0.10000000149011612?4:5;break}b==4?(FHEAP[e+68]=0,FHEAP[e+67]=10):b==5&&(r=-1/g,FHEAP[e+68]=h*r,FHEAP[e+67]=r)}else FHEAP[e+8]=FHEAP[e+51],FHEAP[e+68]=0,r=e+13,FHEAP[b]=0-FHEAP[r],FHEAP[s]=0-FHEAP[r+1],FHEAP[u]= +0-FHEAP[r+2],FHEAP[C]=FHEAP[b],FHEAP[C+1]=FHEAP[s],FHEAP[C+2]=FHEAP[u],FHEAP[C+3]=0,_llvm_memcpy_p0i8_p0i8_i32(e,C,4,4,0),FHEAP[e+67]=1;STACKTOP=d;return v} +function __ZN16btRaycastVehicle13updateVehicleEf(a,e){var d=STACKTOP;STACKTOP+=50;var b,c,f,g,h,i,j=d+1,k=d+2,l=d+3,m=d+4,n=d+5,o=d+6,q=d+7,p=d+8,r,s=d+9,u=d+10,v=d+11,y,x=d+12,z=d+13,B=d+14,C=d+15;i=d+16;var A;r=d+20;y=d+21;var w=d+25,D=d+29,E=d+33,F=d+37,G=d+41,J=d+45,H=d+46;FHEAP[C]=e;g=0;b=g<IHEAP[a+36+1]?0:1;a:for(;;)if(b==0)__ZN16btRaycastVehicle20updateWheelTransformEib(a,g,0),g+=1,b=g,c=a,c+=36,b=b<IHEAP[c+1]?0:1;else if(b==1){b=a;b=IHEAP[b+32];b+=268;b=g=b;b=FHEAP[b]*FHEAP[g]+FHEAP[b+1]* +FHEAP[g+1]+FHEAP[b+2]*FHEAP[g+2];b=3.5999999046325684*_sqrtf(b);FHEAP[a+31]=b;b=a;b=IHEAP[b+32];g=b+1;b=IHEAP[a+35];c=g;c+=0;b=c+b;c=IHEAP[a+35];f=g;f+=4;c=f+c;f=IHEAP[a+35];g+=8;h=g+f;g=i;f=c;c=b;b=g;g=c;c=f;f=h;FHEAP[b]=FHEAP[g];FHEAP[b+1]=FHEAP[c];FHEAP[b+2]=FHEAP[f];FHEAP[b+3]=0;b=a;b=IHEAP[b+32];b+=268;b=FHEAP[i]*FHEAP[b]+FHEAP[i+1]*FHEAP[b+1]+FHEAP[i+2]*FHEAP[b+2]<0?2:3;break a}a:for(;;)if(b==2)FHEAP[a+31]*=-1,b=3;else if(b==3){i=A=0;var M=a+36;b=M;b=i<IHEAP[b+1]?4:5;break a}a:for(;;)if(b== +4)for(i=a+36;;)if(g=A,b=i,__ZN16btRaycastVehicle7rayCastER11btWheelInfo(a,IHEAP[b+3]+71*g),A+=1,g=A,b=M,g<IHEAP[b+1])b=6;else{b=5;continue a}else if(b==5){__ZN16btRaycastVehicle16updateSuspensionEf(a,FHEAP[C]);var M=A=0,K=a+36;i=K;b=M<IHEAP[i+1]?7:8;break a}a:for(;;)if(b==7){M=a+36;b:for(;;){b=A;i=M;i=IHEAP[i+3]+71*b;FHEAP[r]=FHEAP[i+69];for(b=FHEAP[r]>FHEAP[i+62]?10:11;;)if(b==10)FHEAP[r]=FHEAP[i+62],b=11;else if(b==11)if(b=i,g=r,FHEAP[d]=FHEAP[b]*FHEAP[g],FHEAP[j]=FHEAP[b+1]*FHEAP[g],FHEAP[k]=FHEAP[b+ +2]*FHEAP[g],b=w,g=d,c=j,f=k,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],FHEAP[b+3]=0,b=w,g=C,FHEAP[l]=FHEAP[b]*FHEAP[g],FHEAP[m]=FHEAP[b+1]*FHEAP[g],FHEAP[n]=FHEAP[b+2]*FHEAP[g],b=y,g=l,c=m,f=n,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[c],FHEAP[b+2]=FHEAP[f],FHEAP[b+3]=0,i+=4,b=a,b=IHEAP[b+32],b+=1,b+=12,FHEAP[o]=FHEAP[i]-FHEAP[b],FHEAP[q]=FHEAP[i+1]-FHEAP[b+1],FHEAP[p]=FHEAP[i+2]-FHEAP[b+2],i=D,b=o,g=q,c=p,FHEAP[i]=FHEAP[b],FHEAP[i+1]=FHEAP[g],FHEAP[i+2]=FHEAP[c],FHEAP[i+3]=0,i=a,__ZN11btRigidBody12applyImpulseERK9btVector3S2_(IHEAP[i+ +32],y,D),A+=1,b=A,i=K,b<IHEAP[i+1]){b=9;continue b}else{b=8;continue a}}}else if(b==8){FUNCTION_TABLE[IHEAP[IHEAP[a]+5]](a,FHEAP[C]);var j=A=0,N=a+36,n=N;b=j<IHEAP[n+1]?12:13;break a}a:for(;;)if(b==12){j=a+36;k=a+35;l=a+35;for(m=a+35;;)if(o=A,n=j,n=IHEAP[n+3]+71*o,o=n+9,q=a,q=IHEAP[q+32],q+=1,q+=12,FHEAP[s]=FHEAP[o]-FHEAP[q],FHEAP[u]=FHEAP[o+1]-FHEAP[q+1],FHEAP[v]=FHEAP[o+2]-FHEAP[q+2],o=E,q=s,p=u,r=v,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[p],FHEAP[o+2]=FHEAP[r],FHEAP[o+3]=0,o=a,__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(F, +IHEAP[o+32],E),IHEAP[n+21]&1&&(o=a,o=IHEAP[o+32],q=o+1,o=IHEAP[k],p=q,p+=0,o=p+o,p=IHEAP[l],r=q,r+=4,p=r+p,r=IHEAP[m],q+=8,y=q+r,q=G,r=p,p=o,o=q,q=p,p=r,r=y,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[p],FHEAP[o+2]=FHEAP[r],FHEAP[o+3]=0,q=n,o=G,FHEAP[J]=FHEAP[o]*FHEAP[q]+FHEAP[o+1]*FHEAP[q+1]+FHEAP[o+2]*FHEAP[q+2],o=n,q=J,FHEAP[x]=FHEAP[o]*FHEAP[q],FHEAP[z]=FHEAP[o+1]*FHEAP[q],FHEAP[B]=FHEAP[o+2]*FHEAP[q],o=H,q=x,p=z,r=B,FHEAP[o]=FHEAP[q],FHEAP[o+1]=FHEAP[p],FHEAP[o+2]=FHEAP[r],FHEAP[o+3]=0,q=G,o=H,FHEAP[q]-= +FHEAP[o],FHEAP[q+1]-=FHEAP[o+1],FHEAP[q+2]-=FHEAP[o+2],q=G,o=F,o=FHEAP[q]*FHEAP[o]+FHEAP[q+1]*FHEAP[o+1]+FHEAP[q+2]*FHEAP[o+2],FHEAP[n+60]=o*FHEAP[C]/FHEAP[n+53]),FHEAP[n+59]+=FHEAP[n+60],FHEAP[n+60]*=0.9900000095367432,A+=1,o=A,n=N,o<IHEAP[n+1])b=14;else{b=13;continue a}}else if(b==13){STACKTOP=d;break}} +function __ZN16btRaycastVehicle16updateSuspensionEf(a){var e,d,b,c,f,g,h;c=1/FHEAP[IHEAP[a+32]+276];f=0;e=f<IHEAP[a+36+1]?0:1;a:for(;;)if(e==0){var i=a+36;for(;;){d=f;e=i;e=IHEAP[e+3]+71*d;d=IHEAP[e+21]&1;var j=e;c:do if(d){b=j;b=FHEAP[b+51];g=FHEAP[e+8];b-=g;b=FHEAP[e+54]*b*FHEAP[e+67];g=FHEAP[e+68];h=e;h=g<0?FHEAP[h+55]:FHEAP[h+56];b-=h*g;FHEAP[e+69]=b*c;if(!(FHEAP[e+69]<0))break c;FHEAP[e+69]=0}else FHEAP[j+69]=0;while(0);f+=1;e=f;d=a;d+=36;if(e<IHEAP[d+1])e=2;else{e=1;continue a}}}else if(e== +1)break}function __ZN16btRaycastVehicle12getWheelInfoEi(a,e){return IHEAP[a+36+3]+71*e} +function __Z19calcRollingFrictionR19btWheelContactPoint(a){var e=STACKTOP;STACKTOP+=32;var d,b=e+1,c=e+2,f=e+3,g=e+4,h=e+5,i=e+6,j=e+7,k=e+8,l,m,n=e+9,o,q=e+10,p=e+14,r=e+18,s=e+19,u=e+23,v=e+27,y=e+31;FHEAP[n]=0;o=a+2;d=IHEAP[a]+1+12;FHEAP[f]=FHEAP[o]-FHEAP[d];FHEAP[g]=FHEAP[o+1]-FHEAP[d+1];FHEAP[h]=FHEAP[o+2]-FHEAP[d+2];FHEAP[q]=FHEAP[f];FHEAP[q+1]=FHEAP[g];FHEAP[q+2]=FHEAP[h];FHEAP[q+3]=0;d=IHEAP[a+1]+1+12;FHEAP[e]=FHEAP[o]-FHEAP[d];FHEAP[b]=FHEAP[o+1]-FHEAP[d+1];FHEAP[c]=FHEAP[o+2]-FHEAP[d+2]; +FHEAP[p]=FHEAP[e];FHEAP[p+1]=FHEAP[b];FHEAP[p+2]=FHEAP[c];FHEAP[p+3]=0;FHEAP[r]=FHEAP[a+11];__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(s,IHEAP[a],q);__ZNK11btRigidBody23getVelocityInLocalPointERK9btVector3(u,IHEAP[a+1],p);FHEAP[i]=FHEAP[s]-FHEAP[u];FHEAP[j]=FHEAP[s+1]-FHEAP[u+1];FHEAP[k]=FHEAP[s+2]-FHEAP[u+2];FHEAP[v]=FHEAP[i];FHEAP[v+1]=FHEAP[j];FHEAP[v+2]=FHEAP[k];FHEAP[v+3]=0;b=a+6;FHEAP[n]=(0-(FHEAP[b]*FHEAP[v]+FHEAP[b+1]*FHEAP[v+1]+FHEAP[b+2]*FHEAP[v+2]))*FHEAP[a+10];a=FHEAP[r]< +FHEAP[n]?0:1;a:for(;;)if(a==0)FHEAP[n]=FHEAP[r],a=1;else if(a==1){FHEAP[y]=0-FHEAP[r];l=n;m=y;a=FHEAP[l]<FHEAP[m]?2:3;break a}for(;;)if(a==2)FHEAP[l]=FHEAP[m],a=3;else if(a==3)return l=FHEAP[n],STACKTOP=e,l;return null} +function __ZN16btRaycastVehicle14updateFrictionEf(a,e){var d=STACKTOP;STACKTOP+=104;var b,c=null,f,g,h,i,j,k=d+1,l=d+2,m=d+3,n=d+4,o=d+5,q=d+6,p=d+7,r,s,u=d+8,v=d+9,y,x,z,B,C,A,w,D,E,F,G,J,H,M=d+10,K=d+11,N=d+12,R=d+13,O=d+14,Q=d+15,I=d+16,L=d+17,P=d+18,S=d+19,T=d+20,U=d+21,W=d+22,Z=d+23,ca=d+24,Y=d+25,ea=d+26,ha=d+27,ba,V=d+28,aa=d+32,X=d+36,ka=d+37,da,fa,ga=d+38,ja=d+50,la=d+54,qa=d+55,pa=d+59,wa,ua,na,ya,xa=d+63,ia,ma=d+75,ta=d+79,ra=d+83,oa=d+87,Da=d+91,Ba=d+95,Oa=d+99,Fa=d+100;ba=IHEAP[a+36+ +1];b=ba!=0?0:1;a:for(;;)if(b==0){__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a+4,ba,V);__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a+9,ba,aa);da=a+14;var Ha=ba;FHEAP[X]=0;__ZN20btAlignedObjectArrayIfE6resizeEiRKf(da,Ha,X);da=a+19;Ha=ba;FHEAP[ka]=0;__ZN20btAlignedObjectArrayIfE6resizeEiRKf(da,Ha,ka);Ha=da=0;B=a;B+=36;b=Ha<IHEAP[B+1]?2:3;b:for(;;)if(b==2){var Ha=a+36,La=a+19,Ea=a+14;c:for(;;){C=da;B=Ha;B=IHEAP[B+3]+71*C;for(b=IHEAP[B+22]!=0?5:6;;)if(b==5)b=6;else if(b==6)if(C=da,B= +La,FHEAP[IHEAP[B+3]+C]=0,C=da,B=Ea,FHEAP[IHEAP[B+3]+C]=0,da+=1,C=da,B=a,B+=36,C<IHEAP[B+1]){b=4;continue c}else{b=3;continue b}}}else if(b==3){da=fa=0;r=a;r+=36;b=da<IHEAP[r+1]?7:8;break b}b:for(;;)if(b==7){da=a+36;Ha=a+9;La=a+33;Ea=a+33;B=a+33;C=ja;var Ca=a+9;G=a+9;J=a+9;H=a+9;x=a+4;c=a+9;D=pa;A=a+4;w=a+32;F=a+9;E=a+19;z=a+19;c:for(;;){s=fa;r=da;r=IHEAP[r+3]+71*s;s=b=IHEAP[r+22];for(b=b!=0?10:11;;)if(b==10)f=fa,b=a,b+=36,b=IHEAP[b+3]+71*f,b+=23,f=b,b=ga,_llvm_memcpy_p0i8_p0i8_i32(b,f,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+ +4,f+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+8,f+8,4,4,0),f=fa,b=Ha,b=IHEAP[b+3]+4*f,f=IHEAP[La],g=ga,g+=0,g+=f,f=IHEAP[Ea],h=ga,h+=4,h+=f,f=IHEAP[B],i=ga,i+=8,i+=f,f=ja,FHEAP[f]=FHEAP[g],FHEAP[f+1]=FHEAP[h],FHEAP[f+2]=FHEAP[i],FHEAP[f+3]=0,_llvm_memcpy_p0i8_p0i8_i32(b,C,4,4,0),b=r,g=fa,f=Ca,h=g,g=b,f=IHEAP[f+3]+4*h,FHEAP[la]=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2],g=fa,f=G,f=IHEAP[f+3]+4*g,g=b,h=la,FHEAP[d]=FHEAP[g]*FHEAP[h],FHEAP[k]=FHEAP[g+1]*FHEAP[h],FHEAP[l]=FHEAP[g+2]*FHEAP[h], +g=qa,h=d,i=k,j=l,FHEAP[g]=FHEAP[h],FHEAP[g+1]=FHEAP[i],FHEAP[g+2]=FHEAP[j],FHEAP[g+3]=0,g=f,f=qa,FHEAP[g]-=FHEAP[f],FHEAP[g+1]-=FHEAP[f+1],FHEAP[g+2]-=FHEAP[f+2],g=fa,f=J,f=IHEAP[f+3]+4*g,h=fa,g=H,h=i=h=g=IHEAP[g+3]+4*h,h=FHEAP[h]*FHEAP[i]+FHEAP[h+1]*FHEAP[i+1]+FHEAP[h+2]*FHEAP[i+2],h=_sqrtf(h),FHEAP[n]=h,h=g,g=n,FHEAP[m]=1/FHEAP[g],g=m,FHEAP[h]*=FHEAP[g],FHEAP[h+1]*=FHEAP[g],FHEAP[h+2]*=FHEAP[g],_llvm_memcpy_p0i8_p0i8_i32(f,h,4,4,0),g=fa,f=x,f=IHEAP[f+3]+4*g,h=fa,g=c,g=IHEAP[g+3]+4*h,FHEAP[o]=FHEAP[b+ +1]*FHEAP[g+2]-FHEAP[b+2]*FHEAP[g+1],FHEAP[q]=FHEAP[b+2]*FHEAP[g]-FHEAP[b]*FHEAP[g+2],FHEAP[p]=FHEAP[b]*FHEAP[g+1]-FHEAP[b+1]*FHEAP[g],b=pa,g=o,h=q,i=p,FHEAP[b]=FHEAP[g],FHEAP[b+1]=FHEAP[h],FHEAP[b+2]=FHEAP[i],FHEAP[b+3]=0,_llvm_memcpy_p0i8_p0i8_i32(f,D,4,4,0),f=fa,b=A,f=g=f=b=IHEAP[b+3]+4*f,f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2],f=_sqrtf(f),FHEAP[v]=f,f=b,b=v,FHEAP[u]=1/FHEAP[b],b=u,FHEAP[f]*=FHEAP[b],FHEAP[f+1]*=FHEAP[b],FHEAP[f+2]*=FHEAP[b],b=IHEAP[w],f=r+4,g=s,h=r+4,j= +fa,i=F,j=IHEAP[i+3]+4*j,y=fa,i=E,__Z22resolveSingleBilateralR11btRigidBodyRK9btVector3S0_S3_fS3_Rff(b,f,g,h,0,j,IHEAP[i+3]+y,e),f=FHEAP[_sideFrictionStiffness2],g=fa,b=z,FHEAP[IHEAP[b+3]+g]*=f,b=11;else if(b==11)if(fa+=1,s=fa,r=a,r+=36,s<IHEAP[r+1]){b=9;continue c}else{b=8;continue b}}}else if(b==8){wa=1;ua=0.5;da=ya=na=0;x=a;x+=36;b=da<IHEAP[x+1]?12:13;break b}b:for(;;)if(b==12){da=a+36;Ha=a+32;La=a+4;Ea=a+14;B=a+36;C=a+36;Ca=a+14;G=a+14;J=a+19;H=a+36;c:for(;;){c=ya;x=da;x=IHEAP[x+3]+71*c;D=A=IHEAP[x+ +22];c=0;b=A!=0?15:16;d:for(;;)if(b==15){if(FHEAP[x+63]!=0)c=FHEAP[x+63]*e;else{if(FHEAP[x+64]!=0)var Aa=FHEAP[x+64],c=17;else var za=0,c=19;A=c==17?Aa:za;w=IHEAP[Ha];F=D;E=x+4;z=ya;c=La;__ZN19btWheelContactPointC1EP11btRigidBodyS1_RK9btVector3S4_f(xa,w,F,E,IHEAP[c+3]+4*z,A);c=__Z19calcRollingFrictionR19btWheelContactPoint(xa)}b=16}else if(b==16){w=ya;A=Ea;FHEAP[IHEAP[A+3]+w]=0;w=ya;A=B;FHEAP[IHEAP[A+3]+71*w+70]=1;b=D!=0?20:21;break d}for(;;)if(b==20)A=ya,D=C,FHEAP[IHEAP[D+3]+71*A+70]=1,A=D=FHEAP[x+ +69]*e*FHEAP[x+57],A*=D,F=c,E=ya,w=Ca,FHEAP[IHEAP[w+3]+E]=F,F=ya,w=G,w=FHEAP[IHEAP[w+3]+F]*ua,E=ya,F=J,F=FHEAP[IHEAP[F+3]+E]*wa,w=w*w+F*F,w>A&&(na=1,A=w,A=_sqrtf(A),D/=A,A=D,w=ya,D=H,FHEAP[IHEAP[D+3]+71*w+70]*=A),b=21;else if(b==21)if(ya+=1,c=ya,x=a,x+=36,c<IHEAP[x+1]){b=14;continue c}else{b=13;continue b}}}else if(b==13){b=na&1?23:24;break b}b:for(;;)if(b==23){Ha=da=0;G=a;G+=36;if(!(Ha<IHEAP[G+1])){b=24;continue b}Ha=a+19;La=a+36;Ea=a+36;B=a+14;C=a+36;Ca=a+19;c:for(;;){J=da;G=Ha;for(b=FHEAP[IHEAP[G+ +3]+J]!=0?27:28;;)if(b==27)J=da,G=La,FHEAP[IHEAP[G+3]+71*J+70]<1&&(J=da,G=Ea,J=FHEAP[IHEAP[G+3]+71*J+70],H=da,G=B,FHEAP[IHEAP[G+3]+H]*=J,J=da,G=C,J=FHEAP[IHEAP[G+3]+71*J+70],H=da,G=Ca,FHEAP[IHEAP[G+3]+H]*=J),b=28;else if(b==28)if(da+=1,J=da,G=a,G+=36,J<IHEAP[G+1]){b=26;continue c}else{b=24;continue b}}}else if(b==24)if(da=ia=0,D=a,D+=36,da<IHEAP[D+1]){b=30;break b}else{b=1;continue a}da=a+36;Ha=a+32;La=a+14;Ea=a+32;B=a+4;C=a+14;Ca=a+19;G=a+36;J=a+9;H=a+19;x=a+34;c=a+32;b:for(;;){A=ia;D=da;D=IHEAP[D+ +3]+71*A;A=D+4;w=IHEAP[Ha];w+=1;w+=12;FHEAP[M]=FHEAP[A]-FHEAP[w];FHEAP[K]=FHEAP[A+1]-FHEAP[w+1];FHEAP[N]=FHEAP[A+2]-FHEAP[w+2];A=ma;w=M;F=K;E=N;FHEAP[A]=FHEAP[w];FHEAP[A+1]=FHEAP[F];FHEAP[A+2]=FHEAP[E];FHEAP[A+3]=0;w=ia;A=La;b=FHEAP[IHEAP[A+3]+w]!=0?32:33;c:for(;;)if(b==32)A=IHEAP[Ea],F=ia,w=B,w=IHEAP[w+3]+4*F,E=ia,F=C,F=IHEAP[F+3]+E,FHEAP[R]=FHEAP[w]*FHEAP[F],FHEAP[O]=FHEAP[w+1]*FHEAP[F],FHEAP[Q]=FHEAP[w+2]*FHEAP[F],w=ta,F=R,E=O,z=Q,FHEAP[w]=FHEAP[F],FHEAP[w+1]=FHEAP[E],FHEAP[w+2]=FHEAP[z],FHEAP[w+ +3]=0,__ZN11btRigidBody12applyImpulseERK9btVector3S2_(A,ta,ma),b=33;else if(b==33){w=ia;A=Ca;b=FHEAP[IHEAP[A+3]+w]!=0?34:35;break c}for(;;)if(b==34)w=ia,A=G,A=IHEAP[IHEAP[A+3]+71*w+22],w=D+4,F=A,F+=1,F+=12,FHEAP[I]=FHEAP[w]-FHEAP[F],FHEAP[L]=FHEAP[w+1]-FHEAP[F+1],FHEAP[P]=FHEAP[w+2]-FHEAP[F+2],w=ra,F=I,E=L,z=P,FHEAP[w]=FHEAP[F],FHEAP[w+1]=FHEAP[E],FHEAP[w+2]=FHEAP[z],FHEAP[w+3]=0,F=ia,w=J,w=IHEAP[w+3]+4*F,E=ia,F=H,F=IHEAP[F+3]+E,FHEAP[S]=FHEAP[w]*FHEAP[F],FHEAP[T]=FHEAP[w+1]*FHEAP[F],FHEAP[U]=FHEAP[w+ +2]*FHEAP[F],w=oa,F=S,E=T,z=U,FHEAP[w]=FHEAP[F],FHEAP[w+1]=FHEAP[E],FHEAP[w+2]=FHEAP[z],FHEAP[w+3]=0,w=a,w=IHEAP[w+32],F=w+1,w=IHEAP[x],E=F,z=w,F=E,F+=z,r=w,z=E+4,z+=r,E+=8,r=E+w,w=Da,E=z,z=r,FHEAP[w]=FHEAP[F],FHEAP[w+1]=FHEAP[E],FHEAP[w+2]=FHEAP[z],FHEAP[w+3]=0,F=Da,w=ma,FHEAP[Oa]=(FHEAP[F]*FHEAP[w]+FHEAP[F+1]*FHEAP[w+1]+FHEAP[F+2]*FHEAP[w+2])*(1-FHEAP[D+61]),w=Da,F=Oa,FHEAP[W]=FHEAP[w]*FHEAP[F],FHEAP[Z]=FHEAP[w+1]*FHEAP[F],FHEAP[ca]=FHEAP[w+2]*FHEAP[F],w=Ba,F=W,E=Z,z=ca,FHEAP[w]=FHEAP[F],FHEAP[w+ +1]=FHEAP[E],FHEAP[w+2]=FHEAP[z],FHEAP[w+3]=0,F=ma,w=Ba,FHEAP[F]-=FHEAP[w],FHEAP[F+1]-=FHEAP[w+1],FHEAP[F+2]-=FHEAP[w+2],__ZN11btRigidBody12applyImpulseERK9btVector3S2_(IHEAP[c],oa,ma),w=oa,FHEAP[Y]=0-FHEAP[w],FHEAP[ea]=0-FHEAP[w+1],FHEAP[ha]=0-FHEAP[w+2],w=Fa,F=Y,E=ea,z=ha,FHEAP[w]=FHEAP[F],FHEAP[w+1]=FHEAP[E],FHEAP[w+2]=FHEAP[z],FHEAP[w+3]=0,__ZN11btRigidBody12applyImpulseERK9btVector3S2_(A,Fa,ra),b=35;else if(b==35)if(ia+=1,A=ia,D=a,D+=36,A<IHEAP[D+1]){b=31;continue b}else{b=1;continue a}}}else if(b== +1){STACKTOP=d;break}}function __ZN19btWheelContactPointC1EP11btRigidBodyS1_RK9btVector3S4_f(a,e,d,b,c,f){IHEAP[a]=e;IHEAP[a+1]=d;_llvm_memcpy_p0i8_p0i8_i32(a+2,b,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+6,c,4,4,0);FHEAP[a+11]=f;e=__ZNK11btRigidBody25computeImpulseDenominatorERK9btVector3S2_(e,b,c);d=__ZNK11btRigidBody25computeImpulseDenominatorERK9btVector3S2_(d,b,c);FHEAP[a+10]=1/(e+d)} +function __ZN16btRaycastVehicle9debugDrawEP12btIDebugDraw(a,e){var d=STACKTOP;STACKTOP+=28;var b,c,f,g,h,i,j=d+1,k=d+2,l,m=d+3,n=d+7,o=d+8,q=d+9,p=d+10,r=d+11,s=d+12,u=d+13,v=d+14,y=d+15,x=d+16,z=d+20,B=d+24;l=0;b=l<IHEAP[a+36+1]?0:1;a:for(;;)if(b==0)for(var C=x;;)if(FHEAP[n]=0,FHEAP[o]=1,FHEAP[q]=1,b=m,f=n,g=o,c=q,FHEAP[b]=FHEAP[f],FHEAP[b+1]=FHEAP[g],FHEAP[b+2]=FHEAP[c],FHEAP[b+3]=0,f=l,b=a,b+=36,IHEAP[IHEAP[b+3]+71*f+21]&1?(FHEAP[p]=0,FHEAP[r]=0,FHEAP[s]=1,c=m,b=p,f=r,g=s):(FHEAP[u]=1,FHEAP[v]= +0,FHEAP[y]=1,c=m,b=u,f=v,g=y),FHEAP[c]=FHEAP[b],FHEAP[c+1]=FHEAP[f],FHEAP[c+2]=FHEAP[g],FHEAP[c+3]=0,f=l,b=a,b+=36,b=IHEAP[b+3]+71*f+23,_llvm_memcpy_p0i8_p0i8_i32(C,b+12,4,4,0),b=a,b=IHEAP[b+33],g=l,f=a,f+=36,f=IHEAP[f+3]+71*g+23,f+=0,b=f+b,f=a,f=IHEAP[f+33],c=l,g=a,g+=36,g=IHEAP[g+3]+71*c+23,g+=4,f=g+f,g=a,g=IHEAP[g+33],h=l,c=a,c+=36,c=IHEAP[c+3]+71*h+23,c+=8,h=c+g,g=z,c=f,f=b,b=g,g=c,c=h,FHEAP[b]=FHEAP[f],FHEAP[b+1]=FHEAP[g],FHEAP[b+2]=FHEAP[c],FHEAP[b+3]=0,b=e,f=IHEAP[IHEAP[b]+2],g=x,c=z,FHEAP[d]= +FHEAP[g]+FHEAP[c],FHEAP[j]=FHEAP[g+1]+FHEAP[c+1],FHEAP[k]=FHEAP[g+2]+FHEAP[c+2],g=B,c=d,h=j,i=k,FHEAP[g]=FHEAP[c],FHEAP[g+1]=FHEAP[h],FHEAP[g+2]=FHEAP[i],FHEAP[g+3]=0,FUNCTION_TABLE[f](b,x,B,m),b=e,f=IHEAP[IHEAP[b]+2],c=l,g=a,g+=36,FUNCTION_TABLE[f](b,x,IHEAP[g+3]+71*c+4,m),l+=1,b=l,f=a,f+=36,b<IHEAP[f+1])b=2;else{b=1;continue a}else if(b==1){STACKTOP=d;break}} +function __ZN25btDefaultVehicleRaycaster7castRayERK9btVector3S2_RN18btVehicleRaycaster24btVehicleRaycasterResultE(a,e,d,b){var c=STACKTOP;STACKTOP+=38;var f,g=c+1,h,i;h=c+2;IHEAP[h]=__ZTVN16btCollisionWorld17RayResultCallbackE+2;FHEAP[h+1]=1;IHEAP[h+2]=0;IHEAP[h+3]=1;IHEAP[h+4]=-1;IHEAP[h+5]=0;IHEAP[h]=__ZTVN16btCollisionWorld24ClosestRayResultCallbackE+2;_llvm_memcpy_p0i8_p0i8_i32(h+20,e,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(h+24,d,4,4,0);var a=IHEAP[a+4],j=IHEAP[IHEAP[a]+7];try{__THREW__=!1,FUNCTION_TABLE[j](a, +e,d,h)}catch(k){if(ABORT)throw k;__THREW__=!0;print("Exception: "+k+" : "+k.stack+", currently at: "+Error().stack)}e=__THREW__?6:5;if(e==5){e=IHEAP[h+2]!=0?0:1;a:for(;;)if(e==0)if(i=e=IHEAP[h+2],(IHEAP[i+58]&2)!=0){i=e;if(e==0){e=1;continue a}e=i;if((IHEAP[e+51]&4)==0){e=3;break a}else e=1}else i=0,e=1;else if(e==1){f=0;e=4;break a}for(;;)if(e==3)_llvm_memcpy_p0i8_p0i8_i32(b,h+32,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(b+4,h+28,4,4,0),e=d=e=f=b+4,e=FHEAP[e]*FHEAP[d]+FHEAP[e+1]*FHEAP[d+1]+FHEAP[e+2]*FHEAP[d+ +2],e=_sqrtf(e),FHEAP[g]=e,e=f,f=g,FHEAP[c]=1/FHEAP[f],f=c,FHEAP[e]*=FHEAP[f],FHEAP[e+1]*=FHEAP[f],FHEAP[e+2]*=FHEAP[f],FHEAP[b+8]=FHEAP[h+1],f=i,e=4;else if(e==4)return IHEAP[h]=__ZTVN16btCollisionWorld24ClosestRayResultCallbackE+2,IHEAP[h]=__ZTVN16btCollisionWorld17RayResultCallbackE+2,h=f,STACKTOP=c,h}else if(e==6)throw c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),IHEAP[h]=__ZTVN16btCollisionWorld24ClosestRayResultCallbackE+2,IHEAP[h]=__ZTVN16btCollisionWorld17RayResultCallbackE+ +2,__Unwind_Resume_or_Rethrow(c),"Reached an unreachable! Original .ll line: 371307";return null}function __ZN16btCollisionWorld24ClosestRayResultCallbackD1Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld24ClosestRayResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld17RayResultCallbackE+2}function __ZN16btRaycastVehicle12updateActionEP16btCollisionWorldf(a,e,d){FUNCTION_TABLE[IHEAP[IHEAP[a]+4]](a,d)} +function __ZN16btRaycastVehicle19setCoordinateSystemEiii(a,e,d,b){IHEAP[a+33]=e;IHEAP[a+34]=d;IHEAP[a+35]=b}function __ZN25btDefaultVehicleRaycasterD1Ev(a){IHEAP[a]=__ZTV25btDefaultVehicleRaycaster+2;IHEAP[a]=__ZTV18btVehicleRaycaster+2}function __ZN25btDefaultVehicleRaycasterD0Ev(a){IHEAP[a]=__ZTV25btDefaultVehicleRaycaster+2;IHEAP[a]=__ZTV18btVehicleRaycaster+2;__ZdlPv(a)} +function __ZN20btAlignedObjectArrayI11btWheelInfoE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN18btVehicleRaycasterD1Ev(a){IHEAP[a]=__ZTV18btVehicleRaycaster+2}function __ZN18btVehicleRaycasterD0Ev(a){IHEAP[a]=__ZTV18btVehicleRaycaster+2;__ZdlPv(a)}function __ZN16btCollisionWorld24ClosestRayResultCallbackD0Ev(a){IHEAP[a]=__ZTVN16btCollisionWorld24ClosestRayResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld17RayResultCallbackE+2;__ZdlPv(a)} +function __ZN16btCollisionWorld24ClosestRayResultCallback15addSingleResultERNS_14LocalRayResultEb(a,e,d){var b=STACKTOP;STACKTOP+=4;var c;FHEAP[a+1]=FHEAP[e+6];IHEAP[a+2]=IHEAP[e];var f=a+28;d&1?_llvm_memcpy_p0i8_p0i8_i32(f,e+2,4,4,0):(d=IHEAP[a+2],__ZmlRK11btMatrix3x3RK9btVector3(b,d+1,e+2),_llvm_memcpy_p0i8_p0i8_i32(f,b,4,4,0));var f=a+20,d=a+24,g=FHEAP[e+6];a+=32;c=1-g;FHEAP[a]=c*FHEAP[f]+g*FHEAP[d];FHEAP[a+1]=c*FHEAP[f+1]+g*FHEAP[d+1];FHEAP[a+2]=c*FHEAP[f+2]+g*FHEAP[d+2];e=FHEAP[e+6];STACKTOP= +b;return e}function __ZN17btActionInterfaceD1Ev(a){IHEAP[a]=__ZTV17btActionInterface+2}function __ZN17btActionInterfaceD0Ev(a){IHEAP[a]=__ZTV17btActionInterface+2;__ZdlPv(a)} +function __ZN30btKinematicCharacterController26computeReflectionDirectionERK9btVector3S2_(a,e,d,b){e=STACKTOP;STACKTOP+=11;var c=e+1,f=e+2,g=e+3,h=e+4,i=e+5,j=e+6,k=e+10;FHEAP[k]=2*(FHEAP[d]*FHEAP[b]+FHEAP[d+1]*FHEAP[b+1]+FHEAP[d+2]*FHEAP[b+2]);FHEAP[e]=FHEAP[b]*FHEAP[k];FHEAP[c]=FHEAP[b+1]*FHEAP[k];FHEAP[f]=FHEAP[b+2]*FHEAP[k];FHEAP[j]=FHEAP[e];FHEAP[j+1]=FHEAP[c];FHEAP[j+2]=FHEAP[f];FHEAP[j+3]=0;FHEAP[g]=FHEAP[d]-FHEAP[j];FHEAP[h]=FHEAP[d+1]-FHEAP[j+1];FHEAP[i]=FHEAP[d+2]-FHEAP[j+2];FHEAP[a]=FHEAP[g]; +FHEAP[a+1]=FHEAP[h];FHEAP[a+2]=FHEAP[i];FHEAP[a+3]=0;STACKTOP=e}function __ZN30btKinematicCharacterController17parallelComponentERK9btVector3S2_(a,e,d,b){e=STACKTOP;STACKTOP+=4;var c=e+1,f=e+2,g=e+3;FHEAP[g]=FHEAP[d]*FHEAP[b]+FHEAP[d+1]*FHEAP[b+1]+FHEAP[d+2]*FHEAP[b+2];FHEAP[e]=FHEAP[b]*FHEAP[g];FHEAP[c]=FHEAP[b+1]*FHEAP[g];FHEAP[f]=FHEAP[b+2]*FHEAP[g];FHEAP[a]=FHEAP[e];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=e} +function __ZN30btKinematicCharacterController22perpindicularComponentERK9btVector3S2_(a,e,d,b){var c=STACKTOP;STACKTOP+=7;var f=c+1,g=c+2,h=c+3;__ZN30btKinematicCharacterController17parallelComponentERK9btVector3S2_(h,e,d,b);FHEAP[c]=FHEAP[d]-FHEAP[h];FHEAP[f]=FHEAP[d+1]-FHEAP[h+1];FHEAP[g]=FHEAP[d+2]-FHEAP[h+2];FHEAP[a]=FHEAP[c];FHEAP[a+1]=FHEAP[f];FHEAP[a+2]=FHEAP[g];FHEAP[a+3]=0;STACKTOP=c} +function __ZN30btKinematicCharacterControllerC2EP24btPairCachingGhostObjectP13btConvexShapefi(a,e,d,b,c){var f=STACKTOP;STACKTOP+=3;var g=f+1,h=f+2;IHEAP[a]=__ZTV17btActionInterface+2;IHEAP[a]=__ZTV30btCharacterControllerInterface+2;IHEAP[a]=__ZTV30btKinematicCharacterController+2;var i=a+35;IHEAP[i+4]=1;IHEAP[i+3]=0;IHEAP[i+1]=0;IHEAP[i+2]=0;IHEAP[a+50]=c;FHEAP[a+17]=0.019999999552965164;c=a+18;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=0;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]= +0;IHEAP[a+47]=1;IHEAP[a+5]=e;FHEAP[a+16]=b;FHEAP[a+15]=0;IHEAP[a+6]=d;IHEAP[a+48]=1;FHEAP[a+49]=0;FHEAP[a+7]=0;FHEAP[a+8]=0;FHEAP[a+14]=29.399999618530273;FHEAP[a+9]=55;FHEAP[a+10]=10;IHEAP[a+45]=0;IHEAP[a+46]=0;FHEAP[a+12]=0.7853981573134661;e=_cosf(0.7853981573134661);FHEAP[a+13]=e;STACKTOP=f}function __ZN30btKinematicCharacterController11setMaxSlopeEf(a,e){FHEAP[a+12]=e;var d=_cosf(e);FHEAP[a+13]=d} +function __ZN30btKinematicCharacterControllerD0Ev(a){IHEAP[a]=__ZTV30btKinematicCharacterController+2;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+35);IHEAP[a]=__ZTV30btCharacterControllerInterface+2;IHEAP[a]=__ZTV17btActionInterface+2;__ZdlPv(a)} +function __ZN30btKinematicCharacterControllerD2Ev(a){IHEAP[a]=__ZTV30btKinematicCharacterController+2;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE5clearEv(a+35);IHEAP[a]=__ZTV30btCharacterControllerInterface+2;IHEAP[a]=__ZTV17btActionInterface+2}function __ZN30btKinematicCharacterController14getGhostObjectEv(a){return IHEAP[a+5]} +function __ZN30btKinematicCharacterController22recoverFromPenetrationEP16btCollisionWorld(a,e){var d=STACKTOP;STACKTOP+=48;var b,c,f,g,h,i,j,k=d+1,l=d+2,m,n=d+3,o=d+4,q=d+5,p=d+6,r=d+7,s=d+8,u=d+9,v=d+10,y=d+11,x,z,B,C=d+12,A,w=d+13,D=d+14,E=d+15,F=d+19,G=d+23,J=d+27,H=d+31;x=d+32;m=0;z=IHEAP[e+6];FUNCTION_TABLE[IHEAP[IHEAP[z]+8]](z,IHEAP[IHEAP[a+5]+276],e+7,IHEAP[e+6]);_llvm_memcpy_p0i8_p0i8_i32(a+26,IHEAP[a+5]+1+12,4,4,0);var M=B=z=0,K=a+5;f=IHEAP[K];var N=IHEAP[f+276],N=FUNCTION_TABLE[IHEAP[IHEAP[N]+ +9]](N);b=M<N?0:1;a:for(;;)if(b==0){var M=a+35,N=a+5,R=a+35,O=a+35,Q=a+35,I=a+5,L=a+41,P=E,S=a+26;b:for(;;){IHEAP[C]=0;__ZN20btAlignedObjectArrayIP20btPersistentManifoldE6resizeEiRKS1_(M,0,C);c=IHEAP[N];c=IHEAP[c+276];c=FUNCTION_TABLE[IHEAP[IHEAP[c]+7]](c);f=B;c=IHEAP[c+3]+4*f;b=IHEAP[c+2]!=0?3:4;c:for(;;)if(b==3)f=IHEAP[c+2],FUNCTION_TABLE[IHEAP[IHEAP[f]+4]](f,R),b=4;else if(b==4){f=A=0;c=O;b=f<IHEAP[c+1]?5:6;break c}c:for(;;)if(b==5){f=A;c=Q;f=c=IHEAP[IHEAP[c+3]+f];FHEAP[w]=IHEAP[f+280]==IHEAP[I]? +-1:1;b=f=0;g=c;b=b<IHEAP[g+282]?7:8;d:for(;;)if(b==7){b=f;g=c;b=g=g+4+b*69;FHEAP[D]=FHEAP[b+20];b=FHEAP[D]<0?9:10;e:for(;;)if(b==9)for(b=FHEAP[D]<z?11:12;;)if(b==11)z=FHEAP[D],b=g+16,h=w,FHEAP[d]=FHEAP[b]*FHEAP[h],FHEAP[k]=FHEAP[b+1]*FHEAP[h],FHEAP[l]=FHEAP[b+2]*FHEAP[h],b=E,h=d,i=k,j=l,FHEAP[b]=FHEAP[h],FHEAP[b+1]=FHEAP[i],FHEAP[b+2]=FHEAP[j],FHEAP[b+3]=0,_llvm_memcpy_p0i8_p0i8_i32(L,P,4,4,0),b=12;else{if(b==12){m=g+16;b=w;FHEAP[n]=FHEAP[m]*FHEAP[b];FHEAP[o]=FHEAP[m+1]*FHEAP[b];FHEAP[q]=FHEAP[m+ +2]*FHEAP[b];m=J;b=n;h=o;i=q;FHEAP[m]=FHEAP[b];FHEAP[m+1]=FHEAP[h];FHEAP[m+2]=FHEAP[i];FHEAP[m+3]=0;m=J;b=D;FHEAP[p]=FHEAP[m]*FHEAP[b];FHEAP[r]=FHEAP[m+1]*FHEAP[b];FHEAP[s]=FHEAP[m+2]*FHEAP[b];m=G;b=p;h=r;i=s;FHEAP[m]=FHEAP[b];FHEAP[m+1]=FHEAP[h];FHEAP[m+2]=FHEAP[i];FHEAP[m+3]=0;FHEAP[H]=0.20000000298023224;m=G;b=H;FHEAP[u]=FHEAP[m]*FHEAP[b];FHEAP[v]=FHEAP[m+1]*FHEAP[b];FHEAP[y]=FHEAP[m+2]*FHEAP[b];m=F;b=u;h=v;i=y;FHEAP[m]=FHEAP[b];FHEAP[m+1]=FHEAP[h];FHEAP[m+2]=FHEAP[i];FHEAP[m+3]=0;b=S;m=F;FHEAP[b]+= +FHEAP[m];FHEAP[b+1]+=FHEAP[m+1];FHEAP[b+2]+=FHEAP[m+2];m=1;b=10;continue e}}else if(b==10){f+=1;b=f;g=c;b=b<IHEAP[g+282]?7:8;continue d}}else if(b==8){A+=1;f=A;c=O;b=f<IHEAP[c+1]?5:6;continue c}}else if(b==6)if(B+=1,c=B,f=IHEAP[K],f=IHEAP[f+276],f=FUNCTION_TABLE[IHEAP[IHEAP[f]+9]](f),c<f){b=2;continue b}else{b=1;continue a}}}else if(b==1)return k=IHEAP[a+5],l=k+1,k=x,n=l,l=k,o=k=n,n=l,_llvm_memcpy_p0i8_p0i8_i32(n,o,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(n+4,o+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(n+8,o+ +8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+12,k+12,4,4,0),l=a+26,k=x,_llvm_memcpy_p0i8_p0i8_i32(k+12,l,4,4,0),k=IHEAP[a+5],k+=1,n=x,l=k,_llvm_memcpy_p0i8_p0i8_i32(l,n,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+4,n+4,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(l+8,n+8,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(k+12,x+12,4,4,0),x=m&1,STACKTOP=d,x;return null} +function __ZN30btKinematicCharacterController6stepUpEP16btCollisionWorld(a,e){var d=STACKTOP;STACKTOP+=179;var b,c=null,f,g,h,i,j,k;h=d+1;f=d+2;var l,m,n;n=d+3;m=d+4;l=d+5;var o,q,p;o=d+6;k=d+7;j=d+8;var r,s,u,v;r=d+9;var y=d+10,x=d+11,z=d+12,B=d+13,C=d+14,A=d+15,w=d+16,D=d+17,E;s=d+18;p=d+19;u=d+20;var F,G,J;F=d+21;var H=d+22,M=d+23,K=d+24,N=d+25,R=d+26,O=d+27,Q=d+28,I=d+29,L;G=d+30;v=d+31;E=d+32;var P,S,T,U,W,Z;U=d+33;T=d+34;S=d+35;var ca,Y,ea,ha,ba,V;ha=d+36;ea=d+37;Y=d+38;var aa,X;aa=d+39;X=d+ +55;W=d+71;ba=d+75;L=d+76;g=d+80;i=d+84;q=d+88;ca=d+89;P=d+175;J=a+31;Z=a+26;b=IHEAP[a+50];__ZN30btKinematicCharacterController19getUpAxisDirectionsEv();var ka=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+4*b,da=FHEAP[a+16];FHEAP[a+8]>0?(c=-1,b=0):(c=-1,b=1);a:for(;;)if(b==0)V=FHEAP[a+8],c=0,b=1;else if(b==1){FHEAP[ba]=da+(c==0?V:0);V=ka;FHEAP[ha]=FHEAP[V]*FHEAP[ba];FHEAP[ea]=FHEAP[V+1]*FHEAP[ba];FHEAP[Y]=FHEAP[V+2]*FHEAP[ba];ba=W;V=ea;ea=ha;ha=V;V=Y;Y=ba;ba=V;FHEAP[Y]= +FHEAP[ea];FHEAP[Y+1]=FHEAP[ha];FHEAP[Y+2]=FHEAP[ba];FHEAP[Y+3]=0;FHEAP[U]=FHEAP[Z]+FHEAP[W];FHEAP[T]=FHEAP[Z+1]+FHEAP[W+1];FHEAP[S]=FHEAP[Z+2]+FHEAP[W+2];W=L;Z=T;T=U;U=Z;Z=S;S=W;W=Z;FHEAP[S]=FHEAP[T];FHEAP[S+1]=FHEAP[U];FHEAP[S+2]=FHEAP[W];FHEAP[S+3]=0;_llvm_memcpy_p0i8_p0i8_i32(J,L,4,4,0);J=L=aa;FHEAP[F]=1;FHEAP[H]=0;FHEAP[M]=0;FHEAP[K]=0;FHEAP[N]=1;FHEAP[R]=0;FHEAP[O]=0;FHEAP[Q]=0;FHEAP[I]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(J,F,H,M,K,N,R,O,Q,I);F=L+12;FHEAP[G]=0;FHEAP[v]=0; +FHEAP[E]=0;FHEAP[F]=FHEAP[G];FHEAP[F+1]=FHEAP[v];FHEAP[F+2]=FHEAP[E];FHEAP[F+3]=0;v=E=X;FHEAP[r]=1;FHEAP[y]=0;FHEAP[x]=0;FHEAP[z]=0;FHEAP[B]=1;FHEAP[C]=0;FHEAP[A]=0;FHEAP[w]=0;FHEAP[D]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(v,r,y,x,z,B,C,A,w,D);r=E+12;FHEAP[s]=0;FHEAP[p]=0;FHEAP[u]=0;FHEAP[r]=FHEAP[s];FHEAP[r+1]=FHEAP[p];FHEAP[r+2]=FHEAP[u];FHEAP[r+3]=0;u=a+26;p=IHEAP[a+50];__ZN30btKinematicCharacterController19getUpAxisDirectionsEv();p=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+ +4*p;s=IHEAP[a+6];s=FUNCTION_TABLE[IHEAP[IHEAP[s]+11]](s);FHEAP[q]=s+FHEAP[a+17];FHEAP[o]=FHEAP[p]*FHEAP[q];FHEAP[k]=FHEAP[p+1]*FHEAP[q];FHEAP[j]=FHEAP[p+2]*FHEAP[q];q=i;p=k;k=o;o=p;p=j;j=q;q=p;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[o];FHEAP[j+2]=FHEAP[q];FHEAP[j+3]=0;j=u;FHEAP[d]=FHEAP[j]+FHEAP[i];FHEAP[h]=FHEAP[j+1]+FHEAP[i+1];FHEAP[f]=FHEAP[j+2]+FHEAP[i+2];i=g;j=d;k=h;h=j;j=k;k=f;f=i;i=j;j=k;FHEAP[f]=FHEAP[h];FHEAP[f+1]=FHEAP[i];FHEAP[f+2]=FHEAP[j];FHEAP[f+3]=0;f=aa;_llvm_memcpy_p0i8_p0i8_i32(f+12, +g,4,4,0);f=a+31;g=X;_llvm_memcpy_p0i8_p0i8_i32(g+12,f,4,4,0);g=IHEAP[a+5];f=IHEAP[a+50];__ZN30btKinematicCharacterController19getUpAxisDirectionsEv();f=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+4*f;FHEAP[n]=0-FHEAP[f];FHEAP[m]=0-FHEAP[f+1];FHEAP[l]=0-FHEAP[f+2];f=P;h=m;m=n;n=h;h=l;l=f;f=h;FHEAP[l]=FHEAP[m];FHEAP[l+1]=FHEAP[n];FHEAP[l+2]=FHEAP[f];FHEAP[l+3]=0;l=ca;m=g;__ZN43btKinematicClosestNotMeConvexResultCallbackC2EP17btCollisionObjectRK9btVector3f(l,m,P,0.707099974155426); +P=a;P=IHEAP[P+5];IHEAP[ca+2]=IHEAP[IHEAP[P+47]+1];P=a;P=IHEAP[P+5];IHEAP[ca+3]=IHEAP[IHEAP[P+47]+2];b=IHEAP[a+47]&1?2:3;break a}a:do if(b==2){P=IHEAP[a+5];l=IHEAP[a+6];m=ca;n=e;n=FHEAP[n+7+9];try{__THREW__=!1,__ZNK13btGhostObject15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RN16btCollisionWorld20ConvexResultCallbackEf(P,l,aa,X,m,n)}catch(fa){if(ABORT)throw fa;__THREW__=!0;print("Exception: "+fa+" : "+fa.stack+", currently at: "+Error().stack)}b=__THREW__?11:10;break a}else if(b==3){P=e;l=IHEAP[a+ +6];m=ca;try{__THREW__=!1,__ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(P,l,aa,X,m,0)}catch(ga){if(ABORT)throw ga;__THREW__=!0;print("Exception: "+ga+" : "+ga.stack+", currently at: "+Error().stack)}b=__THREW__?11:10;break a}while(0);a:for(;;)if(b==10){aa=ca;if(!(FHEAP[aa+1]<1)){b=5;break a}var ja=ca+20,la=IHEAP[a+50];try{__THREW__=!1,__ZN30btKinematicCharacterController19getUpAxisDirectionsEv()}catch(qa){if(ABORT)throw qa;__THREW__=!0;print("Exception: "+ +qa+" : "+qa.stack+", currently at: "+Error().stack)}if(__THREW__)b=11;else{b=12;break a}}else if(b==11)throw d=ja=_llvm_eh_exception(),_llvm_eh_selector(ja,___gxx_personality_v0,0),IHEAP[ca]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2,IHEAP[ca]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[ca]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,__Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 374161";a:do if(b==5)FHEAP[a+30]=FHEAP[a+16],_llvm_memcpy_p0i8_p0i8_i32(a+ +26,a+31,4,4,0);else if(b==12){X=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+4*la;aa=ja;for(b=FHEAP[aa]*FHEAP[X]+FHEAP[aa+1]*FHEAP[X+1]+FHEAP[aa+2]*FHEAP[X+2]>0?6:7;;)if(b==6)FHEAP[a+30]=FHEAP[a+16]*FHEAP[ca+1],aa=a+26,P=a+31,l=FHEAP[ca+1],m=X=a+26,X=1-l,FHEAP[m]=X*FHEAP[aa]+l*FHEAP[P],FHEAP[m+1]=X*FHEAP[aa+1]+l*FHEAP[P+1],FHEAP[m+2]=X*FHEAP[aa+2]+l*FHEAP[P+2],b=7;else if(b==7){FHEAP[a+7]=0;FHEAP[a+8]=0;break a}}while(0);IHEAP[ca]=__ZTV43btKinematicClosestNotMeConvexResultCallback+ +2;IHEAP[ca]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[ca]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;STACKTOP=d} +function __ZN30btKinematicCharacterController19getUpAxisDirectionsEv(){var a=STACKTOP;STACKTOP+=9;var e,d,b,c,f=a+1,g=a+2,h=a+3,i=a+4,j=a+5,k=a+6,l=a+7,m=a+8;for(e=IHEAP[__ZGVZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection]==0?0:1;;)if(e==0)___cxa_guard_acquire(__ZGVZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection)!=0&&(FHEAP[a]=1,FHEAP[f]=0,FHEAP[g]=0,e=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection,d=a,b=f, +c=g,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[h]=0,FHEAP[i]=1,FHEAP[j]=0,e=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+4,d=h,b=i,c=j,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,FHEAP[k]=0,FHEAP[l]=0,FHEAP[m]=1,e=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+8,d=k,b=l,c=m,FHEAP[e]=FHEAP[d],FHEAP[e+1]=FHEAP[b],FHEAP[e+2]=FHEAP[c],FHEAP[e+3]=0,___cxa_guard_release(__ZGVZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection)), +e=1;else if(e==1)return STACKTOP=a,__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection;return null}function __ZN43btKinematicClosestNotMeConvexResultCallbackD1Ev(a){IHEAP[a]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2;IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2} +function __ZN30btKinematicCharacterController36updateTargetPositionBasedOnCollisionERK9btVector3ff(a,e,d,b){d=STACKTOP;STACKTOP+=39;var c,f,g,h=d+1,i=d+2,j=d+3,k,l=d+4,m=d+5,n=d+6,o;c=d+7;f=d+8;g=d+9;var q=d+10,p=d+14,r=d+18,s=d+22,u=d+26,v=d+30,y=d+34,x=d+38;k=a+26;o=a+31;FHEAP[c]=FHEAP[o]-FHEAP[k];FHEAP[f]=FHEAP[o+1]-FHEAP[k+1];FHEAP[g]=FHEAP[o+2]-FHEAP[k+2];FHEAP[q]=FHEAP[c];FHEAP[q+1]=FHEAP[f];FHEAP[q+2]=FHEAP[g];FHEAP[q+3]=0;o=_sqrtf(FHEAP[q]*FHEAP[q]+FHEAP[q+1]*FHEAP[q+1]+FHEAP[q+2]*FHEAP[q+ +2]);for(c=o>1.1920928955078125E-7?0:1;;)if(c==0)f=g=f=c=q,f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2],f=_sqrtf(f),FHEAP[j]=f,f=c,c=j,FHEAP[i]=1/FHEAP[c],c=i,FHEAP[f]*=FHEAP[c],FHEAP[f+1]*=FHEAP[c],FHEAP[f+2]*=FHEAP[c],__ZN30btKinematicCharacterController26computeReflectionDirectionERK9btVector3S2_(p,a,q,e),f=g=f=c=p,f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2],f=_sqrtf(f),FHEAP[h]=f,f=c,c=h,FHEAP[d]=1/FHEAP[c],c=d,FHEAP[f]*=FHEAP[c],FHEAP[f+1]*=FHEAP[c],FHEAP[f+ +2]*=FHEAP[c],__ZN30btKinematicCharacterController17parallelComponentERK9btVector3S2_(u,a,p,e),_llvm_memcpy_p0i8_p0i8_i32(r,u,4,4,0),__ZN30btKinematicCharacterController22perpindicularComponentERK9btVector3S2_(v,a,p,e),_llvm_memcpy_p0i8_p0i8_i32(s,v,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(a+31,a+26,4,4,0),b!=0&&(FHEAP[x]=b*o,c=s,f=x,FHEAP[l]=FHEAP[c]*FHEAP[f],FHEAP[m]=FHEAP[c+1]*FHEAP[f],FHEAP[n]=FHEAP[c+2]*FHEAP[f],c=y,f=l,g=m,k=n,FHEAP[c]=FHEAP[f],FHEAP[c+1]=FHEAP[g],FHEAP[c+2]=FHEAP[k],FHEAP[c+3]=0,f= +a+31,c=y,FHEAP[f]+=FHEAP[c],FHEAP[f+1]+=FHEAP[c+1],FHEAP[f+2]+=FHEAP[c+2]),c=1;else if(c==1){STACKTOP=d;break}} +function __ZN30btKinematicCharacterController20stepForwardAndStrafeEP16btCollisionWorldRK9btVector3(a,e,d){var b=STACKTOP;STACKTOP+=179;var c,f,g,h,i=b+1,j=b+2,k=b+3,l=b+4,m=b+5,n;c=b+6;f=b+7;g=b+8;var o=b+9,q=b+10,p=b+11,r=b+12,s=b+13,u=b+14,v=b+15,y=b+16,x=b+17,z=b+18;n=b+19;var B=b+20,C=b+21,A=b+22,w=b+23,D=b+24,E=b+25,F=b+26,G=b+27,J=b+28,H=b+29,M=b+30,K=b+31,N=b+32,R,O=b+33,Q=b+34,I=b+35,L=b+36,P=b+37,S=b+38,T=b+39,U=b+40,W=b+41,Z=b+57,ca=b+73;h=b+77;var Y,ea=b+81,ha=b+85,ba=b+171,V=b+175,aa; +R=a+26;FHEAP[O]=FHEAP[R]+FHEAP[d];FHEAP[Q]=FHEAP[R+1]+FHEAP[d+1];FHEAP[I]=FHEAP[R+2]+FHEAP[d+2];FHEAP[ca]=FHEAP[O];FHEAP[ca+1]=FHEAP[Q];FHEAP[ca+2]=FHEAP[I];FHEAP[ca+3]=0;_llvm_memcpy_p0i8_p0i8_i32(a+31,ca,4,4,0);FHEAP[C]=1;FHEAP[A]=0;FHEAP[w]=0;FHEAP[D]=0;FHEAP[E]=1;FHEAP[F]=0;FHEAP[G]=0;FHEAP[J]=0;FHEAP[H]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(W,C,A,w,D,E,F,G,J,H);d=W+12;FHEAP[M]=0;FHEAP[K]=0;FHEAP[N]=0;FHEAP[d]=FHEAP[M];FHEAP[d+1]=FHEAP[K];FHEAP[d+2]=FHEAP[N];FHEAP[d+3]=0;FHEAP[o]= +1;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=0;FHEAP[s]=1;FHEAP[u]=0;FHEAP[v]=0;FHEAP[y]=0;FHEAP[x]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(Z,o,q,p,r,s,u,v,y,x);o=Z+12;FHEAP[z]=0;FHEAP[n]=0;FHEAP[B]=0;FHEAP[o]=FHEAP[z];FHEAP[o+1]=FHEAP[n];FHEAP[o+2]=FHEAP[B];FHEAP[o+3]=0;z=1;B=a+31;n=a+26;FHEAP[c]=FHEAP[n]-FHEAP[B];FHEAP[f]=FHEAP[n+1]-FHEAP[B+1];FHEAP[g]=FHEAP[n+2]-FHEAP[B+2];FHEAP[h]=FHEAP[c];FHEAP[h+1]=FHEAP[f];FHEAP[h+2]=FHEAP[g];FHEAP[h+3]=0;c=IHEAP[a+40]&1?0:1;a:for(;;)if(c==0){f=a+41;c= +a+22;if(!(FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2]>0)){c=1;continue a}__ZN30btKinematicCharacterController36updateTargetPositionBasedOnCollisionERK9btVector3ff(a,a+41,0,1);c=1}else if(c==1){Y=10;var X=a+26,ka=a+31,da=a+26,fa=a+31,ga=a+5,ja=ha+2,la=ha+3,qa=a+6,pa=a+6,wa=a+17,ua=a+47,na=a+5,ya=a+6,xa=ha,ia=a+6,ma=ha+1,ta=ha,ra=ha+24,oa=a+26,Da=ha+20,Ba=a+31,Oa=a+26,Fa=a+22,Ha=a+26,La=a+31,Ea=a+6,Ca=ha;c=3;break a}a:for(;;){if(!(z>0.009999999776482582)){c=5;break a}c=Y;Y=c+-1;if(!(c> +0)){c=5;break a}c=W;f=X;_llvm_memcpy_p0i8_p0i8_i32(c+12,f,4,4,0);c=Z;f=ka;_llvm_memcpy_p0i8_p0i8_i32(c+12,f,4,4,0);c=da;f=fa;FHEAP[b]=FHEAP[c]-FHEAP[f];FHEAP[i]=FHEAP[c+1]-FHEAP[f+1];FHEAP[j]=FHEAP[c+2]-FHEAP[f+2];c=ea;f=b;g=i;h=j;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;f=IHEAP[ga];c=ha;g=ea;__ZN43btKinematicClosestNotMeConvexResultCallbackC2EP17btCollisionObjectRK9btVector3f(c,f,g,0);c=a;c=IHEAP[c+5];IHEAP[ja]=IHEAP[IHEAP[c+47]+1];c=a;c=IHEAP[c+5];IHEAP[la]=IHEAP[IHEAP[c+ +47]+2];c=IHEAP[qa];f=IHEAP[IHEAP[c]+11];var Aa;try{__THREW__=!1,Aa=FUNCTION_TABLE[f](c)}catch(za){if(ABORT)throw za;__THREW__=!0;print("Exception: "+za+" : "+za.stack+", currently at: "+Error().stack);Aa=null}if(__THREW__){c=11;break a}c=Aa;f=IHEAP[pa];g=IHEAP[IHEAP[f]+10];h=c+FHEAP[wa];try{__THREW__=!1,FUNCTION_TABLE[g](f,h)}catch(Ja){if(ABORT)throw Ja;__THREW__=!0;print("Exception: "+Ja+" : "+Ja.stack+", currently at: "+Error().stack)}if(__THREW__){c=11;break a}if(IHEAP[ua]&1){f=IHEAP[na];g=IHEAP[ya]; +h=e;h=FHEAP[h+7+9];try{__THREW__=!1,__ZNK13btGhostObject15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RN16btCollisionWorld20ConvexResultCallbackEf(f,g,W,Z,xa,h)}catch(Ra){if(ABORT)throw Ra;__THREW__=!0;print("Exception: "+Ra+" : "+Ra.stack+", currently at: "+Error().stack)}}else{f=e;g=IHEAP[Ea];h=e;h=FHEAP[h+7+9];try{__THREW__=!1,__ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(f,g,W,Z,Ca,h)}catch(Ua){if(ABORT)throw Ua;__THREW__=!0;print("Exception: "+ +Ua+" : "+Ua.stack+", currently at: "+Error().stack)}}if(__THREW__){c=11;break a}f=IHEAP[ia];g=IHEAP[IHEAP[f]+10];try{__THREW__=!1,FUNCTION_TABLE[g](f,c)}catch(Xa){if(ABORT)throw Xa;__THREW__=!0;print("Exception: "+Xa+" : "+Xa.stack+", currently at: "+Error().stack)}if(__THREW__){c=11;break a}z-=FHEAP[ma];c=ta;f=FHEAP[c+1]<1;b:do{if(f){c=ra;f=oa;FHEAP[k]=FHEAP[c]-FHEAP[f];FHEAP[l]=FHEAP[c+1]-FHEAP[f+1];FHEAP[m]=FHEAP[c+2]-FHEAP[f+2];c=ba;f=k;g=l;h=m;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]= +FHEAP[h];FHEAP[c+3]=0;c=f=c=ba;c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2];_sqrtf(c);__ZN30btKinematicCharacterController36updateTargetPositionBasedOnCollisionERK9btVector3ff(a,Da,0,1);c=Ba;f=Oa;FHEAP[L]=FHEAP[c]-FHEAP[f];FHEAP[P]=FHEAP[c+1]-FHEAP[f+1];FHEAP[S]=FHEAP[c+2]-FHEAP[f+2];c=V;f=L;g=P;h=S;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;c=f=c=V;c=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2];if(c>1.1920928955078125E-7&&(f=g=f=c=V, +f=FHEAP[f]*FHEAP[g]+FHEAP[f+1]*FHEAP[g+1]+FHEAP[f+2]*FHEAP[g+2],f=_sqrtf(f),FHEAP[U]=f,f=c,c=U,FHEAP[T]=1/FHEAP[c],c=T,FHEAP[f]*=FHEAP[c],FHEAP[f+1]*=FHEAP[c],FHEAP[f+2]*=FHEAP[c],f=V,c=Fa,!(FHEAP[f]*FHEAP[c]+FHEAP[f+1]*FHEAP[c+1]+FHEAP[f+2]*FHEAP[c+2]<=0))){c=8;break b}aa=3;c=9}else _llvm_memcpy_p0i8_p0i8_i32(Ha,La,4,4,0),c=8;break b}while(0);for(;;)if(c==9)if(c=ha,IHEAP[c]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2,IHEAP[c]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[c]= +__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,aa==3){c=5;break a}else{c=3;continue a}else c==8&&(aa=0,c=9)}if(c==5)STACKTOP=b;else if(c==11)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[ha]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2,IHEAP[ha]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[ha]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 375948";} +function __ZN30btKinematicCharacterController8stepDownEP16btCollisionWorldf(a,e,d){var b=STACKTOP;STACKTOP+=150;var c,f=null,g,h,i,j,k;i=b+1;var l=b+2,m=b+3,n=b+4,o=b+5,q=b+6,p=b+7,r=b+8,s;j=b+9;h=b+10;g=b+11;var u,v,y;u=b+12;var x=b+13,z=b+14,B=b+15,C=b+16,A=b+17,w=b+18,D=b+19,E=b+20,F;v=b+21;k=b+22;s=b+23;var G,J,H,M;J=b+24;G=b+25;y=b+26;var K,N;K=b+27;N=b+43;F=b+59;H=b+63;var R=b+64;FHEAP[a+7]<0?(f=-1,c=0):(f=-1,c=1);a:for(;;)if(c==0){var O=0-FHEAP[a+7],f=0;c=1}else if(c==1){M=(f==0?O:0)*d;c=M> +0?2:3;break a}a:for(;;)if(c==2){if(!(M<FHEAP[a+16])){c=3;continue a}for(c=IHEAP[a+45]&1?5:6;;)if(c==5){M=FHEAP[a+16];c=3;continue a}else if(c==6)if(IHEAP[a+46]&1){c=3;continue a}else c=5}else if(c==3){d=IHEAP[a+50];__ZN30btKinematicCharacterController19getUpAxisDirectionsEv();d=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+4*d;FHEAP[H]=FHEAP[a+30]+M;M=d;FHEAP[J]=FHEAP[M]*FHEAP[H];FHEAP[G]=FHEAP[M+1]*FHEAP[H];FHEAP[y]=FHEAP[M+2]*FHEAP[H];H=F;M=G;G=J;J=M;M=y;y=H;H= +M;FHEAP[y]=FHEAP[G];FHEAP[y+1]=FHEAP[J];FHEAP[y+2]=FHEAP[H];FHEAP[y+3]=0;y=a+31;FHEAP[y]-=FHEAP[F];FHEAP[y+1]-=FHEAP[F+1];FHEAP[y+2]-=FHEAP[F+2];y=F=K;FHEAP[u]=1;FHEAP[x]=0;FHEAP[z]=0;FHEAP[B]=0;FHEAP[C]=1;FHEAP[A]=0;FHEAP[w]=0;FHEAP[D]=0;FHEAP[E]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(y,u,x,z,B,C,A,w,D,E);u=F+12;FHEAP[v]=0;FHEAP[k]=0;FHEAP[s]=0;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[k];FHEAP[u+2]=FHEAP[s];FHEAP[u+3]=0;k=s=N;FHEAP[b]=1;FHEAP[i]=0;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=1;FHEAP[o]= +0;FHEAP[q]=0;FHEAP[p]=0;FHEAP[r]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(k,b,i,l,m,n,o,q,p,r);i=s+12;FHEAP[j]=0;FHEAP[h]=0;FHEAP[g]=0;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[h];FHEAP[i+2]=FHEAP[g];FHEAP[i+3]=0;h=a+26;g=K;_llvm_memcpy_p0i8_p0i8_i32(g+12,h,4,4,0);h=a+31;g=N;_llvm_memcpy_p0i8_p0i8_i32(g+12,h,4,4,0);h=IHEAP[a+5];g=IHEAP[a+50];__ZN30btKinematicCharacterController19getUpAxisDirectionsEv();i=__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection+4*g; +j=FHEAP[a+13];g=R;__ZN43btKinematicClosestNotMeConvexResultCallbackC2EP17btCollisionObjectRK9btVector3f(g,h,i,j);g=a;g=IHEAP[g+5];IHEAP[R+2]=IHEAP[IHEAP[g+47]+1];g=a;g=IHEAP[g+5];IHEAP[R+3]=IHEAP[IHEAP[g+47]+2];c=IHEAP[a+47]&1?7:8;break a}a:do if(c==7){g=IHEAP[a+5];h=IHEAP[a+6];j=R;e=FHEAP[e+7+9];try{__THREW__=!1,__ZNK13btGhostObject15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RN16btCollisionWorld20ConvexResultCallbackEf(g,h,K,N,j,e)}catch(Q){if(ABORT)throw Q;__THREW__=!0;print("Exception: "+ +Q+" : "+Q.stack+", currently at: "+Error().stack)}c=__THREW__?11:10;break a}else if(c==8){g=e;h=IHEAP[a+6];j=R;e=FHEAP[e+7+9];try{__THREW__=!1,__ZNK16btCollisionWorld15convexSweepTestEPK13btConvexShapeRK11btTransformS5_RNS_20ConvexResultCallbackEf(g,h,K,N,j,e)}catch(I){if(ABORT)throw I;__THREW__=!0;print("Exception: "+I+" : "+I.stack+", currently at: "+Error().stack)}c=__THREW__?11:10;break a}while(0);if(c==10)e=a+26,FHEAP[R+1]<1?(g=a+31,h=FHEAP[R+1],K=a+26,N=1-h,FHEAP[e]=N*FHEAP[K]+h*FHEAP[g],FHEAP[e+ +1]=N*FHEAP[K+1]+h*FHEAP[g+1],FHEAP[e+2]=N*FHEAP[K+2]+h*FHEAP[g+2],FHEAP[a+7]=0,FHEAP[a+8]=0,IHEAP[a+46]=0):_llvm_memcpy_p0i8_p0i8_i32(e,a+31,4,4,0),IHEAP[R]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2,IHEAP[R]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[R]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,STACKTOP=b;else if(c==11)throw a=_llvm_eh_exception(),_llvm_eh_selector(a,___gxx_personality_v0,0),IHEAP[R]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2,IHEAP[R]= +__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2,IHEAP[R]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2,__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 376540";} +function __ZN30btKinematicCharacterController16setWalkDirectionERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=12;var b;b=d+1;var c=d+2,f=d+3,g=d+4,h=d+5,i=d+6,j=d+7,k=d+8;IHEAP[a+48]=1;_llvm_memcpy_p0i8_p0i8_i32(a+18,e,4,4,0);var l=a+22,m=a+18,n=_sqrtf(FHEAP[m]*FHEAP[m]+FHEAP[m+1]*FHEAP[m+1]+FHEAP[m+2]*FHEAP[m+2]);FHEAP[g]=n;FHEAP[f]=1/FHEAP[g];FHEAP[d]=FHEAP[m]*FHEAP[f];FHEAP[b]=FHEAP[m+1]*FHEAP[f];FHEAP[c]=FHEAP[m+2]*FHEAP[f];FHEAP[k]=FHEAP[d];FHEAP[k+1]=FHEAP[b];FHEAP[k+2]=FHEAP[c];FHEAP[k+3]=0;for(b= +_sqrtf(FHEAP[k]*FHEAP[k]+FHEAP[k+1]*FHEAP[k+1]+FHEAP[k+2]*FHEAP[k+2])<1.1920928955078125E-7?0:1;;)if(b==0)FHEAP[h]=0,FHEAP[i]=0,FHEAP[j]=0,g=k,b=h,c=i,f=j,FHEAP[g]=FHEAP[b],FHEAP[g+1]=FHEAP[c],FHEAP[g+2]=FHEAP[f],FHEAP[g+3]=0,b=1;else if(b==1){_llvm_memcpy_p0i8_p0i8_i32(l,k,4,4,0);STACKTOP=d;break}} +function __ZN30btKinematicCharacterController26setVelocityForTimeIntervalERK9btVector3f(a,e,d){var b=STACKTOP;STACKTOP+=12;var c;c=b+1;var f=b+2,g=b+3,h=b+4,i=b+5,j=b+6,k=b+7,l=b+8;IHEAP[a+48]=0;_llvm_memcpy_p0i8_p0i8_i32(a+18,e,4,4,0);var e=a+22,m=a+18,n=_sqrtf(FHEAP[m]*FHEAP[m]+FHEAP[m+1]*FHEAP[m+1]+FHEAP[m+2]*FHEAP[m+2]);FHEAP[h]=n;FHEAP[g]=1/FHEAP[h];FHEAP[b]=FHEAP[m]*FHEAP[g];FHEAP[c]=FHEAP[m+1]*FHEAP[g];FHEAP[f]=FHEAP[m+2]*FHEAP[g];FHEAP[l]=FHEAP[b];FHEAP[l+1]=FHEAP[c];FHEAP[l+2]=FHEAP[f];FHEAP[l+ +3]=0;for(c=_sqrtf(FHEAP[l]*FHEAP[l]+FHEAP[l+1]*FHEAP[l+1]+FHEAP[l+2]*FHEAP[l+2])<1.1920928955078125E-7?0:1;;)if(c==0)FHEAP[i]=0,FHEAP[j]=0,FHEAP[k]=0,h=l,c=i,f=j,g=k,FHEAP[h]=FHEAP[c],FHEAP[h+1]=FHEAP[f],FHEAP[h+2]=FHEAP[g],FHEAP[h+3]=0,c=1;else if(c==1){_llvm_memcpy_p0i8_p0i8_i32(e,l,4,4,0);FHEAP[a+49]=d;STACKTOP=b;break}}function __ZN30btKinematicCharacterController5resetEv(){} +function __ZN30btKinematicCharacterController4warpERK9btVector3(a,e){var d=STACKTOP;STACKTOP+=28;var b=d+1,c=d+2,f=d+3,g=d+4,h=d+5,i=d+6,j=d+7,k=d+8,l=d+9,m=d+10,n=d+11,o=d+12;FHEAP[d]=1;FHEAP[b]=0;FHEAP[c]=0;FHEAP[f]=0;FHEAP[g]=1;FHEAP[h]=0;FHEAP[i]=0;FHEAP[j]=0;FHEAP[k]=1;__ZN11btMatrix3x38setValueERKfS1_S1_S1_S1_S1_S1_S1_S1_(o,d,b,c,f,g,h,i,j,k);b=o+12;FHEAP[l]=0;FHEAP[m]=0;FHEAP[n]=0;FHEAP[b]=FHEAP[l];FHEAP[b+1]=FHEAP[m];FHEAP[b+2]=FHEAP[n];FHEAP[b+3]=0;_llvm_memcpy_p0i8_p0i8_i32(o+12,e,4,4,0); +l=IHEAP[a+5]+1;_llvm_memcpy_p0i8_p0i8_i32(l,o,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+4,o+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+8,o+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(l+12,o+12,4,4,0);STACKTOP=d} +function __ZN30btKinematicCharacterController7preStepEP16btCollisionWorld(a,e){var d;d=0;IHEAP[a+40]=0;for(var b=a+40;;){if(!__ZN30btKinematicCharacterController22recoverFromPenetrationEP16btCollisionWorld(a,e))break;d+=1;IHEAP[b]=1;if(d>4)break}_llvm_memcpy_p0i8_p0i8_i32(a+26,IHEAP[a+5]+1+12,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+31,a+26,4,4,0)} +function __ZN30btKinematicCharacterController10playerStepEP16btCollisionWorldf(a,e,d){var b=STACKTOP;STACKTOP+=24;var c;c=null;var f,g,h,i=b+1,j=b+2,k=b+3,l=b+19,m=b+20;c=IHEAP[a+48]&1?0:1;a:for(;;)if(c==0){c=FUNCTION_TABLE[IHEAP[IHEAP[a]+12]](a);IHEAP[a+45]=c;FHEAP[a+7]-=FHEAP[a+14]*d;c=FHEAP[a+7]>0?3:4;break a}else if(c==1)if(FHEAP[a+49]<=0){c=2;break a}else c=0;a:for(;;)if(c==2){STACKTOP=b;break}else if(c==3){if(!(FHEAP[a+7]>FHEAP[a+10])){c=4;continue a}FHEAP[a+7]=FHEAP[a+10];c=4}else if(c==4){for(c= +FHEAP[a+7]<0?6:7;;)if(c==6)c=FHEAP[a+7],c=_fabsf(c),f=FHEAP[a+9],f=_fabsf(f),c>f&&(c=FHEAP[a+9],c=0-_fabsf(c),FHEAP[a+7]=c),c=7;else if(c==7){FHEAP[a+8]=FHEAP[a+7]*d;c=IHEAP[a+5];c+=1;f=k;h=c;g=f;_llvm_memcpy_p0i8_p0i8_i32(g,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,c+12,4,4,0);__ZN30btKinematicCharacterController6stepUpEP16btCollisionWorld(a,e);c=IHEAP[a+48]&1?9:10;break}if(c==9)__ZN30btKinematicCharacterController20stepForwardAndStrafeEP16btCollisionWorldRK9btVector3(a, +e,a+18);else if(c==10){if(d<FHEAP[a+49]){var n=d;c=12}else{var o=FHEAP[a+49];c=14}FHEAP[l]=c==12?n:o;FHEAP[a+49]-=d;c=a+18;f=l;FHEAP[b]=FHEAP[c]*FHEAP[f];FHEAP[i]=FHEAP[c+1]*FHEAP[f];FHEAP[j]=FHEAP[c+2]*FHEAP[f];c=m;f=b;g=i;h=j;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;__ZN30btKinematicCharacterController20stepForwardAndStrafeEP16btCollisionWorldRK9btVector3(a,e,m)}__ZN30btKinematicCharacterController8stepDownEP16btCollisionWorldf(a,e,d);f=a+26;c=k;_llvm_memcpy_p0i8_p0i8_i32(c+ +12,f,4,4,0);c=IHEAP[a+5];g=f=k;f=c+1;h=c=g;g=f;_llvm_memcpy_p0i8_p0i8_i32(g,h,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+4,h+4,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(g+8,h+8,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(f+12,c+12,4,4,0);c=2}}function __ZNK30btKinematicCharacterController7canJumpEv(a){return FUNCTION_TABLE[IHEAP[IHEAP[a]+12]](a)} +function __ZN30btKinematicCharacterController4jumpEv(a){var e;for(e=FUNCTION_TABLE[IHEAP[IHEAP[a]+10]](a)?0:1;;)if(e==0)FHEAP[a+7]=FHEAP[a+10],e=IHEAP[a+46]=1;else if(e==1)break}function __ZNK30btKinematicCharacterController8onGroundEv(a){var e,d=null;FHEAP[a+7]==0?(d=-1,e=0):(d=-1,e=1);for(;;)if(e==0){var b=FHEAP[a+8]==0,d=0;e=1}else if(e==1)return d==-1?0:b;return null}function __ZN30btKinematicCharacterController9debugDrawEP12btIDebugDraw(){} +function __ZN30btKinematicCharacterController12updateActionEP16btCollisionWorldf(a,e,d){FUNCTION_TABLE[IHEAP[IHEAP[a]+8]](a,e);FUNCTION_TABLE[IHEAP[IHEAP[a]+9]](a,e,d)}function __ZN43btKinematicClosestNotMeConvexResultCallbackD0Ev(a){IHEAP[a]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2;IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+2;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;__ZdlPv(a)} +function __ZN43btKinematicClosestNotMeConvexResultCallback15addSingleResultERN16btCollisionWorld17LocalConvexResultEb(a,e,d){var b=STACKTOP;STACKTOP+=12;var c,f=b+4,g=b+8;IHEAP[e]==IHEAP[a+80]?a=1:(d&1?_llvm_memcpy_p0i8_p0i8_i32(f,e+2,4,4,0):(c=IHEAP[e],__ZmlRK11btMatrix3x3RK9btVector3(g,c+1,e+2),_llvm_memcpy_p0i8_p0i8_i32(f,g,4,4,0)),c=a+81,f=FHEAP[c]*FHEAP[f]+FHEAP[c+1]*FHEAP[f+1]+FHEAP[c+2]*FHEAP[f+2],f<FHEAP[a+85]?a=1:(FHEAP[a+1]=FHEAP[e+10],IHEAP[a+28]=IHEAP[e],f=a+20,d&1?_llvm_memcpy_p0i8_p0i8_i32(f, +e+2,4,4,0):(d=IHEAP[a+28],__ZmlRK11btMatrix3x3RK9btVector3(b,d+1,e+2),_llvm_memcpy_p0i8_p0i8_i32(f,b,4,4,0)),_llvm_memcpy_p0i8_p0i8_i32(a+24,e+6,4,4,0),a=FHEAP[e+10]));STACKTOP=b;return a} +function __ZN43btKinematicClosestNotMeConvexResultCallbackC2EP17btCollisionObjectRK9btVector3f(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f=c+4,g=c+5,h=c+6,i=c+7,j=c+11,k=c+12,l=c+13;FHEAP[f]=0;FHEAP[g]=0;FHEAP[h]=0;FHEAP[c]=FHEAP[f];FHEAP[c+1]=FHEAP[g];FHEAP[c+2]=FHEAP[h];FHEAP[c+3]=0;FHEAP[j]=0;FHEAP[k]=0;FHEAP[l]=0;FHEAP[i]=FHEAP[j];FHEAP[i+1]=FHEAP[k];FHEAP[i+2]=FHEAP[l];FHEAP[i+3]=0;IHEAP[a]=__ZTVN16btCollisionWorld20ConvexResultCallbackE+2;FHEAP[a+1]=1;IHEAP[a+2]=1;IHEAP[a+3]=-1;IHEAP[a]=__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+ +2;_llvm_memcpy_p0i8_p0i8_i32(a+12,c,4,4,0);_llvm_memcpy_p0i8_p0i8_i32(a+16,i,4,4,0);IHEAP[a+28]=0;IHEAP[a]=__ZTV43btKinematicClosestNotMeConvexResultCallback+2;IHEAP[a+80]=e;_llvm_memcpy_p0i8_p0i8_i32(a+81,d,4,4,0);FHEAP[a+85]=b;STACKTOP=c}function __ZN30btCharacterControllerInterfaceD1Ev(a){IHEAP[a]=__ZTV30btCharacterControllerInterface+2;IHEAP[a]=__ZTV17btActionInterface+2} +function __ZN30btCharacterControllerInterfaceD0Ev(a){IHEAP[a]=__ZTV30btCharacterControllerInterface+2;IHEAP[a]=__ZTV17btActionInterface+2;__ZdlPv(a)}function __ZN7btClockC2Ev(a){var e=__Znwj(8);IHEAP[a]=e;_gettimeofday(IHEAP[a],0)}function __ZN7btClock5resetEv(a){_gettimeofday(IHEAP[a],0)}function __ZN7btClockD2Ev(a){for(var e=IHEAP[a],a=e==0?0:1;;)if(a==0)break;else a==1&&(__ZdlPv(e),a=0)} +function __ZN7btClockC2ERKS_(a,e){var d=__Znwj(8);IHEAP[a]=d;_llvm_memcpy_p0i8_p0i8_i32(IHEAP[a],IHEAP[e],2,4,0)}function __ZN7btClock19getTimeMicrosecondsEv(a){var e=STACKTOP;STACKTOP+=2;_gettimeofday(e,0);a=(IHEAP[e]-IHEAP[IHEAP[a]])*1E6+IHEAP[e+1]+(0-IHEAP[IHEAP[a]+1]);STACKTOP=e;return a}function __ZN12CProfileNodeC2EPKcPS_(a,e,d){IHEAP[a]=e;IHEAP[a+1]=0;FHEAP[a+2]=0;IHEAP[a+3]=0;IHEAP[a+4]=0;IHEAP[a+5]=d;IHEAP[a+6]=0;IHEAP[a+7]=0;__ZN12CProfileNode5ResetEv(a)} +function __ZN12CProfileNode5ResetEv(a){var e;IHEAP[a+1]=0;FHEAP[a+2]=0;e=IHEAP[a+6]!=0?0:1;a:for(;;)if(e==0)__ZN12CProfileNode5ResetEv(IHEAP[a+6]),e=1;else if(e==1){e=IHEAP[a+7]!=0?2:3;break a}for(;;)if(e==2)__ZN12CProfileNode5ResetEv(IHEAP[a+7]),e=3;else if(e==3)break} +function __ZN12CProfileNodeD2Ev(a){var e,d,b=IHEAP[a+6];e=b==0?0:1;a:for(;;)if(e==0){var c=IHEAP[a+7];e=c==0?2:3;break a}else if(e==1){try{__THREW__=!1,__ZN12CProfileNodeD2Ev(b)}catch(f){if(ABORT)throw f;__THREW__=!0;print("Exception: "+f+" : "+f.stack+", currently at: "+Error().stack)}if(__THREW__){e=6;break a}__ZdlPv(b);e=0}a:for(;;)if(e==6){d=a=_llvm_eh_exception();_llvm_eh_selector(a,___gxx_personality_v0,0);__ZdlPv(b);e=4;break a}else if(e==2)return;else if(e==3){try{__THREW__=!1,__ZN12CProfileNodeD2Ev(c)}catch(g){if(ABORT)throw g; +__THREW__=!0;print("Exception: "+g+" : "+g.stack+", currently at: "+Error().stack)}if(__THREW__){e=8;break a}__ZdlPv(c);e=2}for(;;)if(e==8)d=b=_llvm_eh_exception(),_llvm_eh_selector(b,___gxx_personality_v0,0),__ZdlPv(c),e=4;else if(e==4)throw __Unwind_Resume_or_Rethrow(d),"Reached an unreachable! Original .ll line: 378405";} +function __ZN12CProfileNode12Get_Sub_NodeEPKc(a,e){var d,b=null,c,f,g=IHEAP[a+6];f=g;for(b=-1;;){if((b==4?i:g)==0){d=2;break}var h=f;if(IHEAP[f]==e){d=3;break}var i=IHEAP[h+7];f=i;b=4;d=0}d==2?(d=__Znwj(32),IHEAP[d]=e,IHEAP[d+1]=0,FHEAP[d+2]=0,IHEAP[d+3]=0,IHEAP[d+4]=0,IHEAP[d+5]=a,IHEAP[d+6]=0,IHEAP[d+7]=0,__ZN12CProfileNode5ResetEv(d),IHEAP[d+7]=IHEAP[a+6],c=IHEAP[a+6]=d):d==3&&(c=h);return c} +function __ZN12CProfileNode4CallEv(a){var e=STACKTOP;STACKTOP+=2;var d,b;IHEAP[a+1]+=1;d=a+4;b=IHEAP[d];IHEAP[d]=b+1;for(d=b==0?0:1;;)if(d==0)d=a+3,b=__ZL13gProfileClock,_gettimeofday(e,0),IHEAP[d]=(IHEAP[e]-IHEAP[IHEAP[b]])*1E6+IHEAP[e+1]+(0-IHEAP[IHEAP[b]+1]),d=1;else if(d==1){STACKTOP=e;break}} +function __ZN12CProfileNode6ReturnEv(a){var e=STACKTOP;STACKTOP+=3;var d,b,c=e+2;d=a+4;b=IHEAP[d]+-1;IHEAP[d]=b;for(d=b==0?0:1;;)if(d==0)IHEAP[a+1]!=0&&(d=c,b=__ZL13gProfileClock,_gettimeofday(e,0),IHEAP[d]=(IHEAP[e]-IHEAP[IHEAP[b]])*1E6+IHEAP[e+1]+(0-IHEAP[IHEAP[b]+1]),IHEAP[c]-=IHEAP[a+3],FHEAP[a+2]+=IHEAP[c]/1E3),d=1;else if(d==1)return a=IHEAP[a+4]==0,STACKTOP=e,a;return null}function __ZN16CProfileIteratorC2EP12CProfileNode(a,e){IHEAP[a]=e;IHEAP[a+1]=IHEAP[IHEAP[a]+6]} +function __ZN15CProfileManager13Start_ProfileEPKc(a){var e=STACKTOP;STACKTOP+=2;var d,b;d=a!=IHEAP[IHEAP[__ZN15CProfileManager11CurrentNodeE]]?0:1;a:for(;;)if(d==0)d=__ZN12CProfileNode12Get_Sub_NodeEPKc(IHEAP[__ZN15CProfileManager11CurrentNodeE],a),IHEAP[__ZN15CProfileManager11CurrentNodeE]=d,d=1;else if(d==1){b=IHEAP[__ZN15CProfileManager11CurrentNodeE];IHEAP[b+1]+=1;a=b+4;d=IHEAP[a];IHEAP[a]=d+1;d=d==0?2:3;break a}for(;;)if(d==2)a=b+3,d=__ZL13gProfileClock,_gettimeofday(e,0),IHEAP[a]=(IHEAP[e]- +IHEAP[IHEAP[d]])*1E6+IHEAP[e+1]+(0-IHEAP[IHEAP[d]+1]),d=3;else if(d==3){STACKTOP=e;break}}function __ZN15CProfileManager12Stop_ProfileEv(){var a;for(a=__ZN12CProfileNode6ReturnEv(IHEAP[__ZN15CProfileManager11CurrentNodeE])?0:1;;)if(a==0)a=IHEAP[__ZN15CProfileManager11CurrentNodeE],IHEAP[__ZN15CProfileManager11CurrentNodeE]=IHEAP[a+5],a=1;else if(a==1)break} +function __ZN15CProfileManager5ResetEv(){var a=STACKTOP;STACKTOP+=4;var e,d,b,c;b=a+2;_gettimeofday(IHEAP[__ZL13gProfileClock],0);__ZN12CProfileNode5ResetEv(__ZN15CProfileManager4RootE);d=__ZN15CProfileManager4RootE;IHEAP[d+1]+=1;e=d+4;c=IHEAP[e];IHEAP[e]=c+1;for(e=c==0?0:1;;)if(e==0)e=d+3,c=__ZL13gProfileClock,_gettimeofday(b,0),IHEAP[e]=(IHEAP[b]-IHEAP[IHEAP[c]])*1E6+IHEAP[b+1]+(0-IHEAP[IHEAP[c]+1]),e=1;else if(e==1){IHEAP[__ZN15CProfileManager12FrameCounterE]=0;b=__ZN15CProfileManager9ResetTimeE; +d=__ZL13gProfileClock;_gettimeofday(a,0);IHEAP[b]=(IHEAP[a]-IHEAP[IHEAP[d]])*1E6+IHEAP[a+1]+(0-IHEAP[IHEAP[d]+1]);STACKTOP=a;break}}function __ZN15CProfileManager23Increment_Frame_CounterEv(){IHEAP[__ZN15CProfileManager12FrameCounterE]+=1} +function __GLOBAL__I_a44(){var a;a=__ZL13gProfileClock;var e=__Znwj(8);IHEAP[a]=e;_gettimeofday(IHEAP[a],0);___cxa_atexit(10,__ZL13gProfileClock,___dso_handle);a=__ZN15CProfileManager4RootE;IHEAP[a]=__str31;IHEAP[a+1]=0;FHEAP[a+2]=0;IHEAP[a+3]=0;IHEAP[a+4]=0;IHEAP[a+5]=0;IHEAP[a+6]=0;IHEAP[a+7]=0;__ZN12CProfileNode5ResetEv(a);___cxa_atexit(12,__ZN15CProfileManager4RootE,___dso_handle)} +function __Z22btAlignedAllocInternalji(a,e){var d,b;IHEAP[_gNumAlignedAllocs]+=1;b=_malloc(a+3+e);b!=0?(d=b+4+(e-(b+4)&e-1),IHEAP[d+-1]=b):d=b;return d}function __Z21btAlignedFreeInternalPv(a){var e;for(e=a!=0?0:1;;)if(e==0)IHEAP[_gNumAlignedFree]+=1,e=a,e!=0&&(e=IHEAP[e+-1],_free(e)),e=1;else if(e==1)break} +function __ZN7ConvexHC2Eiii(a,e,d,b){var c=STACKTOP;STACKTOP+=12;var f=c+4,g=c+7;IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;var h=a+5;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;h=a+10;IHEAP[h+4]=1;IHEAP[h+3]=0;IHEAP[h+1]=0;IHEAP[h+2]=0;__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a,e,c);__ZN20btAlignedObjectArrayIN7ConvexH8HalfEdgeEE6resizeEiRKS1_(a+5,d,f);FHEAP[g+4]=0;__ZN20btAlignedObjectArrayI7btPlaneE6resizeEiRKS0_(a+10,b,g);STACKTOP=c} +function __ZN20btAlignedObjectArrayIN7ConvexH8HalfEdgeEE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIN7ConvexH8HalfEdgeEE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+3*f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(_llvm_memcpy_p0i8_p0i8_i32(i,d,3,2,0),b=6)}}while(0);IHEAP[a+ +1]=e}function __ZN20btAlignedObjectArrayI7btPlaneE6resizeEiRKS0_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayI7btPlaneE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+5*f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(_llvm_memcpy_p0i8_p0i8_i32(i,d,5,4,0),b=6)}}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayI7btPlaneE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*20,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+5*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+5*f,5,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIN7ConvexH8HalfEdgeEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+3*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+3*f,3,2,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d== +9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZNK20btConvexHullInternal6Int128mlEx(a,e,d){var b=STACKTOP;STACKTOP+=4;var c,f,g;f=b+2;g=IHEAP[e+1]<0;g&1?(c=(IHEAP[e]==0)+(IHEAP[e+1]^-1),e=0-IHEAP[e],IHEAP[b]=e,IHEAP[b+1]=c):_llvm_memcpy_p0i8_p0i8_i32(b,e,2,4,0);for(e=d<0?1:2;;)if(e==1)g=g&1^1,d=0-d,e=2;else if(e==2){c=d;e=IHEAP[b];__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(e,c,f,f+1);IHEAP[f+1]+=d*IHEAP[b+1];e=g&1?3:4;break}e==3?(d=(IHEAP[f]==0)+(IHEAP[f+1]^-1),f=0-IHEAP[f],IHEAP[a]=f,IHEAP[a+1]=d):e==4&&_llvm_memcpy_p0i8_p0i8_i32(a, +f,2,4,0);STACKTOP=b}function __ZN20btConvexHullInternal6Int1283mulEyy(a,e,d){__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(e,d,a,a+1)} +function __ZN20btConvexHullInternal6Int1283mulExx(a,e,d){var b=STACKTOP;STACKTOP+=2;var c,f;c=d;f=e<0;d=f&1?0:1;a:for(;;)if(d==0)e=0-e,d=1;else if(d==1){d=c<0?2:3;break a}for(;;)if(d==2)f=f&1^1,c=0-c,d=3;else if(d==3){__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(e,c,b,b+1);d=f&1?4:5;break}d==4?(d=(IHEAP[b]==0)+(IHEAP[b+1]^-1),e=0-IHEAP[b],IHEAP[a]=e,IHEAP[a+1]=d):d==5&&_llvm_memcpy_p0i8_p0i8_i32(a,b,2,4,0);STACKTOP=b} +function __ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(a,e,d,b){var c=STACKTOP;STACKTOP+=1;var f,g,h;f=(e&4294967295)*(a&4294967295);g=(e>>>32&4294967295)*(a&4294967295);h=(e&4294967295)*(a>>>32&4294967295);IHEAP[c]=(h&4294967295)+(g&4294967295);e=(IHEAP[c]>>>32&4294967295)+((h>>>32&4294967295)+((g>>>32&4294967295)+(e>>>32&4294967295)*(a>>>32&4294967295)));IHEAP[c]<<=32;f+=IHEAP[c];for(a=f<IHEAP[c]?0:1;;)if(a==0)e+=1,a=1;else if(a==1){IHEAP[d]=f;IHEAP[b]=e;STACKTOP=c;break}} +function __ZNK20btConvexHullInternal10Rational647compareERKS0_(a,e){var d=STACKTOP;STACKTOP+=4;var b,c;b=d+2;var f=IHEAP[a+2];if(IHEAP[a+2]!=IHEAP[e+2])b=f-IHEAP[e+2];else if(f==0)b=0;else{var f=IHEAP[a+2],g=IHEAP[e+1];c=IHEAP[a];__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(c,g,d,d+1);g=IHEAP[e];c=IHEAP[a+1];__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(c,g,b,b+1);b=IHEAP[d+1]<IHEAP[b+1]?-1:IHEAP[d+1]>IHEAP[b+1]?1:IHEAP[d]<IHEAP[b]?-1:IHEAP[d]>IHEAP[b]?1:0;b*=f}STACKTOP=d;return b} +function __ZNK20btConvexHullInternal11Rational1287compareERKS0_(a,e){var d=STACKTOP;STACKTOP+=16;var b=null,c,f,g;g=d+2;f=d+4;var h=d+6,i=d+8,j=d+10,k=d+12,l=d+14,m=IHEAP[a+4]!=IHEAP[e+4],n=IHEAP[a+4];a:do if(m)b=n-IHEAP[e+4];else if(n==0)b=0;else if(IHEAP[a+5]&1)b=0-__ZNK20btConvexHullInternal11Rational1287compareEx(e,IHEAP[a+4]*IHEAP[a]);else{_llvm_memcpy_p0i8_p0i8_i32(i,a,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(j,e+2,2,4,0);__ZN20btConvexHullInternal4DMulINS_6Int128EyE3mulES1_S1_RS1_S3_(i,j,d,g);_llvm_memcpy_p0i8_p0i8_i32(k, +a+2,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(l,e,2,4,0);__ZN20btConvexHullInternal4DMulINS_6Int128EyE3mulES1_S1_RS1_S3_(k,l,f,h);c=g;b=h;if(IHEAP[c+1]<IHEAP[b+1])b=1;else if(IHEAP[c+1]>IHEAP[b+1])b=3;else if(IHEAP[c]<IHEAP[b])b=4;else if(IHEAP[c]>IHEAP[b])b=5;else{g=d;f=IHEAP[g+1]<IHEAP[f+1]?-1:IHEAP[g+1]>IHEAP[f+1]?1:IHEAP[g]<IHEAP[f]?-1:IHEAP[g]>IHEAP[f]?1:0;b=IHEAP[a+4]*f;break a}b=b==1?-1:b==3?1:b==4?-1:1;b*=IHEAP[a+4]}while(0);STACKTOP=d;return b} +function __ZNK20btConvexHullInternal11Rational1287compareEx(a,e){var d=STACKTOP;STACKTOP+=2;var b,c=null,f,g,h;g=e;var i=IHEAP[a+5]&1;a:do if(i){h=IHEAP[a+4]*IHEAP[a];h>g?(c=0,b=1):(c=0,b=2);for(;;)if(b==1){f=c==2?j:1;break a}else if(b==2){var j=h<g?-1:0,c=2;b=1}}else{b=g>0;b:do if(b){if(!(IHEAP[a+4]<=0))break b;f=-1;break a}else if(c=IHEAP[a+4],g<0)if(c>=0){f=1;break a}else g=0-g;else{f=c;break a}while(0);b=a;__ZNK20btConvexHullInternal6Int128mlEx(d,a+2,g);c=b;b=d;b=IHEAP[c+1]<IHEAP[b+1]?-1:IHEAP[c+ +1]>IHEAP[b+1]?1:IHEAP[c]<IHEAP[b]?-1:IHEAP[c]>IHEAP[b]?1:0;f=IHEAP[a+4]*b}while(0);STACKTOP=d;return f} +function __ZN20btConvexHullInternal4DMulINS_6Int128EyE3mulES1_S1_RS1_S3_(a,e,d,b){var c=STACKTOP;STACKTOP+=72;var f,g=c+2,h=c+4,i=c+6,j=c+8,k=c+10,l=c+12,m=c+14,n=c+16,o;f=c+18;var q,p=c+20,r,s,u=c+22,v,y,x,z,B,C,A,w=c+24,D=c+26,E=c+30;q=c+32;var F=c+34,G=c+36,J=c+38,H=c+40,M=c+42,K=c+44,N=c+46,R=c+48,O=c+50;o=c+52;var Q=c+54,I=c+56,L=c+58,P=c+60,S=c+62,T=c+64,U=c+66,W=c+68,Z=c+70;_llvm_memcpy_p0i8_p0i8_i32(c+28,a,2,4,0);_llvm_memmove_p0i8_p0i8_i64(w,a,2,1,0);w=IHEAP[w];_llvm_memcpy_p0i8_p0i8_i32(E, +e,2,4,0);_llvm_memmove_p0i8_p0i8_i64(l,e,2,1,0);__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(w,IHEAP[l],D,D+1);_llvm_memcpy_p0i8_p0i8_i32(F,a,2,4,0);_llvm_memmove_p0i8_p0i8_i64(i,a,2,1,0);i=IHEAP[i];_llvm_memcpy_p0i8_p0i8_i32(G,e,2,4,0);_llvm_memmove_p0i8_p0i8_i64(c,e,2,1,0);__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(i,IHEAP[c+1],q,q+1);_llvm_memcpy_p0i8_p0i8_i32(H,a,2,4,0);_llvm_memmove_p0i8_p0i8_i64(g,a,2,1,0);g=IHEAP[g+1];_llvm_memcpy_p0i8_p0i8_i32(M,e,2,4,0);_llvm_memmove_p0i8_p0i8_i64(h, +e,2,1,0);__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(g,IHEAP[h],J,J+1);_llvm_memcpy_p0i8_p0i8_i32(N,a,2,4,0);_llvm_memmove_p0i8_p0i8_i64(j,a,2,1,0);a=IHEAP[j+1];_llvm_memcpy_p0i8_p0i8_i32(R,e,2,4,0);_llvm_memmove_p0i8_p0i8_i64(k,e,2,1,0);__ZN20btConvexHullInternal4DMulIyjE3mulEyyRyS2_(a,IHEAP[k+1],K,K+1);_llvm_memcpy_p0i8_p0i8_i32(Q,q,2,4,0);_llvm_memmove_p0i8_p0i8_i64(m,q,2,1,0);IHEAP[o]=IHEAP[m];IHEAP[o+1]=0;_llvm_memcpy_p0i8_p0i8_i32(L,J,2,4,0);_llvm_memmove_p0i8_p0i8_i64(n,J,2,1,0);IHEAP[I]= +IHEAP[n];IHEAP[I+1]=0;e=IHEAP[I]+IHEAP[o];o=IHEAP[I+1]+IHEAP[o+1]+(e<IHEAP[o]);IHEAP[O]=e;IHEAP[O+1]=o;_llvm_memcpy_p0i8_p0i8_i32(S,q,2,4,0);_llvm_memmove_p0i8_p0i8_i64(f,q,2,1,0);IHEAP[P]=IHEAP[f+1];IHEAP[P+1]=0;q=IHEAP[P]+IHEAP[K];f=q<IHEAP[K]?0:1;a:for(;;)if(f==0)IHEAP[K+1]+=1,f=1;else if(f==1){IHEAP[K]=q;IHEAP[K+1]+=IHEAP[P+1];r=J;_llvm_memcpy_p0i8_p0i8_i32(U,r,2,4,0);_llvm_memmove_p0i8_p0i8_i64(p,r,2,1,0);r=IHEAP[p+1];p=T;IHEAP[p]=r;IHEAP[p+1]=0;p=K;r=T;var ca=p;s=IHEAP[r]+IHEAP[ca];f=s<IHEAP[ca]? +2:3;break a}a:for(;;)if(f==2)IHEAP[ca+1]+=1,f=3;else if(f==3){IHEAP[ca]=s;IHEAP[ca+1]+=IHEAP[r+1];v=O;_llvm_memcpy_p0i8_p0i8_i32(Z,v,2,4,0);_llvm_memmove_p0i8_p0i8_i64(u,v,2,1,0);v=IHEAP[u+1];u=W;IHEAP[u]=v;IHEAP[u+1]=0;u=K;v=W;var Y=u;y=IHEAP[v]+IHEAP[Y];f=y<IHEAP[Y]?4:5;break a}a:for(;;)if(f==4)IHEAP[Y+1]+=1,f=5;else if(f==5){IHEAP[Y]=y;IHEAP[Y+1]+=IHEAP[v+1];x=O;IHEAP[x+1]=IHEAP[x];IHEAP[x]=0;z=D;x=O;var ea=z;z=IHEAP[x]+IHEAP[ea];f=z<IHEAP[ea]?6:7;break a}a:for(;;)if(f==6)IHEAP[ea+1]+=1,f=7;else if(f== +7){IHEAP[ea]=z;IHEAP[ea+1]+=IHEAP[x+1];B=D;C=O;f=IHEAP[B+1]<IHEAP[C+1]?8:9;break a}a:for(;;)if(f==8){C=A=K;O=IHEAP[C]+1;IHEAP[C]=O;f=O==0?12:11;break a}else if(f==9){if(IHEAP[B+1]!=IHEAP[C+1]){f=11;break a}if(IHEAP[B]<IHEAP[C])f=8;else{f=11;break a}}for(;;)if(f==11){_llvm_memcpy_p0i8_p0i8_i32(d,D,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(b,K,2,4,0);STACKTOP=c;break}else f==12&&(IHEAP[A+1]+=1,f=11)} +function __ZN20btConvexHullInternal11newEdgePairEPNS_6VertexES1_(a,e,d){var b,c;b=__ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(a+12);c=__ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(a+12);IHEAP[b+2]=c;IHEAP[c+2]=b;IHEAP[b+5]=IHEAP[a+25];IHEAP[c+5]=IHEAP[a+25];IHEAP[b+3]=d;IHEAP[c+3]=e;IHEAP[b+4]=0;IHEAP[c+4]=0;IHEAP[a+29]+=1;for(e=IHEAP[a+29]>IHEAP[a+30]?0:1;;)if(e==0)IHEAP[a+30]=IHEAP[a+29],e=1;else if(e==1)return b;return null} +function __ZN20btConvexHullInternal4PoolINS_4EdgeEE9newObjectEv(a){var e,d=null,b,c,f,g;g=IHEAP[a+2];e=g!=0?0:1;a:for(;;)if(e==0){IHEAP[a+2]=IHEAP[g];var h=g;h==0?(d=0,e=12):(d=0,e=13);break a}else if(e==1){b=IHEAP[a+1];c=b!=0;b:do if(c)IHEAP[a+1]=IHEAP[b+2];else{f=__Z22btAlignedAllocInternalji(12,16);f==0?(d=3,e=4):(d=3,e=5);for(;;)if(e==4){b=d==3?0:i;IHEAP[b+2]=IHEAP[a];IHEAP[a]=b;break b}else if(e==5){var i=f;e=IHEAP[a+3];d=i;IHEAP[d+1]=e;IHEAP[d+2]=0;e=__Z22btAlignedAllocInternalji(e*24,16);IHEAP[d]= +e;d=5;e=4}}while(0);f=b;b=IHEAP[f];c=0;var j=f+1;e=c<IHEAP[j]?7:8;b:for(;;)if(e==7){var k=f+1;c:for(;;){c+1<IHEAP[k]?(d=9,e=10):(d=9,e=11);for(;;)if(e==10){var l=b+6,d=10;e=11}else if(e==11)if(IHEAP[b]=d==10?l:0,c+=1,b+=6,c<IHEAP[j]){e=9;continue c}else{e=8;continue b}}}else if(e==8){g=IHEAP[f];e=0;continue a}}for(;;)if(e==12)return d==13?m:0;else if(e==13){var m=h;_llvm_memset_p0i8_i32(m,0,6,4,0);d=13;e=12}return null} +function __ZN20btConvexHullInternal15mergeProjectionERNS_16IntermediateHullES1_RPNS_6VertexES4_(a,e,d,b,c){var f,g=null,h,i,j,k,l,m,n,o,q,p,r,s,a=IHEAP[e+3];i=IHEAP[d+2];f=IHEAP[a+13]==IHEAP[i+13]?0:1;a:for(;;)if(f==0){if(IHEAP[a+13+1]!=IHEAP[i+13+1]){f=1;continue a}j=IHEAP[i+1];if(j==i){f=3;break a}k=IHEAP[i];IHEAP[j]=k;IHEAP[k+1]=j;f=i==IHEAP[d]?8:9;b:for(;;)if(f==8){for(f=IHEAP[k+13]<IHEAP[j+13]?10:11;;)if(f==10){IHEAP[d]=k;f=9;continue b}else if(f==11){if(IHEAP[k+13]!=IHEAP[j+13])break;if(IHEAP[k+ +13+1]<IHEAP[j+13+1])f=10;else break}IHEAP[d]=j;f=9}else if(f==9)if(i==IHEAP[d+1])break b;else{f=1;continue a}for(f=IHEAP[k+13]>IHEAP[j+13]?15:16;;)if(f==15){IHEAP[d+1]=k;f=1;continue a}else if(f==16){if(IHEAP[k+13]!=IHEAP[j+13])break;if(IHEAP[k+13+1]>IHEAP[j+13+1])f=15;else break}IHEAP[d+1]=j;f=1}else if(f==1){a=IHEAP[e+1];i=IHEAP[d+1];m=l=0;n=1;o=0;var u=i,g=1;f=19;break a}a:for(;;)if(f==3){IHEAP[b]=a;f=IHEAP[i+2]!=0?5:6;break a}else if(f==19){j=f=(IHEAP[(g==1?u:M)+13]-IHEAP[a+13])*n;f=f>0?20:21; +b:for(;;)if(f==20){k=IHEAP[i+13+1]-IHEAP[a+13+1];g=a;if(o!=0)var v=IHEAP[g],g=22;else var y=IHEAP[g+1],g=24;q=g==22?v:y;f=q!=a?25:26;c:for(;;)if(f==25){f=(IHEAP[q+13]-IHEAP[a+13])*n;p=IHEAP[q+13+1]-IHEAP[a+13+1];if(!(p<=0)){f=26;continue c}if(f==0){f=28;break c}if(!(f<0)){f=26;continue c}if(j*p<=f*k){f=28;break c}else f=26}else if(f==26){var x=i;f=o!=0?31:32;break c}if(f==28){a=q;j=(IHEAP[i+13]-IHEAP[a+13])*n;f=20;continue b}else if(f==31)var z=IHEAP[x],g=31;else if(f==32)var B=IHEAP[x+1],g=32;q= +g==31?z:B;if(q==i){f=35;break b}p=(IHEAP[q+13]-IHEAP[i+13])*n;r=IHEAP[q+13+1]-IHEAP[i+13+1];s=(IHEAP[q+13]-IHEAP[a+13])*n;if(!(s>0)){f=35;break b}if(!(r<0)){f=35;break b}for(f=p==0?38:39;;)if(f==38){i=q;j=s;f=20;continue b}else if(f==39){if(!(p<0)){f=35;break b}if(j*r<p*k)f=38;else{f=35;break b}}}else if(f==21){f=j<0?41:42;break b}b:for(;;)if(f==35){f=o==0?77:78;break b}else if(f==41){k=IHEAP[i+13+1]-IHEAP[a+13+1];g=i;if(o!=0)var C=IHEAP[g+1],g=43;else var A=IHEAP[g],g=45;q=g==43?C:A;f=q!=i?46:47; +c:for(;;)if(f==46){f=(IHEAP[q+13]-IHEAP[i+13])*n;p=IHEAP[q+13+1]-IHEAP[i+13+1];if(!(p>=0)){f=47;continue c}if(f==0){f=49;break c}if(!(f<0)){f=47;continue c}if(j*p<=f*k){f=49;break c}else f=47}else if(f==47){var w=a;f=o!=0?52:53;break c}if(f==49){i=q;j=(IHEAP[i+13]-IHEAP[a+13])*n;f=41;continue b}else if(f==52)var D=IHEAP[w+1],g=52;else if(f==53)var E=IHEAP[w],g=53;q=g==52?D:E;if(q==a){f=35;continue b}p=(IHEAP[q+13]-IHEAP[a+13])*n;r=IHEAP[q+13+1]-IHEAP[a+13+1];s=(IHEAP[i+13]-IHEAP[q+13])*n;if(!(s<0)){f= +35;continue b}if(!(r>0)){f=35;continue b}for(f=p==0?58:59;;)if(f==58){a=q;j=s;f=41;continue b}else if(f==59){if(!(p<0)){f=35;continue b}if(j*r<p*k)f=58;else{f=35;continue b}}}else if(f==42){f=IHEAP[a+13];q=IHEAP[a+13+1];p=a;c:for(;;){g=p;if(o!=0)var F=IHEAP[g],g=62;else var G=IHEAP[g+1],g=64;k=r=g==62?F:G;if(r==a)break c;if(IHEAP[k+13]!=f)break c;if(!(IHEAP[k+13+1]<=q))break c;p=k;q=IHEAP[k+13+1]}a=p;q=IHEAP[i+13+1];for(p=i;;){g=p;if(o!=0)var J=IHEAP[g+1],g=70;else var H=IHEAP[g],g=72;k=r=g==70?J: +H;if(r==i)break;if(IHEAP[k+13]!=f)break;if(!(IHEAP[k+13+1]>=q))break;p=k;q=IHEAP[k+13+1]}i=p;f=35}for(;;)if(f==77)l=a,m=i,a=IHEAP[e],i=IHEAP[d],n=-1,f=78;else if(f==78){o=j=o+1;var M=i;if(j<=1){g=78;f=19;continue a}else{f=79;break a}}}a:for(;;)if(f==5)i=IHEAP[IHEAP[i+2]+3],f=6;else if(f==6){IHEAP[c]=i;h=0;f=7;break a}else if(f==79){IHEAP[a+1]=M;IHEAP[i]=a;IHEAP[l]=m;IHEAP[m+1]=l;f=IHEAP[IHEAP[d]+13]<IHEAP[IHEAP[e]+13]?80:81;break a}a:for(;;)if(f==7)return h;else if(f==80)IHEAP[e]=IHEAP[d],f=81;else if(f== +81)for(f=IHEAP[IHEAP[d+1]+13]>=IHEAP[IHEAP[e+1]+13]?82:83;;)if(f==82)IHEAP[e+1]=IHEAP[d+1],f=83;else if(f==83){IHEAP[e+3]=IHEAP[d+3];IHEAP[b]=l;IHEAP[c]=m;h=1;f=7;continue a}return null} +function __ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f,g,h,i,j,k,l,m,n=c+4;g=d-e;f=g==0?26:g==2?27:g==1?4:28;a:for(;;)if(f==28){m=(g/2|0)+e;i=m-1;h=a+20;_llvm_memcpy_p0i8_p0i8_i32(c,IHEAP[IHEAP[h+3]+i]+13,4,4,0);h=m;i=a+20;f=20;break a}else if(f==26){IHEAP[b]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;f=IHEAP[b+3]=0;break a}else if(f==27){l=e;k=a+20;k=IHEAP[IHEAP[k+3]+l];l=k+18;j=l+13;f=k+13;if(IHEAP[f]!=IHEAP[j]){f=1;break a}if(IHEAP[f+1]!=IHEAP[j+ +1]){f=1;break a}if(IHEAP[f+2]!=IHEAP[j+2]){f=1;break a}else f=4}else if(f==4){f=e;g=a+20;g=IHEAP[IHEAP[g+3]+f];IHEAP[g+2]=0;IHEAP[g]=g;IHEAP[g+1]=g;IHEAP[b]=g;IHEAP[b+1]=g;IHEAP[b+2]=g;IHEAP[b+3]=g;f=0;break a}a:for(;;)if(f==0){STACKTOP=c;break}else if(f==1){g=IHEAP[k+13]-IHEAP[l+13];j=IHEAP[k+13+1]-IHEAP[l+13+1];f=g==0?5:6;b:for(;;)if(f==5)if(j==0){f=7;break b}else f=6;else if(f==6){IHEAP[k]=l;IHEAP[k+1]=l;IHEAP[l]=k;IHEAP[l+1]=k;f=g<0?11:12;break b}b:for(;;)if(f==7){f=IHEAP[k+13+2]>IHEAP[l+13+2]? +8:9;break b}else if(f==11){IHEAP[b]=k;IHEAP[b+1]=l;f=15;break b}else if(f==12){if(g!=0){f=14;break b}if(j<0)f=11;else{f=14;break b}}b:for(;;)if(f==8)f=l,l=k,k=f,f=9;else if(f==9){IHEAP[k]=k;IHEAP[k+1]=k;IHEAP[b]=k;IHEAP[b+1]=k;IHEAP[b+2]=k;IHEAP[b+3]=k;f=10;break b}else if(f==15){f=j<0?16:17;break b}else f==14&&(IHEAP[b]=l,IHEAP[b+1]=k,f=15);b:for(;;)if(f==10){f=j=g=__ZN20btConvexHullInternal11newEdgePairEPNS_6VertexES1_(a,k,l);IHEAP[f]=j;IHEAP[j+1]=f;IHEAP[k+2]=g;f=j=g=IHEAP[g+2];IHEAP[f]=j;IHEAP[j+ +1]=f;IHEAP[l+2]=g;f=0;continue a}else if(f==16)IHEAP[b+2]=k,IHEAP[b+3]=l,f=10;else if(f==17)for(f=j==0?18:19;;)if(f==18)if(g<0){f=16;continue b}else f=19;else if(f==19){IHEAP[b+2]=l;IHEAP[b+3]=k;f=10;continue b}}else if(f==20){for(f=h<d?21:22;;)if(f==21)if(f=h,g=i,f=IHEAP[IHEAP[g+3]+f]+13,g=c,IHEAP[f]!=IHEAP[g])f=22;else if(IHEAP[f+1]!=IHEAP[g+1])f=22;else if(IHEAP[f+2]==IHEAP[g+2])break;else f=22;else if(f==22){__ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(a,e,m,b);g=n;IHEAP[g]= +0;IHEAP[g+1]=0;IHEAP[g+2]=0;IHEAP[g+3]=0;__ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(a,h,d,n);__ZN20btConvexHullInternal5mergeERNS_16IntermediateHullES1_(a,b,n);f=0;continue a}h+=1;f=20}} +function __ZN20btConvexHullInternal5mergeERNS_16IntermediateHullES1_(a,e,d){var b=STACKTOP;STACKTOP+=68;var c,f=null,g,h,i,j,k,l,m,n,o,q,p,r,s,u,v,y=b+1,x=b+2,z=b+6,B=b+10,C=b+13,A=b+17,w=b+20,D=b+21,E=b+25,F=b+29,G=b+33,J=b+34,H=b+38,M=b+42,K,N=b+46,R=b+50,O=b+54,Q=b+57,I=b+60,L=b+63,P,S,T=b+66,U=b+67;c=IHEAP[d+1]!=0?0:1;a:for(;;)if(c==0)if(IHEAP[e+1]!=0){IHEAP[a+25]+=-1;s=p=r=v=IHEAP[b]=0;q=o=m=l=IHEAP[y]=0;K=__ZN20btConvexHullInternal15mergeProjectionERNS_16IntermediateHullES1_RPNS_6VertexES4_(a, +e,d,b,y);u=IHEAP[y];b:do if(K){i=IHEAP[b];n=u;h=i+13;i=n+13;n=h;g=i;h=IHEAP[g]-IHEAP[n];i=IHEAP[g+1]-IHEAP[n+1];c=IHEAP[g+2]-IHEAP[n+2];n=z;g=i;i=h;h=g;g=c;IHEAP[n]=i;IHEAP[n+1]=h;IHEAP[n+2]=g;IHEAP[n+3]=-1;n=C;IHEAP[n]=0;IHEAP[n+1]=0;IHEAP[n+2]=-1;IHEAP[n+3]=-1;i=C;n=z;g=i;h=IHEAP[n+2]*IHEAP[g+1]-IHEAP[n+1]*IHEAP[g+2];i=IHEAP[n]*IHEAP[g+2]-IHEAP[n+2]*IHEAP[g];c=IHEAP[n+1]*IHEAP[g]-IHEAP[n]*IHEAP[g+1];n=B;g=i;i=h;h=g;g=c;IHEAP[n]=i;IHEAP[n+1]=h;IHEAP[n+2]=g;i=z;n=B;g=i;h=IHEAP[n+2]*IHEAP[g+1]-IHEAP[n+ +1]*IHEAP[g+2];i=IHEAP[n]*IHEAP[g+2]-IHEAP[n+2]*IHEAP[g];c=IHEAP[n+1]*IHEAP[g]-IHEAP[n]*IHEAP[g+1];n=A;g=i;i=h;h=g;g=c;IHEAP[n]=i;IHEAP[n+1]=h;IHEAP[n+2]=g;n=IHEAP[IHEAP[b]+2];IHEAP[w]=0;c=n!=0?2:3;c:for(;;)if(c==2){h=IHEAP[b];i=IHEAP[n+3];g=h+13;h=i+13;i=g;c=h;g=IHEAP[c]-IHEAP[i];h=IHEAP[c+1]-IHEAP[i+1];j=IHEAP[c+2]-IHEAP[i+2];i=D;c=h;h=g;g=c;c=j;IHEAP[i]=h;IHEAP[i+1]=g;IHEAP[i+2]=c;IHEAP[i+3]=-1;h=D;i=B;c=IHEAP[i+1]*IHEAP[h+1]+IHEAP[i]*IHEAP[h]+IHEAP[i+2]*IHEAP[h+2]==0?4:5;d:for(;;)if(c==4){h=IHEAP[b]; +i=IHEAP[n+3];g=h+13;h=i+13;i=g;c=h;g=IHEAP[c]-IHEAP[i];h=IHEAP[c+1]-IHEAP[i+1];j=IHEAP[c+2]-IHEAP[i+2];i=E;c=h;h=g;g=c;c=j;IHEAP[i]=h;IHEAP[i+1]=g;IHEAP[i+2]=c;IHEAP[i+3]=-1;h=E;i=A;if(!(IHEAP[i+1]*IHEAP[h+1]+IHEAP[i]*IHEAP[h]+IHEAP[i+2]*IHEAP[h+2]>0)){c=5;continue d}for(c=IHEAP[w]!=0?7:8;;)if(c==7)if(i=IHEAP[w],h=n,g=F,IHEAP[g]=0,IHEAP[g+1]=0,IHEAP[g+2]=-1,IHEAP[g+3]=-1,__ZN20btConvexHullInternal14getOrientationEPKNS_4EdgeES2_RKNS_7Point32ES5_(i,h,z,F)==1)c=8;else{c=5;continue d}else if(c==8){IHEAP[w]= +n;c=5;continue d}}else if(c==5){n=IHEAP[n];c=n!=IHEAP[IHEAP[b]+2]?2:3;continue c}}else if(c==3){n=i=IHEAP[IHEAP[y]+2];IHEAP[G]=0;c=i!=0?9:10;break c}c:for(;;)if(c==9){h=IHEAP[y];i=IHEAP[n+3];g=h+13;h=i+13;i=g;c=h;g=IHEAP[c]-IHEAP[i];h=IHEAP[c+1]-IHEAP[i+1];j=IHEAP[c+2]-IHEAP[i+2];i=J;c=h;h=g;g=c;c=j;IHEAP[i]=h;IHEAP[i+1]=g;IHEAP[i+2]=c;IHEAP[i+3]=-1;h=J;i=B;c=IHEAP[i+1]*IHEAP[h+1]+IHEAP[i]*IHEAP[h]+IHEAP[i+2]*IHEAP[h+2]==0?11:12;d:for(;;)if(c==11){h=IHEAP[y];i=IHEAP[n+3];g=h+13;h=i+13;i=g;c=h;g=IHEAP[c]- +IHEAP[i];h=IHEAP[c+1]-IHEAP[i+1];j=IHEAP[c+2]-IHEAP[i+2];i=H;c=h;h=g;g=c;c=j;IHEAP[i]=h;IHEAP[i+1]=g;IHEAP[i+2]=c;IHEAP[i+3]=-1;h=H;i=A;if(!(IHEAP[i+1]*IHEAP[h+1]+IHEAP[i]*IHEAP[h]+IHEAP[i+2]*IHEAP[h+2]>0)){c=12;continue d}for(c=IHEAP[G]!=0?14:15;;)if(c==14)if(i=IHEAP[G],h=n,g=M,IHEAP[g]=0,IHEAP[g+1]=0,IHEAP[g+2]=-1,IHEAP[g+3]=-1,__ZN20btConvexHullInternal14getOrientationEPKNS_4EdgeES2_RKNS_7Point32ES5_(i,h,z,M)==2)c=15;else{c=12;continue d}else if(c==15){IHEAP[G]=n;c=12;continue d}}else if(c==12){n= +IHEAP[n];c=n!=IHEAP[IHEAP[y]+2]?9:10;continue c}}else if(c==10){c=IHEAP[w]!=0?16:17;break c}c:for(;;)if(c==16){__ZN20btConvexHullInternal24findEdgeForCoplanarFacesEPNS_6VertexES1_RPNS_4EdgeES4_S1_S1_(a,IHEAP[b],IHEAP[y],w,G,0,0);c=IHEAP[w]!=0?19:20;break c}else if(c==17)if(IHEAP[G]!=0)c=16;else{c=18;break c}for(;;)if(c==19)IHEAP[b]=IHEAP[IHEAP[w]+3],c=20;else if(c==20)IHEAP[G]!=0&&(IHEAP[y]=IHEAP[IHEAP[G]+3]),c=18;else if(c==18){_llvm_memcpy_p0i8_p0i8_i32(x,IHEAP[y]+13,4,4,0);IHEAP[x+2]+=1;c=22;break b}}else _llvm_memcpy_p0i8_p0i8_i32(x, +u+13,4,4,0),IHEAP[x]+=1;while(0);K=IHEAP[b];u=IHEAP[y];n=1;h=i=x;b:for(;;){c=IHEAP[b];g=IHEAP[y];j=c+13;c=g+13;g=j;f=c;j=IHEAP[f]-IHEAP[g];c=IHEAP[f+1]-IHEAP[g+1];k=IHEAP[f+2]-IHEAP[g+2];g=N;f=c;c=j;j=f;f=k;IHEAP[g]=c;IHEAP[g+1]=j;IHEAP[g+2]=f;IHEAP[g+3]=-1;g=IHEAP[b]+13;f=c=x;j=IHEAP[f]-IHEAP[g];c=IHEAP[f+1]-IHEAP[g+1];k=IHEAP[f+2]-IHEAP[g+2];g=R;f=c;c=j;j=f;f=k;IHEAP[g]=c;IHEAP[g+1]=j;IHEAP[g+2]=f;IHEAP[g+3]=-1;c=R;g=N;f=c;j=IHEAP[g+2]*IHEAP[f+1]-IHEAP[g+1]*IHEAP[f+2];c=IHEAP[g]*IHEAP[f+2]-IHEAP[g+ +2]*IHEAP[f];k=IHEAP[g+1]*IHEAP[f]-IHEAP[g]*IHEAP[f+1];g=O;f=c;c=j;j=f;f=k;IHEAP[g]=c;IHEAP[g+1]=j;IHEAP[g+2]=f;c=N;g=O;f=c;j=IHEAP[g+2]*IHEAP[f+1]-IHEAP[g+1]*IHEAP[f+2];c=IHEAP[g]*IHEAP[f+2]-IHEAP[g+2]*IHEAP[f];k=IHEAP[g+1]*IHEAP[f]-IHEAP[g]*IHEAP[f+1];g=Q;f=c;c=j;j=f;f=k;IHEAP[g]=c;IHEAP[g+1]=j;IHEAP[g+2]=f;__ZN20btConvexHullInternal10Rational64C1Exx(I,0,0);g=__ZN20btConvexHullInternal12findMaxAngleEbPKNS_6VertexERKNS_7Point32ERKNS_7Point64ES8_RNS_10Rational64E(a,0,IHEAP[b],N,O,Q,I);__ZN20btConvexHullInternal10Rational64C1Exx(L, +0,0);j=k=__ZN20btConvexHullInternal12findMaxAngleEbPKNS_6VertexERKNS_7Point32ERKNS_7Point64ES8_RNS_10Rational64E(a,1,IHEAP[y],N,O,Q,L);g!=0?(f=24,c=25):(f=24,c=26);c:for(;;)if(c==25){(f==29?W:k)!=0?(f=25,c=31):(f=25,c=30);break c}else if(c==26){if(j==0){c=28;break b}if(g==0){f=27;c=30;break c}var W=j,f=29;c=25}c:for(;;)if(c==31){var Z=__ZNK20btConvexHullInternal10Rational647compareERKS0_(I,L),f=31;c=30}else if(c==30){P=f==27?1:f==31?Z:-1;c=n&1?32:33;break c}c:for(;;)if(c==32){var ca=S=__ZN20btConvexHullInternal11newEdgePairEPNS_6VertexES1_(a, +IHEAP[b],IHEAP[y]);c=s!=0?37:38;break c}else if(c==33){c=P>=0?L:I;if(!(IHEAP[c+2]<0)){c=32;continue c}if(IHEAP[c+1]==0){c=35;break c}else c=32}c:for(;;){if(c==37)IHEAP[s+1]=ca;else if(c==38)p=ca;else if(c==35){IHEAP[T]=g;IHEAP[U]=j;var Y=P;Y==0?(f=35,c=41):(f=35,c=42);break c}IHEAP[S]=s;s=S;c=S=IHEAP[S+2];q!=0?IHEAP[q]=c:o=c;IHEAP[S+1]=q;q=S;c=35}c:for(;;)if(c==41){__ZN20btConvexHullInternal24findEdgeForCoplanarFacesEPNS_6VertexES1_RPNS_4EdgeES4_S1_S1_(a,IHEAP[b],IHEAP[y],T,U,0,0);var ea=P,f=41;c= +42}else if(c==42){c=(f==41?ea:Y)>=0?43:44;break c}c:for(;;)if(c==43){if(IHEAP[U]==0){c=44;continue c}l!=0?(f=45,c=46):(f=45,c=47);d:for(;;)if(c==46){k=IHEAP[l];for(c=k!=j?48:49;;)if(c==48)c=IHEAP[k],__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,k),k=c,c=k!=j?48:49;else if(c==49){var ha=l,f=49;c=47;continue d}}else if(c==47){var ba=(f==49?ha:0)!=0;c=q!=0?50:51;break d}d:do if(c==50)ba?(f=o,o=l,IHEAP[o]=f,IHEAP[f+1]=o):(f=o,m=IHEAP[j+1],IHEAP[m]=f,IHEAP[f+1]=m,m=o),o=j,IHEAP[q]=o,IHEAP[o+ +1]=q,q=o=0;else if(c==51){if(ba)break d;m=j}while(0);_llvm_memcpy_p0i8_p0i8_i32(i,IHEAP[y]+13,4,4,0);IHEAP[y]=IHEAP[IHEAP[U]+3];l=IHEAP[IHEAP[U]+2];c=44}else if(c==44){c=P<=0?56:57;break c}c:for(;;)if(c==56){if(IHEAP[T]==0){c=57;continue c}v!=0?(f=58,c=59):(f=58,c=60);d:for(;;)if(c==59){j=IHEAP[v+1];for(c=j!=g?61:62;;)if(c==61)c=IHEAP[j+1],__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,j),j=c,c=j!=g?61:62;else if(c==62){var V=v,f=62;c=60;continue d}}else if(c==60){var aa=(f==62?V:0)!=0;c= +s!=0?63:64;break d}d:do if(c==63)j=p,aa?(f=v,p=j,j=f,IHEAP[p]=j,IHEAP[j+1]=p):(f=IHEAP[g],r=j,j=f,IHEAP[r]=j,IHEAP[j+1]=r,r=p),p=s,s=g,IHEAP[s]=p,IHEAP[p+1]=s,s=p=0;else if(c==64){if(aa)break d;r=g}while(0);_llvm_memcpy_p0i8_p0i8_i32(h,IHEAP[b]+13,4,4,0);IHEAP[b]=IHEAP[IHEAP[T]+3];v=IHEAP[IHEAP[T]+2];c=57}else if(c==57){c=IHEAP[b]==K?69:70;break c}for(;;)if(c==69)if(IHEAP[y]==u){c=71;break b}else c=70;else if(c==70){n=0;c=24;continue b}}if(c==71){K=v==0;b:do if(K)n=s,u=p,IHEAP[u]=n,IHEAP[n+1]=u,IHEAP[IHEAP[b]+ +2]=s;else{u=IHEAP[v+1];for(c=u!=r?73:74;;)if(c==73)n=IHEAP[u+1],__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,u),u=n,c=u!=r?73:74;else if(c==74)if(s!=0)break;else break b;n=v;u=p;IHEAP[u]=n;IHEAP[n+1]=u;n=s;u=r;IHEAP[u]=n;IHEAP[n+1]=u}while(0);if(l==0)m=o,l=q,IHEAP[l]=m,IHEAP[m+1]=l,IHEAP[IHEAP[y]+2]=q;else{v=IHEAP[l];for(c=v!=m?77:78;;)if(c==77)r=IHEAP[v],__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,v),v=r,c=v!=m?77:78;else if(c==78)if(q!=0)break;else{c=1;continue a}v=o;IHEAP[l]= +v;IHEAP[v+1]=l;l=m;IHEAP[q]=l;IHEAP[l+1]=q}c=1}else c==28&&(l=m=q=__ZN20btConvexHullInternal11newEdgePairEPNS_6VertexES1_(a,IHEAP[b],IHEAP[y]),IHEAP[l]=m,IHEAP[m+1]=l,IHEAP[IHEAP[b]+2]=q,l=m=q=IHEAP[q+2],IHEAP[l]=m,IHEAP[m+1]=l,IHEAP[IHEAP[y]+2]=q,c=1)}else _llvm_memcpy_p0i8_p0i8_i32(e,d,4,4,0),c=1;else if(c==1){STACKTOP=b;break}} +function __ZN20btConvexHullInternal14getOrientationEPKNS_4EdgeES2_RKNS_7Point32ES5_(a,e,d,b){var c=STACKTOP;STACKTOP+=14;var f,g,h;h=c+3;g=c+6;var i=c+10;f=IHEAP[a+1]==e;if(IHEAP[a]==e)if(f){f=IHEAP[d]*IHEAP[b+2]-IHEAP[d+2]*IHEAP[b];var j=IHEAP[d+1]*IHEAP[b]-IHEAP[d]*IHEAP[b+1],d=IHEAP[d+2]*IHEAP[b+1]-IHEAP[d+1]*IHEAP[b+2];IHEAP[c]=d;IHEAP[c+1]=f;IHEAP[c+2]=j;b=IHEAP[IHEAP[e+2]+3];d=IHEAP[a+3];a=b+13;f=d+13;d=IHEAP[f+1]-IHEAP[a+1];b=IHEAP[f+2]-IHEAP[a+2];a=IHEAP[f]-IHEAP[a];IHEAP[g]=a;IHEAP[g+1]= +d;IHEAP[g+2]=b;IHEAP[g+3]=-1;d=IHEAP[IHEAP[e+2]+3];a=IHEAP[e+3];e=d+13;b=a+13;a=IHEAP[b+1]-IHEAP[e+1];d=IHEAP[b+2]-IHEAP[e+2];e=IHEAP[b]-IHEAP[e];IHEAP[i]=e;IHEAP[i+1]=a;IHEAP[i+2]=d;IHEAP[i+3]=-1;e=IHEAP[i]*IHEAP[g+2]-IHEAP[i+2]*IHEAP[g];a=IHEAP[i+1]*IHEAP[g]-IHEAP[i]*IHEAP[g+1];g=IHEAP[i+2]*IHEAP[g+1]-IHEAP[i+1]*IHEAP[g+2];IHEAP[h]=g;IHEAP[h+1]=e;IHEAP[h+2]=a;h=IHEAP[h+1]*IHEAP[c+1]+IHEAP[h]*IHEAP[c]+IHEAP[h+2]*IHEAP[c+2];h=h>0?2:1}else h=2;else h=f?1:0;STACKTOP=c;return h} +function __ZN20btConvexHullInternal12findMaxAngleEbPKNS_6VertexERKNS_7Point32ERKNS_7Point64ES8_RNS_10Rational64E(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=7;var i,j,k,l,m,n,o,q=h+4;n=0;o=IHEAP[d+2];i=o!=0?0:1;a:for(;;)if(i==0){var p=a+25,r=q,s=q;b:for(;;){i=IHEAP[o+5]>IHEAP[p]?3:4;c:for(;;)if(i==3){j=d;i=IHEAP[o+3];k=j+13;j=i+13;i=k;l=j;k=IHEAP[l]-IHEAP[i];j=IHEAP[l+1]-IHEAP[i+1];m=IHEAP[l+2]-IHEAP[i+2];i=h;l=j;j=k;k=l;l=m;IHEAP[i]=j;IHEAP[i+1]=k;IHEAP[i+2]=l;IHEAP[i+3]=-1;j=f;i=h;i=IHEAP[j+1]*IHEAP[i+ +1]+IHEAP[j]*IHEAP[i]+IHEAP[j+2]*IHEAP[i+2];k=c;j=h;__ZN20btConvexHullInternal10Rational64C1Exx(q,i,IHEAP[k+1]*IHEAP[j+1]+IHEAP[k]*IHEAP[j]+IHEAP[k+2]*IHEAP[j+2]);j=i=q;for(i=IHEAP[j+2]==0?5:6;;)if(i==5)if(IHEAP[j+1]==0){i=4;continue c}else i=6;else if(i==6){var u=g;i=n==0?7:8;break}if(i==7)_llvm_memcpy_p0i8_p0i8_i32(u,r,3,4,0),n=o,i=4;else if(i==8){i=j=__ZNK20btConvexHullInternal10Rational647compareERKS0_(q,u);if(j<0)_llvm_memcpy_p0i8_p0i8_i32(g,s,3,4,0);else{if(i!=0){i=4;continue c}i=e&1;j=__ZN20btConvexHullInternal14getOrientationEPKNS_4EdgeES2_RKNS_7Point32ES5_(n, +o,b,h)==2;if(i!=j){i=4;continue c}}n=o;i=4}}else if(i==4)if(o=IHEAP[o],o!=IHEAP[d+2]){i=2;continue b}else{i=1;continue a}}}else if(i==1)return a=n,STACKTOP=h,a;return null}function __ZN20btConvexHullInternal10Rational64C1Exx(a,e,d){if(e>0)IHEAP[a+2]=1,IHEAP[a]=e;else{var b=a+2;e<0?(IHEAP[b]=-1,IHEAP[a]=0-e):(IHEAP[b]=0,IHEAP[a]=0)}d>0?IHEAP[a+1]=d:d<0?(IHEAP[a+2]=0-IHEAP[a+2],IHEAP[a+1]=0-d):IHEAP[a+1]=0} +function __ZN20btConvexHullInternal24findEdgeForCoplanarFacesEPNS_6VertexES1_RPNS_4EdgeES4_S1_S1_(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=94;var i,j=null,k,l,m,n,o,q,p,r,s,u,v,y=h+4,x=h+8,z=h+12,B=h+15,C=h+19,A=h+22,w,D=h+26,E=h+30,F=h+34,G=h+37,J=h+40,H=h+44,M=h+48,K=h+52,N=h+55,R=h+58,O,Q=h+62,I=h+66,L=h+70,P=h+73,S=h+76,T=h+80,U=h+84,W=h+88,Z=h+91;u=IHEAP[b];v=IHEAP[c];u!=0?(i=IHEAP[u+3]+13,j=0):(k=e+13,j=2);_llvm_memcpy_p0i8_p0i8_i32(h,j==0?i:k,4,4,0);v!=0?(l=IHEAP[v+3]+13,j=3):(m=d+13,j=5);_llvm_memcpy_p0i8_p0i8_i32(y, +j==3?l:m,4,4,0);j=e+13;d+=13;i=IHEAP[d+1]-IHEAP[j+1];k=IHEAP[d+2]-IHEAP[j+2];IHEAP[x]=IHEAP[d]-IHEAP[j];IHEAP[x+1]=i;IHEAP[x+2]=k;IHEAP[x+3]=-1;j=e+13;d=IHEAP[(u!=0?u:v)+3]+13;i=IHEAP[d+1]-IHEAP[j+1];k=IHEAP[d+2]-IHEAP[j+2];IHEAP[B]=IHEAP[d]-IHEAP[j];IHEAP[B+1]=i;IHEAP[B+2]=k;IHEAP[B+3]=-1;d=IHEAP[x]*IHEAP[B+2]-IHEAP[x+2]*IHEAP[B];j=IHEAP[x+1]*IHEAP[B]-IHEAP[x]*IHEAP[B+1];IHEAP[z]=IHEAP[x+2]*IHEAP[B+1]-IHEAP[x+1]*IHEAP[B+2];IHEAP[z+1]=d;IHEAP[z+2]=j;e+=13;e=IHEAP[z+1]*IHEAP[e+1]+IHEAP[z]*IHEAP[e]+ +IHEAP[z+2]*IHEAP[e+2];B=IHEAP[z]*IHEAP[x+2]-IHEAP[z+2]*IHEAP[x];d=IHEAP[z+1]*IHEAP[x]-IHEAP[z]*IHEAP[x+1];IHEAP[C]=IHEAP[z+2]*IHEAP[x+1]-IHEAP[z+1]*IHEAP[x+2];IHEAP[C+1]=B;IHEAP[C+2]=d;B=IHEAP[C+1]*IHEAP[h+1]+IHEAP[C]*IHEAP[h]+IHEAP[C+2]*IHEAP[h+2];i=IHEAP[b]!=0?6:7;a:for(;;)if(i==6){d=a+25;for(j=h;;){if(IHEAP[IHEAP[b]+3]==f){i=7;continue a}i=IHEAP[IHEAP[IHEAP[b]+2]+1];l=IHEAP[i+3]+13;k=z;if(IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2]<e){i=7;continue a}if(IHEAP[i+5]==IHEAP[d]){i= +7;continue a}l=IHEAP[i+3]+13;k=C;k=IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2];if(k<=B){i=7;continue a}B=k;IHEAP[b]=i;_llvm_memcpy_p0i8_p0i8_i32(j,IHEAP[i+3]+13,4,4,0);i=8}}else if(i==7){d=y;s=C;s=IHEAP[s+1]*IHEAP[d+1]+IHEAP[s]*IHEAP[d]+IHEAP[s+2]*IHEAP[d+2];i=IHEAP[c]!=0?13:14;break a}a:for(;;)if(i==13){d=a+25;for(j=y;;){if(IHEAP[IHEAP[c]+3]==g){i=14;continue a}i=IHEAP[IHEAP[IHEAP[c]+2]];l=IHEAP[i+3]+13;k=z;if(IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2]<e){i=14; +continue a}if(IHEAP[i+5]==IHEAP[d]){i=14;continue a}l=IHEAP[i+3]+13;k=C;k=IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2];if(k<=s){i=14;continue a}s=k;IHEAP[c]=i;_llvm_memcpy_p0i8_p0i8_i32(j,IHEAP[i+3]+13,4,4,0);i=15}}else if(i==14){s-=B;q=s;i=s>0?20:21;break a}a:do if(i==20){s=a+25;e=h;B=a+25;d=y;for(;;){i=y;j=h;l=i;k=IHEAP[l]-IHEAP[j];i=IHEAP[l+1]-IHEAP[j+1];m=IHEAP[l+2]-IHEAP[j+2];j=A;l=i;i=k;k=l;l=m;IHEAP[j]=i;IHEAP[j+1]=k;IHEAP[j+2]=l;IHEAP[j+3]=-1;i=A;j=x;j=IHEAP[j+1]*IHEAP[i+ +1]+IHEAP[j]*IHEAP[i]+IHEAP[j+2]*IHEAP[i+2];for(i=IHEAP[b]!=0?23:24;;)if(i==23)if(IHEAP[IHEAP[b]+3]==f)i=24;else if(w=IHEAP[IHEAP[IHEAP[b]]+2],IHEAP[w+5]>IHEAP[s])if(k=IHEAP[w+3]+13,i=h,m=k,l=IHEAP[m]-IHEAP[i],k=IHEAP[m+1]-IHEAP[i+1],n=IHEAP[m+2]-IHEAP[i+2],i=D,m=k,k=l,l=m,m=n,IHEAP[i]=k,IHEAP[i+1]=l,IHEAP[i+2]=m,IHEAP[i+3]=-1,k=D,i=C,i=IHEAP[i+1]*IHEAP[k+1]+IHEAP[i]*IHEAP[k]+IHEAP[i+2]*IHEAP[k+2],l=IHEAP[w+3]+13,k=h,n=l,m=IHEAP[n]-IHEAP[k],l=IHEAP[n+1]-IHEAP[k+1],o=IHEAP[n+2]-IHEAP[k+2],k=E,n=l,l= +m,m=n,n=o,IHEAP[k]=l,IHEAP[k+1]=m,IHEAP[k+2]=n,IHEAP[k+3]=-1,l=E,k=x,k=IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2],i==0)if(k<0){i=27;break}else i=24;else if(i<0)if(__ZN20btConvexHullInternal10Rational64C1Exx(F,k,i),__ZN20btConvexHullInternal10Rational64C1Exx(G,j,q),__ZNK20btConvexHullInternal10Rational647compareERKS0_(F,G)>=0){i=27;break}else i=24;else i=24;else i=24;else if(i==24)if(IHEAP[c]!=0){i=29;break}else break a;if(i==27)_llvm_memcpy_p0i8_p0i8_i32(e,IHEAP[w+3]+13,4,4,0), +j=y,q=h,k=j,i=IHEAP[k]-IHEAP[q],j=IHEAP[k+1]-IHEAP[q+1],l=IHEAP[k+2]-IHEAP[q+2],q=J,k=j,j=i,i=k,k=l,IHEAP[q]=j,IHEAP[q+1]=i,IHEAP[q+2]=k,IHEAP[q+3]=-1,j=J,q=C,q=IHEAP[q+1]*IHEAP[j+1]+IHEAP[q]*IHEAP[j]+IHEAP[q+2]*IHEAP[j+2],j=w,IHEAP[b]=IHEAP[b]==u?0:j,i=22;else if(i==29){if(IHEAP[IHEAP[c]+3]==g)break a;i=IHEAP[IHEAP[IHEAP[c]+2]];if(!(IHEAP[i+5]>IHEAP[B]))break a;l=IHEAP[i+3]+13;k=y;n=l;m=IHEAP[n]-IHEAP[k];l=IHEAP[n+1]-IHEAP[k+1];o=IHEAP[n+2]-IHEAP[k+2];k=H;n=l;l=m;m=n;n=o;IHEAP[k]=l;IHEAP[k+1]=m; +IHEAP[k+2]=n;IHEAP[k+3]=-1;l=H;k=z;if(IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2]!=0)break a;l=H;k=C;k=IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2];m=H;l=x;l=IHEAP[l+1]*IHEAP[m+1]+IHEAP[l]*IHEAP[m]+IHEAP[l+2]*IHEAP[m+2];n=IHEAP[i+3]+13;m=h;p=n;o=IHEAP[p]-IHEAP[m];n=IHEAP[p+1]-IHEAP[m+1];r=IHEAP[p+2]-IHEAP[m+2];m=M;p=n;n=o;o=p;p=r;IHEAP[m]=n;IHEAP[m+1]=o;IHEAP[m+2]=p;IHEAP[m+3]=-1;n=M;m=C;m=IHEAP[m+1]*IHEAP[n+1]+IHEAP[m]*IHEAP[n]+IHEAP[m+2]*IHEAP[n+2];if(!(m>0))break a; +if(k==0){if(!(l<0))break a}else{if(!(k<0))break a;__ZN20btConvexHullInternal10Rational64C1Exx(K,l,k);__ZN20btConvexHullInternal10Rational64C1Exx(N,j,q);if(!(__ZNK20btConvexHullInternal10Rational647compareERKS0_(K,N)>0))break a}IHEAP[c]=i;_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[IHEAP[c]+3]+13,4,4,0);q=m;i=22}}}else if(i==21){if(!(q<0))break a;s=a+25;e=y;B=a+25;d=h;for(;;){i=y;j=h;l=i;k=IHEAP[l]-IHEAP[j];i=IHEAP[l+1]-IHEAP[j+1];m=IHEAP[l+2]-IHEAP[j+2];j=R;l=i;i=k;k=l;l=m;IHEAP[j]=i;IHEAP[j+1]=k;IHEAP[j+ +2]=l;IHEAP[j+3]=-1;i=R;j=x;j=IHEAP[j+1]*IHEAP[i+1]+IHEAP[j]*IHEAP[i]+IHEAP[j+2]*IHEAP[i+2];for(i=IHEAP[c]!=0?39:40;;)if(i==39)if(IHEAP[IHEAP[c]+3]==g)i=40;else if(O=IHEAP[IHEAP[IHEAP[c]+1]+2],IHEAP[O+5]>IHEAP[s])if(k=IHEAP[O+3]+13,i=y,m=k,l=IHEAP[m]-IHEAP[i],k=IHEAP[m+1]-IHEAP[i+1],n=IHEAP[m+2]-IHEAP[i+2],i=Q,m=k,k=l,l=m,m=n,IHEAP[i]=k,IHEAP[i+1]=l,IHEAP[i+2]=m,IHEAP[i+3]=-1,k=Q,i=C,i=IHEAP[i+1]*IHEAP[k+1]+IHEAP[i]*IHEAP[k]+IHEAP[i+2]*IHEAP[k+2],l=IHEAP[O+3]+13,k=y,n=l,m=IHEAP[n]-IHEAP[k],l=IHEAP[n+ +1]-IHEAP[k+1],o=IHEAP[n+2]-IHEAP[k+2],k=I,n=l,l=m,m=n,n=o,IHEAP[k]=l,IHEAP[k+1]=m,IHEAP[k+2]=n,IHEAP[k+3]=-1,l=I,k=x,k=IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2],i==0)if(k>0){i=43;break}else i=40;else if(i<0)if(__ZN20btConvexHullInternal10Rational64C1Exx(L,k,i),__ZN20btConvexHullInternal10Rational64C1Exx(P,j,q),__ZNK20btConvexHullInternal10Rational647compareERKS0_(L,P)<=0){i=43;break}else i=40;else i=40;else i=40;else if(i==40)if(IHEAP[b]!=0){i=45;break}else break a;if(i==43)_llvm_memcpy_p0i8_p0i8_i32(e, +IHEAP[O+3]+13,4,4,0),j=y,q=h,k=j,i=IHEAP[k]-IHEAP[q],j=IHEAP[k+1]-IHEAP[q+1],l=IHEAP[k+2]-IHEAP[q+2],q=S,k=j,j=i,i=k,k=l,IHEAP[q]=j,IHEAP[q+1]=i,IHEAP[q+2]=k,IHEAP[q+3]=-1,j=S,q=C,q=IHEAP[q+1]*IHEAP[j+1]+IHEAP[q]*IHEAP[j]+IHEAP[q+2]*IHEAP[j+2],j=O,IHEAP[c]=IHEAP[c]==v?0:j,i=38;else if(i==45){if(IHEAP[IHEAP[b]+3]==f)break a;i=IHEAP[IHEAP[IHEAP[b]+2]+1];if(!(IHEAP[i+5]>IHEAP[B]))break a;l=IHEAP[i+3]+13;k=h;n=l;m=IHEAP[n]-IHEAP[k];l=IHEAP[n+1]-IHEAP[k+1];o=IHEAP[n+2]-IHEAP[k+2];k=T;n=l;l=m;m=n;n=o;IHEAP[k]= +l;IHEAP[k+1]=m;IHEAP[k+2]=n;IHEAP[k+3]=-1;l=T;k=z;if(IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2]!=0)break a;l=T;k=C;k=IHEAP[k+1]*IHEAP[l+1]+IHEAP[k]*IHEAP[l]+IHEAP[k+2]*IHEAP[l+2];m=T;l=x;l=IHEAP[l+1]*IHEAP[m+1]+IHEAP[l]*IHEAP[m]+IHEAP[l+2]*IHEAP[m+2];m=IHEAP[i+3]+13;p=n=y;o=IHEAP[p]-IHEAP[m];n=IHEAP[p+1]-IHEAP[m+1];r=IHEAP[p+2]-IHEAP[m+2];m=U;p=n;n=o;o=p;p=r;IHEAP[m]=n;IHEAP[m+1]=o;IHEAP[m+2]=p;IHEAP[m+3]=-1;n=U;m=C;m=IHEAP[m+1]*IHEAP[n+1]+IHEAP[m]*IHEAP[n]+IHEAP[m+2]*IHEAP[n+2]; +if(!(m<0))break a;if(k==0){if(!(l>0))break a}else{if(!(k<0))break a;__ZN20btConvexHullInternal10Rational64C1Exx(W,l,k);__ZN20btConvexHullInternal10Rational64C1Exx(Z,j,q);if(!(__ZNK20btConvexHullInternal10Rational647compareERKS0_(W,Z)<0))break a}IHEAP[b]=i;_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[IHEAP[b]+3]+13,4,4,0);q=m;i=38}}}while(0);STACKTOP=h} +function __ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,e){var d,b;d=IHEAP[e];b=IHEAP[e+2];d!=e?(IHEAP[d+1]=IHEAP[e+1],IHEAP[IHEAP[e+1]]=d,IHEAP[IHEAP[b+3]+2]=d):IHEAP[IHEAP[b+3]+2]=0;d=IHEAP[b];d!=b?(IHEAP[d+1]=IHEAP[b+1],IHEAP[IHEAP[b+1]]=d,IHEAP[IHEAP[e+3]+2]=d):IHEAP[IHEAP[e+3]+2]=0;d=a+12;IHEAP[e]=0;IHEAP[e+1]=0;IHEAP[e+2]=0;IHEAP[e+3]=0;IHEAP[e+4]=0;IHEAP[e]=IHEAP[d+2];IHEAP[d+2]=e;d=a+12;IHEAP[b]=0;IHEAP[b+1]=0;IHEAP[b+2]=0;IHEAP[b+3]=0;IHEAP[b+4]=0;IHEAP[b]=IHEAP[d+2];IHEAP[d+2]= +b;IHEAP[a+29]+=-1} +function __ZN20btConvexHullInternal7computeEPKvbii(a,e,d,b,c){var f=STACKTOP;STACKTOP+=102;var g,h=null,i,j,k,l,m;k=f+1;j=f+2;var n,o,q,p,r;q=f+3;o=f+4;n=f+5;var s,u=f+6,v=f+7,y=f+8,x=f+9,z=f+10,B=f+11,C;i=f+12;var A,w=f+13,D=f+14,E=f+15,F=f+16,G=f+17,J=f+18,H,M,h=f+19,K=f+20,N=f+21,R,O,Q,I,L;m=f+22;s=f+26;var P=f+27,S=f+28;l=f+29;O=f+33;Q=f+34;I=f+35;var T=f+36,U=f+40,W=f+41,Z=f+42,ca=f+43,Y=f+47;C=f+51;r=f+52;p=f+56;var ea=f+57;A=f+61;var ha=f+66,ba=f+70,V=f+74,aa=f+75,X=f+76,ka=f+77,da=f+81,fa= +f+85,ga=f+89,ja=f+93;R=f+97;var la=f+98;FHEAP[s]=1.0000000150474662E30;FHEAP[P]=1.0000000150474662E30;FHEAP[S]=1.0000000150474662E30;FHEAP[m]=FHEAP[s];FHEAP[m+1]=FHEAP[P];FHEAP[m+2]=FHEAP[S];FHEAP[m+3]=0;FHEAP[O]=-1.0000000150474662E30;FHEAP[Q]=-1.0000000150474662E30;FHEAP[I]=-1.0000000150474662E30;FHEAP[l]=FHEAP[O];FHEAP[l+1]=FHEAP[Q];FHEAP[l+2]=FHEAP[I];FHEAP[l+3]=0;s=e;P=d&1;a:do if(P){S=0;if(!(S<c))break a;for(;;)if(O=s,FHEAP[U]=FHEAP[O],FHEAP[W]=FHEAP[O+1],FHEAP[Z]=FHEAP[O+2],O=T,Q=U,I=W,L=Z, +FHEAP[O]=FHEAP[Q],FHEAP[O+1]=FHEAP[I],FHEAP[O+2]=FHEAP[L],FHEAP[O+3]=0,s+=b,__ZN9btVector36setMinERKS_(m,T),__ZN9btVector36setMaxERKS_(l,T),S+=1,!(S<c))break a}else{S=0;if(!(S<c))break a;for(;;)if(Q=O=s,I=O+1,L=O+2,O=ca,FHEAP[O]=FHEAP[Q],FHEAP[O+1]=FHEAP[I],FHEAP[O+2]=FHEAP[L],FHEAP[O+3]=0,s+=b,__ZN9btVector36setMinERKS_(m,ca),__ZN9btVector36setMaxERKS_(l,ca),S+=1,!(S<c))break a}while(0);FHEAP[h]=FHEAP[l]-FHEAP[m];FHEAP[K]=FHEAP[l+1]-FHEAP[m+1];FHEAP[N]=FHEAP[l+2]-FHEAP[m+2];FHEAP[Y]=FHEAP[h];FHEAP[Y+ +1]=FHEAP[K];FHEAP[Y+2]=FHEAP[N];FHEAP[Y+3]=0;if(FHEAP[Y]<FHEAP[Y+1])g=FHEAP[Y+1]<FHEAP[Y+2]?2:1,h=3;else var qa=FHEAP[Y]<FHEAP[Y+2]?2:0,h=5;IHEAP[a+28]=h==3?g:qa;if(FHEAP[Y]<FHEAP[Y+1])var pa=FHEAP[Y]<FHEAP[Y+2]?0:2,h=6;else var wa=FHEAP[Y+1]<FHEAP[Y+2]?1:2,h=8;IHEAP[a+26]=h==6?pa:wa;g=IHEAP[a+26]==IHEAP[a+28]?9:10;a:for(;;)if(g==9)IHEAP[a+26]=(IHEAP[a+28]+1)%3,g=10;else if(g==10){IHEAP[a+27]=0-IHEAP[a+28]+3+(0-IHEAP[a+26]);FHEAP[C]=10216;g=Y;FHEAP[i]=1/FHEAP[C];C=g;FHEAP[C]*=FHEAP[i];FHEAP[C+1]*= +FHEAP[i];FHEAP[C+2]*=FHEAP[i];_llvm_memcpy_p0i8_p0i8_i32(a,Y,4,4,0);i=Y;g=FHEAP[i]>0?11:12;break a}a:for(;;)if(g==11)i=Y,C=1/FHEAP[i],i=Y,FHEAP[i]=C,g=12;else if(g==12){i=Y;g=FHEAP[i+1]>0?13:14;break a}a:for(;;)if(g==13)i=Y,C=1/FHEAP[i+1],i=Y,FHEAP[i+1]=C,g=14;else if(g==14){i=Y;g=FHEAP[i+2]>0?15:16;break a}a:for(;;)if(g==15)i=Y,C=1/FHEAP[i+2],i=Y,FHEAP[i+2]=C,g=16;else if(g==16){s=a+4;FHEAP[f]=FHEAP[m]+FHEAP[l];FHEAP[k]=FHEAP[m+1]+FHEAP[l+1];FHEAP[j]=FHEAP[m+2]+FHEAP[l+2];l=r;m=f;i=k;k=m;m=i;i=j; +j=l;l=m;m=i;FHEAP[j]=FHEAP[k];FHEAP[j+1]=FHEAP[l];FHEAP[j+2]=FHEAP[m];FHEAP[j+3]=0;FHEAP[p]=0.5;FHEAP[q]=FHEAP[r]*FHEAP[p];FHEAP[o]=FHEAP[r+1]*FHEAP[p];FHEAP[n]=FHEAP[r+2]*FHEAP[p];p=ea;r=o;o=q;q=r;r=n;n=p;p=r;FHEAP[n]=FHEAP[o];FHEAP[n+1]=FHEAP[q];FHEAP[n+2]=FHEAP[p];FHEAP[n+3]=0;_llvm_memcpy_p0i8_p0i8_i32(s,ea,4,4,0);s=A;IHEAP[s+4]=1;IHEAP[s+3]=0;IHEAP[s+1]=0;IHEAP[s+2]=0;__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE6resizeEiRKS1_(A,c,ha);s=e;g=d&1?17:18;break a}a:do if(g==17){e=0; +if(!(e<c))break a;d=a+4;ha=ba;ea=da;n=a+27;o=a+28;for(q=a+26;;)if(p=s,FHEAP[V]=FHEAP[p],FHEAP[aa]=FHEAP[p+1],FHEAP[X]=FHEAP[p+2],p=ba,r=V,j=aa,k=X,FHEAP[p]=FHEAP[r],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[k],FHEAP[p+3]=0,s+=b,p=ba,r=d,FHEAP[u]=FHEAP[p]-FHEAP[r],FHEAP[v]=FHEAP[p+1]-FHEAP[r+1],FHEAP[y]=FHEAP[p+2]-FHEAP[r+2],p=ka,r=u,j=v,k=y,FHEAP[p]=FHEAP[r],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[k],FHEAP[p+3]=0,p=ka,r=Y,FHEAP[x]=FHEAP[p]*FHEAP[r],FHEAP[z]=FHEAP[p+1]*FHEAP[r+1],FHEAP[B]=FHEAP[p+2]*FHEAP[r+ +2],p=da,r=x,j=z,k=B,FHEAP[p]=FHEAP[r],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[k],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ha,ea,4,4,0),r=IHEAP[n],p=ba,r=FHEAP[p+r]|0,j=e,p=A,IHEAP[IHEAP[p+3]+4*j]=r,r=IHEAP[o],p=ba,r=FHEAP[p+r]|0,j=e,p=A,IHEAP[IHEAP[p+3]+4*j+1]=r,r=IHEAP[q],p=ba,r=FHEAP[p+r]|0,j=e,p=A,IHEAP[IHEAP[p+3]+4*j+2]=r,j=r=e,p=A,IHEAP[IHEAP[p+3]+4*j+3]=r,e+=1,e<c)g=21;else break a}else if(g==18){e=0;if(!(e<c))break a;d=a+4;ha=fa;ea=ja;n=a+27;o=a+28;for(q=a+26;;)if(r=p=s,j=p+1,k=p+2,p=fa,FHEAP[p]= +FHEAP[r],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[k],FHEAP[p+3]=0,s+=b,p=fa,r=d,FHEAP[w]=FHEAP[p]-FHEAP[r],FHEAP[D]=FHEAP[p+1]-FHEAP[r+1],FHEAP[E]=FHEAP[p+2]-FHEAP[r+2],p=ga,r=w,j=D,k=E,FHEAP[p]=FHEAP[r],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[k],FHEAP[p+3]=0,p=ga,r=Y,FHEAP[F]=FHEAP[p]*FHEAP[r],FHEAP[G]=FHEAP[p+1]*FHEAP[r+1],FHEAP[J]=FHEAP[p+2]*FHEAP[r+2],p=ja,r=F,j=G,k=J,FHEAP[p]=FHEAP[r],FHEAP[p+1]=FHEAP[j],FHEAP[p+2]=FHEAP[k],FHEAP[p+3]=0,_llvm_memcpy_p0i8_p0i8_i32(ha,ea,4,4,0),r=IHEAP[n],p=fa,r=FHEAP[p+ +r]|0,j=e,p=A,IHEAP[IHEAP[p+3]+4*j]=r,r=IHEAP[o],p=fa,r=FHEAP[p+r]|0,j=e,p=A,IHEAP[IHEAP[p+3]+4*j+1]=r,r=IHEAP[q],p=fa,r=FHEAP[p+r]|0,j=e,p=A,IHEAP[IHEAP[p+3]+4*j+2]=r,j=r=e,p=A,IHEAP[IHEAP[p+3]+4*j+3]=r,e+=1,e<c)g=23;else break a}while(0);g=IHEAP[A+1]>1?24:25;a:for(;;)if(g==24){b=A;b=IHEAP[b+1]-1;try{__THREW__=!1,__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(A,14,0,b)}catch(ua){if(ABORT)throw ua;__THREW__=!0;print("Exception: "+ua+" : "+ua.stack+ +", currently at: "+Error().stack)}if(__THREW__){g=29;break a}else g=25}else if(g==25){H=a+8;IHEAP[H+1]=IHEAP[H];IHEAP[H+2]=0;M=c;H=a+8;IHEAP[H+3]=M;H=a+20;M=c;IHEAP[R]=0;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE6resizeEiRKS2_(H,M,R);H=0;M=a+8;var na=a+20;g=26;break a}for(;;)if(g==29)throw a=c=_llvm_eh_exception(),_llvm_eh_selector(c,___gxx_personality_v0,0),__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE5clearEv(A),__Unwind_Resume_or_Rethrow(a),"Reached an unreachable! Original .ll line: 390681"; +else if(g==26){if(!(H<c))break;var ya;try{__THREW__=!1,ya=__ZN20btConvexHullInternal4PoolINS_6VertexEE9newObjectEv(M)}catch(xa){if(ABORT)throw xa;__THREW__=!0;print("Exception: "+xa+" : "+xa.stack+", currently at: "+Error().stack);ya=null}__THREW__?g=29:(b=ya,IHEAP[b+2]=0,u=b+13,v=H,R=A,_llvm_memcpy_p0i8_p0i8_i32(u,IHEAP[R+3]+4*v,4,4,0),IHEAP[b+17]=-1,u=H,R=na,IHEAP[IHEAP[R+3]+u]=b,H+=1,g=26)}__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE5clearEv(A);ya=a+12;IHEAP[ya+1]=IHEAP[ya];IHEAP[ya+ +2]=0;IHEAP[a+12+3]=c*6;IHEAP[a+29]=0;IHEAP[a+30]=0;IHEAP[a+25]=-3;IHEAP[la]=0;IHEAP[la+1]=0;IHEAP[la+2]=0;IHEAP[la+3]=0;__ZN20btConvexHullInternal15computeInternalEiiRNS_16IntermediateHullE(a,0,c,la);IHEAP[a+31]=IHEAP[la];__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE5clearEv(A);STACKTOP=f} +function __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE6resizeEiRKS1_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+4*f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(_llvm_memcpy_p0i8_p0i8_i32(i,d,4, +4,0),b=6)}}while(0);IHEAP[a+1]=e}function __Z8pointCmpRKN20btConvexHullInternal7Point32ES2_(a,e){var d,b=null;IHEAP[a+1]<IHEAP[e+1]?(b=-1,d=0):(b=-1,d=1);for(;;)if(d==0)return b==-1?1:b==1?0:b==2?1:b==3?0:c;else if(d==1){if(IHEAP[a+1]==IHEAP[e+1])if(IHEAP[a]<IHEAP[e])b=2;else if(IHEAP[a]==IHEAP[e])var c=IHEAP[a+2]<IHEAP[e+2],b=4;else b=3;else b=1;d=0}return null} +function __ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE6resizeEiRKS2_(a,e,d){var b,c,f;c=IHEAP[a+1];var g=e<c;a:do if(g){b=e;if(!(b<c))break a;for(;;)if(b+=1,!(b<c))break a}else{b=a;b=e>IHEAP[b+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(a,e),b=3;else if(b==3)if(f=c,f<e)break b;else break a;var h=a+3;b:for(;;){var i=IHEAP[h]+f;for(b=i==0?6:7;;)if(b==6)if(f+=1,f<e)continue b;else break a;else b==7&&(IHEAP[i]=IHEAP[d],b=6)}}while(0);IHEAP[a+ +1]=e} +function __ZN20btConvexHullInternal4PoolINS_6VertexEE9newObjectEv(a){var e,d=null,b,c,f,g;g=IHEAP[a+2];e=g!=0?0:1;a:for(;;)if(e==0){IHEAP[a+2]=IHEAP[g];var h=g;h==0?(d=0,e=12):(d=0,e=13);break a}else if(e==1){b=IHEAP[a+1];c=b!=0;b:do if(c)IHEAP[a+1]=IHEAP[b+2];else{f=__Z22btAlignedAllocInternalji(12,16);f==0?(d=3,e=4):(d=3,e=5);for(;;)if(e==4){b=d==3?0:i;IHEAP[b+2]=IHEAP[a];IHEAP[a]=b;break b}else if(e==5){var i=f;e=IHEAP[a+3];d=i;IHEAP[d+1]=e;IHEAP[d+2]=0;e=__Z22btAlignedAllocInternalji(e*104,16); +IHEAP[d]=e;d=5;e=4}}while(0);f=b;b=IHEAP[f];c=0;var j=f+1;e=c<IHEAP[j]?7:8;b:for(;;)if(e==7){var k=f+1;c:for(;;){c+1<IHEAP[k]?(d=9,e=10):(d=9,e=11);for(;;)if(e==10){var l=b+18,d=10;e=11}else if(e==11)if(IHEAP[b]=d==10?l:0,c+=1,b+=18,c<IHEAP[j]){e=9;continue c}else{e=8;continue b}}}else if(e==8){g=IHEAP[f];e=0;continue a}}for(;;)if(e==12)return d==0?0:m;else if(e==13){var m=h,a=m;IHEAP[a]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;IHEAP[a+3]=0;IHEAP[a+4]=0;IHEAP[a+17]=-1;d=13;e=12}return null} +function __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btConvexHullInternal10toBtVectorERKNS_7Point32E(a,e,d){var b=STACKTOP;STACKTOP+=7;var c=b+1,f=b+2,g=b+3;FHEAP[g+IHEAP[e+27]]=IHEAP[d];FHEAP[g+IHEAP[e+28]]=IHEAP[d+1];FHEAP[g+IHEAP[e+26]]=IHEAP[d+2];FHEAP[b]=FHEAP[g]*FHEAP[e];FHEAP[c]=FHEAP[g+1]*FHEAP[e+1];FHEAP[f]=FHEAP[g+2]*FHEAP[e+2];FHEAP[a]=FHEAP[b];FHEAP[a+1]=FHEAP[c];FHEAP[a+2]=FHEAP[f];FHEAP[a+3]=0;STACKTOP=b} +function __ZN20btConvexHullInternal11getBtNormalEPNS_4FaceE(a,e,d){var b=STACKTOP;STACKTOP+=13;var c=null,f,g,h,i=b+1,j=b+2,k=b+3,l=b+4,m=b+8;h=b+12;__ZN20btConvexHullInternal10toBtVectorERKNS_7Point32E(l,e,d+7);__ZN20btConvexHullInternal10toBtVectorERKNS_7Point32E(m,e,d+11);FHEAP[i]=FHEAP[l+1]*FHEAP[m+2]-FHEAP[l+2]*FHEAP[m+1];FHEAP[j]=FHEAP[l+2]*FHEAP[m]-FHEAP[l]*FHEAP[m+2];FHEAP[k]=FHEAP[l]*FHEAP[m+1]-FHEAP[l+1]*FHEAP[m];FHEAP[a]=FHEAP[i];FHEAP[a+1]=FHEAP[j];FHEAP[a+2]=FHEAP[k];FHEAP[a+3]=0;d=IHEAP[e+ +27]+1==IHEAP[e+28]?0:1;a:for(;;)if(d==0){f=e=f=a;f=FHEAP[f]*FHEAP[e]+FHEAP[f+1]*FHEAP[e+1]+FHEAP[f+2]*FHEAP[e+2];f=_sqrtf(f);c=0;d=3;break a}else if(d==1)if(IHEAP[e+27]-2==IHEAP[e+28])d=0;else{d=2;break a}for(;;)if(d==2)g=e=g=a,g=FHEAP[g]*FHEAP[e]+FHEAP[g+1]*FHEAP[e+1]+FHEAP[g+2]*FHEAP[e+2],g=0-_sqrtf(g),c=2,d=3;else if(d==3){FHEAP[h]=c==0?f:g;FHEAP[b]=1/FHEAP[h];h=b;FHEAP[a]*=FHEAP[h];FHEAP[a+1]*=FHEAP[h];FHEAP[a+2]*=FHEAP[h];STACKTOP=b;break}} +function __ZN20btConvexHullInternal14getCoordinatesEPKNS_6VertexE(a,e,d){var b=STACKTOP;STACKTOP+=14;var c=null,f,g,h,i=b+1,j=b+2,k=b+3,l=b+4,m=b+5,n=b+6,o=b+10;if(IHEAP[d+13+3]>=0)var q=IHEAP[d+13],c=0;else g=d+5,c=__ZNK20btConvexHullInternal6Int1288toScalarEv(g),g=__ZNK20btConvexHullInternal6Int1288toScalarEv(g+6),g=c/g,c=2;FHEAP[n+IHEAP[e+27]]=c==0?q:g;IHEAP[d+13+3]>=0?(h=IHEAP[d+13+1],c=3):(f=d+5,q=__ZNK20btConvexHullInternal6Int1288toScalarEv(f+2),f=__ZNK20btConvexHullInternal6Int1288toScalarEv(f+ +6),f=q/f,c=5);FHEAP[n+IHEAP[e+28]]=c==3?h:f;if(IHEAP[d+13+3]>=0)var p=IHEAP[d+13+2],c=6;else{h=d+5;d=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+4);h=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+6);var r=d/h,c=8}FHEAP[n+IHEAP[e+26]]=c==6?p:r;FHEAP[b]=FHEAP[n]*FHEAP[e];FHEAP[i]=FHEAP[n+1]*FHEAP[e+1];FHEAP[j]=FHEAP[n+2]*FHEAP[e+2];FHEAP[o]=FHEAP[b];FHEAP[o+1]=FHEAP[i];FHEAP[o+2]=FHEAP[j];FHEAP[o+3]=0;e+=4;FHEAP[k]=FHEAP[o]+FHEAP[e];FHEAP[l]=FHEAP[o+1]+FHEAP[e+1];FHEAP[m]=FHEAP[o+2]+FHEAP[e+2]; +FHEAP[a]=FHEAP[k];FHEAP[a+1]=FHEAP[l];FHEAP[a+2]=FHEAP[m];FHEAP[a+3]=0;STACKTOP=b} +function __ZN20btConvexHullInternal6shrinkEff(a,e,d){var b=STACKTOP;STACKTOP+=86;var c,f=null,g,h,i,j,k,l,m,n,o,q,p,r,s,u,v,y,x,z,B=b+1,C=b+2,A=b+3,w,D,E,F,G,J,H=b+4;G=b+5;F=b+10;s=b+15;var M=b+19,K=b+21,N=b+23,R=b+25;w=b+27;z=b+28;var O=b+32,Q=b+35,I=b+39,L=b+43,P=b+47,S=b+51,T=b+55,U=b+57,W=b+59,Z=b+61,ca=b+63,Y=b+67,ea=b+68,ha=b+72,ba=b+76,V=b+80,aa,X,ka,da=b+81;FHEAP[H]=e;e=IHEAP[a+31]!=0;a:do if(e){e=a+25;r=IHEAP[e]+-1;e=IHEAP[e]=r;r=G;IHEAP[r+4]=1;IHEAP[r+3]=0;IHEAP[r+1]=0;IHEAP[r+2]=0;IHEAP[IHEAP[a+ +31]+17]=e;r=a+31;c=g=c=G;h=c=IHEAP[c+1];c=g;c=h==IHEAP[c+2]?1:2;b:for(;;)if(c==1){f=g;h=IHEAP[f+1];h!=0?(f=1,c=3):(f=1,c=4);for(;;)if(c==3)D=h*2,f=3,c=4;else if(c==4){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(g,f==3?D:1);c=2;continue b}}else if(c==2){y=IHEAP[g+3]+IHEAP[g+1];c=y==0?5:6;break b}b:for(;;)if(c==5){IHEAP[g+1]+=1;E=F;IHEAP[E+4]=1;IHEAP[E+3]=0;IHEAP[E+1]=0;IHEAP[E+2]=0;_llvm_memcpy_p0i8_p0i8_i32(s,IHEAP[a+31]+13,4,4,0);E=M;IHEAP[E]=0;IHEAP[E+1]=0;E=K;IHEAP[E]= +0;IHEAP[E+1]=0;E=N;IHEAP[E]=0;IHEAP[E+1]=0;E=R;IHEAP[E]=0;IHEAP[E+1]=0;E=a+16;var fa=L,ga=L+1,ja=L+2;c=7;break b}else c==6&&(IHEAP[y]=IHEAP[r],c=5);b:for(;;){D=G;if(!(IHEAP[D+1]>0)){c=9;break b}D=G;y=IHEAP[D+1]-1;D=G;D=IHEAP[IHEAP[D+3]+y];y=G;IHEAP[y+1]+=-1;y=IHEAP[D+2];if(y==0){c=7;continue b}c:for(;;){c=IHEAP[IHEAP[y+3]+17]!=e?11:12;d:for(;;)if(c==11){IHEAP[IHEAP[y+3]+17]=e;r=y+3;c=g=c=G;h=c=IHEAP[c+1];c=g;c=h==IHEAP[c+2]?13:14;e:for(;;)if(c==13){f=g;h=IHEAP[f+1];h!=0?(f=13,c=15):(f=13,c=16);for(;;)if(c== +15){var la=h*2,f=15;c=16}else if(c==16){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(g,f==15?la:1);c=14;continue e}}else if(c==14){var qa=IHEAP[g+3]+IHEAP[g+1];c=qa==0?17:18;break e}for(;;)if(c==17){IHEAP[g+1]+=1;c=12;continue d}else c==18&&(IHEAP[qa]=IHEAP[r],c=17)}else if(c==12){c=IHEAP[y+5]!=e?20:21;break d}d:for(;;)if(c==20){var pa;try{__THREW__=!1,pa=__ZN20btConvexHullInternal4PoolINS_4FaceEE9newObjectEv(E)}catch(wa){if(ABORT)throw wa;__THREW__=!0;print("Exception: "+ +wa+" : "+wa.stack+", currently at: "+Error().stack);pa=null}if(__THREW__){c=63;break b}IHEAP[w]=pa;__ZN20btConvexHullInternal4Face4initEPNS_6VertexES2_S2_(IHEAP[w],IHEAP[y+3],IHEAP[IHEAP[IHEAP[y+2]+1]+3],D);c=F;r=w;c=g=c;h=c=IHEAP[c+1];c=g;c=h==IHEAP[c+2]?22:23;e:for(;;)if(c==22){f=g;h=IHEAP[f+1];h!=0?(f=22,c=24):(f=22,c=25);for(;;)if(c==24){var ua=h*2,f=24;c=25}else if(c==25){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal4FaceEE7reserveEi(g,f==24?ua:1);c=23;continue e}}else if(c==23){var na= +IHEAP[g+3]+IHEAP[g+1];c=na==0?26:27;break e}e:for(;;)if(c==26){IHEAP[g+1]+=1;u=y;x=v=0;f=26;c=28;break e}else c==27&&(IHEAP[na]=IHEAP[r],c=26);for(;;){c=(f==29?ma:0)!=0?30:31;f:for(;;)if(c==30){if(x==0){c=31;continue f}c=D+13;r=s;h=c;g=IHEAP[h]-IHEAP[r];c=IHEAP[h+1]-IHEAP[r+1];i=IHEAP[h+2]-IHEAP[r+2];r=z;h=c;c=g;g=h;h=i;IHEAP[r]=c;IHEAP[r+1]=g;IHEAP[r+2]=h;IHEAP[r+3]=-1;c=v+13;r=s;h=c;g=IHEAP[h]-IHEAP[r];c=IHEAP[h+1]-IHEAP[r+1];i=IHEAP[h+2]-IHEAP[r+2];r=Q;h=c;c=g;g=h;h=i;IHEAP[r]=c;IHEAP[r+1]=g;IHEAP[r+ +2]=h;IHEAP[r+3]=-1;c=x+13;r=s;h=c;g=IHEAP[h]-IHEAP[r];c=IHEAP[h+1]-IHEAP[r+1];i=IHEAP[h+2]-IHEAP[r+2];r=I;h=c;c=g;g=h;h=i;IHEAP[r]=c;IHEAP[r+1]=g;IHEAP[r+2]=h;IHEAP[r+3]=-1;c=Q;r=I;h=c;g=IHEAP[r+2]*IHEAP[h+1]-IHEAP[r+1]*IHEAP[h+2];c=IHEAP[r]*IHEAP[h+2]-IHEAP[r+2]*IHEAP[h];i=IHEAP[r+1]*IHEAP[h]-IHEAP[r]*IHEAP[h+1];r=O;h=c;c=g;g=h;h=i;IHEAP[r]=c;IHEAP[r+1]=g;IHEAP[r+2]=h;c=z;r=O;r=IHEAP[r+1]*IHEAP[c+1]+IHEAP[r]*IHEAP[c]+IHEAP[r+2]*IHEAP[c+2];c=v+13;i=g=D+13;h=IHEAP[c]+IHEAP[i];g=IHEAP[c+1]+IHEAP[i+ +1];j=IHEAP[c+2]+IHEAP[i+2];c=P;i=g;g=h;h=i;i=j;IHEAP[c]=g;IHEAP[c+1]=h;IHEAP[c+2]=i;IHEAP[c+3]=-1;c=x+13;i=g=P;h=IHEAP[c]+IHEAP[i];g=IHEAP[c+1]+IHEAP[i+1];j=IHEAP[c+2]+IHEAP[i+2];c=S;i=g;g=h;h=i;i=j;IHEAP[c]=g;IHEAP[c+1]=h;IHEAP[c+2]=i;IHEAP[c+3]=-1;g=S;c=s;i=g;h=IHEAP[c]+IHEAP[i];g=IHEAP[c+1]+IHEAP[i+1];j=IHEAP[c+2]+IHEAP[i+2];c=L;i=g;g=h;h=i;i=j;IHEAP[c]=g;IHEAP[c+1]=h;IHEAP[c+2]=i;IHEAP[c+3]=-1;g=IHEAP[fa]*r;c=T;IHEAP[c]=g;IHEAP[c+1]=g>=0?0:-1;c=M;g=T;i=c;h=IHEAP[g]+IHEAP[i];c=h<IHEAP[i]?33:34; +g:for(;;)if(c==33)IHEAP[i+1]+=1,c=34;else if(c==34){IHEAP[i]=h;IHEAP[i+1]+=IHEAP[g+1];l=IHEAP[ga]*r;k=U;IHEAP[k]=l;IHEAP[k+1]=l>=0?0:-1;l=K;k=U;var ya=l;l=IHEAP[k]+IHEAP[ya];c=l<IHEAP[ya]?35:36;break g}g:for(;;)if(c==35)IHEAP[ya+1]+=1,c=36;else if(c==36){IHEAP[ya]=l;IHEAP[ya+1]+=IHEAP[k+1];n=IHEAP[ja]*r;m=W;IHEAP[m]=n;IHEAP[m+1]=n>=0?0:-1;n=N;m=W;var xa=n;n=IHEAP[m]+IHEAP[xa];c=n<IHEAP[xa]?37:38;break g}g:for(;;)if(c==37)IHEAP[xa+1]+=1,c=38;else if(c==38){IHEAP[xa]=n;IHEAP[xa+1]+=IHEAP[m+1];q=r;o= +Z;IHEAP[o]=q;IHEAP[o+1]=q>=0?0:-1;q=R;o=Z;var ia=q;q=IHEAP[o]+IHEAP[ia];c=q<IHEAP[ia]?39:40;break g}for(;;)if(c==39)IHEAP[ia+1]+=1,c=40;else if(c==40){IHEAP[ia]=q;IHEAP[ia+1]+=IHEAP[o+1];c=31;continue f}}else if(c==31)if(IHEAP[u+5]=e,IHEAP[u+4]=IHEAP[w],v=x,x=IHEAP[u+3],u=IHEAP[IHEAP[u+2]+1],u!=y)break f;else{c=21;continue d}var ma=v,f=29;c=28}}else if(c==21)if(y=IHEAP[y],y!=IHEAP[D+2]){c=10;continue c}else{c=7;continue b}}}if(c==9){p=R;c=IHEAP[p+1]<0?41:42;b:for(;;)if(c==41){J=0;c=45;break b}else if(c== +42){if(IHEAP[p+1]!=0){c=43;break b}if((IHEAP[p]!=0?1:0)<=0)c=41;else{c=43;break b}}b:for(;;)if(c==45){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal4FaceEE5clearEv(F);__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(G);break a}else if(c==43){s=__ZNK20btConvexHullInternal6Int1288toScalarEv(M);w=IHEAP[a+27];p=ca;FHEAP[p+w]=s;s=__ZNK20btConvexHullInternal6Int1288toScalarEv(K);w=IHEAP[a+28];p=ca;FHEAP[p+w]=s;s=__ZNK20btConvexHullInternal6Int1288toScalarEv(N);w=IHEAP[a+26];p=ca; +FHEAP[p+w]=s;p=4*__ZNK20btConvexHullInternal6Int1288toScalarEv(R);FHEAP[Y]=p;s=ca;p=Y;FHEAP[b]=1/FHEAP[p];p=b;FHEAP[s]*=FHEAP[p];FHEAP[s+1]*=FHEAP[p];FHEAP[s+2]*=FHEAP[p];s=a;p=ca;FHEAP[p]*=FHEAP[s];FHEAP[p+1]*=FHEAP[s+1];FHEAP[p+2]*=FHEAP[s+2];p=F;p=IHEAP[p+1];c=d>0?46:47;c:for(;;)if(c==46){s=3.4028234663852886E38;w=0;c=w<p?48:49;d:for(;;)if(c==48){v=w;u=F;__ZN20btConvexHullInternal11getBtNormalEPNS_4FaceE(ea,a,IHEAP[IHEAP[u+3]+v]);v=w;u=F;__ZN20btConvexHullInternal10toBtVectorERKNS_7Point32E(ba, +a,IHEAP[IHEAP[u+3]+v]+3);u=ba;v=ca;FHEAP[B]=FHEAP[u]-FHEAP[v];FHEAP[C]=FHEAP[u+1]-FHEAP[v+1];FHEAP[A]=FHEAP[u+2]-FHEAP[v+2];u=ha;v=B;x=C;z=A;FHEAP[u]=FHEAP[v];FHEAP[u+1]=FHEAP[x];FHEAP[u+2]=FHEAP[z];FHEAP[u+3]=0;v=ea;u=ha;u=FHEAP[v]*FHEAP[u]+FHEAP[v+1]*FHEAP[u+1]+FHEAP[v+2]*FHEAP[u+2];for(c=u<s?50:51;;)if(c==50)s=u,c=51;else if(c==51)if(w+=1,w<p){c=48;continue d}else break;if(s<=0){c=53;break c}else c=49}else if(c==49){FHEAP[V]=s*d;s=H;w=V;u=s;v=w;FHEAP[H]=FHEAP[FHEAP[s]<FHEAP[w]?u:v];c=47;continue c}}else if(c== +47){aa=243703;X=0;c=X<p?54:55;break c}c:for(;;)if(c==53){J=0;c=45;continue b}else if(c==54)w=X,s=F,s=IHEAP[s+3]+w,u=aa%p,w=F,w=IHEAP[w+3]+u,u=IHEAP[s],IHEAP[s]=IHEAP[w],IHEAP[w]=u,X+=1,aa=aa*1664525+1013904223,c=X<p?54:55;else if(c==55){ka=0;c=56;break c}for(;;){if(!(ka<p)){c=58;break}w=ka;s=F;u=IHEAP[IHEAP[s+3]+w];v=FHEAP[H];s=da;w=G;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEEC2ERKS3_(s,w);var ta;try{__THREW__=!1,ta=__ZN20btConvexHullInternal9shiftFaceEPNS_4FaceEf20btAlignedObjectArrayIPNS_6VertexEE(a, +u,v,da)}catch(ra){if(ABORT)throw ra;__THREW__=!0;print("Exception: "+ra+" : "+ra.stack+", currently at: "+Error().stack);ta=null}if(__THREW__)break b;s=ta^1;w=da;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(w);if(s){c=59;break}ka+=1;c=56}c==58?(J=FHEAP[H],c=45):c==59&&(J=0-FHEAP[H],c=45)}p=b=_llvm_eh_exception();_llvm_eh_selector(b,___gxx_personality_v0,0);b=da;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(b)}else c==63&&(p=b=_llvm_eh_exception(),_llvm_eh_selector(b, +___gxx_personality_v0,0));b=F;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal4FaceEE5clearEv(b);__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(G);__Unwind_Resume_or_Rethrow(p);throw"Reached an unreachable! Original .ll line: 394115";}else J=0;while(0);STACKTOP=b;return J} +function __ZN20btConvexHullInternal4PoolINS_4FaceEE9newObjectEv(a){var e,d=null,b,c,f,g;g=IHEAP[a+2];e=g!=0?0:1;a:for(;;)if(e==0){IHEAP[a+2]=IHEAP[g];var h=g;h==0?(d=0,e=12):(d=0,e=13);break a}else if(e==1){b=IHEAP[a+1];c=b!=0;b:do if(c)IHEAP[a+1]=IHEAP[b+2];else{f=__Z22btAlignedAllocInternalji(12,16);f==0?(d=3,e=4):(d=3,e=5);for(;;)if(e==4){b=d==3?0:i;IHEAP[b+2]=IHEAP[a];IHEAP[a]=b;break b}else if(e==5){var i=f;e=IHEAP[a+3];d=i;IHEAP[d+1]=e;IHEAP[d+2]=0;e=__Z22btAlignedAllocInternalji(e*60,16);IHEAP[d]= +e;d=5;e=4}}while(0);f=b;b=IHEAP[f];c=0;var j=f+1;e=c<IHEAP[j]?7:8;b:for(;;)if(e==7){var k=f+1;c:for(;;){c+1<IHEAP[k]?(d=9,e=10):(d=9,e=11);for(;;)if(e==10){var l=b+15,d=10;e=11}else if(e==11)if(IHEAP[b]=d==10?l:0,c+=1,b+=15,c<IHEAP[j]){e=9;continue c}else{e=8;continue b}}}else if(e==8){g=IHEAP[f];e=0;continue a}}for(;;)if(e==12)return d==0?0:m;else if(e==13){var m=h,a=m;IHEAP[a]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;d=13;e=12}return null} +function __ZN20btConvexHullInternal4Face4initEPNS_6VertexES2_S2_(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f=c+4;IHEAP[a+1]=e;_llvm_memcpy_p0i8_p0i8_i32(a+3,e+13,4,4,0);var g=e+13;d+=13;var h=IHEAP[d+1]-IHEAP[g+1],i=IHEAP[d+2]-IHEAP[g+2];IHEAP[c]=IHEAP[d]-IHEAP[g];IHEAP[c+1]=h;IHEAP[c+2]=i;IHEAP[c+3]=-1;_llvm_memcpy_p0i8_p0i8_i32(a+7,c,4,4,0);g=e+13;b+=13;d=IHEAP[b+1]-IHEAP[g+1];h=IHEAP[b+2]-IHEAP[g+2];IHEAP[f]=IHEAP[b]-IHEAP[g];IHEAP[f+1]=d;IHEAP[f+2]=h;IHEAP[f+3]=-1;_llvm_memcpy_p0i8_p0i8_i32(a+11, +f,4,4,0);IHEAP[e+4]!=0?IHEAP[IHEAP[e+4]+2]=a:IHEAP[e+3]=a;IHEAP[e+4]=a;STACKTOP=c}function __ZNK20btConvexHullInternal6Int1288toScalarEv(a){var e=STACKTOP;STACKTOP+=2;var d=null;if(IHEAP[a+1]>=0)var b=IHEAP[a+1]*1.8446744073709552E19+IHEAP[a],d=0;else{d=(IHEAP[a]==0)+(IHEAP[a+1]^-1);a=0-IHEAP[a];IHEAP[e]=a;IHEAP[e+1]=d;var c=0-__ZNK20btConvexHullInternal6Int1288toScalarEv(e),d=2}STACKTOP=e;return d==0?b:c} +function __ZN20btConvexHullInternal9shiftFaceEPNS_4FaceEf20btAlignedObjectArrayIPNS_6VertexEE(a,e,d,b){var c=STACKTOP;STACKTOP+=169;var f,g=null,h,i,j,k,l,m,n,o,q,p,r=c+2,s=c+4,u=c+6,v=c+8,y=c+10,x=c+12,z=c+14,B,C,A,w,D,E,F,G,J,H,M,K,N,R,O,Q,I;w=c+16;H=c+17;f=c+18;var L;D=c+19;n=c+23;h=c+27;B=c+28;var P=c+32,S=c+35,T=c+39,U=c+45,W=c+51,Z=c+57,ca,Y,ea,ha=c+63,ba=c+69,V=c+75,aa=c+76,X=c+79,ka=c+82,da=c+86,fa=c+90,ga=c+92,ja=c+94,la=c+96,qa=c+97,pa=c+105,wa=c+107,ua=c+109,na=c+111,ya=c+113,xa=c+115, +ia=c+117,ma=c+119,ta=c+121,ra=c+123,oa=c+125,Da=c+127,Ba=c+129,Oa=c+131,Fa=c+133,Ha=c+135,La=c+137,Ea=c+139,Ca=c+141,Aa=c+143,za=c+145,Ja=c+147,Ra=c+149,Ua=c+151,Xa=c+153,Wa=c+155,Sa=c+157,Ga=c+159,Ia=c+161,Pa=c+162,Ta=c+163,Va=c+164,fb=c+165,ib=c+166,Na=c+167,Za=c+168;__ZN20btConvexHullInternal11getBtNormalEPNS_4FaceE(n,a,e);FHEAP[h]=0-d;FHEAP[w]=FHEAP[n]*FHEAP[h];FHEAP[H]=FHEAP[n+1]*FHEAP[h];FHEAP[f]=FHEAP[n+2]*FHEAP[h];FHEAP[D]=FHEAP[w];FHEAP[D+1]=FHEAP[H];FHEAP[D+2]=FHEAP[f];FHEAP[D+3]=0;f=FHEAP[a]> +0?0:1;a:for(;;)if(f==0)d=a,w=FHEAP[d],d=D,FHEAP[d]/=w,f=1;else if(f==1){d=a;f=FHEAP[d+1]>0?2:3;break a}a:for(;;)if(f==2)d=a,w=FHEAP[d+1],d=D,FHEAP[d+1]/=w,f=3;else if(f==3){d=a;f=FHEAP[d+2]>0?4:5;break a}a:for(;;)if(f==4)d=a,w=FHEAP[d+2],d=D,FHEAP[d+2]/=w,f=5;else if(f==5){d=IHEAP[a+27];A=D;A=FHEAP[A+d]|0;w=IHEAP[a+28];d=D;d=FHEAP[d+w]|0;w=IHEAP[a+26];w=FHEAP[D+w]|0;D=B;IHEAP[D]=A;IHEAP[D+1]=d;IHEAP[D+2]=w;IHEAP[D+3]=-1;A=D=B;f=IHEAP[A]==0?6:7;break a}a:for(;;)if(f==6){if(IHEAP[A+1]!=0){f=7;continue a}if(IHEAP[A+ +2]==0){f=9;break a}else f=7}else if(f==7){D=C=e;C=D+11;D+=7;d=D;A=IHEAP[C+2]*IHEAP[d+1]-IHEAP[C+1]*IHEAP[d+2];D=IHEAP[C]*IHEAP[d+2]-IHEAP[C+2]*IHEAP[d];w=IHEAP[C+1]*IHEAP[d]-IHEAP[C]*IHEAP[d+1];C=P;d=D;D=A;A=d;d=w;IHEAP[C]=D;IHEAP[C+1]=A;IHEAP[C+2]=d;D=e+3;C=P;D=IHEAP[C+1]*IHEAP[D+1]+IHEAP[C]*IHEAP[D]+IHEAP[C+2]*IHEAP[D+2];A=e+3;C=B;d=A;A=IHEAP[C]+IHEAP[d];B=IHEAP[C+1]+IHEAP[d+1];w=IHEAP[C+2]+IHEAP[d+2];C=S;d=B;B=A;A=d;d=w;IHEAP[C]=B;IHEAP[C+1]=A;IHEAP[C+2]=d;IHEAP[C+3]=-1;B=S;C=P;C=IHEAP[C+1]*IHEAP[B+ +1]+IHEAP[C]*IHEAP[B]+IHEAP[C+2]*IHEAP[B+2];f=C>=D?11:12;break a}a:do if(f==9)L=1;else if(f==11)L=0;else if(f==12){D=0;A=IHEAP[IHEAP[e+1]+2];__ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(T,IHEAP[e+1],P);B=__ZNK20btConvexHullInternal11Rational1287compareEx(T,C);d=B>=0;w=A;b:do{if(d){d=w;w=T;H=U;c:for(;;){__ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(U,IHEAP[d+3],P);for(f=__ZNK20btConvexHullInternal11Rational1287compareERKS0_(U,T)<0?14:15;;)if(f==14){f=__ZNK20btConvexHullInternal11Rational1287compareEx(U, +C);_llvm_memcpy_p0i8_p0i8_i32(w,H,6,4,0);A=d=IHEAP[d+2];if(f<0){f=16;break c}B=f;f=15}else if(f==15)if(d=IHEAP[d+1],d!=A){f=13;continue c}else{f=19;break c}}if(f==16){var gb=d;D=gb;g=16}else if(f==19)var lb=D,g=19;if((g==19?lb:gb)!=0)break b;L=0}else{d=w;w=T;H=W;c:for(;;){__ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(W,IHEAP[d+3],P);for(f=__ZNK20btConvexHullInternal11Rational1287compareERKS0_(W,T)>0?24:25;;)if(f==24){B=__ZNK20btConvexHullInternal11Rational1287compareEx(W,C);if(B>=0){f=26; +break c}_llvm_memcpy_p0i8_p0i8_i32(w,H,6,4,0);A=d=IHEAP[d+2];f=25}else if(f==25)if(d=IHEAP[d+1],d!=A){f=23;continue c}else{f=29;break c}}if(f==26){var $a=d;D=$a;g=26}else if(f==29)var eb=D,g=29;if((g==29?eb:$a)!=0)break b;L=1}break a}while(0);f=B==0?31:32;b:for(;;)if(f==31)for(A=IHEAP[IHEAP[D+2]];;){__ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(Z,IHEAP[A+3],P);if(!(__ZNK20btConvexHullInternal11Rational1287compareEx(Z,C)<=0)){f=32;continue b}A=IHEAP[A];if(A==IHEAP[D+2]){f=35;break b}else f= +33}else if(f==32){ea=Y=ca=0;var bb=a+8,sb=S,Ka=S+1,Ya=S+2,jb=Ga,kb=fa,tb=z,Bb=pa,Qa=x,wb=ra,mb=y,yb=Ca,ub=v,Ma=Ga,sa=u,va=z,pb=s,ab=x,db=r,vb=y,Fb=c,zb=v,Kb=u,nb=s,Cb=r,Eb=c,Ib=qa;f=36;break b}b:for(;;)if(f==35){L=1;break a}else if(f==36){f=B==0?37:38;c:for(;;)if(f==37)for(A=d=IHEAP[IHEAP[D+2]];;){__ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(ha,IHEAP[d+3],P);if(__ZNK20btConvexHullInternal11Rational1287compareEx(ha,C)>=0){f=38;continue c}D=IHEAP[d+2];d=IHEAP[d];if(d==A){f=41;break b}else f= +39}else if(f==38){var Jb=D;f=ca!=0?42:43;break c}if(f==42){if(Jb==ca){f=45;break b}}else f==43&&(ca=Jb);A=B;w=D;d=Y;f=IHEAP[D+2];c:for(;;)if(f=IHEAP[IHEAP[f+2]+1],__ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(ba,IHEAP[f+3],P),B=g=__ZNK20btConvexHullInternal11Rational1287compareEx(ba,C),g>=0)break c;D=f;H=B;H>0?(g=47,f=48):(g=47,f=49);c:for(;;)if(f==48){IHEAP[V]=IHEAP[D+3];f=IHEAP[D+2];IHEAP[f+1]==f?IHEAP[IHEAP[V]+2]=0:(IHEAP[IHEAP[V]+2]=IHEAP[f+1],h=IHEAP[f],n=IHEAP[f+1],IHEAP[n]=h,IHEAP[h+ +1]=n,n=h=f,IHEAP[n]=h,IHEAP[h+1]=n);h=n=IHEAP[D+4];n=h+11;h+=7;j=h;i=IHEAP[n+2]*IHEAP[j+1]-IHEAP[n+1]*IHEAP[j+2];h=IHEAP[n]*IHEAP[j+2]-IHEAP[n+2]*IHEAP[j];p=IHEAP[n+1]*IHEAP[j]-IHEAP[n]*IHEAP[j+1];n=aa;j=h;h=i;i=j;j=p;IHEAP[n]=h;IHEAP[n+1]=i;IHEAP[n+2]=j;h=n=IHEAP[IHEAP[D+2]+4];n=h+11;h+=7;j=h;i=IHEAP[n+2]*IHEAP[j+1]-IHEAP[n+1]*IHEAP[j+2];h=IHEAP[n]*IHEAP[j+2]-IHEAP[n+2]*IHEAP[j];p=IHEAP[n+1]*IHEAP[j]-IHEAP[n]*IHEAP[j+1];n=X;j=h;h=i;i=j;j=p;IHEAP[n]=h;IHEAP[n+1]=i;IHEAP[n+2]=j;h=e+7;n=aa;h=IHEAP[n+ +1]*IHEAP[h+1]+IHEAP[n]*IHEAP[h]+IHEAP[n+2]*IHEAP[h+2];i=e+11;n=aa;i=IHEAP[n+1]*IHEAP[i+1]+IHEAP[n]*IHEAP[i]+IHEAP[n+2]*IHEAP[i+2];j=e+7;n=X;n=IHEAP[n+1]*IHEAP[j+1]+IHEAP[n]*IHEAP[j]+IHEAP[n+2]*IHEAP[j+2];p=e+11;j=X;j=IHEAP[j+1]*IHEAP[p+1]+IHEAP[j]*IHEAP[p]+IHEAP[j+2]*IHEAP[p+2];q=IHEAP[D+4]+3;p=S;k=q;o=IHEAP[k]-IHEAP[p];q=IHEAP[k+1]-IHEAP[p+1];l=IHEAP[k+2]-IHEAP[p+2];p=ka;k=q;q=o;o=k;k=l;IHEAP[p]=q;IHEAP[p+1]=o;IHEAP[p+2]=k;IHEAP[p+3]=-1;q=ka;p=aa;p=IHEAP[p+1]*IHEAP[q+1]+IHEAP[p]*IHEAP[q]+IHEAP[p+ +2]*IHEAP[q+2];o=IHEAP[IHEAP[D+2]+4]+3;q=S;l=o;k=IHEAP[l]-IHEAP[q];o=IHEAP[l+1]-IHEAP[q+1];m=IHEAP[l+2]-IHEAP[q+2];q=da;l=o;o=k;k=l;l=m;IHEAP[q]=o;IHEAP[q+1]=k;IHEAP[q+2]=l;IHEAP[q+3]=-1;o=da;q=X;o=IHEAP[q+1]*IHEAP[o+1]+IHEAP[q]*IHEAP[o]+IHEAP[q+2]*IHEAP[o+2];__ZN20btConvexHullInternal6Int1283mulExx(ga,h,j);__ZN20btConvexHullInternal6Int1283mulExx(ja,i,n);__ZNK20btConvexHullInternal6Int128miERKS0_(fa,ga,ja);q=__ZN20btConvexHullInternal4PoolINS_6VertexEE9newObjectEv(bb);IHEAP[la]=q;IHEAP[IHEAP[la]+ +13+3]=-1;IHEAP[IHEAP[la]+17]=-1;q=IHEAP[la]+5;__ZN20btConvexHullInternal6Int1283mulExx(wa,IHEAP[e+7]*p,j);__ZN20btConvexHullInternal6Int1283mulExx(ua,IHEAP[e+7]*o,i);__ZNK20btConvexHullInternal6Int128miERKS0_(na,wa,ua);__ZN20btConvexHullInternal6Int1283mulExx(ya,IHEAP[e+11]*o,h);l=na;k=ya;var Ab=l;l=m=IHEAP[k]+IHEAP[Ab];m=IHEAP[k+1]+IHEAP[Ab+1]+(m<IHEAP[Ab]);k=xa;IHEAP[k]=l;IHEAP[k+1]=m;__ZN20btConvexHullInternal6Int1283mulExx(ia,IHEAP[e+11]*p,n);__ZNK20btConvexHullInternal6Int128miERKS0_(ma,xa,ia); +__ZNK20btConvexHullInternal6Int128mlEx(ta,fa,IHEAP[sb]);l=ma;k=ta;Ab=l;l=m=IHEAP[k]+IHEAP[Ab];m=IHEAP[k+1]+IHEAP[Ab+1]+(m<IHEAP[Ab]);k=pa;IHEAP[k]=l;IHEAP[k+1]=m;__ZN20btConvexHullInternal6Int1283mulExx(oa,IHEAP[e+7+1]*p,j);__ZN20btConvexHullInternal6Int1283mulExx(Da,IHEAP[e+7+1]*o,i);__ZNK20btConvexHullInternal6Int128miERKS0_(Ba,oa,Da);__ZN20btConvexHullInternal6Int1283mulExx(Oa,IHEAP[e+11+1]*o,h);l=Ba;k=Oa;Ab=l;l=m=IHEAP[k]+IHEAP[Ab];m=IHEAP[k+1]+IHEAP[Ab+1]+(m<IHEAP[Ab]);k=Fa;IHEAP[k]=l;IHEAP[k+ +1]=m;__ZN20btConvexHullInternal6Int1283mulExx(Ha,IHEAP[e+11+1]*p,n);__ZNK20btConvexHullInternal6Int128miERKS0_(La,Fa,Ha);__ZNK20btConvexHullInternal6Int128mlEx(Ea,fa,IHEAP[Ka]);l=La;k=Ea;Ab=l;l=m=IHEAP[k]+IHEAP[Ab];m=IHEAP[k+1]+IHEAP[Ab+1]+(m<IHEAP[Ab]);k=ra;IHEAP[k]=l;IHEAP[k+1]=m;__ZN20btConvexHullInternal6Int1283mulExx(Aa,IHEAP[e+7+2]*p,j);__ZN20btConvexHullInternal6Int1283mulExx(za,IHEAP[e+7+2]*o,i);__ZNK20btConvexHullInternal6Int128miERKS0_(Ja,Aa,za);__ZN20btConvexHullInternal6Int1283mulExx(Ra, +IHEAP[e+11+2]*o,h);i=Ja;h=Ra;o=i;i=j=IHEAP[h]+IHEAP[o];j=IHEAP[h+1]+IHEAP[o+1]+(j<IHEAP[o]);h=Ua;IHEAP[h]=i;IHEAP[h+1]=j;__ZN20btConvexHullInternal6Int1283mulExx(Xa,IHEAP[e+11+2]*p,n);__ZNK20btConvexHullInternal6Int128miERKS0_(Wa,Ua,Xa);__ZNK20btConvexHullInternal6Int128mlEx(Sa,fa,IHEAP[Ya]);h=Wa;n=Sa;j=h;h=i=IHEAP[n]+IHEAP[j];i=IHEAP[n+1]+IHEAP[j+1]+(i<IHEAP[j]);n=Ca;IHEAP[n]=h;IHEAP[n+1]=i;_llvm_memcpy_p0i8_p0i8_i32(jb,kb,2,4,0);_llvm_memcpy_p0i8_p0i8_i64(tb,Bb,2,1,0);_llvm_memcpy_p0i8_p0i8_i64(Qa, +wb,2,1,0);_llvm_memcpy_p0i8_p0i8_i64(mb,yb,2,1,0);_llvm_memcpy_p0i8_p0i8_i64(ub,Ma,2,1,0);n=qa;_llvm_memcpy_p0i8_p0i8_i64(sa,va,2,1,0);_llvm_memcpy_p0i8_p0i8_i64(pb,ab,2,1,0);_llvm_memcpy_p0i8_p0i8_i64(db,vb,2,1,0);_llvm_memcpy_p0i8_p0i8_i64(Fb,zb,2,1,0);_llvm_memcpy_p0i8_p0i8_i32(n,Kb,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+2,nb,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+4,Cb,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(n+6,Eb,2,4,0);_llvm_memcpy_p0i8_p0i8_i32(q,Ib,8,4,0);h=n=IHEAP[la]+5;n=__ZNK20btConvexHullInternal6Int1288toScalarEv(h); +h=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+6);IHEAP[IHEAP[la]+13]=n/h|0;h=n=IHEAP[la]+5;n=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+2);h=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+6);IHEAP[IHEAP[la]+13+1]=n/h|0;h=n=IHEAP[la]+5;n=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+4);h=__ZNK20btConvexHullInternal6Int1288toScalarEv(h+6);IHEAP[IHEAP[la]+13+2]=n/h|0;IHEAP[D+3]=IHEAP[la];IHEAP[IHEAP[la]+2]=f;f=b;n=la;f=h=f;i=f=IHEAP[f+1];f=h;f=i==IHEAP[f+2]?51:52;d:for(;;)if(f==51){g=h;i= +IHEAP[g+1];i!=0?(g=51,f=53):(g=51,f=54);for(;;)if(f==53){var qb=i*2,g=53;f=54}else if(f==54){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(h,g==53?qb:1);f=52;continue d}}else if(f==52){var Nb=IHEAP[h+3]+IHEAP[h+1];f=Nb==0?55:56;break d}d:for(;;)if(f==55){IHEAP[h+1]+=1;E=b;F=V;f=E;n=f=IHEAP[f+1];f=E;f=n==IHEAP[f+2]?57:58;break d}else f==56&&(IHEAP[Nb]=IHEAP[n],f=55);d:for(;;)if(f==57){g=E;n=IHEAP[g+1];n!=0?(g=57,f=59):(g=57,f=60);for(;;)if(f==59){var rb=n*2,g=59;f=60}else if(f== +60){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(E,g==59?rb:1);f=58;continue d}}else if(f==58){var Gb=IHEAP[E+3]+IHEAP[E+1];f=Gb==0?61:62;break d}d:for(;;)if(f==61){IHEAP[E+1]+=1;IHEAP[Ia]=0;G=b;J=Ia;f=G;n=f=IHEAP[f+1];f=G;f=n==IHEAP[f+2]?63:64;break d}else f==62&&(IHEAP[Gb]=IHEAP[F],f=61);d:for(;;)if(f==63){g=G;n=IHEAP[g+1];n!=0?(g=63,f=65):(g=63,f=66);for(;;)if(f==65){var Ob=n*2,g=65;f=66}else if(f==66){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(G, +g==65?Ob:1);f=64;continue d}}else if(f==64){var hb=IHEAP[G+3]+IHEAP[G+1];f=hb==0?67:68;break d}for(;;)if(f==67){IHEAP[G+1]+=1;var Sb=B,g=67;f=49;continue c}else f==68&&(IHEAP[hb]=IHEAP[J],f=67)}else if(f==49){f=(g==67?Sb:H)!=0?69:70;break c}c:for(;;)if(f==69){Y=__ZN20btConvexHullInternal11newEdgePairEPNS_6VertexES1_(a,IHEAP[w+3],IHEAP[D+3]);f=A==0?73:74;break c}else if(f==70){if(A!=0){f=69;continue c}if(IHEAP[IHEAP[IHEAP[w+2]]+3]!=IHEAP[D+3])f=69;else{f=72;break c}}c:for(;;)if(f==73)if(f=IHEAP[IHEAP[w+ +2]],H=Y,IHEAP[H]=f,IHEAP[f+1]=H,A==0){f=75;break c}else f=74;else if(f==74){f=d!=0?75:76;break c}else if(f==72){Y=IHEAP[IHEAP[w+2]];f=79;break c}c:for(;;)if(f==75)f=Y,H=IHEAP[w+2],IHEAP[H]=f,IHEAP[f+1]=H,f=76;else if(f==76)for(f=B==0?77:78;;)if(f==77)f=IHEAP[Y+2],H=IHEAP[IHEAP[D+2]+1],IHEAP[H]=f,IHEAP[f+1]=H,f=78;else{if(f==78){f=IHEAP[D+2];H=IHEAP[Y+2];IHEAP[H]=f;IHEAP[f+1]=H;f=79;continue c}}else if(f==79){f=d!=0?80:81;break c}c:for(;;)if(f==80)if(w=Y,H=IHEAP[d+2],A>0)IHEAP[w]=H,IHEAP[H+1]=w,f= +81;else{if(w==H){f=81;continue c}w=d+3;f=H=b;n=f=IHEAP[f+1];f=H;f=n==IHEAP[f+2]?83:84;d:for(;;)if(f==83){g=H;n=IHEAP[g+1];n!=0?(g=83,f=85):(g=83,f=86);for(;;)if(f==85){var Ub=n*2,g=85;f=86}else if(f==86){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(H,g==85?Ub:1);f=84;continue d}}else if(f==84){var Vb=IHEAP[H+3]+IHEAP[H+1];f=Vb==0?87:88;break d}d:for(;;)if(f==87){IHEAP[H+1]+=1;f=IHEAP[Y]!=IHEAP[d+2]?89:90;break d}else f==88&&(IHEAP[Vb]=IHEAP[w],f=87);d:for(;;)if(f==89){IHEAP[Pa]= +IHEAP[IHEAP[Y]+3];__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,IHEAP[Y]);H=b;w=Pa;f=H;n=f=IHEAP[f+1];f=H;f=n==IHEAP[f+2]?91:92;e:for(;;)if(f==91){g=H;n=IHEAP[g+1];n!=0?(g=91,f=93):(g=91,f=94);for(;;)if(f==93){var Hb=n*2,g=93;f=94}else if(f==94){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(H,g==93?Hb:1);f=92;continue e}}else if(f==92){var Lb=IHEAP[H+3]+IHEAP[H+1];f=Lb==0?95:96;break e}for(;;)if(f==95){IHEAP[H+1]+=1;f=IHEAP[Y]!=IHEAP[d+2]?89:90;continue d}else f== +96&&(IHEAP[Lb]=IHEAP[w],f=95)}else if(f==90){IHEAP[Ta]=0;M=b;K=Ta;w=M;H=w=IHEAP[w+1];w=M;f=H==IHEAP[w+2]?97:98;break d}d:for(;;)if(f==97){g=M;w=IHEAP[g+1];w!=0?(g=97,f=99):(g=97,f=100);for(;;)if(f==99){var ob=w*2,g=99;f=100}else if(f==100){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(M,g==99?ob:1);f=98;continue d}}else if(f==98){var Db=IHEAP[M+3]+IHEAP[M+1];f=Db==0?101:102;break d}for(;;)if(f==101){IHEAP[M+1]+=1;f=81;continue c}else f==102&&(IHEAP[Db]=IHEAP[K],f=101)}else if(f== +81)if(IHEAP[Y+4]=e,IHEAP[IHEAP[Y+2]+4]=IHEAP[D+4],ea!=0){f=36;continue b}else break c;ea=Y;f=36}if(f==45){B=B>0;b:do if(B)IHEAP[IHEAP[ea+2]+3]=IHEAP[Y+3],A=ea,D=IHEAP[ca+2],IHEAP[D]=A,IHEAP[A+1]=D,A=IHEAP[Y+2],D=ea,IHEAP[D]=A,IHEAP[A+1]=D;else{if(ea==IHEAP[Y+2])break b;D=Y+3;d=A=b;w=d=IHEAP[d+1];d=A;f=w==IHEAP[d+2]?107:108;c:for(;;)if(f==107){g=A;d=IHEAP[g+1];d!=0?(g=107,f=109):(g=107,f=110);for(;;)if(f==109){var xb=d*2,g=109;f=110}else if(f==110){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(A, +g==109?xb:1);f=108;continue c}}else if(f==108){var Qb=IHEAP[A+3]+IHEAP[A+1];f=Qb==0?111:112;break c}c:for(;;)if(f==111){IHEAP[A+1]+=1;f=IHEAP[ea]!=IHEAP[Y+2]?113:114;break c}else f==112&&(IHEAP[Qb]=IHEAP[D],f=111);c:for(;;)if(f==113){IHEAP[Va]=IHEAP[IHEAP[ea]+3];__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,IHEAP[ea]);A=b;D=Va;d=A;w=d=IHEAP[d+1];d=A;f=w==IHEAP[d+2]?115:116;d:for(;;)if(f==115){g=A;d=IHEAP[g+1];d!=0?(g=115,f=117):(g=115,f=118);for(;;)if(f==117){var Wb=d*2,g=117;f=118}else if(f== +118){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(A,g==117?Wb:1);f=116;continue d}}else if(f==116){var Tb=IHEAP[A+3]+IHEAP[A+1];f=Tb==0?119:120;break d}for(;;)if(f==119){IHEAP[A+1]+=1;f=IHEAP[ea]!=IHEAP[Y+2]?113:114;continue c}else f==120&&(IHEAP[Tb]=IHEAP[D],f=119)}else if(f==114){IHEAP[fb]=0;N=b;R=fb;D=N;A=D=IHEAP[D+1];D=N;f=A==IHEAP[D+2]?121:122;break c}c:for(;;)if(f==121){g=N;D=IHEAP[g+1];D!=0?(g=121,f=123):(g=121,f=124);for(;;)if(f==123){var $b=D*2,g=123;f=124}else if(f== +124){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(N,g==123?$b:1);f=122;continue c}}else if(f==122){var Zb=IHEAP[N+3]+IHEAP[N+1];f=Zb==0?125:126;break c}for(;;)if(f==125){IHEAP[N+1]+=1;break b}else f==126&&(IHEAP[Zb]=IHEAP[R],f=125)}while(0);B=b;IHEAP[a+31]=IHEAP[IHEAP[B+3]+0];A=B=0;D=b;f=A<IHEAP[D+1]?127:128;b:for(;;)if(f==127){D=b;D=IHEAP[D+1];f=B<D?129:130;c:for(;;)if(f==129){d=B;B=d+1;A=b;IHEAP[ib]=IHEAP[IHEAP[A+3]+d];A=0;w=B;B=w+1;d=b;d=w=IHEAP[IHEAP[d+3]+w];f=w!=0?131: +132;d:for(;;)if(f==131){w=d;H=IHEAP[ib];f=IHEAP[w+3];IHEAP[H+4]!=0?IHEAP[IHEAP[H+4]+2]=f:IHEAP[H+3]=f;f=IHEAP[w+4]!=0?134:135;e:for(;;)if(f==134)IHEAP[H+4]=IHEAP[w+4],f=135;else if(f==135){O=f=IHEAP[w+3];f=f!=0?136:137;break e}e:for(;;)if(f==136)IHEAP[O+1]=H,O=f=IHEAP[O+2],f=f!=0?136:137;else if(f==137){IHEAP[w+3]=0;IHEAP[w+4]=0;f=IHEAP[d+2]!=0?138:139;break e}e:for(;;)if(f==138){f=A&1?140:141;f:for(;;)if(f==140){I=IHEAP[d+2]+3;w=Q=b;H=w=IHEAP[w+1];w=Q;f=H==IHEAP[w+2]?148:149;break f}else if(f==141){A= +1;H=b;w=ib;f=H;n=f=IHEAP[f+1];f=H;f=n==IHEAP[f+2]?142:143;g:for(;;)if(f==142){g=H;n=IHEAP[g+1];n!=0?(g=142,f=144):(g=142,f=145);for(;;)if(f==144){var Mb=n*2,g=144;f=145}else if(f==145){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(H,g==144?Mb:1);f=143;continue g}}else if(f==143){var cb=IHEAP[H+3]+IHEAP[H+1];f=cb==0?146:147;break g}for(;;)if(f==146){IHEAP[H+1]+=1;f=140;continue f}else f==147&&(IHEAP[cb]=IHEAP[w],f=146)}f:for(;;)if(f==148){g=Q;w=IHEAP[g+1];w!=0?(g=148,f=150): +(g=148,f=151);for(;;)if(f==150){var Pb=w*2,g=150;f=151}else if(f==151){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(Q,g==150?Pb:1);f=149;continue f}}else if(f==149){var Rb=IHEAP[Q+3]+IHEAP[Q+1];f=Rb==0?152:153;break f}for(;;)if(f==152){IHEAP[Q+1]+=1;__ZN20btConvexHullInternal14removeEdgePairEPNS_4EdgeE(a,IHEAP[d+2]);f=IHEAP[d+2]!=0?138:139;continue e}else f==153&&(IHEAP[Rb]=IHEAP[I],f=152)}else if(f==139){w=B;B=w+1;d=b;d=w=IHEAP[IHEAP[d+3]+w];f=w!=0?131:132;continue d}}else if(f== +132){f=A&1?154:155;break d}d:for(;;)if(f==154){IHEAP[Na]=0;d=b;A=Na;w=d;H=w=IHEAP[w+1];w=d;f=H==IHEAP[w+2]?156:157;e:for(;;)if(f==156){g=d;w=IHEAP[g+1];w!=0?(g=156,f=158):(g=156,f=159);for(;;)if(f==158){var dc=w*2,g=158;f=159}else if(f==159){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(d,g==158?dc:1);f=157;continue e}}else if(f==157){var cc=IHEAP[d+3]+IHEAP[d+1];f=cc==0?160:161;break e}for(;;)if(f==160){IHEAP[d+1]+=1;f=155;continue d}else f==161&&(IHEAP[cc]=IHEAP[A],f=160)}else if(f== +155){f=B<D?129:130;continue c}}else if(f==130){A=B;D=b;f=A<IHEAP[D+1]?127:128;continue b}}else if(f==128){IHEAP[Za]=0;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE6resizeEiRKS2_(b,0,Za);_llvm_memcpy_p0i8_p0i8_i32(e+3,S,4,4,0);L=1;break a}}else f==41&&(L=1)}while(0);STACKTOP=c;return L} +function __ZNK20btConvexHullInternal6Vertex3dotERKNS_7Point64E(a,e,d){var b=STACKTOP;STACKTOP+=10;var c,f,g;f=b+2;var h=b+4;c=b+6;var i=b+8;IHEAP[e+13+3]>=0?(e+=13,e=IHEAP[d+1]*IHEAP[e+1]+IHEAP[d]*IHEAP[e]+IHEAP[d+2]*IHEAP[e+2],__ZN20btConvexHullInternal11Rational128C2Ex(a,e)):(__ZNK20btConvexHullInternal6Int128mlEx(f,e+5,IHEAP[d]),__ZNK20btConvexHullInternal6Int128mlEx(h,e+5+2,IHEAP[d+1]),g=IHEAP[h]+IHEAP[f],f=IHEAP[h+1]+IHEAP[f+1]+(g<IHEAP[f]),IHEAP[c]=g,IHEAP[c+1]=f,__ZNK20btConvexHullInternal6Int128mlEx(i, +e+5+4,IHEAP[d+2]),d=IHEAP[i]+IHEAP[c],c=IHEAP[i+1]+IHEAP[c+1]+(d<IHEAP[c]),IHEAP[b]=d,IHEAP[b+1]=c,__ZN20btConvexHullInternal11Rational128C2ERKNS_6Int128ES3_(a,b,e+5+6));STACKTOP=b}function __ZNK20btConvexHullInternal6Int128miERKS0_(a,e,d){var b=STACKTOP;STACKTOP+=2;var c=(IHEAP[d]==0)+(IHEAP[d+1]^-1);IHEAP[b]=0-IHEAP[d];IHEAP[b+1]=c;d=IHEAP[b]+IHEAP[e];e=IHEAP[b+1]+IHEAP[e+1]+(d<IHEAP[e]);IHEAP[a]=d;IHEAP[a+1]=e;STACKTOP=b} +function __ZN20btConvexHullComputer7computeEPKvbiiff(a,e,d,b,c,f,g){var h=STACKTOP;STACKTOP+=57;var i,j=null,k,l,m,n,o,q,p,r,s,u,v,y,x,z,B,C,A,w,D,E,F,G=h+1,J,H;D=h+2;var M,K=h+34,N=h+38,R=h+41,O=h+42,Q,I=h+47,L,P=h+51,S=h+54,T,U=c<=0;a:do if(U)__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a),__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE5clearEv(a+5),__ZN20btAlignedObjectArrayIiE5clearEv(a+10),H=0;else{k=D;F=k+8;IHEAP[F]=0;IHEAP[F+1]=0;IHEAP[F+2]=0;IHEAP[F+3]=256;F=k+12;IHEAP[F]=0;IHEAP[F+ +1]=0;IHEAP[F+2]=0;IHEAP[F+3]=256;F=k+16;IHEAP[F]=0;IHEAP[F+1]=0;IHEAP[F+2]=0;IHEAP[F+3]=256;k+=20;IHEAP[k+4]=1;IHEAP[k+3]=0;IHEAP[k+1]=0;IHEAP[k+2]=0;k=e;F=d&1;o=b;q=c;try{__THREW__=!1,__ZN20btConvexHullInternal7computeEPKvbii(D,k,F,o,q)}catch(W){if(ABORT)throw W;__THREW__=!0;print("Exception: "+W+" : "+W.stack+", currently at: "+Error().stack)}i=__THREW__?68:67;b:for(;;)if(i==67){M=0;if(!(f>0)){i=2;break b}k=f;F=g;var Z;try{__THREW__=!1,Z=__ZN20btConvexHullInternal6shrinkEff(D,k,F)}catch(ca){if(ABORT)throw ca; +__THREW__=!0;print("Exception: "+ca+" : "+ca.stack+", currently at: "+Error().stack);Z=null}if(__THREW__)i=68;else{i=69;break b}}else if(i==68)throw h=H=_llvm_eh_exception(),_llvm_eh_selector(H,___gxx_personality_v0,0),H=D,D=H+20,__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(D),D=H+16,__ZN20btConvexHullInternal4PoolINS_4FaceEED2Ev(D),D=H+12,__ZN20btConvexHullInternal4PoolINS_4EdgeEED2Ev(D),H+=8,__ZN20btConvexHullInternal4PoolINS_6VertexEED2Ev(H),__Unwind_Resume_or_Rethrow(h), +"Reached an unreachable! Original .ll line: 399977";b:for(;;)if(i==2){__ZN20btAlignedObjectArrayI9btVector3E6resizeEiRKS0_(a,0,K);J=a+5;_llvm_memset_p0i8_i32(N,0,3,4,0);__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE6resizeEiRKS1_(J,0,N);J=a+10;IHEAP[R]=0;__ZN20btAlignedObjectArrayIiE6resizeEiRKi(J,0,R);J=O;IHEAP[J+4]=1;IHEAP[J+3]=0;IHEAP[J+1]=0;IHEAP[J+2]=0;IHEAP[G]=IHEAP[D+31];J=O;i=IHEAP[IHEAP[G]+17]<0?5:6;break b}else if(i==69)if(M=Z,Z<0){i=3;break b}else i=2;b:for(;;)if(i==3){__ZN20btAlignedObjectArrayI9btVector3E5clearEv(a); +__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE5clearEv(a+5);__ZN20btAlignedObjectArrayIiE5clearEv(a+10);H=M;i=4;break b}else if(i==5){k=J;k=IHEAP[k+1];IHEAP[IHEAP[G]+17]=k;F=J;k=G;o=F;q=o=IHEAP[o+1];o=F;i=q==IHEAP[o+2]?7:8;c:for(;;)if(i==7){o=F;o=IHEAP[o+1];o!=0?(j=7,i=9):(j=7,i=10);for(;;)if(i==9){var Y=o*2,j=9;i=10}else if(i==10){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(F,j==9?Y:1);i=8;continue c}}else if(i==8){var ea=IHEAP[F+3]+IHEAP[F+1];i=ea==0?11:12; +break c}for(;;)if(i==11){IHEAP[F+1]+=1;i=6;continue b}else i==12&&(IHEAP[ea]=IHEAP[k],i=11)}else if(i==6){k=Q=0;p=O;i=k<IHEAP[p+1]?13:14;break b}b:for(;;)if(i==4){a=D+20;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(a);a=D+16;__ZN20btConvexHullInternal4PoolINS_4FaceEED2Ev(a);a=D+12;__ZN20btConvexHullInternal4PoolINS_4EdgeEED2Ev(a);D+=8;__ZN20btConvexHullInternal4PoolINS_6VertexEED2Ev(D);break a}else if(i==13){k=a;F=a+5;o=a+5;q=P;n=a+5;m=S;l=a+5;var ha=a+5,ba=a+5,V=a+5;c:for(;;){E= +Q;p=O;E=IHEAP[IHEAP[p+3]+E];__ZN20btConvexHullInternal14getCoordinatesEPKNS_6VertexE(I,D,E);r=k;p=I;u=r;i=u=IHEAP[u+1];u=r;i=i==IHEAP[u+2]?16:17;d:for(;;)if(i==16){u=r;u=IHEAP[u+1];u!=0?(j=16,i=18):(j=16,i=19);for(;;)if(i==18){var aa=u*2,j=18;i=19}else if(i==19){__ZN20btAlignedObjectArrayI9btVector3E7reserveEi(r,j==18?aa:1);i=17;continue d}}else if(i==17){var X=IHEAP[r+3]+4*IHEAP[r+1];i=X==0?20:21;break d}d:for(;;)if(i==20){IHEAP[r+1]+=1;L=p=IHEAP[E+2];i=p!=0?22:23;break d}else i==21&&(_llvm_memcpy_p0i8_p0i8_i32(X, +p,4,4,0),i=20);for(;;)if(i==22){r=p=-1;E=L;e:for(;;){i=IHEAP[E+5]<0?25:26;f:for(;;)if(i==25){u=F;u=IHEAP[u+1];_llvm_memset_p0i8_i32(q,0,3,4,0);i=o;B=P;i=s=i;j=i=IHEAP[i+1];i=s;i=j==IHEAP[i+2]?27:28;g:for(;;)if(i==27){i=s;w=IHEAP[i+1];w!=0?(j=27,i=29):(j=27,i=30);for(;;)if(i==29){var ka=w*2,j=29;i=30}else if(i==30){__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE7reserveEi(s,j==29?ka:1);i=28;continue g}}else if(i==28){var da=IHEAP[s+3]+3*IHEAP[s+1];i=da==0?31:32;break g}g:for(;;)if(i==31){IHEAP[s+ +1]+=1;_llvm_memset_p0i8_i32(m,0,3,4,0);C=n;A=S;i=C;j=i=IHEAP[i+1];i=C;i=j==IHEAP[i+2]?33:34;break g}else i==32&&(i=da,_llvm_memset_p0i8_i32(i,0,3,4,0),_llvm_memcpy_p0i8_p0i8_i32(i,B,3,4,0),i=31);g:for(;;)if(i==33){i=C;B=IHEAP[i+1];B!=0?(j=33,i=35):(j=33,i=36);for(;;)if(i==35){var fa=B*2,j=35;i=36}else if(i==36){__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE7reserveEi(C,j==35?fa:1);i=34;continue g}}else if(i==34){var ga=IHEAP[C+3]+3*IHEAP[C+1];i=ga==0?37:38;break g}g:for(;;)if(i==37){IHEAP[C+ +1]+=1;y=u;z=l;z=IHEAP[z+3]+3*y;x=u+1;y=ha;x=IHEAP[y+3]+3*x;IHEAP[E+5]=u;IHEAP[IHEAP[E+2]+5]=u+1;IHEAP[z+1]=1;IHEAP[x+1]=-1;IHEAP[h]=IHEAP[E+3];y=O;v=u=IHEAP[IHEAP[h]+17];i=u<0?39:40;break g}else i==38&&(i=ga,_llvm_memset_p0i8_i32(i,0,3,4,0),_llvm_memcpy_p0i8_p0i8_i32(i,A,3,4,0),i=37);g:for(;;)if(i==39){v=y;v=IHEAP[v+1];IHEAP[IHEAP[h]+17]=v;i=y;u=h;i=B=i;j=i=IHEAP[i+1];i=B;i=j==IHEAP[i+2]?41:42;h:for(;;)if(i==41){i=B;s=IHEAP[i+1];s!=0?(j=41,i=43):(j=41,i=44);for(;;)if(i==43){var ja=s*2,j=43;i=44}else if(i== +44){__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(B,j==43?ja:1);i=42;continue h}}else if(i==42){var la=IHEAP[B+3]+IHEAP[B+1];i=la==0?45:46;break h}for(;;)if(i==45){IHEAP[B+1]+=1;i=40;continue g}else i==46&&(IHEAP[la]=IHEAP[u],i=45)}else if(i==40){IHEAP[z+2]=v;IHEAP[x+2]=Q;i=26;continue f}}else if(i==26){i=r>=0?47:48;break f}i==47?(u=r-IHEAP[E+5],i=IHEAP[E+5],r=ba,IHEAP[IHEAP[r+3]+3*i]=u):i==48&&(p=IHEAP[E+5]);r=IHEAP[E+5];E=IHEAP[E];if(E==L)break e}E=r-p;r=p;p=V;IHEAP[IHEAP[p+ +3]+3*r]=E;i=23}else if(i==23)if(Q+=1,E=Q,p=O,E<IHEAP[p+1]){i=15;continue c}else{i=14;continue b}}}else if(i==14){k=0;i=k<Q?51:52;c:for(;;)if(i==51){F=a+10;d:for(;;){q=k;o=O;o=IHEAP[IHEAP[o+3]+q];o=q=IHEAP[o+2];i=q!=0?54:55;e:for(;;)if(i==54){q=o;f:for(;;){i=IHEAP[q+5]>=0?57:58;g:for(;;)if(i==57){n=q+5;l=m=F;ha=l=IHEAP[l+1];l=m;i=ha==IHEAP[l+2]?59:60;h:for(;;)if(i==59){l=m;l=IHEAP[l+1];l!=0?(j=59,i=61):(j=59,i=62);for(;;)if(i==61){var qa=l*2,j=61;i=62}else if(i==62){__ZN20btAlignedObjectArrayIiE7reserveEi(m, +j==61?qa:1);i=60;continue h}}else if(i==60){var pa=IHEAP[m+3]+IHEAP[m+1];i=pa==0?63:64;break h}h:for(;;)if(i==63){IHEAP[m+1]+=1;T=q;i=65;break h}else i==64&&(IHEAP[pa]=IHEAP[n],i=63);for(;;)if(IHEAP[T+5]=-1,T=IHEAP[IHEAP[T+2]+1],T!=q)i=65;else{i=58;continue g}}else if(i==58)if(q=IHEAP[q],q!=o){i=56;continue f}else{i=55;continue e}}}else if(i==55)if(k+=1,k<Q){i=53;continue d}else{i=52;continue c}}}else if(i==52){H=M;k=O;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(k);i=4;continue b}}}while(0); +STACKTOP=h;return H} +function __ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE6resizeEiRKS1_(a,e,d){var b,c,f,g;f=IHEAP[a+1];var h=e<f;a:do if(h){c=e;if(!(c<f))break a;for(;;)if(c+=1,!(c<f))break a}else{c=a;b=e>IHEAP[c+1]?2:3;b:for(;;)if(b==2)__ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE7reserveEi(a,e),b=3;else if(b==3)if(g=f,g<e)break b;else break a;c=a+3;b:for(;;){var i=IHEAP[c]+3*g;for(b=i==0?6:7;;)if(b==6)if(g+=1,g<e)continue b;else break a;else b==7&&(b=i,_llvm_memset_p0i8_i32(b,0,3,4,0),_llvm_memcpy_p0i8_p0i8_i32(b, +d,3,4,0),b=6)}}while(0);IHEAP[a+1]=e} +function __ZN20btAlignedObjectArrayIN20btConvexHullComputer4EdgeEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*12,16):0;c=a;c=IHEAP[c+1];f=i;var k=b=a;b=0;d=b<c?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=f+3*b;for(d=m==0?6:7;;)if(d==6)if(b+=1,b<c){d=5;continue c}else{d=4;continue b}else d==7&&(d=m,_llvm_memset_p0i8_i32(d,0,3,4,0),_llvm_memcpy_p0i8_p0i8_i32(d,IHEAP[l]+3*b,3,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h< +g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)c=IHEAP[j+3],c!=0&&(IHEAP[_gNumAlignedFree]+=1,c!=0&&(c=IHEAP[c+-1],_free(c))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEEC2ERKS3_(a,e){var d=STACKTOP;STACKTOP+=1;var b,c,f;IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;f=IHEAP[e+1];IHEAP[d]=0;__ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE6resizeEiRKS2_(a,f,d);var g=IHEAP[a+3];c=0;b=c<f?0:1;a:for(;;)if(b==0){var h=e+3;b:for(;;){var i=g+c;for(b=i==0?3:4;;)if(b==3)if(c+=1,c<f){b=2;continue b}else{b=1;continue a}else b==4&&(IHEAP[i]=IHEAP[IHEAP[h]+c],b=3)}}else if(b==1){STACKTOP=d;break}} +function __ZN20btAlignedObjectArrayIPN20btConvexHullInternal4FaceEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j= +a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIPN20btConvexHullInternal4FaceEE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*4,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(IHEAP[m]=IHEAP[IHEAP[l]+f],d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+=1,d=h<g?8:9;else if(d==9){j= +a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btAlignedObjectArrayIPN20btConvexHullInternal6VertexEE5clearEv(a){var e,d,b,c;d=IHEAP[a+1];b=0;e=b<d?0:1;a:for(;;)if(e==0)b+=1,e=b<d?0:1;else if(e==1){c=a;e=IHEAP[c+3]!=0?2:3;break a}a:for(;;)if(e==2)for(e=IHEAP[c+4]&1?4:5;;)if(e==4)e=IHEAP[c+3],e!=0&&(IHEAP[_gNumAlignedFree]+=1,e!=0&&(e=IHEAP[e+-1],_free(e))),e=5;else{if(e==5){IHEAP[c+3]=0;e=3;continue a}}else if(e==3){IHEAP[a+4]=1;IHEAP[a+3]=0;IHEAP[a+1]=0;IHEAP[a+2]=0;break}} +function __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(a,e,d,b){var c=STACKTOP;STACKTOP+=8;var f,g,h,i,j,k=c+4;i=d;j=b;_llvm_memcpy_p0i8_p0i8_i32(k,IHEAP[a+3]+4*((b+d)/2|0),4,4,0);var l=a+3,m=a+3;a:for(;;)if(FUNCTION_TABLE[e](IHEAP[l]+4*i,k))i+=1;else{f=FUNCTION_TABLE[e](k,IHEAP[m]+4*j)?1:2;b:for(;;)if(f==1)j+=-1,f=FUNCTION_TABLE[e](k,IHEAP[m]+4*j)?1:2;else if(f==2){f=i<=j?3:4;break b}for(;;)if(f==3)g=i,h=j,f=a,_llvm_memcpy_p0i8_p0i8_i32(c,IHEAP[f+ +3]+4*g,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[f+3]+4*g,IHEAP[f+3]+4*h,4,4,0),_llvm_memcpy_p0i8_p0i8_i32(IHEAP[f+3]+4*h,c,4,4,0),i+=1,j+=-1,f=4;else if(f==4)if(i<=j)continue a;else break a}f=d<j?6:7;a:for(;;)if(f==6)__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(a,e,d,j),f=7;else if(f==7){f=i<b?8:9;break a}for(;;)if(f==8)__ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE17quickSortInternalIPFbRKS1_S5_EEEvT_ii(a,e,i,b),f=9;else if(f==9){STACKTOP= +c;break}} +function __ZN20btAlignedObjectArrayIN20btConvexHullInternal7Point32EE7reserveEi(a,e){var d,b,c,f,g,h,i,j;d=IHEAP[a+2]<e?0:1;a:for(;;)if(d==0){i=e;i=i!=0?__Z22btAlignedAllocInternalji(i*16,16):0;b=a;b=IHEAP[b+1];c=i;var k=d=a;f=0;d=f<b?3:4;b:for(;;)if(d==3){var l=k+3;c:for(;;){var m=c+4*f;for(d=m==0?6:7;;)if(d==6)if(f+=1,f<b){d=5;continue c}else{d=4;continue b}else d==7&&(_llvm_memcpy_p0i8_p0i8_i32(m,IHEAP[l]+4*f,4,4,0),d=6)}}else if(d==4){g=a;g=IHEAP[g+1];h=0;d=h<g?8:9;break b}b:for(;;)if(d==8)h+= +1,d=h<g?8:9;else if(d==9){j=a;d=IHEAP[j+3]!=0?10:11;break b}b:for(;;)if(d==10)for(d=IHEAP[j+4]&1?12:13;;)if(d==12)b=IHEAP[j+3],b!=0&&(IHEAP[_gNumAlignedFree]+=1,b!=0&&(b=IHEAP[b+-1],_free(b))),d=13;else{if(d==13){IHEAP[j+3]=0;d=11;continue b}}else if(d==11){IHEAP[a+4]=1;IHEAP[a+3]=i;IHEAP[a+2]=e;d=1;continue a}}else if(d==1)break} +function __ZN20btConvexHullInternal4PoolINS_6VertexEED2Ev(a){var h;var e,d,b,c;e=IHEAP[a]!=0?0:1;a:for(;;)if(e==0){var f=a,g=a;b:for(;;){d=IHEAP[f];IHEAP[g]=IHEAP[d+2];c=d;h=e=IHEAP[c],c=h;e=e!=0?3:4;c:for(;;)if(e==3){IHEAP[_gNumAlignedFree]+=1;e=c;if(e==0){e=4;continue c}e=IHEAP[e+-1];_free(e);e=4}else if(e==4){b=d;e=d!=0?6:7;break c}for(;;)if(e==6)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),e=7;else if(e==7)if(IHEAP[a]!=0){e=2;continue b}else{e=1;continue a}}}else if(e==1)break} +function __ZN20btConvexHullInternal4PoolINS_4EdgeEED2Ev(a){var h;var e,d,b,c;e=IHEAP[a]!=0?0:1;a:for(;;)if(e==0){var f=a,g=a;b:for(;;){d=IHEAP[f];IHEAP[g]=IHEAP[d+2];c=d;h=e=IHEAP[c],c=h;e=e!=0?3:4;c:for(;;)if(e==3){IHEAP[_gNumAlignedFree]+=1;e=c;if(e==0){e=4;continue c}e=IHEAP[e+-1];_free(e);e=4}else if(e==4){b=d;e=d!=0?6:7;break c}for(;;)if(e==6)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),e=7;else if(e==7)if(IHEAP[a]!=0){e=2;continue b}else{e=1;continue a}}}else if(e==1)break} +function __ZN20btConvexHullInternal4PoolINS_4FaceEED2Ev(a){var h;var e,d,b,c;e=IHEAP[a]!=0?0:1;a:for(;;)if(e==0){var f=a,g=a;b:for(;;){d=IHEAP[f];IHEAP[g]=IHEAP[d+2];c=d;h=e=IHEAP[c],c=h;e=e!=0?3:4;c:for(;;)if(e==3){IHEAP[_gNumAlignedFree]+=1;e=c;if(e==0){e=4;continue c}e=IHEAP[e+-1];_free(e);e=4}else if(e==4){b=d;e=d!=0?6:7;break c}for(;;)if(e==6)IHEAP[_gNumAlignedFree]+=1,d=b,d!=0&&(d=IHEAP[d+-1],_free(d)),e=7;else if(e==7)if(IHEAP[a]!=0){e=2;continue b}else{e=1;continue a}}}else if(e==1)break} +function __ZN20btConvexHullInternal11Rational128C2ERKNS_6Int128ES3_(a,e,d){var b=STACKTOP;STACKTOP+=4;var c,f=null,g,h=b+2;IHEAP[e+1]<0?(f=-1,c=0):(f=-1,c=1);a:for(;;)if(c==0){IHEAP[a+4]=f==2?j:-1;var i=a;g=e;c=IHEAP[a+4]>=0?4:5;break a}else if(c==1){IHEAP[e+1]!=0?(f=1,c=2):(f=1,c=3);for(;;)if(c==2){var j=f==1||k?1:0,f=2;c=0;continue a}else if(c==3){var k=IHEAP[e]!=0,f=3;c=2}}c==4?_llvm_memcpy_p0i8_p0i8_i32(i,g,2,4,0):c==5&&(e=g,c=(IHEAP[e]==0)+(IHEAP[e+1]^-1),e=0-IHEAP[e],IHEAP[b]=e,IHEAP[b+1]=c, +_llvm_memcpy_p0i8_p0i8_i32(i,b,2,4,0));i=IHEAP[d+1]<0;a:do if(i)IHEAP[a+4]=0-IHEAP[a+4],c=a+2,e=d,f=0-IHEAP[e],g=(IHEAP[e]==0)+(IHEAP[e+1]^-1),e=h,IHEAP[e]=f,IHEAP[e+1]=g,_llvm_memcpy_p0i8_p0i8_i32(c,h,2,4,0);else for(c=IHEAP[d+1]!=0?8:9;;)if(c==8){_llvm_memcpy_p0i8_p0i8_i32(a+2,d,2,4,0);break a}else c==9&&(c=8);while(0);IHEAP[a+5]=0;STACKTOP=b} +function __ZN20btConvexHullInternal11Rational128C2Ex(a,e){var d=STACKTOP;STACKTOP+=8;var b,c=d+2;b=d+4;var f=d+6;if(e>0)IHEAP[a+4]=1,IHEAP[d]=e,IHEAP[d+1]=e>=0?0:-1,_llvm_memcpy_p0i8_p0i8_i32(a,d,2,4,0);else{var g=a+4;e<0?(IHEAP[g]=-1,b=0-e,IHEAP[c]=b,IHEAP[c+1]=b>=0?0:-1,_llvm_memcpy_p0i8_p0i8_i32(a,c,2,4,0)):(IHEAP[g]=0,IHEAP[b]=0,IHEAP[b+1]=0,_llvm_memcpy_p0i8_p0i8_i32(a,b,2,4,0))}IHEAP[f]=1;IHEAP[f+1]=0;_llvm_memcpy_p0i8_p0i8_i32(a+2,f,2,4,0);IHEAP[a+5]=1;STACKTOP=d} +var FUNCTION_TABLE=[0,0,__ZNK13btConvexShape31localGetSupportVertexNonVirtualERK9btVector3,0,__ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3,0,__ZN21btCollisionDispatcher19defaultNearCallbackER16btBroadphasePairRS_RK16btDispatcherInfo,0,__ZN11btRigidBodyD1Ev,0,__ZN7btClockD2Ev,0,__ZN12CProfileNodeD2Ev,0,__Z8pointCmpRKN20btConvexHullInternal7Point32ES2_,0,__ZN17btTypedConstraintD1Ev,0,__ZN17btTypedConstraintD0Ev,0,__ZN17btTypedConstraint13buildJacobianEv,0,__ZN17btTypedConstraint21setupSolverConstraintER20btAlignedObjectArrayI18btSolverConstraintEiif, +0,__ZN17btTypedConstraint23solveConstraintObsoleteER11btRigidBodyS1_f,0,__ZNK17btTypedConstraint28calculateSerializeBufferSizeEv,0,__ZNK17btTypedConstraint9serializeEPvP12btSerializer,0,__ZN20btDefaultMotionStateD1Ev,0,__ZN20btDefaultMotionStateD0Ev,0,__ZNK20btDefaultMotionState17getWorldTransformER11btTransform,0,__ZN20btDefaultMotionState17setWorldTransformERK11btTransform,0,__ZN13btMotionStateD1Ev,0,__ZN13btMotionStateD0Ev,0,__ZN25btTriangleRaycastCallbackD1Ev,0,__ZN25btTriangleRaycastCallbackD0Ev, +0,__ZN25btTriangleRaycastCallback15processTriangleEP9btVector3ii,0,__ZN28btTriangleConvexcastCallbackD1Ev,0,__ZN28btTriangleConvexcastCallbackD0Ev,0,__ZN28btTriangleConvexcastCallback15processTriangleEP9btVector3ii,0,__ZN15btTriangleShapeD1Ev,0,__ZN15btTriangleShapeD0Ev,0,__ZNK15btTriangleShape7getAabbERK11btTransformR9btVector3S4_,0,__ZNK16btCollisionShape17getBoundingSphereER9btVector3Rf,0,__ZNK16btCollisionShape20getAngularMotionDiscEv,0,__ZNK16btCollisionShape27getContactBreakingThresholdEf,0, +__ZN21btConvexInternalShape15setLocalScalingERK9btVector3,0,__ZNK21btConvexInternalShape15getLocalScalingEv,0,__ZNK15btTriangleShape21calculateLocalInertiaEfR9btVector3,0,__ZNK15btTriangleShape7getNameEv,0,__ZN21btConvexInternalShape9setMarginEf,0,__ZNK21btConvexInternalShape9getMarginEv,0,__ZNK21btConvexInternalShape28calculateSerializeBufferSizeEv,0,__ZNK21btConvexInternalShape9serializeEPvP12btSerializer,0,__ZNK16btCollisionShape20serializeSingleShapeEP12btSerializer,0,__ZNK21btConvexInternalShape24localGetSupportingVertexERK9btVector3, +0,__ZNK15btTriangleShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK15btTriangleShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK21btConvexInternalShape11getAabbSlowERK11btTransformR9btVector3S4_,0,__ZNK15btTriangleShape36getNumPreferredPenetrationDirectionsEv,0,__ZNK15btTriangleShape32getPreferredPenetrationDirectionEiR9btVector3,0,__ZN23btPolyhedralConvexShape28initializePolyhedralFeaturesEv,0,__ZNK15btTriangleShape14getNumVerticesEv,0,__ZNK15btTriangleShape11getNumEdgesEv, +0,__ZNK15btTriangleShape7getEdgeEiR9btVector3S1_,0,__ZNK15btTriangleShape9getVertexEiR9btVector3,0,__ZNK15btTriangleShape12getNumPlanesEv,0,__ZNK15btTriangleShape8getPlaneER9btVector3S1_i,0,__ZNK15btTriangleShape8isInsideERK9btVector3f,0,__ZNK15btTriangleShape16getPlaneEquationEiR9btVector3S1_,0,__ZN30btConvexPenetrationDepthSolverD1Ev,0,__ZN30btConvexPenetrationDepthSolverD0Ev,0,__ZN12btConvexCast10CastResult9DebugDrawEf,0,__ZN12btConvexCast10CastResult15drawCoordSystemERK11btTransform,0,__ZN12btConvexCast10CastResult13reportFailureEii, +0,__ZN12btConvexCast10CastResultD1Ev,0,__ZN12btConvexCast10CastResultD0Ev,0,__ZN33btMinkowskiPenetrationDepthSolverD1Ev,0,__ZN33btMinkowskiPenetrationDepthSolverD0Ev,0,__ZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc,0,__ZN36btDiscreteCollisionDetectorInterfaceD1Ev,0,__ZN36btDiscreteCollisionDetectorInterfaceD0Ev,0,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD2Ev, +0,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResultD0Ev,0,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersAEii,0,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult20setShapeIdentifiersBEii, +0,__ZZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocEN20btIntermediateResult15addContactPointERKS8_SG_f,0,__ZN36btDiscreteCollisionDetectorInterface6ResultD1Ev,0,__ZN36btDiscreteCollisionDetectorInterface6ResultD0Ev,0,__ZN22btSubsimplexConvexCastD1Ev,0,__ZN22btSubsimplexConvexCastD0Ev,0,__ZN22btSubsimplexConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE, +0,__ZN30btGjkEpaPenetrationDepthSolverD1Ev,0,__ZN30btGjkEpaPenetrationDepthSolverD0Ev,0,__ZN30btGjkEpaPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAlloc,0,__ZN15btGjkConvexCastD1Ev,0,__ZN15btGjkConvexCastD0Ev,0,__ZN15btGjkConvexCast16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE,0,__ZN16btPointCollectorD1Ev,0,__ZN16btPointCollectorD0Ev,0,__ZN16btPointCollector20setShapeIdentifiersAEii, +0,__ZN16btPointCollector20setShapeIdentifiersBEii,0,__ZN16btPointCollector15addContactPointERK9btVector3S2_f,0,__ZN12btConvexCastD2Ev,0,__ZN12btConvexCastD0Ev,0,__ZN27btContinuousConvexCollisionD1Ev,0,__ZN27btContinuousConvexCollisionD0Ev,0,__ZN27btContinuousConvexCollision16calcTimeOfImpactERK11btTransformS2_S2_S2_RN12btConvexCast10CastResultE,0,__ZN17btGjkPairDetectorD1Ev,0,__ZN17btGjkPairDetectorD0Ev,0,__ZN17btGjkPairDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb, +0,__ZN30btActivatingCollisionAlgorithmD2Ev,0,__ZN30btActivatingCollisionAlgorithmD0Ev,0,__ZN20btCollisionAlgorithmD1Ev,0,__ZN20btCollisionAlgorithmD0Ev,0,__ZN17btCollisionObject24checkCollideWithOverrideEPS_,0,__ZN17btCollisionObjectD2Ev,0,__ZN17btCollisionObjectD0Ev,0,__ZN17btCollisionObject17setCollisionShapeEP16btCollisionShape,0,__ZNK17btCollisionObject28calculateSerializeBufferSizeEv,0,__ZNK17btCollisionObject9serializeEPvP12btSerializer,0,__ZNK17btCollisionObject21serializeSingleObjectEP12btSerializer, +0,__ZN16btEmptyAlgorithmD1Ev,0,__ZN16btEmptyAlgorithmD0Ev,0,__ZN16btEmptyAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN16btEmptyAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN16btEmptyAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN13btGhostObjectD2Ev,0,__ZN13btGhostObjectD0Ev,0,__ZN13btGhostObject28addOverlappingObjectInternalEP17btBroadphaseProxyS1_, +0,__ZN13btGhostObject31removeOverlappingObjectInternalEP17btBroadphaseProxyP12btDispatcherS1_,0,__ZN24btPairCachingGhostObjectD2Ev,0,__ZN24btPairCachingGhostObjectD0Ev,0,__ZN24btPairCachingGhostObject28addOverlappingObjectInternalEP17btBroadphaseProxyS1_,0,__ZN24btPairCachingGhostObject31removeOverlappingObjectInternalEP17btBroadphaseProxyP12btDispatcherS1_,0,__ZN32btSphereSphereCollisionAlgorithmD2Ev,0,__ZN32btSphereSphereCollisionAlgorithmD0Ev,0,__ZN32btSphereSphereCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult, +0,__ZN32btSphereSphereCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN32btSphereSphereCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN29btSphereBoxCollisionAlgorithmD2Ev,0,__ZN29btSphereBoxCollisionAlgorithmD0Ev,0,__ZN29btSphereBoxCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN29btSphereBoxCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult, +0,__ZN29btSphereBoxCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN21btCollisionDispatcherD2Ev,0,__ZN21btCollisionDispatcherD0Ev,0,__ZN21btCollisionDispatcher13findAlgorithmEP17btCollisionObjectS1_P20btPersistentManifold,0,__ZN21btCollisionDispatcher14getNewManifoldEPvS0_,0,__ZN21btCollisionDispatcher15releaseManifoldEP20btPersistentManifold,0,__ZN21btCollisionDispatcher13clearManifoldEP20btPersistentManifold,0,__ZN21btCollisionDispatcher14needsCollisionEP17btCollisionObjectS1_, +0,__ZN21btCollisionDispatcher13needsResponseEP17btCollisionObjectS1_,0,__ZN21btCollisionDispatcher25dispatchAllCollisionPairsEP22btOverlappingPairCacheRK16btDispatcherInfoP12btDispatcher,0,__ZNK21btCollisionDispatcher15getNumManifoldsEv,0,__ZN21btCollisionDispatcher26getManifoldByIndexInternalEi,0,__ZN21btCollisionDispatcher26getInternalManifoldPointerEv,0,__ZN21btCollisionDispatcher23getInternalManifoldPoolEv,0,__ZNK21btCollisionDispatcher23getInternalManifoldPoolEv,0,__ZN21btCollisionDispatcher26allocateCollisionAlgorithmEi, +0,__ZN21btCollisionDispatcher22freeCollisionAlgorithmEPv,0,__ZN23btCollisionPairCallbackD1Ev,0,__ZN23btCollisionPairCallbackD0Ev,0,__ZN23btCollisionPairCallback14processOverlapER16btBroadphasePair,0,__ZN17btOverlapCallbackD1Ev,0,__ZN17btOverlapCallbackD0Ev,0,__ZN31btDefaultCollisionConfigurationD2Ev,0,__ZN31btDefaultCollisionConfigurationD0Ev,0,__ZN31btDefaultCollisionConfiguration25getPersistentManifoldPoolEv,0,__ZN31btDefaultCollisionConfiguration25getCollisionAlgorithmPoolEv,0,__ZN31btDefaultCollisionConfiguration17getStackAllocatorEv, +0,__ZN31btDefaultCollisionConfiguration31getCollisionAlgorithmCreateFuncEii,0,__ZN31btDefaultCollisionConfiguration16getSimplexSolverEv,0,__ZN24btCollisionConfigurationD1Ev,0,__ZN24btCollisionConfigurationD0Ev,0,__ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD1Ev,0,__ZN31btConvexPlaneCollisionAlgorithm10CreateFuncD0Ev,0,__ZN31btConvexPlaneCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN30btCollisionAlgorithmCreateFuncD1Ev, +0,__ZN30btCollisionAlgorithmCreateFuncD0Ev,0,__ZN30btCollisionAlgorithmCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS3_,0,__ZN26btBoxBoxCollisionAlgorithm10CreateFuncD1Ev,0,__ZN26btBoxBoxCollisionAlgorithm10CreateFuncD0Ev,0,__ZN26btBoxBoxCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD1Ev,0,__ZN34btSphereTriangleCollisionAlgorithm10CreateFuncD0Ev, +0,__ZN34btSphereTriangleCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN32btSphereSphereCollisionAlgorithm10CreateFuncD1Ev,0,__ZN32btSphereSphereCollisionAlgorithm10CreateFuncD0Ev,0,__ZN32btSphereSphereCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN16btEmptyAlgorithm10CreateFuncD1Ev,0,__ZN16btEmptyAlgorithm10CreateFuncD0Ev,0,__ZN16btEmptyAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_, +0,__ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD1Ev,0,__ZN28btCompoundCollisionAlgorithm17SwappedCreateFuncD0Ev,0,__ZN28btCompoundCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN28btCompoundCollisionAlgorithm10CreateFuncD1Ev,0,__ZN28btCompoundCollisionAlgorithm10CreateFuncD0Ev,0,__ZN28btCompoundCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_, +0,__ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD1Ev,0,__ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncD0Ev,0,__ZN33btConvexConcaveCollisionAlgorithm17SwappedCreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD1Ev,0,__ZN33btConvexConcaveCollisionAlgorithm10CreateFuncD0Ev,0,__ZN33btConvexConcaveCollisionAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_, +0,__ZN25btSimulationIslandManagerD2Ev,0,__ZN25btSimulationIslandManagerD0Ev,0,__ZN25btSimulationIslandManager21updateActivationStateEP16btCollisionWorldP12btDispatcher,0,__ZN25btSimulationIslandManager26storeIslandActivationStateEP16btCollisionWorld,0,__ZN16btBoxBoxDetectorD1Ev,0,__ZN16btBoxBoxDetectorD0Ev,0,__ZN16btBoxBoxDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb,0,__ZN31btConvexPlaneCollisionAlgorithmD2Ev,0,__ZN31btConvexPlaneCollisionAlgorithmD0Ev, +0,__ZN31btConvexPlaneCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN31btConvexPlaneCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN31btConvexPlaneCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN33btConvexConcaveCollisionAlgorithmD2Ev,0,__ZN33btConvexConcaveCollisionAlgorithmD0Ev,0,__ZN33btConvexConcaveCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult, +0,__ZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN33btConvexConcaveCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN24btConvexTriangleCallbackD2Ev,0,__ZN24btConvexTriangleCallbackD0Ev,0,__ZN24btConvexTriangleCallback15processTriangleEP9btVector3ii,0,__ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD2Ev, +0,__ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallbackD0Ev,0,__ZZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN31LocalTriangleSphereCastCallback15processTriangleEP9btVector3ii,0,__ZN26btBoxBoxCollisionAlgorithmD2Ev,0,__ZN26btBoxBoxCollisionAlgorithmD0Ev,0,__ZN26btBoxBoxCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult, +0,__ZN26btBoxBoxCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN26btBoxBoxCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN30btBox2dBox2dCollisionAlgorithmD2Ev,0,__ZN30btBox2dBox2dCollisionAlgorithmD0Ev,0,__ZN30btBox2dBox2dCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN30btBox2dBox2dCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult, +0,__ZN30btBox2dBox2dCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN22SphereTriangleDetectorD1Ev,0,__ZN22SphereTriangleDetectorD0Ev,0,__ZN22SphereTriangleDetector16getClosestPointsERKN36btDiscreteCollisionDetectorInterface17ClosestPointInputERNS0_6ResultEP12btIDebugDrawb,0,__ZN16btManifoldResultD1Ev,0,__ZN16btManifoldResultD0Ev,0,__ZN16btManifoldResult20setShapeIdentifiersAEii,0,__ZN16btManifoldResult20setShapeIdentifiersBEii,0,__ZN16btManifoldResult15addContactPointERK9btVector3S2_f, +0,__ZN16btCollisionWorldD2Ev,0,__ZN16btCollisionWorldD0Ev,0,__ZN16btCollisionWorld11updateAabbsEv,0,__ZN16btCollisionWorld14setDebugDrawerEP12btIDebugDraw,0,__ZN16btCollisionWorld14getDebugDrawerEv,0,__ZN16btCollisionWorld14debugDrawWorldEv,0,__ZN16btCollisionWorld15debugDrawObjectERK11btTransformPK16btCollisionShapeRK9btVector3,0,__ZNK16btCollisionWorld7rayTestERK9btVector3S2_RNS_17RayResultCallbackE,0,__ZN16btCollisionWorld18addCollisionObjectEP17btCollisionObjectss,0,__ZN16btCollisionWorld21removeCollisionObjectEP17btCollisionObject, +0,__ZN16btCollisionWorld33performDiscreteCollisionDetectionEv,0,__ZN16btCollisionWorld9serializeEP12btSerializer,0,__ZN17DebugDrawcallbackD1Ev,0,__ZN17DebugDrawcallbackD0Ev,0,__ZN17DebugDrawcallback15processTriangleEP9btVector3ii,0,__ZN17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii,0,__ZThn4_N17DebugDrawcallbackD1Ev,0,__ZThn4_N17DebugDrawcallbackD0Ev,0,__ZThn4_N17DebugDrawcallback28internalProcessTriangleIndexEP9btVector3ii,0,__ZN24btBroadphaseAabbCallbackD1Ev,0,__ZN24btBroadphaseAabbCallbackD0Ev, +0,__ZN21btSingleSweepCallbackD1Ev,0,__ZN21btSingleSweepCallbackD0Ev,0,__ZN21btSingleSweepCallback7processEPK17btBroadphaseProxy,0,__ZN23btBroadphaseRayCallbackD1Ev,0,__ZN23btBroadphaseRayCallbackD0Ev,0,__ZN19btSingleRayCallbackD1Ev,0,__ZN19btSingleRayCallbackD0Ev,0,__ZN19btSingleRayCallback7processEPK17btBroadphaseProxy,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD2E_1v,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdderD0E_1v, +0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfENK14LocalInfoAdder14needsCollisionE_1P17btBroadphaseProxy,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN14LocalInfoAdder15addSingleResultE_1RNS_17LocalConvexResultEb,0,__ZN16btCollisionWorld20ConvexResultCallbackD1Ev,0,__ZN16btCollisionWorld20ConvexResultCallbackD0Ev, +0,__ZNK16btCollisionWorld20ConvexResultCallback14needsCollisionEP17btBroadphaseProxy,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2E_0v,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0E_0v,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitE_0RK9btVector3SG_fii, +0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD2Ev,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallbackD0Ev,0,__ZZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfEN32BridgeTriangleConvexcastCallback9reportHitERK9btVector3SG_fii, +0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD2E_1v,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTesterD0E_1v,0,__ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodeS3_,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN9RayTester7ProcessE_1PK10btDbvtNode, +0,__ZN6btDbvt8ICollide7ProcessEPK10btDbvtNodef,0,__ZN6btDbvt8ICollide7DescentEPK10btDbvtNode,0,__ZN6btDbvt8ICollide9AllLeavesEPK10btDbvtNode,0,__ZN6btDbvt8ICollideD1Ev,0,__ZN6btDbvt8ICollideD0Ev,0,__ZN6btDbvt8ICollide7ProcessEPK10btDbvtNode,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D2Ev,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder2D0Ev, +0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEENK15LocalInfoAdder214needsCollisionEP17btBroadphaseProxy,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN15LocalInfoAdder215addSingleResultERNS_14LocalRayResultEb,0,__ZN16btCollisionWorld17RayResultCallbackD1Ev,0,__ZN16btCollisionWorld17RayResultCallbackD0Ev,0,__ZNK16btCollisionWorld17RayResultCallback14needsCollisionEP17btBroadphaseProxy, +0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2E_0v,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0E_0v,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitE_0RK9btVector3fii, +0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD2Ev,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallbackD0Ev,0,__ZZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEEN29BridgeTriangleRaycastCallback9reportHitERK9btVector3fii, +0,__ZN34btSphereTriangleCollisionAlgorithmD2Ev,0,__ZN34btSphereTriangleCollisionAlgorithmD0Ev,0,__ZN34btSphereTriangleCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN34btSphereTriangleCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN34btSphereTriangleCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN23btConvexConvexAlgorithm10CreateFuncD2Ev, +0,__ZN23btConvexConvexAlgorithm10CreateFuncD0Ev,0,__ZN23btConvexConvexAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_,0,__ZN23btConvexConvexAlgorithmD2Ev,0,__ZN23btConvexConvexAlgorithmD0Ev,0,__ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN23btConvexConvexAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN23btConvexConvexAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE, +0,__ZN24btPerturbedContactResultD1Ev,0,__ZN24btPerturbedContactResultD0Ev,0,__ZN24btPerturbedContactResult15addContactPointERK9btVector3S2_f,0,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD2Ev,0,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResultD0Ev,0,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersAEii, +0,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult20setShapeIdentifiersBEii,0,__ZZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultEN13btDummyResult15addContactPointERK9btVector3SA_f,0,__ZN27btConvex2dConvex2dAlgorithm10CreateFuncD2Ev,0,__ZN27btConvex2dConvex2dAlgorithm10CreateFuncD0Ev,0,__ZN27btConvex2dConvex2dAlgorithm10CreateFunc24CreateCollisionAlgorithmER36btCollisionAlgorithmConstructionInfoP17btCollisionObjectS4_, +0,__ZN27btConvex2dConvex2dAlgorithmD2Ev,0,__ZN27btConvex2dConvex2dAlgorithmD0Ev,0,__ZN27btConvex2dConvex2dAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN27btConvex2dConvex2dAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN27btConvex2dConvex2dAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN28btCompoundCollisionAlgorithmD2Ev,0,__ZN28btCompoundCollisionAlgorithmD0Ev, +0,__ZN28btCompoundCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN28btCompoundCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN28btCompoundCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN22btCompoundLeafCallbackD1Ev,0,__ZN22btCompoundLeafCallbackD0Ev,0,__ZN22btCompoundLeafCallback7ProcessEPK10btDbvtNode,0,__ZN16btBU_Simplex1to4D1Ev, +0,__ZN16btBU_Simplex1to4D0Ev,0,__ZNK16btBU_Simplex1to47getAabbERK11btTransformR9btVector3S4_,0,__ZN34btPolyhedralConvexAabbCachingShape15setLocalScalingERK9btVector3,0,__ZNK23btPolyhedralConvexShape21calculateLocalInertiaEfR9btVector3,0,__ZNK16btBU_Simplex1to47getNameEv,0,__ZNK23btPolyhedralConvexShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK23btPolyhedralConvexShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK21btConvexInternalShape36getNumPreferredPenetrationDirectionsEv, +0,__ZNK21btConvexInternalShape32getPreferredPenetrationDirectionEiR9btVector3,0,__ZNK16btBU_Simplex1to414getNumVerticesEv,0,__ZNK16btBU_Simplex1to411getNumEdgesEv,0,__ZNK16btBU_Simplex1to47getEdgeEiR9btVector3S1_,0,__ZNK16btBU_Simplex1to49getVertexEiR9btVector3,0,__ZNK16btBU_Simplex1to412getNumPlanesEv,0,__ZNK16btBU_Simplex1to48getPlaneER9btVector3S1_i,0,__ZNK16btBU_Simplex1to48isInsideERK9btVector3f,0,__ZNK16btBU_Simplex1to48getIndexEi,0,__ZN19btMinkowskiSumShapeD1Ev,0,__ZN19btMinkowskiSumShapeD0Ev, +0,__ZNK21btConvexInternalShape7getAabbERK11btTransformR9btVector3S4_,0,__ZNK19btMinkowskiSumShape21calculateLocalInertiaEfR9btVector3,0,__ZNK19btMinkowskiSumShape7getNameEv,0,__ZNK19btMinkowskiSumShape9getMarginEv,0,__ZNK19btMinkowskiSumShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK19btMinkowskiSumShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZN15btCompoundShapeD2Ev,0,__ZN15btCompoundShapeD0Ev,0,__ZNK15btCompoundShape7getAabbERK11btTransformR9btVector3S4_, +0,__ZN15btCompoundShape15setLocalScalingERK9btVector3,0,__ZNK15btCompoundShape15getLocalScalingEv,0,__ZNK15btCompoundShape21calculateLocalInertiaEfR9btVector3,0,__ZNK15btCompoundShape7getNameEv,0,__ZN15btCompoundShape9setMarginEf,0,__ZNK15btCompoundShape9getMarginEv,0,__ZNK15btCompoundShape28calculateSerializeBufferSizeEv,0,__ZNK15btCompoundShape9serializeEPvP12btSerializer,0,__ZN15btCompoundShape16removeChildShapeEP16btCollisionShape,0,__ZN15btCompoundShape20recalculateLocalAabbEv,0,__ZN11btConeShapeD1Ev, +0,__ZN11btConeShapeD0Ev,0,__ZN11btConeShape15setLocalScalingERK9btVector3,0,__ZNK11btConeShape21calculateLocalInertiaEfR9btVector3,0,__ZNK11btConeShape7getNameEv,0,__ZNK11btConeShape24localGetSupportingVertexERK9btVector3,0,__ZNK11btConeShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK11btConeShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZN12btConeShapeZD1Ev,0,__ZN12btConeShapeZD0Ev,0,__ZN12btConeShapeXD1Ev,0,__ZN12btConeShapeXD0Ev,0,__ZN18btConvexPolyhedronD2Ev, +0,__ZN18btConvexPolyhedronD0Ev,0,__ZN18btMultiSphereShapeD1Ev,0,__ZN18btMultiSphereShapeD0Ev,0,__ZNK32btConvexInternalAabbCachingShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN32btConvexInternalAabbCachingShape15setLocalScalingERK9btVector3,0,__ZNK18btMultiSphereShape21calculateLocalInertiaEfR9btVector3,0,__ZNK18btMultiSphereShape7getNameEv,0,__ZNK18btMultiSphereShape28calculateSerializeBufferSizeEv,0,__ZNK18btMultiSphereShape9serializeEPvP12btSerializer,0,__ZNK18btMultiSphereShape37localGetSupportingVertexWithoutMarginERK9btVector3, +0,__ZNK18btMultiSphereShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZN21btUniformScalingShapeD2Ev,0,__ZN21btUniformScalingShapeD0Ev,0,__ZNK21btUniformScalingShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN21btUniformScalingShape15setLocalScalingERK9btVector3,0,__ZNK21btUniformScalingShape15getLocalScalingEv,0,__ZNK21btUniformScalingShape21calculateLocalInertiaEfR9btVector3,0,__ZNK21btUniformScalingShape7getNameEv,0,__ZN21btUniformScalingShape9setMarginEf,0,__ZNK21btUniformScalingShape9getMarginEv, +0,__ZNK16btCollisionShape28calculateSerializeBufferSizeEv,0,__ZNK16btCollisionShape9serializeEPvP12btSerializer,0,__ZNK21btUniformScalingShape24localGetSupportingVertexERK9btVector3,0,__ZNK21btUniformScalingShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK21btUniformScalingShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK21btUniformScalingShape11getAabbSlowERK11btTransformR9btVector3S4_,0,__ZNK21btUniformScalingShape36getNumPreferredPenetrationDirectionsEv, +0,__ZNK21btUniformScalingShape32getPreferredPenetrationDirectionEiR9btVector3,0,__ZN13btSphereShapeD1Ev,0,__ZN13btSphereShapeD0Ev,0,__ZNK13btSphereShape7getAabbERK11btTransformR9btVector3S4_,0,__ZNK13btSphereShape21calculateLocalInertiaEfR9btVector3,0,__ZNK13btSphereShape7getNameEv,0,__ZN13btSphereShape9setMarginEf,0,__ZNK13btSphereShape9getMarginEv,0,__ZNK13btSphereShape24localGetSupportingVertexERK9btVector3,0,__ZNK13btSphereShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK13btSphereShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i, +0,__ZN26btTriangleIndexVertexArrayD2Ev,0,__ZN26btTriangleIndexVertexArrayD0Ev,0,__ZNK23btStridingMeshInterface27InternalProcessAllTrianglesEP31btInternalTriangleIndexCallbackRK9btVector3S4_,0,__ZN26btTriangleIndexVertexArray24getLockedVertexIndexBaseEPPhRiR14PHY_ScalarTypeS2_S1_S2_S2_S4_i,0,__ZNK26btTriangleIndexVertexArray32getLockedReadOnlyVertexIndexBaseEPPKhRiR14PHY_ScalarTypeS3_S2_S3_S3_S5_i,0,__ZN26btTriangleIndexVertexArray16unLockVertexBaseEi,0,__ZNK26btTriangleIndexVertexArray24unLockReadOnlyVertexBaseEi, +0,__ZNK26btTriangleIndexVertexArray14getNumSubPartsEv,0,__ZN26btTriangleIndexVertexArray19preallocateVerticesEi,0,__ZN26btTriangleIndexVertexArray18preallocateIndicesEi,0,__ZNK26btTriangleIndexVertexArray14hasPremadeAabbEv,0,__ZNK26btTriangleIndexVertexArray14setPremadeAabbERK9btVector3S2_,0,__ZNK26btTriangleIndexVertexArray14getPremadeAabbEP9btVector3S1_,0,__ZNK23btStridingMeshInterface28calculateSerializeBufferSizeEv,0,__ZNK23btStridingMeshInterface9serializeEPvP12btSerializer,0,__ZN22btBvhTriangleMeshShapeD2Ev, +0,__ZN22btBvhTriangleMeshShapeD0Ev,0,__ZNK19btTriangleMeshShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN22btBvhTriangleMeshShape15setLocalScalingERK9btVector3,0,__ZNK19btTriangleMeshShape15getLocalScalingEv,0,__ZNK19btTriangleMeshShape21calculateLocalInertiaEfR9btVector3,0,__ZNK22btBvhTriangleMeshShape7getNameEv,0,__ZN14btConcaveShape9setMarginEf,0,__ZNK14btConcaveShape9getMarginEv,0,__ZNK22btBvhTriangleMeshShape28calculateSerializeBufferSizeEv,0,__ZNK22btBvhTriangleMeshShape9serializeEPvP12btSerializer, +0,__ZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZNK19btTriangleMeshShape24localGetSupportingVertexERK9btVector3,0,__ZNK19btTriangleMeshShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK22btBvhTriangleMeshShape18serializeSingleBvhEP12btSerializer,0,__ZNK22btBvhTriangleMeshShape30serializeSingleTriangleInfoMapEP12btSerializer,0,__ZZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD2Ev, +0,__ZZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD0Ev,0,__ZZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallback11processNodeEii,0,__ZN21btNodeOverlapCallbackD1Ev,0,__ZN21btNodeOverlapCallbackD0Ev,0,__ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD2Ev,0,__ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallbackD0Ev, +0,__ZZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_EN21MyNodeOverlapCallback11processNodeEii,0,__ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD2Ev,0,__ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallbackD0Ev,0,__ZZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_EN21MyNodeOverlapCallback11processNodeEii,0,__ZN19btTriangleMeshShapeD2Ev, +0,__ZN19btTriangleMeshShapeD0Ev,0,__ZN19btTriangleMeshShape15setLocalScalingERK9btVector3,0,__ZNK19btTriangleMeshShape7getNameEv,0,__ZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZN21SupportVertexCallbackD1Ev,0,__ZN21SupportVertexCallbackD0Ev,0,__ZN21SupportVertexCallback15processTriangleEP9btVector3ii,0,__ZZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN16FilteredCallbackD2Ev,0,__ZZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN16FilteredCallbackD0Ev, +0,__ZZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_EN16FilteredCallback28internalProcessTriangleIndexEPS2_ii,0,__ZN16btTriangleBufferD1Ev,0,__ZN16btTriangleBufferD0Ev,0,__ZN16btTriangleBuffer15processTriangleEP9btVector3ii,0,__ZN18btStaticPlaneShapeD2Ev,0,__ZN18btStaticPlaneShapeD0Ev,0,__ZNK18btStaticPlaneShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN18btStaticPlaneShape15setLocalScalingERK9btVector3,0,__ZNK18btStaticPlaneShape15getLocalScalingEv,0,__ZNK18btStaticPlaneShape21calculateLocalInertiaEfR9btVector3, +0,__ZNK18btStaticPlaneShape7getNameEv,0,__ZNK18btStaticPlaneShape28calculateSerializeBufferSizeEv,0,__ZNK18btStaticPlaneShape9serializeEPvP12btSerializer,0,__ZNK18btStaticPlaneShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZN23btPolyhedralConvexShapeD2Ev,0,__ZN23btPolyhedralConvexShapeD0Ev,0,__ZN34btPolyhedralConvexAabbCachingShapeD1Ev,0,__ZN34btPolyhedralConvexAabbCachingShapeD0Ev,0,__ZNK34btPolyhedralConvexAabbCachingShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN12btEmptyShapeD2Ev, +0,__ZN12btEmptyShapeD0Ev,0,__ZNK12btEmptyShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN12btEmptyShape15setLocalScalingERK9btVector3,0,__ZNK12btEmptyShape15getLocalScalingEv,0,__ZNK12btEmptyShape21calculateLocalInertiaEfR9btVector3,0,__ZNK12btEmptyShape7getNameEv,0,__ZNK12btEmptyShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZN16btCollisionShapeD1Ev,0,__ZN16btCollisionShapeD0Ev,0,__ZN13btConvexShapeD2Ev,0,__ZN13btConvexShapeD0Ev,0,__ZN15btConvex2dShapeD2Ev,0,__ZN15btConvex2dShapeD0Ev, +0,__ZNK15btConvex2dShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN15btConvex2dShape15setLocalScalingERK9btVector3,0,__ZNK15btConvex2dShape15getLocalScalingEv,0,__ZNK15btConvex2dShape21calculateLocalInertiaEfR9btVector3,0,__ZNK15btConvex2dShape7getNameEv,0,__ZN15btConvex2dShape9setMarginEf,0,__ZNK15btConvex2dShape9getMarginEv,0,__ZNK15btConvex2dShape24localGetSupportingVertexERK9btVector3,0,__ZNK15btConvex2dShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK15btConvex2dShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i, +0,__ZNK15btConvex2dShape11getAabbSlowERK11btTransformR9btVector3S4_,0,__ZNK15btConvex2dShape36getNumPreferredPenetrationDirectionsEv,0,__ZNK15btConvex2dShape32getPreferredPenetrationDirectionEiR9btVector3,0,__ZN21btConvexInternalShapeD1Ev,0,__ZN21btConvexInternalShapeD0Ev,0,__ZN32btConvexInternalAabbCachingShapeD1Ev,0,__ZN32btConvexInternalAabbCachingShapeD0Ev,0,__ZN17btConvexHullShapeD1Ev,0,__ZN17btConvexHullShapeD0Ev,0,__ZN17btConvexHullShape15setLocalScalingERK9btVector3,0,__ZNK17btConvexHullShape7getNameEv, +0,__ZNK17btConvexHullShape28calculateSerializeBufferSizeEv,0,__ZNK17btConvexHullShape9serializeEPvP12btSerializer,0,__ZNK17btConvexHullShape24localGetSupportingVertexERK9btVector3,0,__ZNK17btConvexHullShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK17btConvexHullShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK17btConvexHullShape14getNumVerticesEv,0,__ZNK17btConvexHullShape11getNumEdgesEv,0,__ZNK17btConvexHullShape7getEdgeEiR9btVector3S1_,0,__ZNK17btConvexHullShape9getVertexEiR9btVector3, +0,__ZNK17btConvexHullShape12getNumPlanesEv,0,__ZNK17btConvexHullShape8getPlaneER9btVector3S1_i,0,__ZNK17btConvexHullShape8isInsideERK9btVector3f,0,__ZN18btTriangleCallbackD2Ev,0,__ZN18btTriangleCallbackD0Ev,0,__ZN31btInternalTriangleIndexCallbackD2Ev,0,__ZN31btInternalTriangleIndexCallbackD0Ev,0,__ZN14btCapsuleShapeD1Ev,0,__ZN14btCapsuleShapeD0Ev,0,__ZNK14btCapsuleShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN14btCapsuleShape15setLocalScalingERK9btVector3,0,__ZNK14btCapsuleShape21calculateLocalInertiaEfR9btVector3, +0,__ZNK14btCapsuleShape7getNameEv,0,__ZN14btCapsuleShape9setMarginEf,0,__ZNK14btCapsuleShape28calculateSerializeBufferSizeEv,0,__ZNK14btCapsuleShape9serializeEPvP12btSerializer,0,__ZNK14btCapsuleShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK14btCapsuleShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZN15btCapsuleShapeXD1Ev,0,__ZN15btCapsuleShapeXD0Ev,0,__ZNK15btCapsuleShapeX7getNameEv,0,__ZN15btCapsuleShapeZD1Ev,0,__ZN15btCapsuleShapeZD0Ev,0,__ZNK15btCapsuleShapeZ7getNameEv, +0,__ZN25btConvexTriangleMeshShapeD1Ev,0,__ZN25btConvexTriangleMeshShapeD0Ev,0,__ZN25btConvexTriangleMeshShape15setLocalScalingERK9btVector3,0,__ZNK25btConvexTriangleMeshShape15getLocalScalingEv,0,__ZNK25btConvexTriangleMeshShape7getNameEv,0,__ZNK25btConvexTriangleMeshShape24localGetSupportingVertexERK9btVector3,0,__ZNK25btConvexTriangleMeshShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK25btConvexTriangleMeshShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i, +0,__ZNK25btConvexTriangleMeshShape14getNumVerticesEv,0,__ZNK25btConvexTriangleMeshShape11getNumEdgesEv,0,__ZNK25btConvexTriangleMeshShape7getEdgeEiR9btVector3S1_,0,__ZNK25btConvexTriangleMeshShape9getVertexEiR9btVector3,0,__ZNK25btConvexTriangleMeshShape12getNumPlanesEv,0,__ZNK25btConvexTriangleMeshShape8getPlaneER9btVector3S1_i,0,__ZNK25btConvexTriangleMeshShape8isInsideERK9btVector3f,0,__ZN26LocalSupportVertexCallbackD1Ev,0,__ZN26LocalSupportVertexCallbackD0Ev,0,__ZN26LocalSupportVertexCallback28internalProcessTriangleIndexEP9btVector3ii, +0,__ZN14btConcaveShapeD2Ev,0,__ZN14btConcaveShapeD0Ev,0,__ZN23btConvexPointCloudShapeD1Ev,0,__ZN23btConvexPointCloudShapeD0Ev,0,__ZN23btConvexPointCloudShape15setLocalScalingERK9btVector3,0,__ZNK23btConvexPointCloudShape7getNameEv,0,__ZNK23btConvexPointCloudShape24localGetSupportingVertexERK9btVector3,0,__ZNK23btConvexPointCloudShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK23btConvexPointCloudShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK23btConvexPointCloudShape14getNumVerticesEv, +0,__ZNK23btConvexPointCloudShape11getNumEdgesEv,0,__ZNK23btConvexPointCloudShape7getEdgeEiR9btVector3S1_,0,__ZNK23btConvexPointCloudShape9getVertexEiR9btVector3,0,__ZNK23btConvexPointCloudShape12getNumPlanesEv,0,__ZNK23btConvexPointCloudShape8getPlaneER9btVector3S1_i,0,__ZNK23btConvexPointCloudShape8isInsideERK9btVector3f,0,__ZN10btBoxShapeD1Ev,0,__ZN10btBoxShapeD0Ev,0,__ZNK10btBoxShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN10btBoxShape15setLocalScalingERK9btVector3,0,__ZNK10btBoxShape21calculateLocalInertiaEfR9btVector3, +0,__ZNK10btBoxShape7getNameEv,0,__ZN10btBoxShape9setMarginEf,0,__ZNK10btBoxShape24localGetSupportingVertexERK9btVector3,0,__ZNK10btBoxShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK10btBoxShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK10btBoxShape36getNumPreferredPenetrationDirectionsEv,0,__ZNK10btBoxShape32getPreferredPenetrationDirectionEiR9btVector3,0,__ZNK10btBoxShape14getNumVerticesEv,0,__ZNK10btBoxShape11getNumEdgesEv,0,__ZNK10btBoxShape7getEdgeEiR9btVector3S1_, +0,__ZNK10btBoxShape9getVertexEiR9btVector3,0,__ZNK10btBoxShape12getNumPlanesEv,0,__ZNK10btBoxShape8getPlaneER9btVector3S1_i,0,__ZNK10btBoxShape8isInsideERK9btVector3f,0,__ZNK10btBoxShape16getPlaneEquationER9btVector4i,0,__ZN12btBox2dShapeD1Ev,0,__ZN12btBox2dShapeD0Ev,0,__ZNK12btBox2dShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN12btBox2dShape15setLocalScalingERK9btVector3,0,__ZNK12btBox2dShape21calculateLocalInertiaEfR9btVector3,0,__ZNK12btBox2dShape7getNameEv,0,__ZN12btBox2dShape9setMarginEf, +0,__ZNK12btBox2dShape24localGetSupportingVertexERK9btVector3,0,__ZNK12btBox2dShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK12btBox2dShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK12btBox2dShape36getNumPreferredPenetrationDirectionsEv,0,__ZNK12btBox2dShape32getPreferredPenetrationDirectionEiR9btVector3,0,__ZNK12btBox2dShape14getNumVerticesEv,0,__ZNK12btBox2dShape11getNumEdgesEv,0,__ZNK12btBox2dShape7getEdgeEiR9btVector3S1_,0,__ZNK12btBox2dShape9getVertexEiR9btVector3, +0,__ZNK12btBox2dShape12getNumPlanesEv,0,__ZNK12btBox2dShape8getPlaneER9btVector3S1_i,0,__ZNK12btBox2dShape8isInsideERK9btVector3f,0,__ZNK12btBox2dShape16getPlaneEquationER9btVector4i,0,__ZN14btOptimizedBvhD2Ev,0,__ZN14btOptimizedBvhD0Ev,0,__ZNK14btQuantizedBvh9serializeEPvjb,0,__ZNK14btQuantizedBvh31calculateSerializeBufferSizeNewEv,0,__ZNK14btQuantizedBvh9serializeEPvP12btSerializer,0,__ZN14btQuantizedBvh16deSerializeFloatER23btQuantizedBvhFloatData,0,__ZN14btQuantizedBvh17deSerializeDoubleER24btQuantizedBvhDoubleData, +0,__ZNK14btOptimizedBvh16serializeInPlaceEPvjb,0,__ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN20NodeTriangleCallbackD2E_0v,0,__ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN20NodeTriangleCallbackD0E_0v,0,__ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN20NodeTriangleCallback28internalProcessTriangleIndexE_0PS2_ii,0,__ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN29QuantizedNodeTriangleCallbackD2Ev,0, +__ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN29QuantizedNodeTriangleCallbackD0Ev,0,__ZZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_EN29QuantizedNodeTriangleCallback28internalProcessTriangleIndexEPS2_ii,0,__ZN25btHeightfieldTerrainShapeD2Ev,0,__ZN25btHeightfieldTerrainShapeD0Ev,0,__ZNK25btHeightfieldTerrainShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN25btHeightfieldTerrainShape15setLocalScalingERK9btVector3,0,__ZNK25btHeightfieldTerrainShape15getLocalScalingEv, +0,__ZNK25btHeightfieldTerrainShape21calculateLocalInertiaEfR9btVector3,0,__ZNK25btHeightfieldTerrainShape7getNameEv,0,__ZNK25btHeightfieldTerrainShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZNK25btHeightfieldTerrainShape22getRawHeightFieldValueEii,0,__ZN15btCylinderShapeD1Ev,0,__ZN15btCylinderShapeD0Ev,0,__ZNK15btCylinderShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN15btCylinderShape15setLocalScalingERK9btVector3,0,__ZNK15btCylinderShape21calculateLocalInertiaEfR9btVector3, +0,__ZNK15btCylinderShape7getNameEv,0,__ZN15btCylinderShape9setMarginEf,0,__ZNK15btCylinderShape28calculateSerializeBufferSizeEv,0,__ZNK15btCylinderShape9serializeEPvP12btSerializer,0,__ZNK15btCylinderShape24localGetSupportingVertexERK9btVector3,0,__ZNK15btCylinderShape37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK15btCylinderShape49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK15btCylinderShape9getRadiusEv,0,__ZN16btCylinderShapeXD1Ev,0,__ZN16btCylinderShapeXD0Ev, +0,__ZNK16btCylinderShapeX7getNameEv,0,__ZNK16btCylinderShapeX37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK16btCylinderShapeX49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i,0,__ZNK16btCylinderShapeX9getRadiusEv,0,__ZN16btCylinderShapeZD1Ev,0,__ZN16btCylinderShapeZD0Ev,0,__ZNK16btCylinderShapeZ7getNameEv,0,__ZNK16btCylinderShapeZ37localGetSupportingVertexWithoutMarginERK9btVector3,0,__ZNK16btCylinderShapeZ49batchedUnitVectorGetSupportingVertexWithoutMarginEPK9btVector3PS0_i, +0,__ZNK16btCylinderShapeZ9getRadiusEv,0,__ZN28btScaledBvhTriangleMeshShapeD2Ev,0,__ZN28btScaledBvhTriangleMeshShapeD0Ev,0,__ZNK28btScaledBvhTriangleMeshShape7getAabbERK11btTransformR9btVector3S4_,0,__ZN28btScaledBvhTriangleMeshShape15setLocalScalingERK9btVector3,0,__ZNK28btScaledBvhTriangleMeshShape15getLocalScalingEv,0,__ZNK28btScaledBvhTriangleMeshShape21calculateLocalInertiaEfR9btVector3,0,__ZNK28btScaledBvhTriangleMeshShape7getNameEv,0,__ZNK28btScaledBvhTriangleMeshShape28calculateSerializeBufferSizeEv, +0,__ZNK28btScaledBvhTriangleMeshShape9serializeEPvP12btSerializer,0,__ZNK28btScaledBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZN24btScaledTriangleCallbackD1Ev,0,__ZN24btScaledTriangleCallbackD0Ev,0,__ZN24btScaledTriangleCallback15processTriangleEP9btVector3ii,0,__ZN23btStridingMeshInterfaceD2Ev,0,__ZN23btStridingMeshInterfaceD0Ev,0,__ZNK23btStridingMeshInterface14hasPremadeAabbEv,0,__ZNK23btStridingMeshInterface14setPremadeAabbERK9btVector3S2_,0,__ZNK23btStridingMeshInterface14getPremadeAabbEP9btVector3S1_, +0,__ZN34btTriangleIndexVertexMaterialArrayD1Ev,0,__ZN34btTriangleIndexVertexMaterialArrayD0Ev,0,__ZN34btTriangleIndexVertexMaterialArray21getLockedMaterialBaseEPPhRiR14PHY_ScalarTypeS2_S1_S2_S2_S4_i,0,__ZN34btTriangleIndexVertexMaterialArray29getLockedReadOnlyMaterialBaseEPPKhRiR14PHY_ScalarTypeS3_S2_S3_S3_S5_i,0,__ZN14btTriangleMeshD1Ev,0,__ZN14btTriangleMeshD0Ev,0,__ZN14btTriangleMesh19preallocateVerticesEi,0,__ZN14btTriangleMesh18preallocateIndicesEi,0,__ZN12btAxisSweep3D1Ev,0,__ZN12btAxisSweep3D0Ev, +0,__ZN20btAxisSweep3InternalItE11createProxyERK9btVector3S3_iPvssP12btDispatcherS4_,0,__ZN20btAxisSweep3InternalItE12destroyProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN20btAxisSweep3InternalItE7setAabbEP17btBroadphaseProxyRK9btVector3S5_P12btDispatcher,0,__ZNK20btAxisSweep3InternalItE7getAabbEP17btBroadphaseProxyR9btVector3S4_,0,__ZN20btAxisSweep3InternalItE7rayTestERK9btVector3S3_R23btBroadphaseRayCallbackS3_S3_,0,__ZN20btAxisSweep3InternalItE8aabbTestERK9btVector3S3_R24btBroadphaseAabbCallback, +0,__ZN20btAxisSweep3InternalItE25calculateOverlappingPairsEP12btDispatcher,0,__ZN20btAxisSweep3InternalItE23getOverlappingPairCacheEv,0,__ZNK20btAxisSweep3InternalItE23getOverlappingPairCacheEv,0,__ZNK20btAxisSweep3InternalItE17getBroadphaseAabbER9btVector3S2_,0,__ZN20btAxisSweep3InternalItE9resetPoolEP12btDispatcher,0,__ZN20btAxisSweep3InternalItE10printStatsEv,0,__ZN17bt32BitAxisSweep3D1Ev,0,__ZN17bt32BitAxisSweep3D0Ev,0,__ZN20btAxisSweep3InternalIjE11createProxyERK9btVector3S3_iPvssP12btDispatcherS4_, +0,__ZN20btAxisSweep3InternalIjE12destroyProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN20btAxisSweep3InternalIjE7setAabbEP17btBroadphaseProxyRK9btVector3S5_P12btDispatcher,0,__ZNK20btAxisSweep3InternalIjE7getAabbEP17btBroadphaseProxyR9btVector3S4_,0,__ZN20btAxisSweep3InternalIjE7rayTestERK9btVector3S3_R23btBroadphaseRayCallbackS3_S3_,0,__ZN20btAxisSweep3InternalIjE8aabbTestERK9btVector3S3_R24btBroadphaseAabbCallback,0,__ZN20btAxisSweep3InternalIjE25calculateOverlappingPairsEP12btDispatcher,0,__ZN20btAxisSweep3InternalIjE23getOverlappingPairCacheEv, +0,__ZNK20btAxisSweep3InternalIjE23getOverlappingPairCacheEv,0,__ZNK20btAxisSweep3InternalIjE17getBroadphaseAabbER9btVector3S2_,0,__ZN20btAxisSweep3InternalIjE9resetPoolEP12btDispatcher,0,__ZN20btAxisSweep3InternalIjE10printStatsEv,0,__ZN20btAxisSweep3InternalItED1Ev,0,__ZN20btAxisSweep3InternalItED0Ev,0,__ZN21btBroadphaseInterfaceD1Ev,0,__ZN21btBroadphaseInterfaceD0Ev,0,__ZN21btBroadphaseInterface9resetPoolEP12btDispatcher,0,__ZN20btAxisSweep3InternalIjED1Ev,0,__ZN20btAxisSweep3InternalIjED0Ev,0, +__ZN15btNullPairCacheD1Ev,0,__ZN15btNullPairCacheD0Ev,0,__ZN15btNullPairCache18addOverlappingPairEP17btBroadphaseProxyS1_,0,__ZN15btNullPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher,0,__ZN15btNullPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN15btNullPairCache26getOverlappingPairArrayPtrEv,0,__ZNK15btNullPairCache26getOverlappingPairArrayPtrEv,0,__ZN15btNullPairCache23getOverlappingPairArrayEv,0,__ZN15btNullPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher, +0,__ZNK15btNullPairCache22getNumOverlappingPairsEv,0,__ZN15btNullPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher,0,__ZN15btNullPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback,0,__ZN15btNullPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher,0,__ZN15btNullPairCache8findPairEP17btBroadphaseProxyS1_,0,__ZN15btNullPairCache18hasDeferredRemovalEv,0,__ZN15btNullPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback,0,__ZN15btNullPairCache20sortOverlappingPairsEP12btDispatcher, +0,__ZN22btOverlappingPairCacheD1Ev,0,__ZN22btOverlappingPairCacheD0Ev,0,__ZN25btOverlappingPairCallbackD1Ev,0,__ZN25btOverlappingPairCallbackD0Ev,0,__ZN28btHashedOverlappingPairCacheD2Ev,0,__ZN28btHashedOverlappingPairCacheD0Ev,0,__ZN28btHashedOverlappingPairCache18addOverlappingPairEP17btBroadphaseProxyS1_,0,__ZN28btHashedOverlappingPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher,0,__ZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher, +0,__ZN28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv,0,__ZNK28btHashedOverlappingPairCache26getOverlappingPairArrayPtrEv,0,__ZN28btHashedOverlappingPairCache23getOverlappingPairArrayEv,0,__ZN28btHashedOverlappingPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher,0,__ZNK28btHashedOverlappingPairCache22getNumOverlappingPairsEv,0,__ZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher,0,__ZN28btHashedOverlappingPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback, +0,__ZN28btHashedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher,0,__ZN28btHashedOverlappingPairCache8findPairEP17btBroadphaseProxyS1_,0,__ZN28btHashedOverlappingPairCache18hasDeferredRemovalEv,0,__ZN28btHashedOverlappingPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback,0,__ZN28btHashedOverlappingPairCache20sortOverlappingPairsEP12btDispatcher,0,__ZN28btSortedOverlappingPairCacheD2Ev,0,__ZN28btSortedOverlappingPairCacheD0Ev,0,__ZN28btSortedOverlappingPairCache18addOverlappingPairEP17btBroadphaseProxyS1_, +0,__ZN28btSortedOverlappingPairCache21removeOverlappingPairEP17btBroadphaseProxyS1_P12btDispatcher,0,__ZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN28btSortedOverlappingPairCache26getOverlappingPairArrayPtrEv,0,__ZNK28btSortedOverlappingPairCache26getOverlappingPairArrayPtrEv,0,__ZN28btSortedOverlappingPairCache23getOverlappingPairArrayEv,0,__ZN28btSortedOverlappingPairCache20cleanOverlappingPairER16btBroadphasePairP12btDispatcher, +0,__ZNK28btSortedOverlappingPairCache22getNumOverlappingPairsEv,0,__ZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcher,0,__ZN28btSortedOverlappingPairCache24setOverlapFilterCallbackEP23btOverlapFilterCallback,0,__ZN28btSortedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher,0,__ZN28btSortedOverlappingPairCache8findPairEP17btBroadphaseProxyS1_,0,__ZN28btSortedOverlappingPairCache18hasDeferredRemovalEv,0,__ZN28btSortedOverlappingPairCache28setInternalGhostPairCallbackEP25btOverlappingPairCallback, +0,__ZN28btSortedOverlappingPairCache20sortOverlappingPairsEP12btDispatcher,0,__ZZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD2Ev,0,__ZZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD0Ev,0,__ZZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair, +0,__ZZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD2Ev,0,__ZZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD0Ev,0,__ZZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair,0,__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD2Ev, +0,__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallbackD0Ev,0,__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair,0,__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD2Ev,0,__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallbackD0Ev, +0,__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair,0,__ZN16btDbvtBroadphaseD2Ev,0,__ZN16btDbvtBroadphaseD0Ev,0,__ZN16btDbvtBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_,0,__ZN16btDbvtBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN16btDbvtBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher,0,__ZNK16btDbvtBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_, +0,__ZN16btDbvtBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_,0,__ZN16btDbvtBroadphase8aabbTestERK9btVector3S2_R24btBroadphaseAabbCallback,0,__ZN16btDbvtBroadphase25calculateOverlappingPairsEP12btDispatcher,0,__ZN16btDbvtBroadphase23getOverlappingPairCacheEv,0,__ZNK16btDbvtBroadphase23getOverlappingPairCacheEv,0,__ZNK16btDbvtBroadphase17getBroadphaseAabbER9btVector3S1_,0,__ZN16btDbvtBroadphase9resetPoolEP12btDispatcher,0,__ZN16btDbvtBroadphase10printStatsEv,0,__ZN20BroadphaseAabbTesterD1Ev, +0,__ZN20BroadphaseAabbTesterD0Ev,0,__ZN20BroadphaseAabbTester7ProcessEPK10btDbvtNode,0,__ZN19BroadphaseRayTesterD1Ev,0,__ZN19BroadphaseRayTesterD0Ev,0,__ZN19BroadphaseRayTester7ProcessEPK10btDbvtNode,0,__ZN18btDbvtTreeColliderD1Ev,0,__ZN18btDbvtTreeColliderD0Ev,0,__ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNodeS2_,0,__ZN18btDbvtTreeCollider7ProcessEPK10btDbvtNode,0,__ZN20btMultiSapBroadphaseD2Ev,0,__ZN20btMultiSapBroadphaseD0Ev,0,__ZN20btMultiSapBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_, +0,__ZN20btMultiSapBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher,0,__ZNK20btMultiSapBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_,0,__ZN20btMultiSapBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_,0,__ZN20btMultiSapBroadphase25calculateOverlappingPairsEP12btDispatcher,0,__ZN20btMultiSapBroadphase23getOverlappingPairCacheEv,0,__ZNK20btMultiSapBroadphase23getOverlappingPairCacheEv, +0,__ZNK20btMultiSapBroadphase17getBroadphaseAabbER9btVector3S1_,0,__ZN20btMultiSapBroadphase9resetPoolEP12btDispatcher,0,__ZN20btMultiSapBroadphase10printStatsEv,0,__ZZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherEN21MyNodeOverlapCallbackD2Ev,0,__ZZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherEN21MyNodeOverlapCallbackD0Ev,0,__ZZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherEN21MyNodeOverlapCallback11processNodeEii, +0,__ZZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheEN31btMultiSapOverlapFilterCallbackD2Ev,0,__ZZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheEN31btMultiSapOverlapFilterCallbackD0Ev,0,__ZZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheENK31btMultiSapOverlapFilterCallback23needBroadphaseCollisionEP17btBroadphaseProxyS4_,0,__ZN23btOverlapFilterCallbackD1Ev,0,__ZN23btOverlapFilterCallbackD0Ev,0,__ZN12btDispatcherD2Ev,0,__ZN12btDispatcherD0Ev,0,__ZN14btQuantizedBvhD2Ev,0,__ZN14btQuantizedBvhD0Ev, +0,__ZN18btSimpleBroadphaseD2Ev,0,__ZN18btSimpleBroadphaseD0Ev,0,__ZN18btSimpleBroadphase11createProxyERK9btVector3S2_iPvssP12btDispatcherS3_,0,__ZN18btSimpleBroadphase12destroyProxyEP17btBroadphaseProxyP12btDispatcher,0,__ZN18btSimpleBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcher,0,__ZNK18btSimpleBroadphase7getAabbEP17btBroadphaseProxyR9btVector3S3_,0,__ZN18btSimpleBroadphase7rayTestERK9btVector3S2_R23btBroadphaseRayCallbackS2_S2_,0,__ZN18btSimpleBroadphase8aabbTestERK9btVector3S2_R24btBroadphaseAabbCallback, +0,__ZN18btSimpleBroadphase25calculateOverlappingPairsEP12btDispatcher,0,__ZN18btSimpleBroadphase23getOverlappingPairCacheEv,0,__ZNK18btSimpleBroadphase23getOverlappingPairCacheEv,0,__ZNK18btSimpleBroadphase17getBroadphaseAabbER9btVector3S1_,0,__ZN18btSimpleBroadphase9resetPoolEP12btDispatcher,0,__ZN18btSimpleBroadphase10printStatsEv,0,__ZN27btGImpactCollisionAlgorithmD2Ev,0,__ZN27btGImpactCollisionAlgorithmD0Ev,0,__ZN27btGImpactCollisionAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult, +0,__ZN27btGImpactCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult,0,__ZN27btGImpactCollisionAlgorithm22getAllContactManifoldsER20btAlignedObjectArrayIP20btPersistentManifoldE,0,__ZN25btGImpactTriangleCallbackD1Ev,0,__ZN25btGImpactTriangleCallbackD0Ev,0,__ZN25btGImpactTriangleCallback15processTriangleEP9btVector3ii,0,__ZN17btTriangleShapeExD1Ev,0,__ZN17btTriangleShapeExD0Ev,0,__ZNK17btTriangleShapeEx7getAabbERK11btTransformR9btVector3S4_,0,__ZN20btTetrahedronShapeExD1Ev, +0,__ZN20btTetrahedronShapeExD0Ev,0,__ZN18GIM_ShapeRetriever19ChildShapeRetriever13getChildShapeEi,0,__ZN18GIM_ShapeRetriever19ChildShapeRetrieverD1Ev,0,__ZN18GIM_ShapeRetriever19ChildShapeRetrieverD0Ev,0,__ZN18GIM_ShapeRetriever22TriangleShapeRetriever13getChildShapeEi,0,__ZN18GIM_ShapeRetriever22TriangleShapeRetrieverD1Ev,0,__ZN18GIM_ShapeRetriever22TriangleShapeRetrieverD0Ev,0,__ZN18GIM_ShapeRetriever19TetraShapeRetriever13getChildShapeEi,0,__ZN18GIM_ShapeRetriever19TetraShapeRetrieverD1Ev,0,__ZN18GIM_ShapeRetriever19TetraShapeRetrieverD0Ev, +0,__ZN22btGImpactCompoundShapeD1Ev,0,__ZN22btGImpactCompoundShapeD0Ev,0,__ZNK23btGImpactShapeInterface7getAabbERK11btTransformR9btVector3S4_,0,__ZN23btGImpactShapeInterface15setLocalScalingERK9btVector3,0,__ZNK23btGImpactShapeInterface15getLocalScalingEv,0,__ZNK22btGImpactCompoundShape21calculateLocalInertiaEfR9btVector3,0,__ZNK22btGImpactCompoundShape7getNameEv,0,__ZN23btGImpactShapeInterface9setMarginEf,0,__ZNK23btGImpactShapeInterface19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0, +__ZN23btGImpactShapeInterface13calcLocalAABBEv,0,__ZN23btGImpactShapeInterface10postUpdateEv,0,__ZNK23btGImpactShapeInterface12getShapeTypeEv,0,__ZNK22btGImpactCompoundShape19getGImpactShapeTypeEv,0,__ZNK22btGImpactCompoundShape19getPrimitiveManagerEv,0,__ZNK22btGImpactCompoundShape17getNumChildShapesEv,0,__ZNK22btGImpactCompoundShape20childrenHasTransformEv,0,__ZNK22btGImpactCompoundShape22needsRetrieveTrianglesEv,0,__ZNK22btGImpactCompoundShape25needsRetrieveTetrahedronsEv,0,__ZNK22btGImpactCompoundShape17getBulletTriangleEiR17btTriangleShapeEx, +0,__ZNK22btGImpactCompoundShape20getBulletTetrahedronEiR20btTetrahedronShapeEx,0,__ZNK23btGImpactShapeInterface15lockChildShapesEv,0,__ZNK23btGImpactShapeInterface17unlockChildShapesEv,0,__ZNK22btGImpactCompoundShape12getChildAabbEiRK11btTransformR9btVector3S4_,0,__ZN22btGImpactCompoundShape13getChildShapeEi,0,__ZNK22btGImpactCompoundShape13getChildShapeEi,0,__ZNK22btGImpactCompoundShape17getChildTransformEi,0,__ZN22btGImpactCompoundShape17setChildTransformEiRK11btTransform,0,__ZNK23btGImpactShapeInterface7rayTestERK9btVector3S2_RN16btCollisionWorld17RayResultCallbackE, +0,__ZN22btGImpactMeshShapePartD1Ev,0,__ZN22btGImpactMeshShapePartD0Ev,0,__ZN22btGImpactMeshShapePart15setLocalScalingERK9btVector3,0,__ZNK22btGImpactMeshShapePart15getLocalScalingEv,0,__ZNK22btGImpactMeshShapePart21calculateLocalInertiaEfR9btVector3,0,__ZNK22btGImpactMeshShapePart7getNameEv,0,__ZN22btGImpactMeshShapePart9setMarginEf,0,__ZNK22btGImpactMeshShapePart9getMarginEv,0,__ZNK22btGImpactMeshShapePart19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZNK22btGImpactMeshShapePart19getGImpactShapeTypeEv, +0,__ZNK22btGImpactMeshShapePart19getPrimitiveManagerEv,0,__ZNK22btGImpactMeshShapePart17getNumChildShapesEv,0,__ZNK22btGImpactMeshShapePart20childrenHasTransformEv,0,__ZNK22btGImpactMeshShapePart22needsRetrieveTrianglesEv,0,__ZNK22btGImpactMeshShapePart25needsRetrieveTetrahedronsEv,0,__ZNK22btGImpactMeshShapePart17getBulletTriangleEiR17btTriangleShapeEx,0,__ZNK22btGImpactMeshShapePart20getBulletTetrahedronEiR20btTetrahedronShapeEx,0,__ZNK22btGImpactMeshShapePart15lockChildShapesEv,0,__ZNK22btGImpactMeshShapePart17unlockChildShapesEv, +0,__ZNK23btGImpactShapeInterface12getChildAabbEiRK11btTransformR9btVector3S4_,0,__ZN22btGImpactMeshShapePart13getChildShapeEi,0,__ZNK22btGImpactMeshShapePart13getChildShapeEi,0,__ZNK22btGImpactMeshShapePart17getChildTransformEi,0,__ZN22btGImpactMeshShapePart17setChildTransformEiRK11btTransform,0,__ZN18btGImpactMeshShapeD1Ev,0,__ZN18btGImpactMeshShapeD0Ev,0,__ZN18btGImpactMeshShape15setLocalScalingERK9btVector3,0,__ZNK18btGImpactMeshShape21calculateLocalInertiaEfR9btVector3,0,__ZNK18btGImpactMeshShape7getNameEv, +0,__ZN18btGImpactMeshShape9setMarginEf,0,__ZNK18btGImpactMeshShape28calculateSerializeBufferSizeEv,0,__ZNK18btGImpactMeshShape9serializeEPvP12btSerializer,0,__ZNK18btGImpactMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_,0,__ZN18btGImpactMeshShape13calcLocalAABBEv,0,__ZN18btGImpactMeshShape10postUpdateEv,0,__ZNK18btGImpactMeshShape19getGImpactShapeTypeEv,0,__ZNK18btGImpactMeshShape19getPrimitiveManagerEv,0,__ZNK18btGImpactMeshShape17getNumChildShapesEv,0,__ZNK18btGImpactMeshShape20childrenHasTransformEv, +0,__ZNK18btGImpactMeshShape22needsRetrieveTrianglesEv,0,__ZNK18btGImpactMeshShape25needsRetrieveTetrahedronsEv,0,__ZNK18btGImpactMeshShape17getBulletTriangleEiR17btTriangleShapeEx,0,__ZNK18btGImpactMeshShape20getBulletTetrahedronEiR20btTetrahedronShapeEx,0,__ZNK18btGImpactMeshShape15lockChildShapesEv,0,__ZNK18btGImpactMeshShape17unlockChildShapesEv,0,__ZNK18btGImpactMeshShape12getChildAabbEiRK11btTransformR9btVector3S4_,0,__ZN18btGImpactMeshShape13getChildShapeEi,0,__ZNK18btGImpactMeshShape13getChildShapeEi, +0,__ZNK18btGImpactMeshShape17getChildTransformEi,0,__ZN18btGImpactMeshShape17setChildTransformEiRK11btTransform,0,__ZNK18btGImpactMeshShape7rayTestERK9btVector3S2_RN16btCollisionWorld17RayResultCallbackE,0,__ZN23btGImpactShapeInterfaceD1Ev,0,__ZN23btGImpactShapeInterfaceD0Ev,0,__ZN22btGImpactMeshShapePart23TrimeshPrimitiveManagerD1Ev,0,__ZN22btGImpactMeshShapePart23TrimeshPrimitiveManagerD0Ev,0,__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager10is_trimeshEv,0,__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager19get_primitive_countEv, +0,__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager17get_primitive_boxEiR6btAABB,0,__ZNK22btGImpactMeshShapePart23TrimeshPrimitiveManager22get_primitive_triangleEiR19btPrimitiveTriangle,0,__ZN22btPrimitiveManagerBaseD1Ev,0,__ZN22btPrimitiveManagerBaseD0Ev,0,__ZN22btGImpactCompoundShape24CompoundPrimitiveManagerD1Ev,0,__ZN22btGImpactCompoundShape24CompoundPrimitiveManagerD0Ev,0,__ZNK22btGImpactCompoundShape24CompoundPrimitiveManager10is_trimeshEv,0,__ZNK22btGImpactCompoundShape24CompoundPrimitiveManager19get_primitive_countEv, +0,__ZNK22btGImpactCompoundShape24CompoundPrimitiveManager17get_primitive_boxEiR6btAABB,0,__ZNK22btGImpactCompoundShape24CompoundPrimitiveManager22get_primitive_triangleEiR19btPrimitiveTriangle,0,__ZN25btContinuousDynamicsWorldD2Ev,0,__ZN25btContinuousDynamicsWorldD0Ev,0,__ZN23btDiscreteDynamicsWorld14debugDrawWorldEv,0,__ZN23btDiscreteDynamicsWorld18addCollisionObjectEP17btCollisionObjectss,0,__ZN23btDiscreteDynamicsWorld21removeCollisionObjectEP17btCollisionObject,0,__ZN23btDiscreteDynamicsWorld9serializeEP12btSerializer, +0,__ZN23btDiscreteDynamicsWorld14stepSimulationEfif,0,__ZN23btDiscreteDynamicsWorld13addConstraintEP17btTypedConstraintb,0,__ZN23btDiscreteDynamicsWorld16removeConstraintEP17btTypedConstraint,0,__ZN23btDiscreteDynamicsWorld9addActionEP17btActionInterface,0,__ZN23btDiscreteDynamicsWorld12removeActionEP17btActionInterface,0,__ZN23btDiscreteDynamicsWorld10setGravityERK9btVector3,0,__ZNK23btDiscreteDynamicsWorld10getGravityEv,0,__ZN23btDiscreteDynamicsWorld23synchronizeMotionStatesEv,0,__ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBody, +0,__ZN23btDiscreteDynamicsWorld12addRigidBodyEP11btRigidBodyss,0,__ZN23btDiscreteDynamicsWorld15removeRigidBodyEP11btRigidBody,0,__ZN23btDiscreteDynamicsWorld19setConstraintSolverEP18btConstraintSolver,0,__ZN23btDiscreteDynamicsWorld19getConstraintSolverEv,0,__ZNK23btDiscreteDynamicsWorld17getNumConstraintsEv,0,__ZN23btDiscreteDynamicsWorld13getConstraintEi,0,__ZNK23btDiscreteDynamicsWorld13getConstraintEi,0,__ZNK25btContinuousDynamicsWorld12getWorldTypeEv,0,__ZN23btDiscreteDynamicsWorld11clearForcesEv, +0,__ZN23btDiscreteDynamicsWorld10addVehicleEP17btActionInterface,0,__ZN23btDiscreteDynamicsWorld13removeVehicleEP17btActionInterface,0,__ZN23btDiscreteDynamicsWorld12addCharacterEP17btActionInterface,0,__ZN23btDiscreteDynamicsWorld15removeCharacterEP17btActionInterface,0,__ZN23btDiscreteDynamicsWorld25predictUnconstraintMotionEf,0,__ZN23btDiscreteDynamicsWorld19integrateTransformsEf,0,__ZN23btDiscreteDynamicsWorld22addSpeculativeContactsEf,0,__ZN23btDiscreteDynamicsWorld26calculateSimulationIslandsEv, +0,__ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo,0,__ZN25btContinuousDynamicsWorld28internalSingleStepSimulationEf,0,__ZN23btDiscreteDynamicsWorld18saveKinematicStateEf,0,__ZN23btDiscreteDynamicsWorld12applyGravityEv,0,__ZN23btDiscreteDynamicsWorld11setNumTasksEi,0,__ZN23btDiscreteDynamicsWorld14updateVehiclesEf,0,__ZN25btContinuousDynamicsWorld22calculateTimeOfImpactsEf,0,__ZN11btRigidBody24checkCollideWithOverrideEP17btCollisionObject,0,__ZN11btRigidBodyD0Ev,0,__ZNK11btRigidBody28calculateSerializeBufferSizeEv, +0,__ZNK11btRigidBody9serializeEPvP12btSerializer,0,__ZNK11btRigidBody21serializeSingleObjectEP12btSerializer,0,__ZN21btSimpleDynamicsWorldD2Ev,0,__ZN21btSimpleDynamicsWorldD0Ev,0,__ZN21btSimpleDynamicsWorld11updateAabbsEv,0,__ZN21btSimpleDynamicsWorld14debugDrawWorldEv,0,__ZN21btSimpleDynamicsWorld21removeCollisionObjectEP17btCollisionObject,0,__ZN21btSimpleDynamicsWorld14stepSimulationEfif,0,__ZN15btDynamicsWorld13addConstraintEP17btTypedConstraintb,0,__ZN15btDynamicsWorld16removeConstraintEP17btTypedConstraint, +0,__ZN21btSimpleDynamicsWorld9addActionEP17btActionInterface,0,__ZN21btSimpleDynamicsWorld12removeActionEP17btActionInterface,0,__ZN21btSimpleDynamicsWorld10setGravityERK9btVector3,0,__ZNK21btSimpleDynamicsWorld10getGravityEv,0,__ZN21btSimpleDynamicsWorld23synchronizeMotionStatesEv,0,__ZN21btSimpleDynamicsWorld12addRigidBodyEP11btRigidBody,0,__ZN21btSimpleDynamicsWorld12addRigidBodyEP11btRigidBodyss,0,__ZN21btSimpleDynamicsWorld15removeRigidBodyEP11btRigidBody,0,__ZN21btSimpleDynamicsWorld19setConstraintSolverEP18btConstraintSolver, +0,__ZN21btSimpleDynamicsWorld19getConstraintSolverEv,0,__ZNK15btDynamicsWorld17getNumConstraintsEv,0,__ZN15btDynamicsWorld13getConstraintEi,0,__ZNK15btDynamicsWorld13getConstraintEi,0,__ZNK21btSimpleDynamicsWorld12getWorldTypeEv,0,__ZN21btSimpleDynamicsWorld11clearForcesEv,0,__ZN15btDynamicsWorld10addVehicleEP17btActionInterface,0,__ZN15btDynamicsWorld13removeVehicleEP17btActionInterface,0,__ZN15btDynamicsWorld12addCharacterEP17btActionInterface,0,__ZN15btDynamicsWorld15removeCharacterEP17btActionInterface, +0,__ZN15btDynamicsWorldD1Ev,0,__ZN15btDynamicsWorldD0Ev,0,__ZN23btDiscreteDynamicsWorldD2Ev,0,__ZN23btDiscreteDynamicsWorldD0Ev,0,__ZNK23btDiscreteDynamicsWorld12getWorldTypeEv,0,__ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf,0,__ZN34btClosestNotMeConvexResultCallbackD1Ev,0,__ZN34btClosestNotMeConvexResultCallbackD0Ev,0,__ZNK34btClosestNotMeConvexResultCallback14needsCollisionEP17btBroadphaseProxy,0,__ZN34btClosestNotMeConvexResultCallback15addSingleResultERN16btCollisionWorld17LocalConvexResultEb, +0,__ZN16btCollisionWorld27ClosestConvexResultCallbackD1Ev,0,__ZN16btCollisionWorld27ClosestConvexResultCallbackD0Ev,0,__ZN16btCollisionWorld27ClosestConvexResultCallback15addSingleResultERNS_17LocalConvexResultEb,0,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD2Ev,0,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallbackD0Ev,0,__ZZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoEN27InplaceSolverIslandCallback13ProcessIslandEPP17btCollisionObjectiPP20btPersistentManifoldii, +0,__ZN25btSimulationIslandManager14IslandCallbackD1Ev,0,__ZN25btSimulationIslandManager14IslandCallbackD0Ev,0,__ZN23btGeneric6DofConstraintD1Ev,0,__ZN23btGeneric6DofConstraintD0Ev,0,__ZN23btGeneric6DofConstraint13buildJacobianEv,0,__ZN23btGeneric6DofConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E,0,__ZN23btGeneric6DofConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZN23btGeneric6DofConstraint8setParamEifi,0,__ZNK23btGeneric6DofConstraint8getParamEii,0,__ZNK23btGeneric6DofConstraint28calculateSerializeBufferSizeEv, +0,__ZNK23btGeneric6DofConstraint9serializeEPvP12btSerializer,0,__ZN23btGeneric6DofConstraint13calcAnchorPosEv,0,__ZN29btGeneric6DofSpringConstraintD1Ev,0,__ZN29btGeneric6DofSpringConstraintD0Ev,0,__ZN29btGeneric6DofSpringConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZNK29btGeneric6DofSpringConstraint28calculateSerializeBufferSizeEv,0,__ZNK29btGeneric6DofSpringConstraint9serializeEPvP12btSerializer,0,__ZN29btGeneric6DofSpringConstraint7setAxisERK9btVector3S2_,0,__ZN23btPoint2PointConstraintD1Ev, +0,__ZN23btPoint2PointConstraintD0Ev,0,__ZN23btPoint2PointConstraint13buildJacobianEv,0,__ZN23btPoint2PointConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E,0,__ZN23btPoint2PointConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZN23btPoint2PointConstraint8setParamEifi,0,__ZNK23btPoint2PointConstraint8getParamEii,0,__ZNK23btPoint2PointConstraint28calculateSerializeBufferSizeEv,0,__ZNK23btPoint2PointConstraint9serializeEPvP12btSerializer,0,__ZN19btContactConstraintD2Ev,0, +__ZN19btContactConstraintD0Ev,0,__ZN19btContactConstraint13buildJacobianEv,0,__ZN19btContactConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E,0,__ZN19btContactConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZN18btSliderConstraintD1Ev,0,__ZN18btSliderConstraintD0Ev,0,__ZN18btSliderConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E,0,__ZN18btSliderConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZN18btSliderConstraint8setParamEifi,0,__ZNK18btSliderConstraint8getParamEii, +0,__ZNK18btSliderConstraint28calculateSerializeBufferSizeEv,0,__ZNK18btSliderConstraint9serializeEPvP12btSerializer,0,__ZN21btConeTwistConstraintD1Ev,0,__ZN21btConeTwistConstraintD0Ev,0,__ZN21btConeTwistConstraint13buildJacobianEv,0,__ZN21btConeTwistConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E,0,__ZN21btConeTwistConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZN21btConeTwistConstraint23solveConstraintObsoleteER11btRigidBodyS1_f,0,__ZN21btConeTwistConstraint8setParamEifi, +0,__ZNK21btConeTwistConstraint8getParamEii,0,__ZNK21btConeTwistConstraint28calculateSerializeBufferSizeEv,0,__ZNK21btConeTwistConstraint9serializeEPvP12btSerializer,0,__ZN21btConeTwistConstraint9setFramesERK11btTransformS2_,0,__ZN17btHingeConstraintD1Ev,0,__ZN17btHingeConstraintD0Ev,0,__ZN17btHingeConstraint13buildJacobianEv,0,__ZN17btHingeConstraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E,0,__ZN17btHingeConstraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E,0,__ZN17btHingeConstraint8setParamEifi, +0,__ZNK17btHingeConstraint8getParamEii,0,__ZNK17btHingeConstraint28calculateSerializeBufferSizeEv,0,__ZNK17btHingeConstraint9serializeEPvP12btSerializer,0,__ZN18btHinge2ConstraintD1Ev,0,__ZN18btHinge2ConstraintD0Ev,0,__ZN21btUniversalConstraintD1Ev,0,__ZN21btUniversalConstraintD0Ev,0,__ZN35btSequentialImpulseConstraintSolverD2Ev,0,__ZN35btSequentialImpulseConstraintSolverD0Ev,0,__ZN18btConstraintSolver12prepareSolveEii,0,__ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAllocP12btDispatcher, +0,__ZN18btConstraintSolver9allSolvedERK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,0,__ZN35btSequentialImpulseConstraintSolver5resetEv,0,__ZN35btSequentialImpulseConstraintSolver45solveGroupCacheFriendlySplitImpulseIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,0,__ZN35btSequentialImpulseConstraintSolver29solveGroupCacheFriendlyFinishEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc, +0,__ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,0,__ZN35btSequentialImpulseConstraintSolver33solveGroupCacheFriendlyIterationsEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc,0,__ZN18btConstraintSolverD1Ev,0,__ZN18btConstraintSolverD0Ev,0,__ZN16btRaycastVehicleD2Ev,0,__ZN16btRaycastVehicleD0Ev, +0,__ZN16btRaycastVehicle12updateActionEP16btCollisionWorldf,0,__ZN16btRaycastVehicle9debugDrawEP12btIDebugDraw,0,__ZN16btRaycastVehicle13updateVehicleEf,0,__ZN16btRaycastVehicle14updateFrictionEf,0,__ZN16btRaycastVehicle19setCoordinateSystemEiii,0,__ZN25btDefaultVehicleRaycasterD1Ev,0,__ZN25btDefaultVehicleRaycasterD0Ev,0,__ZN25btDefaultVehicleRaycaster7castRayERK9btVector3S2_RN18btVehicleRaycaster24btVehicleRaycasterResultE,0,__ZN18btVehicleRaycasterD1Ev,0,__ZN18btVehicleRaycasterD0Ev,0,__ZN16btCollisionWorld24ClosestRayResultCallbackD1Ev, +0,__ZN16btCollisionWorld24ClosestRayResultCallbackD0Ev,0,__ZN16btCollisionWorld24ClosestRayResultCallback15addSingleResultERNS_14LocalRayResultEb,0,__ZN17btActionInterfaceD1Ev,0,__ZN17btActionInterfaceD0Ev,0,__ZN30btKinematicCharacterControllerD2Ev,0,__ZN30btKinematicCharacterControllerD0Ev,0,__ZN30btKinematicCharacterController12updateActionEP16btCollisionWorldf,0,__ZN30btKinematicCharacterController9debugDrawEP12btIDebugDraw,0,__ZN30btKinematicCharacterController16setWalkDirectionERK9btVector3, +0,__ZN30btKinematicCharacterController26setVelocityForTimeIntervalERK9btVector3f,0,__ZN30btKinematicCharacterController5resetEv,0,__ZN30btKinematicCharacterController4warpERK9btVector3,0,__ZN30btKinematicCharacterController7preStepEP16btCollisionWorld,0,__ZN30btKinematicCharacterController10playerStepEP16btCollisionWorldf,0,__ZNK30btKinematicCharacterController7canJumpEv,0,__ZN30btKinematicCharacterController4jumpEv,0,__ZNK30btKinematicCharacterController8onGroundEv,0,__ZN43btKinematicClosestNotMeConvexResultCallbackD1Ev, +0,__ZN43btKinematicClosestNotMeConvexResultCallbackD0Ev,0,__ZN43btKinematicClosestNotMeConvexResultCallback15addSingleResultERN16btCollisionWorld17LocalConvexResultEb,0,__ZN30btCharacterControllerInterfaceD1Ev,0,__ZN30btCharacterControllerInterfaceD0Ev,0];Module.callMain=function(){}; +function run(a){__initializeRuntime__();_zz_collisionConfiguration=Pointer_make([0],0,ALLOC_STATIC);_zz_dispatcher=Pointer_make([0],0,ALLOC_STATIC);_zz_overlappingPairCache=Pointer_make([0],0,ALLOC_STATIC);_zz_solver=Pointer_make([0],0,ALLOC_STATIC);_zz_dynamicsWorld=Pointer_make([0],0,ALLOC_STATIC);__str=Pointer_make([119,111,114,108,100,32,112,111,115,32,61,32,37,46,53,102,44,37,46,53,102,44,37,46,53,102,32,32,32,114,111,116,61,37,46,53,102,44,37,46,53,102,44,37,46,53,102,44,37,46,53,102,10,0], +0,ALLOC_STATIC);__ZTV17btTypedConstraint=Pointer_make([0,0,16,18,20,22,0,0,24,0,0,26,28],0,ALLOC_STATIC);__ZTS17btTypedConstraint=Pointer_make([49,55,98,116,84,121,112,101,100,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTS13btTypedObject=Pointer_make([49,51,98,116,84,121,112,101,100,79,98,106,101,99,116,0],0,ALLOC_STATIC);__ZTI13btTypedObject=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI17btTypedConstraint=Pointer_make([0,0,0,1,0,1026],0,ALLOC_STATIC);__ZZN11btTransform11getIdentityEvE17identityTransform= +Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN11btTransform11getIdentityEvE17identityTransform=Pointer_make([0],0,ALLOC_STATIC);__ZZN11btMatrix3x311getIdentityEvE14identityMatrix=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN11btMatrix3x311getIdentityEvE14identityMatrix=Pointer_make([0],0,ALLOC_STATIC);__ZTV20btDefaultMotionState=Pointer_make([0,0,30,32,34,36],0,ALLOC_STATIC);__ZTS20btDefaultMotionState=Pointer_make([50,48,98,116,68,101,102,97,117,108,116,77, +111,116,105,111,110,83,116,97,116,101,0],0,ALLOC_STATIC);__ZTS13btMotionState=Pointer_make([49,51,98,116,77,111,116,105,111,110,83,116,97,116,101,0],0,ALLOC_STATIC);__ZTI13btMotionState=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI20btDefaultMotionState=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV13btMotionState=Pointer_make([0,0,38,40,0,0],0,ALLOC_STATIC);__ZTV25btTriangleRaycastCallback=Pointer_make([0,0,42,44,46,0],0,ALLOC_STATIC);__ZTV28btTriangleConvexcastCallback=Pointer_make([0,0,48,50,52,0],0,ALLOC_STATIC); +__ZTS25btTriangleRaycastCallback=Pointer_make([50,53,98,116,84,114,105,97,110,103,108,101,82,97,121,99,97,115,116,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI25btTriangleRaycastCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS28btTriangleConvexcastCallback=Pointer_make([50,56,98,116,84,114,105,97,110,103,108,101,67,111,110,118,101,120,99,97,115,116,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI28btTriangleConvexcastCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV15btTriangleShape= +Pointer_make([0,0,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112],0,ALLOC_STATIC);__ZTS15btTriangleShape=Pointer_make([49,53,98,116,84,114,105,97,110,103,108,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI15btTriangleShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str4=Pointer_make([98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__str15=Pointer_make([84,114,105,97,110,103,108,101,0],0,ALLOC_STATIC); +__ZTV30btConvexPenetrationDepthSolver=Pointer_make([0,0,114,116,0],0,ALLOC_STATIC);__ZTS30btConvexPenetrationDepthSolver=Pointer_make([51,48,98,116,67,111,110,118,101,120,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,0],0,ALLOC_STATIC);__ZTI30btConvexPenetrationDepthSolver=Pointer_make([0,0],0,ALLOC_STATIC);__ZTVN12btConvexCast10CastResultE=Pointer_make([0,0,118,120,122,124,126],0,ALLOC_STATIC);__ZTSN12btConvexCast10CastResultE=Pointer_make([78,49,50,98,116,67, +111,110,118,101,120,67,97,115,116,49,48,67,97,115,116,82,101,115,117,108,116,69,0],0,ALLOC_STATIC);__ZTIN12btConvexCast10CastResultE=Pointer_make([0,0],0,ALLOC_STATIC);__ZZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN33btMinkowskiPenetrationDepthSolver24getPenetrationDirectionsEvE22sPenetrationDirections=Pointer_make([0],0,ALLOC_STATIC);__ZTV33btMinkowskiPenetrationDepthSolver=Pointer_make([0,0,128,130,132],0,ALLOC_STATIC); +__ZTS33btMinkowskiPenetrationDepthSolver=Pointer_make([51,51,98,116,77,105,110,107,111,119,115,107,105,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,0],0,ALLOC_STATIC);__ZTI33btMinkowskiPenetrationDepthSolver=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV36btDiscreteCollisionDetectorInterface=Pointer_make([0,0,134,136,0],0,ALLOC_STATIC);__ZTS36btDiscreteCollisionDetectorInterface=Pointer_make([51,54,98,116,68,105,115,99,114,101,116,101,67,111,108,108,105,115,105, +111,110,68,101,116,101,99,116,111,114,73,110,116,101,114,102,97,99,101,0],0,ALLOC_STATIC);__ZTI36btDiscreteCollisionDetectorInterface=Pointer_make([0,0],0,ALLOC_STATIC);__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult=Pointer_make([0,0,138,140,142,144,146],0,ALLOC_STATIC);__ZTSZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult= +Pointer_make([90,78,51,51,98,116,77,105,110,107,111,119,115,107,105,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,49,50,99,97,108,99,80,101,110,68,101,112,116,104,69,82,50,50,98,116,86,111,114,111,110,111,105,83,105,109,112,108,101,120,83,111,108,118,101,114,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,83,52,95,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,55,95,82,57,98,116,86,101,99,116,111,114,51,83,57,95,83,57,95,80,49,50,98,116,73, +68,101,98,117,103,68,114,97,119,80,49,50,98,116,83,116,97,99,107,65,108,108,111,99,69,50,48,98,116,73,110,116,101,114,109,101,100,105,97,116,101,82,101,115,117,108,116,0],0,ALLOC_STATIC);__ZTSN36btDiscreteCollisionDetectorInterface6ResultE=Pointer_make([78,51,54,98,116,68,105,115,99,114,101,116,101,67,111,108,108,105,115,105,111,110,68,101,116,101,99,116,111,114,73,110,116,101,114,102,97,99,101,54,82,101,115,117,108,116,69,0],0,ALLOC_STATIC);__ZTIN36btDiscreteCollisionDetectorInterface6ResultE=Pointer_make([0, +0],0,ALLOC_STATIC);__ZTIZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN36btDiscreteCollisionDetectorInterface6ResultE=Pointer_make([0,0,148,150,0,0,0],0,ALLOC_STATIC);__ZTV22btSubsimplexConvexCast=Pointer_make([0,0,152,154,156],0,ALLOC_STATIC);__ZTS22btSubsimplexConvexCast=Pointer_make([50,50,98,116,83,117,98,115,105, +109,112,108,101,120,67,111,110,118,101,120,67,97,115,116,0],0,ALLOC_STATIC);__ZTI22btSubsimplexConvexCast=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV30btGjkEpaPenetrationDepthSolver=Pointer_make([0,0,158,160,162],0,ALLOC_STATIC);__ZTS30btGjkEpaPenetrationDepthSolver=Pointer_make([51,48,98,116,71,106,107,69,112,97,80,101,110,101,116,114,97,116,105,111,110,68,101,112,116,104,83,111,108,118,101,114,0],0,ALLOC_STATIC);__ZTI30btGjkEpaPenetrationDepthSolver=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV15btGjkConvexCast= +Pointer_make([0,0,164,166,168],0,ALLOC_STATIC);__ZTS15btGjkConvexCast=Pointer_make([49,53,98,116,71,106,107,67,111,110,118,101,120,67,97,115,116,0],0,ALLOC_STATIC);__ZTI15btGjkConvexCast=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV16btPointCollector=Pointer_make([0,0,170,172,174,176,178],0,ALLOC_STATIC);__ZTS16btPointCollector=Pointer_make([49,54,98,116,80,111,105,110,116,67,111,108,108,101,99,116,111,114,0],0,ALLOC_STATIC);__ZTI16btPointCollector=Pointer_make([0,0,0],0,ALLOC_STATIC);_gContactBreakingThreshold= +Pointer_make([0.019999999552965164],0,ALLOC_STATIC);_gContactDestroyedCallback=Pointer_make([0],0,ALLOC_STATIC);_gContactProcessedCallback=Pointer_make([0],0,ALLOC_STATIC);__ZTV12btConvexCast=Pointer_make([0,0,180,182,0],0,ALLOC_STATIC);__ZTS12btConvexCast=Pointer_make([49,50,98,116,67,111,110,118,101,120,67,97,115,116,0],0,ALLOC_STATIC);__ZTI12btConvexCast=Pointer_make([0,0],0,ALLOC_STATIC);__ZL19gActualSATPairTests=Pointer_make([0],0,ALLOC_STATIC);__str5=Pointer_make([100,48,62,61,48,46,48,102, +0],0,ALLOC_STATIC);__str16=Pointer_make([66,117,108,108,101,116,67,111,108,108,105,115,105,111,110,47,78,97,114,114,111,119,80,104,97,115,101,67,111,108,108,105,115,105,111,110,47,98,116,80,111,108,121,104,101,100,114,97,108,67,111,110,116,97,99,116,67,108,105,112,112,105,110,103,46,99,112,112,0],0,ALLOC_STATIC);___PRETTY_FUNCTION____Z11TestSepAxisRK18btConvexPolyhedronS1_RK11btTransformS4_RK9btVector3Rf=Pointer_make([98,111,111,108,32,84,101,115,116,83,101,112,65,120,105,115,40,99,111,110,115,116, +32,98,116,67,111,110,118,101,120,80,111,108,121,104,101,100,114,111,110,32,38,44,32,99,111,110,115,116,32,98,116,67,111,110,118,101,120,80,111,108,121,104,101,100,114,111,110,32,38,44,32,99,111,110,115,116,32,98,116,84,114,97,110,115,102,111,114,109,32,38,44,32,99,111,110,115,116,32,98,116,84,114,97,110,115,102,111,114,109,32,38,44,32,99,111,110,115,116,32,98,116,86,101,99,116,111,114,51,32,38,44,32,102,108,111,97,116,32,38,41,0],0,ALLOC_STATIC);__str26=Pointer_make([100,49,62,61,48,46,48,102,0], +0,ALLOC_STATIC);__ZTV27btContinuousConvexCollision=Pointer_make([0,0,184,186,188],0,ALLOC_STATIC);__ZTS27btContinuousConvexCollision=Pointer_make([50,55,98,116,67,111,110,116,105,110,117,111,117,115,67,111,110,118,101,120,67,111,108,108,105,115,105,111,110,0],0,ALLOC_STATIC);__ZTI27btContinuousConvexCollision=Pointer_make([0,0,0],0,ALLOC_STATIC);_gNumDeepPenetrationChecks=Pointer_make([0],0,ALLOC_STATIC);_gNumGjkChecks=Pointer_make([0],0,ALLOC_STATIC);__ZTV17btGjkPairDetector=Pointer_make([0,0,190, +192,194],0,ALLOC_STATIC);__ZTS17btGjkPairDetector=Pointer_make([49,55,98,116,71,106,107,80,97,105,114,68,101,116,101,99,116,111,114,0],0,ALLOC_STATIC);__ZTI17btGjkPairDetector=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonEE4i1m3=Pointer_make([1,2,0],0,ALLOC_STATIC);__ZZN12gjkepa2_impl3EPA6expandEjPNS_3GJK3sSVEPNS0_5sFaceEjRNS0_8sHorizonEE4i2m3=Pointer_make([2,0,1],0,ALLOC_STATIC);__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_S3_PfRjE4imd3= +Pointer_make([1,2,0],0,ALLOC_STATIC);__ZZN12gjkepa2_impl3GJK13projectoriginERK9btVector3S3_S3_PfRjE4imd3=Pointer_make([1,2,0],0,ALLOC_STATIC);__ZTV30btActivatingCollisionAlgorithm=Pointer_make([0,0,196,198,0,0,0],0,ALLOC_STATIC);__ZTS30btActivatingCollisionAlgorithm=Pointer_make([51,48,98,116,65,99,116,105,118,97,116,105,110,103,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTS20btCollisionAlgorithm=Pointer_make([50,48,98,116,67,111,108,108,105,115,105, +111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI20btCollisionAlgorithm=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI30btActivatingCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV20btCollisionAlgorithm=Pointer_make([0,0,200,202,0,0,0],0,ALLOC_STATIC);__ZTV17btCollisionObject=Pointer_make([0,0,204,206,208,210,212,214,216],0,ALLOC_STATIC);__str21=Pointer_make([98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTS17btCollisionObject= +Pointer_make([49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,0],0,ALLOC_STATIC);__ZTI17btCollisionObject=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV16btEmptyAlgorithm=Pointer_make([0,0,218,220,222,224,226],0,ALLOC_STATIC);__ZTS16btEmptyAlgorithm=Pointer_make([49,54,98,116,69,109,112,116,121,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI16btEmptyAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV13btGhostObject=Pointer_make([0,0,204,228,230,210,212,214,216,232,234], +0,ALLOC_STATIC);__ZTV24btPairCachingGhostObject=Pointer_make([0,0,204,236,238,210,212,214,216,240,242],0,ALLOC_STATIC);__ZTS13btGhostObject=Pointer_make([49,51,98,116,71,104,111,115,116,79,98,106,101,99,116,0],0,ALLOC_STATIC);__ZTI13btGhostObject=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS24btPairCachingGhostObject=Pointer_make([50,52,98,116,80,97,105,114,67,97,99,104,105,110,103,71,104,111,115,116,79,98,106,101,99,116,0],0,ALLOC_STATIC);__ZTI24btPairCachingGhostObject=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTV32btSphereSphereCollisionAlgorithm=Pointer_make([0,0,244,246,248,250,252],0,ALLOC_STATIC);__ZTS32btSphereSphereCollisionAlgorithm=Pointer_make([51,50,98,116,83,112,104,101,114,101,83,112,104,101,114,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI32btSphereSphereCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV29btSphereBoxCollisionAlgorithm=Pointer_make([0,0,254,256,258,260,262],0,ALLOC_STATIC);__ZTS29btSphereBoxCollisionAlgorithm= +Pointer_make([50,57,98,116,83,112,104,101,114,101,66,111,120,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI29btSphereBoxCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);_gNumManifold=Pointer_make([0],0,ALLOC_STATIC);__ZTV21btCollisionDispatcher=Pointer_make([0,0,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294],0,ALLOC_STATIC);__ZTS21btCollisionDispatcher=Pointer_make([50,49,98,116,67,111,108,108,105,115,105,111,110,68,105,115, +112,97,116,99,104,101,114,0],0,ALLOC_STATIC);__ZTI21btCollisionDispatcher=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV23btCollisionPairCallback=Pointer_make([0,0,296,298,300],0,ALLOC_STATIC);__ZTS23btCollisionPairCallback=Pointer_make([50,51,98,116,67,111,108,108,105,115,105,111,110,80,97,105,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTS17btOverlapCallback=Pointer_make([49,55,98,116,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI17btOverlapCallback=Pointer_make([0, +0],0,ALLOC_STATIC);__ZTI23btCollisionPairCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV17btOverlapCallback=Pointer_make([0,0,302,304,0],0,ALLOC_STATIC);__ZTV31btDefaultCollisionConfiguration=Pointer_make([0,0,306,308,310,312,314,316,318],0,ALLOC_STATIC);__ZTS31btDefaultCollisionConfiguration=Pointer_make([51,49,98,116,68,101,102,97,117,108,116,67,111,108,108,105,115,105,111,110,67,111,110,102,105,103,117,114,97,116,105,111,110,0],0,ALLOC_STATIC);__ZTS24btCollisionConfiguration=Pointer_make([50, +52,98,116,67,111,108,108,105,115,105,111,110,67,111,110,102,105,103,117,114,97,116,105,111,110,0],0,ALLOC_STATIC);__ZTI24btCollisionConfiguration=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI31btDefaultCollisionConfiguration=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV24btCollisionConfiguration=Pointer_make([0,0,320,322,0,0,0,0],0,ALLOC_STATIC);__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,324,326,328],0,ALLOC_STATIC);__ZTSN31btConvexPlaneCollisionAlgorithm10CreateFuncE=Pointer_make([78, +51,49,98,116,67,111,110,118,101,120,80,108,97,110,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTS30btCollisionAlgorithmCreateFunc=Pointer_make([51,48,98,116,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,67,114,101,97,116,101,70,117,110,99,0],0,ALLOC_STATIC);__ZTI30btCollisionAlgorithmCreateFunc=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIN31btConvexPlaneCollisionAlgorithm10CreateFuncE= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV30btCollisionAlgorithmCreateFunc=Pointer_make([0,0,330,332,334],0,ALLOC_STATIC);__ZTVN26btBoxBoxCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,336,338,340],0,ALLOC_STATIC);__ZTSN26btBoxBoxCollisionAlgorithm10CreateFuncE=Pointer_make([78,50,54,98,116,66,111,120,66,111,120,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN26btBoxBoxCollisionAlgorithm10CreateFuncE=Pointer_make([0, +0,0],0,ALLOC_STATIC);__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,342,344,346],0,ALLOC_STATIC);__ZTSN34btSphereTriangleCollisionAlgorithm10CreateFuncE=Pointer_make([78,51,52,98,116,83,112,104,101,114,101,84,114,105,97,110,103,108,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN34btSphereTriangleCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN32btSphereSphereCollisionAlgorithm10CreateFuncE= +Pointer_make([0,0,348,350,352],0,ALLOC_STATIC);__ZTSN32btSphereSphereCollisionAlgorithm10CreateFuncE=Pointer_make([78,51,50,98,116,83,112,104,101,114,101,83,112,104,101,114,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN32btSphereSphereCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN16btEmptyAlgorithm10CreateFuncE=Pointer_make([0,0,354,356,358],0,ALLOC_STATIC);__ZTSN16btEmptyAlgorithm10CreateFuncE= +Pointer_make([78,49,54,98,116,69,109,112,116,121,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN16btEmptyAlgorithm10CreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN28btCompoundCollisionAlgorithm17SwappedCreateFuncE=Pointer_make([0,0,360,362,364],0,ALLOC_STATIC);__ZTSN28btCompoundCollisionAlgorithm17SwappedCreateFuncE=Pointer_make([78,50,56,98,116,67,111,109,112,111,117,110,100,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105, +116,104,109,49,55,83,119,97,112,112,101,100,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN28btCompoundCollisionAlgorithm17SwappedCreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN28btCompoundCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,366,368,370],0,ALLOC_STATIC);__ZTSN28btCompoundCollisionAlgorithm10CreateFuncE=Pointer_make([78,50,56,98,116,67,111,109,112,111,117,110,100,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101, +70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN28btCompoundCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE=Pointer_make([0,0,372,374,376],0,ALLOC_STATIC);__ZTSN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE=Pointer_make([78,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,55,83,119,97,112,112,101,100,67,114,101,97,116,101,70,117, +110,99,69,0],0,ALLOC_STATIC);__ZTIN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN33btConvexConcaveCollisionAlgorithm10CreateFuncE=Pointer_make([0,0,378,380,382],0,ALLOC_STATIC);__ZTSN33btConvexConcaveCollisionAlgorithm10CreateFuncE=Pointer_make([78,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN33btConvexConcaveCollisionAlgorithm10CreateFuncE= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV25btSimulationIslandManager=Pointer_make([0,0,384,386,388,390],0,ALLOC_STATIC);__str22=Pointer_make([105,115,108,97,110,100,85,110,105,111,110,70,105,110,100,65,110,100,81,117,105,99,107,83,111,114,116,0],0,ALLOC_STATIC);__str123=Pointer_make([112,114,111,99,101,115,115,73,115,108,97,110,100,115,0],0,ALLOC_STATIC);__ZTS25btSimulationIslandManager=Pointer_make([50,53,98,116,83,105,109,117,108,97,116,105,111,110,73,115,108,97,110,100,77,97,110,97,103,101,114, +0],0,ALLOC_STATIC);__ZTI25btSimulationIslandManager=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV16btBoxBoxDetector=Pointer_make([0,0,392,394,396],0,ALLOC_STATIC);__ZTS16btBoxBoxDetector=Pointer_make([49,54,98,116,66,111,120,66,111,120,68,101,116,101,99,116,111,114,0],0,ALLOC_STATIC);__ZTI16btBoxBoxDetector=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV31btConvexPlaneCollisionAlgorithm=Pointer_make([0,0,398,400,402,404,406],0,ALLOC_STATIC);__ZTS31btConvexPlaneCollisionAlgorithm=Pointer_make([51,49,98,116, +67,111,110,118,101,120,80,108,97,110,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI31btConvexPlaneCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV33btConvexConcaveCollisionAlgorithm=Pointer_make([0,0,408,410,412,414,416],0,ALLOC_STATIC);__ZTV24btConvexTriangleCallback=Pointer_make([0,0,418,420,422],0,ALLOC_STATIC);__ZTS33btConvexConcaveCollisionAlgorithm=Pointer_make([51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111, +108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI33btConvexConcaveCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS24btConvexTriangleCallback=Pointer_make([50,52,98,116,67,111,110,118,101,120,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI24btConvexTriangleCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback= +Pointer_make([0,0,424,426,428],0,ALLOC_STATIC);__ZTSZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback=Pointer_make([90,78,51,51,98,116,67,111,110,118,101,120,67,111,110,99,97,118,101,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,50,49,99,97,108,99,117,108,97,116,101,84,105,109,101,79,102,73,109,112,97,99,116,69,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98, +106,101,99,116,83,49,95,82,75,49,54,98,116,68,105,115,112,97,116,99,104,101,114,73,110,102,111,80,49,54,98,116,77,97,110,105,102,111,108,100,82,101,115,117,108,116,69,51,49,76,111,99,97,108,84,114,105,97,110,103,108,101,83,112,104,101,114,101,67,97,115,116,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTV26btBoxBoxCollisionAlgorithm=Pointer_make([0,0,430,432,434,436,438],0,ALLOC_STATIC);__ZTS26btBoxBoxCollisionAlgorithm=Pointer_make([50,54,98,116,66,111,120,66,111,120,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI26btBoxBoxCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV30btBox2dBox2dCollisionAlgorithm=Pointer_make([0,0,440,442,444,446,448],0,ALLOC_STATIC);_b2_maxManifoldPoints=Pointer_make([2],0,ALLOC_STATIC);__ZTS30btBox2dBox2dCollisionAlgorithm= +Pointer_make([51,48,98,116,66,111,120,50,100,66,111,120,50,100,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI30btBox2dBox2dCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV22SphereTriangleDetector=Pointer_make([0,0,450,452,454],0,ALLOC_STATIC);__ZTS22SphereTriangleDetector=Pointer_make([50,50,83,112,104,101,114,101,84,114,105,97,110,103,108,101,68,101,116,101,99,116,111,114,0],0,ALLOC_STATIC);__ZTI22SphereTriangleDetector=Pointer_make([0, +0,0],0,ALLOC_STATIC);_gContactAddedCallback=Pointer_make([0],0,ALLOC_STATIC);__ZTV16btManifoldResult=Pointer_make([0,0,456,458,460,462,464],0,ALLOC_STATIC);__ZTS16btManifoldResult=Pointer_make([49,54,98,116,77,97,110,105,102,111,108,100,82,101,115,117,108,116,0],0,ALLOC_STATIC);__ZTI16btManifoldResult=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV16btCollisionWorld=Pointer_make([0,0,466,468,470,472,474,476,478,480,482,484,486,488],0,ALLOC_STATIC);__ZZN16btCollisionWorld16updateSingleAabbEP17btCollisionObjectE8reportMe_b= +Pointer_make([0],0,ALLOC_STATIC);__str34=Pointer_make([79,118,101,114,102,108,111,119,32,105,110,32,65,65,66,66,44,32,111,98,106,101,99,116,32,114,101,109,111,118,101,100,32,102,114,111,109,32,115,105,109,117,108,97,116,105,111,110,0],0,ALLOC_STATIC);__str135=Pointer_make([73,102,32,121,111,117,32,99,97,110,32,114,101,112,114,111,100,117,99,101,32,116,104,105,115,44,32,112,108,101,97,115,101,32,101,109,97,105,108,32,98,117,103,115,64,99,111,110,116,105,110,117,111,117,115,112,104,121,115,105,99,115, +46,99,111,109,10,0],0,ALLOC_STATIC);__str236=Pointer_make([80,108,101,97,115,101,32,105,110,99,108,117,100,101,32,97,98,111,118,101,32,105,110,102,111,114,109,97,116,105,111,110,44,32,121,111,117,114,32,80,108,97,116,102,111,114,109,44,32,118,101,114,115,105,111,110,32,111,102,32,79,83,46,10,0],0,ALLOC_STATIC);__str337=Pointer_make([84,104,97,110,107,115,46,10,0],0,ALLOC_STATIC);__str438=Pointer_make([117,112,100,97,116,101,65,97,98,98,115,0],0,ALLOC_STATIC);__str539=Pointer_make([112,101,114,102, +111,114,109,68,105,115,99,114,101,116,101,67,111,108,108,105,115,105,111,110,68,101,116,101,99,116,105,111,110,0],0,ALLOC_STATIC);__str6=Pointer_make([99,97,108,99,117,108,97,116,101,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,115,0],0,ALLOC_STATIC);__str7=Pointer_make([100,105,115,112,97,116,99,104,65,108,108,67,111,108,108,105,115,105,111,110,80,97,105,114,115,0],0,ALLOC_STATIC);__str8=Pointer_make([99,111,110,118,101,120,83,119,101,101,112,67,111,109,112,111,117,110,100,0],0,ALLOC_STATIC); +__str9=Pointer_make([99,111,110,118,101,120,83,119,101,101,112,84,101,115,116,0],0,ALLOC_STATIC);__ZTS16btCollisionWorld=Pointer_make([49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,0],0,ALLOC_STATIC);__ZTI16btCollisionWorld=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV17DebugDrawcallback=Pointer_make([0,0,490,492,494,496,-4,0,498,500,502],0,ALLOC_STATIC);__ZTS17DebugDrawcallback=Pointer_make([49,55,68,101,98,117,103,68,114,97,119,99,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI17DebugDrawcallback= +Pointer_make([0,0,0,2,0,2,0,1026],0,ALLOC_STATIC);__ZTS24btBroadphaseAabbCallback=Pointer_make([50,52,98,116,66,114,111,97,100,112,104,97,115,101,65,97,98,98,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI24btBroadphaseAabbCallback=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV24btBroadphaseAabbCallback=Pointer_make([0,0,504,506,0],0,ALLOC_STATIC);__ZTV21btSingleSweepCallback=Pointer_make([0,0,508,510,512],0,ALLOC_STATIC);__ZTS21btSingleSweepCallback=Pointer_make([50,49,98,116,83,105,110,103,108,101, +83,119,101,101,112,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTS23btBroadphaseRayCallback=Pointer_make([50,51,98,116,66,114,111,97,100,112,104,97,115,101,82,97,121,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI23btBroadphaseRayCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI21btSingleSweepCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV23btBroadphaseRayCallback=Pointer_make([0,0,514,516,0],0,ALLOC_STATIC);__ZTV19btSingleRayCallback=Pointer_make([0,0,518,520,522],0,ALLOC_STATIC);__ZTS19btSingleRayCallback= +Pointer_make([49,57,98,116,83,105,110,103,108,101,82,97,121,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI19btSingleRayCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1=Pointer_make([0,0,524,526,528,530],0,ALLOC_STATIC);__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1= +Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,111,98,106,101,99,116,81,117,101,114,121,83,105,110,103,108,101,69,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,53,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,53,95,82,78,83,95,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67, +97,108,108,98,97,99,107,69,102,69,49,52,76,111,99,97,108,73,110,102,111,65,100,100,101,114,95,49,0],0,ALLOC_STATIC);__ZTSN16btCollisionWorld20ConvexResultCallbackE=Pointer_make([78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0],0,ALLOC_STATIC);__ZTIN16btCollisionWorld20ConvexResultCallbackE=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN16btCollisionWorld20ConvexResultCallbackE=Pointer_make([0,0,532,534,536,0],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0=Pointer_make([0,0,538,540,52,542],0,ALLOC_STATIC);__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0= +Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,111,98,106,101,99,116,81,117,101,114,121,83,105,110,103,108,101,69,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,53,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,53,95,82,78,83,95,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67, +97,108,108,98,97,99,107,69,102,69,51,50,66,114,105,100,103,101,84,114,105,97,110,103,108,101,67,111,110,118,101,120,99,97,115,116,67,97,108,108,98,97,99,107,95,48,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback= +Pointer_make([0,0,544,546,52,548],0,ALLOC_STATIC);__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback=Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,111,98,106,101,99,116,81,117,101,114,121,83,105,110,103,108,101,69,80,75,49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,82,75,49,49,98,116,84,114,97,110,115,102,111, +114,109,83,53,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,53,95,82,78,83,95,50,48,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,102,69,51,50,66,114,105,100,103,101,84,114,105,97,110,103,108,101,67,111,110,118,101,120,99,97,115,116,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1=Pointer_make([0,0,550,552,554,556,558,560,562],0,ALLOC_STATIC);__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1=Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83, +105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,57,82,97,121,84,101,115,116,101,114,95,49,0],0,ALLOC_STATIC);__ZTSN6btDbvt8ICollideE=Pointer_make([78,54,98,116,68,98,118,116,56,73,67,111,108,108,105,100,101,69,0],0,ALLOC_STATIC); +__ZTIN6btDbvt8ICollideE=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN6btDbvt8ICollideE=Pointer_make([0,0,564,566,554,568,558,560,562],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2=Pointer_make([0,0,570,572,574,576], +0,ALLOC_STATIC);__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2=Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104, +97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,49,53,76,111,99,97,108,73,110,102,111,65,100,100,101,114,50,0],0,ALLOC_STATIC);__ZTSN16btCollisionWorld17RayResultCallbackE=Pointer_make([78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0],0,ALLOC_STATIC);__ZTIN16btCollisionWorld17RayResultCallbackE=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN16btCollisionWorld17RayResultCallbackE=Pointer_make([0,0,578,580,582,0],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0=Pointer_make([0,0,584,586,46,588],0,ALLOC_STATIC);__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0= +Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,50,57,66,114,105,100,103,101,84,114,105,97,110,103,108,101, +82,97,121,99,97,115,116,67,97,108,108,98,97,99,107,95,48,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback=Pointer_make([0,0,590,592,46,594],0,ALLOC_STATIC);__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback= +Pointer_make([90,78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,49,51,114,97,121,84,101,115,116,83,105,110,103,108,101,69,82,75,49,49,98,116,84,114,97,110,115,102,111,114,109,83,50,95,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,80,75,49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,83,50,95,82,78,83,95,49,55,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,69,50,57,66,114,105,100,103,101,84,114,105,97,110,103,108,101, +82,97,121,99,97,115,116,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV34btSphereTriangleCollisionAlgorithm=Pointer_make([0,0,596,598,600,602,604],0,ALLOC_STATIC);__ZTS34btSphereTriangleCollisionAlgorithm=Pointer_make([51,52,98,116,83,112,104,101,114,101,84,114,105,97,110,103,108,101,67,111,108,108,105, +115,105,111,110,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI34btSphereTriangleCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN23btConvexConvexAlgorithm10CreateFuncE=Pointer_make([0,0,606,608,610],0,ALLOC_STATIC);__ZTV23btConvexConvexAlgorithm=Pointer_make([0,0,612,614,616,618,620],0,ALLOC_STATIC);_disableCcd=Pointer_make([0],0,ALLOC_STATIC);__ZTS23btConvexConvexAlgorithm=Pointer_make([50,51,98,116,67,111,110,118,101,120,67,111,110,118,101,120,65,108,103,111,114,105,116, +104,109,0],0,ALLOC_STATIC);__ZTI23btConvexConvexAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTSN23btConvexConvexAlgorithm10CreateFuncE=Pointer_make([78,50,51,98,116,67,111,110,118,101,120,67,111,110,118,101,120,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN23btConvexConvexAlgorithm10CreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV24btPerturbedContactResult=Pointer_make([0,0,622,624,460,462,626],0,ALLOC_STATIC);__ZTS24btPerturbedContactResult= +Pointer_make([50,52,98,116,80,101,114,116,117,114,98,101,100,67,111,110,116,97,99,116,82,101,115,117,108,116,0],0,ALLOC_STATIC);__ZTI24btPerturbedContactResult=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult=Pointer_make([0,0,628,630,632,634,636],0,ALLOC_STATIC);__ZTSZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult= +Pointer_make([90,78,50,51,98,116,67,111,110,118,101,120,67,111,110,118,101,120,65,108,103,111,114,105,116,104,109,49,54,112,114,111,99,101,115,115,67,111,108,108,105,115,105,111,110,69,80,49,55,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,83,49,95,82,75,49,54,98,116,68,105,115,112,97,116,99,104,101,114,73,110,102,111,80,49,54,98,116,77,97,110,105,102,111,108,100,82,101,115,117,108,116,69,49,51,98,116,68,117,109,109,121,82,101,115,117,108,116,0],0,ALLOC_STATIC);__ZTIZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN27btConvex2dConvex2dAlgorithm10CreateFuncE=Pointer_make([0,0,638,640,642],0,ALLOC_STATIC);__ZTV27btConvex2dConvex2dAlgorithm=Pointer_make([0,0,644,646,648,650,652],0,ALLOC_STATIC);__ZTS27btConvex2dConvex2dAlgorithm=Pointer_make([50,55,98,116,67,111,110,118,101,120,50,100,67,111,110,118,101,120,50,100,65,108,103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI27btConvex2dConvex2dAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTSN27btConvex2dConvex2dAlgorithm10CreateFuncE= +Pointer_make([78,50,55,98,116,67,111,110,118,101,120,50,100,67,111,110,118,101,120,50,100,65,108,103,111,114,105,116,104,109,49,48,67,114,101,97,116,101,70,117,110,99,69,0],0,ALLOC_STATIC);__ZTIN27btConvex2dConvex2dAlgorithm10CreateFuncE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV28btCompoundCollisionAlgorithm=Pointer_make([0,0,654,656,658,660,662],0,ALLOC_STATIC);__ZTS28btCompoundCollisionAlgorithm=Pointer_make([50,56,98,116,67,111,109,112,111,117,110,100,67,111,108,108,105,115,105,111,110,65,108, +103,111,114,105,116,104,109,0],0,ALLOC_STATIC);__ZTI28btCompoundCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV22btCompoundLeafCallback=Pointer_make([0,0,664,666,554,668,558,560,562],0,ALLOC_STATIC);__ZTS22btCompoundLeafCallback=Pointer_make([50,50,98,116,67,111,109,112,111,117,110,100,76,101,97,102,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI22btCompoundLeafCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV16btBU_Simplex1to4=Pointer_make([0,0,670,672,674,60,62,64,676,68,678, +680,74,76,78,80,82,84,682,684,90,686,688,96,690,692,694,696,698,700,702,704],0,ALLOC_STATIC);__ZTS16btBU_Simplex1to4=Pointer_make([49,54,98,116,66,85,95,83,105,109,112,108,101,120,49,116,111,52,0],0,ALLOC_STATIC);__ZTI16btBU_Simplex1to4=Pointer_make([0,0,0],0,ALLOC_STATIC);__str150=Pointer_make([98,116,66,85,95,83,105,109,112,108,101,120,49,116,111,52,0],0,ALLOC_STATIC);__ZTV19btMinkowskiSumShape=Pointer_make([0,0,706,708,710,60,62,64,66,68,712,714,74,716,78,80,82,84,718,720,90,686,688],0,ALLOC_STATIC); +__ZTS19btMinkowskiSumShape=Pointer_make([49,57,98,116,77,105,110,107,111,119,115,107,105,83,117,109,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI19btMinkowskiSumShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str152=Pointer_make([77,105,110,107,111,119,115,107,105,83,117,109,0],0,ALLOC_STATIC);__ZTV15btCompoundShape=Pointer_make([0,0,722,724,726,60,62,64,728,730,732,734,736,738,740,742,82,744,746],0,ALLOC_STATIC);__str53=Pointer_make([98,116,67,111,109,112,111,117,110,100,83,104,97,112,101,67,104,105,108, +100,68,97,116,97,0],0,ALLOC_STATIC);__str154=Pointer_make([98,116,67,111,109,112,111,117,110,100,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTS15btCompoundShape=Pointer_make([49,53,98,116,67,111,109,112,111,117,110,100,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI15btCompoundShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str255=Pointer_make([67,111,109,112,111,117,110,100,0],0,ALLOC_STATIC);__ZTV11btConeShape=Pointer_make([0,0,748,750,710,60,62,64,752,68,754,756,74,76,78,80,82,758,760,762,90, +686,688],0,ALLOC_STATIC);__ZTV12btConeShapeZ=Pointer_make([0,0,764,766,710,60,62,64,752,68,754,756,74,76,78,80,82,758,760,762,90,686,688],0,ALLOC_STATIC);__ZTV12btConeShapeX=Pointer_make([0,0,768,770,710,60,62,64,752,68,754,756,74,76,78,80,82,758,760,762,90,686,688],0,ALLOC_STATIC);__ZTS11btConeShape=Pointer_make([49,49,98,116,67,111,110,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI11btConeShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS12btConeShapeX=Pointer_make([49,50,98,116,67,111,110,101,83, +104,97,112,101,88,0],0,ALLOC_STATIC);__ZTI12btConeShapeX=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS12btConeShapeZ=Pointer_make([49,50,98,116,67,111,110,101,83,104,97,112,101,90,0],0,ALLOC_STATIC);__ZTI12btConeShapeZ=Pointer_make([0,0,0],0,ALLOC_STATIC);__str157=Pointer_make([67,111,110,101,0],0,ALLOC_STATIC);__ZTV18btConvexPolyhedron=Pointer_make([0,0,772,774],0,ALLOC_STATIC);__ZTS18btConvexPolyhedron=Pointer_make([49,56,98,116,67,111,110,118,101,120,80,111,108,121,104,101,100,114,111,110,0],0,ALLOC_STATIC); +__ZTI18btConvexPolyhedron=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV18btMultiSphereShape=Pointer_make([0,0,776,778,780,60,62,64,782,68,784,786,74,76,788,790,82,84,792,794,90,686,688],0,ALLOC_STATIC);__str59=Pointer_make([98,116,80,111,115,105,116,105,111,110,65,110,100,82,97,100,105,117,115,0],0,ALLOC_STATIC);__str160=Pointer_make([98,116,77,117,108,116,105,83,112,104,101,114,101,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTS18btMultiSphereShape=Pointer_make([49,56,98,116,77,117,108,116,105, +83,112,104,101,114,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI18btMultiSphereShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str261=Pointer_make([77,117,108,116,105,83,112,104,101,114,101,0],0,ALLOC_STATIC);__ZTV21btUniformScalingShape=Pointer_make([0,0,796,798,800,60,62,64,802,804,806,808,810,812,814,816,82,818,820,822,824,826,828],0,ALLOC_STATIC);__ZTS21btUniformScalingShape=Pointer_make([50,49,98,116,85,110,105,102,111,114,109,83,99,97,108,105,110,103,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI21btUniformScalingShape= +Pointer_make([0,0,0],0,ALLOC_STATIC);__str63=Pointer_make([85,110,105,102,111,114,109,83,99,97,108,105,110,103,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTV13btSphereShape=Pointer_make([0,0,830,832,834,60,62,64,66,68,836,838,840,842,78,80,82,844,846,848,90,686,688],0,ALLOC_STATIC);__ZTS13btSphereShape=Pointer_make([49,51,98,116,83,112,104,101,114,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI13btSphereShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str166=Pointer_make([83,80,72,69,82,69,0],0,ALLOC_STATIC); +__ZTV26btTriangleIndexVertexArray=Pointer_make([0,0,850,852,854,856,858,860,862,864,866,868,870,872,874,876,878],0,ALLOC_STATIC);__ZTS26btTriangleIndexVertexArray=Pointer_make([50,54,98,116,84,114,105,97,110,103,108,101,73,110,100,101,120,86,101,114,116,101,120,65,114,114,97,121,0],0,ALLOC_STATIC);__ZTI26btTriangleIndexVertexArray=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV22btBvhTriangleMeshShape=Pointer_make([0,0,880,882,884,60,62,64,886,888,890,892,894,896,898,900,82,902,904,906,908,910],0,ALLOC_STATIC); +__str67=Pointer_make([98,116,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTS22btBvhTriangleMeshShape=Pointer_make([50,50,98,116,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI22btBvhTriangleMeshShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str168=Pointer_make([66,86,72,84,82,73,65,78,71,76,69,77,69,83,72,0],0,ALLOC_STATIC);__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback= +Pointer_make([0,0,912,914,916],0,ALLOC_STATIC);__ZTSZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback=Pointer_make([90,78,75,50,50,98,116,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,49,57,112,114,111,99,101,115,115,65,108,108,84,114,105,97,110,103,108,101,115,69,80,49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,69,50,49,77,121,78,111,100, +101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTS21btNodeOverlapCallback=Pointer_make([50,49,98,116,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI21btNodeOverlapCallback=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV21btNodeOverlapCallback=Pointer_make([0,0,918,920,0],0,ALLOC_STATIC); +__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback=Pointer_make([0,0,922,924,926],0,ALLOC_STATIC);__ZTSZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback=Pointer_make([90,78,50,50,98,116,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,49,55,112,101,114,102,111,114,109,67,111,110,118,101,120,99,97,115,116,69,80,49,56,98,116,84,114,105,97,110,103, +108,101,67,97,108,108,98,97,99,107,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,83,52,95,83,52,95,69,50,49,77,121,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback=Pointer_make([0,0,928,930,932], +0,ALLOC_STATIC);__ZTSZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback=Pointer_make([90,78,50,50,98,116,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,49,52,112,101,114,102,111,114,109,82,97,121,99,97,115,116,69,80,49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,69,50,49,77,121,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0], +0,ALLOC_STATIC);__ZTIZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV19btTriangleMeshShape=Pointer_make([0,0,934,936,884,60,62,64,938,888,890,940,894,896,814,816,82,942,904,906],0,ALLOC_STATIC);__ZTS19btTriangleMeshShape=Pointer_make([49,57,98,116,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI19btTriangleMeshShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str75=Pointer_make([84, +82,73,65,78,71,76,69,77,69,83,72,0],0,ALLOC_STATIC);__ZTV21SupportVertexCallback=Pointer_make([0,0,944,946,948],0,ALLOC_STATIC);__ZTS21SupportVertexCallback=Pointer_make([50,49,83,117,112,112,111,114,116,86,101,114,116,101,120,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI21SupportVertexCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback=Pointer_make([0,0,950,952,954],0,ALLOC_STATIC);__ZTSZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback= +Pointer_make([90,78,75,49,57,98,116,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,49,57,112,114,111,99,101,115,115,65,108,108,84,114,105,97,110,103,108,101,115,69,80,49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,69,49,54,70,105,108,116,101,114,101,100,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback=Pointer_make([0, +0,0],0,ALLOC_STATIC);__ZTV16btTriangleBuffer=Pointer_make([0,0,956,958,960],0,ALLOC_STATIC);__ZTS16btTriangleBuffer=Pointer_make([49,54,98,116,84,114,105,97,110,103,108,101,66,117,102,102,101,114,0],0,ALLOC_STATIC);__ZTI16btTriangleBuffer=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV18btStaticPlaneShape=Pointer_make([0,0,962,964,966,60,62,64,968,970,972,974,894,896,976,978,82,980],0,ALLOC_STATIC);__ZTS18btStaticPlaneShape=Pointer_make([49,56,98,116,83,116,97,116,105,99,80,108,97,110,101,83,104,97,112, +101,0],0,ALLOC_STATIC);__ZTI18btStaticPlaneShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str84=Pointer_make([98,116,83,116,97,116,105,99,80,108,97,110,101,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__str185=Pointer_make([83,84,65,84,73,67,80,76,65,78,69,0],0,ALLOC_STATIC);__ZTV23btPolyhedralConvexShape=Pointer_make([0,0,982,984,710,60,62,64,66,68,678,0,74,76,78,80,82,84,682,684,90,686,688,96,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZTV34btPolyhedralConvexAabbCachingShape=Pointer_make([0,0,986,988,990, +60,62,64,676,68,678,0,74,76,78,80,82,84,682,684,90,686,688,96,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN34btPolyhedralConvexAabbCachingShape15recalcLocalAabbEvE11_directions=Pointer_make([0],0,ALLOC_STATIC);__ZTS23btPolyhedralConvexShape=Pointer_make([50,51,98,116,80,111,108,121,104,101,100,114,97,108,67,111,110,118,101,120,83,104,97,112,101,0],0,ALLOC_STATIC); +__ZTI23btPolyhedralConvexShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS34btPolyhedralConvexAabbCachingShape=Pointer_make([51,52,98,116,80,111,108,121,104,101,100,114,97,108,67,111,110,118,101,120,65,97,98,98,67,97,99,104,105,110,103,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI34btPolyhedralConvexAabbCachingShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV12btEmptyShape=Pointer_make([0,0,992,994,996,60,62,64,998,1E3,1002,1004,894,896,814,816,82,1006],0,ALLOC_STATIC);__ZTS12btEmptyShape=Pointer_make([49, +50,98,116,69,109,112,116,121,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI12btEmptyShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str100=Pointer_make([69,109,112,116,121,0],0,ALLOC_STATIC);__str101=Pointer_make([98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTV16btCollisionShape=Pointer_make([0,0,1008,1010,0,60,62,64,0,0,0,0,0,0,814,816,82],0,ALLOC_STATIC);__ZTS16btCollisionShape=Pointer_make([49,54,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112, +101,0],0,ALLOC_STATIC);__ZTI16btCollisionShape=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV13btConvexShape=Pointer_make([0,0,1012,1014,0,60,62,64,0,0,0,0,0,0,814,816,82,0,0,0,0,0,0],0,ALLOC_STATIC);__ZTS13btConvexShape=Pointer_make([49,51,98,116,67,111,110,118,101,120,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI13btConvexShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV15btConvex2dShape=Pointer_make([0,0,1016,1018,1020,60,62,64,1022,1024,1026,1028,1030,1032,814,816,82,1034,1036,1038,1040,1042,1044],0,ALLOC_STATIC); +__ZTS15btConvex2dShape=Pointer_make([49,53,98,116,67,111,110,118,101,120,50,100,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI15btConvex2dShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str116=Pointer_make([67,111,110,118,101,120,50,100,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTV21btConvexInternalShape=Pointer_make([0,0,1046,1048,710,60,62,64,66,68,0,0,74,76,78,80,82,84,0,0,90,686,688],0,ALLOC_STATIC);__ZTV32btConvexInternalAabbCachingShape=Pointer_make([0,0,1050,1052,780,60,62,64,782,68,0,0,74,76,78,80, +82,84,0,0,90,686,688],0,ALLOC_STATIC);__ZZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN32btConvexInternalAabbCachingShape15recalcLocalAabbEvE11_directions=Pointer_make([0],0,ALLOC_STATIC);__ZTS21btConvexInternalShape=Pointer_make([50,49,98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI21btConvexInternalShape=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTS32btConvexInternalAabbCachingShape=Pointer_make([51,50,98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,65,97,98,98,67,97,99,104,105,110,103,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI32btConvexInternalAabbCachingShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV17btConvexHullShape=Pointer_make([0,0,1054,1056,990,60,62,64,1058,68,678,1060,74,76,1062,1064,82,1066,1068,1070,90,686,688,96,1072,1074,1076,1078,1080,1082,1084],0,ALLOC_STATIC);__str131=Pointer_make([98,116,86,101,99,116,111, +114,51,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__str1132=Pointer_make([98,116,67,111,110,118,101,120,72,117,108,108,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTS17btConvexHullShape=Pointer_make([49,55,98,116,67,111,110,118,101,120,72,117,108,108,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI17btConvexHullShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str2133=Pointer_make([67,111,110,118,101,120,0],0,ALLOC_STATIC);__ZTV18btTriangleCallback=Pointer_make([0,0,1086,1088,0],0,ALLOC_STATIC); +__ZTV31btInternalTriangleIndexCallback=Pointer_make([0,0,1090,1092,0],0,ALLOC_STATIC);__ZTS18btTriangleCallback=Pointer_make([49,56,98,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI18btTriangleCallback=Pointer_make([0,0],0,ALLOC_STATIC);__ZTS31btInternalTriangleIndexCallback=Pointer_make([51,49,98,116,73,110,116,101,114,110,97,108,84,114,105,97,110,103,108,101,73,110,100,101,120,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI31btInternalTriangleIndexCallback= +Pointer_make([0,0],0,ALLOC_STATIC);__ZTV14btCapsuleShape=Pointer_make([0,0,1094,1096,1098,60,62,64,1100,68,1102,1104,1106,76,1108,1110,82,84,1112,1114,90,686,688],0,ALLOC_STATIC);__ZTV15btCapsuleShapeX=Pointer_make([0,0,1116,1118,1098,60,62,64,1100,68,1102,1120,1106,76,1108,1110,82,84,1112,1114,90,686,688],0,ALLOC_STATIC);__ZTV15btCapsuleShapeZ=Pointer_make([0,0,1122,1124,1098,60,62,64,1100,68,1102,1126,1106,76,1108,1110,82,84,1112,1114,90,686,688],0,ALLOC_STATIC);__ZTS14btCapsuleShape=Pointer_make([49, +52,98,116,67,97,112,115,117,108,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI14btCapsuleShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS15btCapsuleShapeZ=Pointer_make([49,53,98,116,67,97,112,115,117,108,101,83,104,97,112,101,90,0],0,ALLOC_STATIC);__ZTI15btCapsuleShapeZ=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS15btCapsuleShapeX=Pointer_make([49,53,98,116,67,97,112,115,117,108,101,83,104,97,112,101,88,0],0,ALLOC_STATIC);__ZTI15btCapsuleShapeX=Pointer_make([0,0,0],0,ALLOC_STATIC);__str141=Pointer_make([67, +97,112,115,117,108,101,88,0],0,ALLOC_STATIC);__str1142=Pointer_make([67,97,112,115,117,108,101,90,0],0,ALLOC_STATIC);__str2143=Pointer_make([98,116,67,97,112,115,117,108,101,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__str4145=Pointer_make([67,97,112,115,117,108,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTV25btConvexTriangleMeshShape=Pointer_make([0,0,1128,1130,990,60,62,64,1132,1134,678,1136,74,76,78,80,82,1138,1140,1142,90,686,688,96,1144,1146,1148,1150,1152,1154,1156],0,ALLOC_STATIC);__ZTS25btConvexTriangleMeshShape= +Pointer_make([50,53,98,116,67,111,110,118,101,120,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI25btConvexTriangleMeshShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str1147=Pointer_make([67,111,110,118,101,120,84,114,105,109,101,115,104,0],0,ALLOC_STATIC);__ZTV26LocalSupportVertexCallback=Pointer_make([0,0,1158,1160,1162],0,ALLOC_STATIC);__ZTS26LocalSupportVertexCallback=Pointer_make([50,54,76,111,99,97,108,83,117,112,112,111,114,116,86,101,114,116,101,120,67, +97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI26LocalSupportVertexCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV14btConcaveShape=Pointer_make([0,0,1164,1166,0,60,62,64,0,0,0,0,894,896,814,816,82,0],0,ALLOC_STATIC);__ZTS14btConcaveShape=Pointer_make([49,52,98,116,67,111,110,99,97,118,101,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI14btConcaveShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV23btConvexPointCloudShape=Pointer_make([0,0,1168,1170,990,60,62,64,1172,68,678,1174,74,76,78,80,82,1176,1178, +1180,90,686,688,96,1182,1184,1186,1188,1190,1192,1194],0,ALLOC_STATIC);__ZTS23btConvexPointCloudShape=Pointer_make([50,51,98,116,67,111,110,118,101,120,80,111,105,110,116,67,108,111,117,100,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI23btConvexPointCloudShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str1152=Pointer_make([67,111,110,118,101,120,80,111,105,110,116,67,108,111,117,100,0],0,ALLOC_STATIC);__ZTV10btBoxShape=Pointer_make([0,0,1196,1198,1200,60,62,64,1202,68,1204,1206,1208,76,78,80,82,1210,1212, +1214,90,1216,1218,96,1220,1222,1224,1226,1228,1230,1232,1234],0,ALLOC_STATIC);__ZTS10btBoxShape=Pointer_make([49,48,98,116,66,111,120,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI10btBoxShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str1154=Pointer_make([66,111,120,0],0,ALLOC_STATIC);__ZTV12btBox2dShape=Pointer_make([0,0,1236,1238,1240,60,62,64,1242,68,1244,1246,1248,76,78,80,82,1250,1252,1254,90,1256,1258,96,1260,1262,1264,1266,1268,1270,1272,1274],0,ALLOC_STATIC);__ZTS12btBox2dShape=Pointer_make([49, +50,98,116,66,111,120,50,100,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI12btBox2dShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str1156=Pointer_make([66,111,120,50,100,0],0,ALLOC_STATIC);__ZTV14btOptimizedBvh=Pointer_make([0,0,1276,1278,1280,1282,1284,1286,1288,1290],0,ALLOC_STATIC);__ZTS14btOptimizedBvh=Pointer_make([49,52,98,116,79,112,116,105,109,105,122,101,100,66,118,104,0],0,ALLOC_STATIC);__ZTI14btOptimizedBvh=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0= +Pointer_make([0,0,1292,1294,1296],0,ALLOC_STATIC);__ZTSZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0=Pointer_make([90,78,49,52,98,116,79,112,116,105,109,105,122,101,100,66,118,104,53,98,117,105,108,100,69,80,50,51,98,116,83,116,114,105,100,105,110,103,77,101,115,104,73,110,116,101,114,102,97,99,101,98,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,69,50,48,78,111,100,101,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,95,48,0],0,ALLOC_STATIC); +__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback=Pointer_make([0,0,1298,1300,1302],0,ALLOC_STATIC);__ZTSZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback=Pointer_make([90,78,49,52,98,116,79,112,116,105,109,105,122,101,100,66,118,104,53,98,117,105,108,100,69,80, +50,51,98,116,83,116,114,105,100,105,110,103,77,101,115,104,73,110,116,101,114,102,97,99,101,98,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,69,50,57,81,117,97,110,116,105,122,101,100,78,111,100,101,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV25btHeightfieldTerrainShape=Pointer_make([0,0,1304,1306,1308,60,62,64,1310, +1312,1314,1316,894,896,814,816,82,1318,1320],0,ALLOC_STATIC);__ZTS25btHeightfieldTerrainShape=Pointer_make([50,53,98,116,72,101,105,103,104,116,102,105,101,108,100,84,101,114,114,97,105,110,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI25btHeightfieldTerrainShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str161=Pointer_make([72,69,73,71,72,84,70,73,69,76,68,0],0,ALLOC_STATIC);__ZTV15btCylinderShape=Pointer_make([0,0,1322,1324,1326,60,62,64,1328,68,1330,1332,1334,76,1336,1338,82,1340,1342,1344,90,686,688, +1346],0,ALLOC_STATIC);__ZTV16btCylinderShapeX=Pointer_make([0,0,1348,1350,1326,60,62,64,1328,68,1330,1352,1334,76,1336,1338,82,1340,1354,1356,90,686,688,1358],0,ALLOC_STATIC);__ZTV16btCylinderShapeZ=Pointer_make([0,0,1360,1362,1326,60,62,64,1328,68,1330,1364,1334,76,1336,1338,82,1340,1366,1368,90,686,688,1370],0,ALLOC_STATIC);__ZTS15btCylinderShape=Pointer_make([49,53,98,116,67,121,108,105,110,100,101,114,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI15btCylinderShape=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTS16btCylinderShapeX=Pointer_make([49,54,98,116,67,121,108,105,110,100,101,114,83,104,97,112,101,88,0],0,ALLOC_STATIC);__ZTI16btCylinderShapeX=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS16btCylinderShapeZ=Pointer_make([49,54,98,116,67,121,108,105,110,100,101,114,83,104,97,112,101,90,0],0,ALLOC_STATIC);__ZTI16btCylinderShapeZ=Pointer_make([0,0,0],0,ALLOC_STATIC);__str165=Pointer_make([67,121,108,105,110,100,101,114,90,0],0,ALLOC_STATIC);__str1166=Pointer_make([67,121,108,105,110,100,101,114,88,0], +0,ALLOC_STATIC);__str2167=Pointer_make([98,116,67,121,108,105,110,100,101,114,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__str4169=Pointer_make([67,121,108,105,110,100,101,114,89,0],0,ALLOC_STATIC);__ZTV28btScaledBvhTriangleMeshShape=Pointer_make([0,0,1372,1374,1376,60,62,64,1378,1380,1382,1384,894,896,1386,1388,82,1390],0,ALLOC_STATIC);__ZTS28btScaledBvhTriangleMeshShape=Pointer_make([50,56,98,116,83,99,97,108,101,100,66,118,104,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101, +0],0,ALLOC_STATIC);__ZTI28btScaledBvhTriangleMeshShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str170=Pointer_make([98,116,83,99,97,108,101,100,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__str1171=Pointer_make([83,67,65,76,69,68,66,86,72,84,82,73,65,78,71,76,69,77,69,83,72,0],0,ALLOC_STATIC);__ZTV24btScaledTriangleCallback=Pointer_make([0,0,1392,1394,1396],0,ALLOC_STATIC);__ZTS24btScaledTriangleCallback=Pointer_make([50,52,98,116,83,99,97,108,101, +100,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI24btScaledTriangleCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV23btStridingMeshInterface=Pointer_make([0,0,1398,1400,854,0,0,0,0,0,0,0,1402,1404,1406,876,878],0,ALLOC_STATIC);__str176=Pointer_make([98,116,73,110,116,73,110,100,101,120,68,97,116,97,0],0,ALLOC_STATIC);__str1177=Pointer_make([98,116,83,104,111,114,116,73,110,116,73,110,100,101,120,84,114,105,112,108,101,116,68,97,116,97,0],0,ALLOC_STATIC);__str2178= +Pointer_make([98,116,67,104,97,114,73,110,100,101,120,84,114,105,112,108,101,116,68,97,116,97,0],0,ALLOC_STATIC);__str3179=Pointer_make([98,116,86,101,99,116,111,114,51,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__str4180=Pointer_make([98,116,86,101,99,116,111,114,51,68,111,117,98,108,101,68,97,116,97,0],0,ALLOC_STATIC);__str5181=Pointer_make([98,116,77,101,115,104,80,97,114,116,68,97,116,97,0],0,ALLOC_STATIC);__str6182=Pointer_make([98,116,83,116,114,105,100,105,110,103,77,101,115,104,73, +110,116,101,114,102,97,99,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTS23btStridingMeshInterface=Pointer_make([50,51,98,116,83,116,114,105,100,105,110,103,77,101,115,104,73,110,116,101,114,102,97,99,101,0],0,ALLOC_STATIC);__ZTI23btStridingMeshInterface=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV34btTriangleIndexVertexMaterialArray=Pointer_make([0,0,1408,1410,854,856,858,860,862,864,866,868,870,872,874,876,878,1412,1414],0,ALLOC_STATIC);__ZTS34btTriangleIndexVertexMaterialArray=Pointer_make([51,52,98,116, +84,114,105,97,110,103,108,101,73,110,100,101,120,86,101,114,116,101,120,77,97,116,101,114,105,97,108,65,114,114,97,121,0],0,ALLOC_STATIC);__ZTI34btTriangleIndexVertexMaterialArray=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV14btTriangleMesh=Pointer_make([0,0,1416,1418,854,856,858,860,862,864,1420,1422,870,872,874,876,878],0,ALLOC_STATIC);__ZTS14btTriangleMesh=Pointer_make([49,52,98,116,84,114,105,97,110,103,108,101,77,101,115,104,0],0,ALLOC_STATIC);__ZTI14btTriangleMesh=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTV12btAxisSweep3=Pointer_make([0,0,1424,1426,1428,1430,1432,1434,1436,1438,1440,1442,1444,1446,1448,1450],0,ALLOC_STATIC);__ZTV17bt32BitAxisSweep3=Pointer_make([0,0,1452,1454,1456,1458,1460,1462,1464,1466,1468,1470,1472,1474,1476,1478],0,ALLOC_STATIC);__ZTS17bt32BitAxisSweep3=Pointer_make([49,55,98,116,51,50,66,105,116,65,120,105,115,83,119,101,101,112,51,0],0,ALLOC_STATIC);__ZTS20btAxisSweep3InternalIjE=Pointer_make([50,48,98,116,65,120,105,115,83,119,101,101,112,51,73,110,116,101,114,110,97, +108,73,106,69,0],0,ALLOC_STATIC);__ZTS21btBroadphaseInterface=Pointer_make([50,49,98,116,66,114,111,97,100,112,104,97,115,101,73,110,116,101,114,102,97,99,101,0],0,ALLOC_STATIC);__ZTI21btBroadphaseInterface=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI20btAxisSweep3InternalIjE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI17bt32BitAxisSweep3=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS12btAxisSweep3=Pointer_make([49,50,98,116,65,120,105,115,83,119,101,101,112,51,0],0,ALLOC_STATIC);__ZTS20btAxisSweep3InternalItE= +Pointer_make([50,48,98,116,65,120,105,115,83,119,101,101,112,51,73,110,116,101,114,110,97,108,73,116,69,0],0,ALLOC_STATIC);__ZTI20btAxisSweep3InternalItE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI12btAxisSweep3=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV20btAxisSweep3InternalItE=Pointer_make([0,0,1480,1482,1428,1430,1432,1434,1436,1438,1440,1442,1444,1446,1448,1450],0,ALLOC_STATIC);__ZTV21btBroadphaseInterface=Pointer_make([0,0,1484,1486,0,0,0,0,0,0,0,0,0,0,1488,0],0,ALLOC_STATIC);__ZTV20btAxisSweep3InternalIjE= +Pointer_make([0,0,1490,1492,1456,1458,1460,1462,1464,1466,1468,1470,1472,1474,1476,1478],0,ALLOC_STATIC);__ZTV15btNullPairCache=Pointer_make([0,0,1494,1496,1498,1500,1502,1504,1506,1508,1510,1512,1514,1516,1518,1520,1522,1524,1526],0,ALLOC_STATIC);__ZTS15btNullPairCache=Pointer_make([49,53,98,116,78,117,108,108,80,97,105,114,67,97,99,104,101,0],0,ALLOC_STATIC);__ZTS22btOverlappingPairCache=Pointer_make([50,50,98,116,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,0],0,ALLOC_STATIC); +__ZTS25btOverlappingPairCallback=Pointer_make([50,53,98,116,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI25btOverlappingPairCallback=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI22btOverlappingPairCache=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI15btNullPairCache=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV22btOverlappingPairCache=Pointer_make([0,0,1528,1530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZTV25btOverlappingPairCallback=Pointer_make([0, +0,1532,1534,0,0,0],0,ALLOC_STATIC);_gOverlappingPairs=Pointer_make([0],0,ALLOC_STATIC);_gRemovePairs=Pointer_make([0],0,ALLOC_STATIC);_gAddedPairs=Pointer_make([0],0,ALLOC_STATIC);_gFindPairs=Pointer_make([0],0,ALLOC_STATIC);__ZTV28btHashedOverlappingPairCache=Pointer_make([0,0,1536,1538,1540,1542,1544,1546,1548,1550,1552,1554,1556,1558,1560,1562,1564,1566,1568],0,ALLOC_STATIC);__ZTV28btSortedOverlappingPairCache=Pointer_make([0,0,1570,1572,1574,1576,1578,1580,1582,1584,1586,1588,1590,1592,1594,1596, +1598,1600,1602],0,ALLOC_STATIC);__ZTS28btHashedOverlappingPairCache=Pointer_make([50,56,98,116,72,97,115,104,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,0],0,ALLOC_STATIC);__ZTI28btHashedOverlappingPairCache=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTS28btSortedOverlappingPairCache=Pointer_make([50,56,98,116,83,111,114,116,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,0],0,ALLOC_STATIC);__ZTI28btSortedOverlappingPairCache=Pointer_make([0, +0,0],0,ALLOC_STATIC);__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback=Pointer_make([0,0,1604,1606,1608],0,ALLOC_STATIC);__ZTSZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback=Pointer_make([90,78,50,56,98,116,83,111,114,116,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,51,55,114,101,109,111,118,101,79, +118,101,114,108,97,112,112,105,110,103,80,97,105,114,115,67,111,110,116,97,105,110,105,110,103,80,114,111,120,121,69,80,49,55,98,116,66,114,111,97,100,112,104,97,115,101,80,114,111,120,121,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,49,56,82,101,109,111,118,101,80,97,105,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback=Pointer_make([0,0,1610,1612,1614],0,ALLOC_STATIC);__ZTSZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback=Pointer_make([90,78,50,56,98,116,83,111,114,116,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,49,57,99,108,101,97,110,80,114,111,120,121,70,114,111,109,80,97,105,114,115,69,80,49,55,98,116, +66,114,111,97,100,112,104,97,115,101,80,114,111,120,121,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,49,55,67,108,101,97,110,80,97,105,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback=Pointer_make([0,0,1616, +1618,1620],0,ALLOC_STATIC);__ZTSZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback=Pointer_make([90,78,50,56,98,116,72,97,115,104,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,51,55,114,101,109,111,118,101,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,115,67,111,110,116,97,105,110,105,110,103,80,114,111,120,121,69,80,49,55,98,116,66,114,111,97,100,112,104,97,115,101,80,114,111, +120,121,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,49,56,82,101,109,111,118,101,80,97,105,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback=Pointer_make([0,0,1622,1624,1626],0,ALLOC_STATIC);__ZTSZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback= +Pointer_make([90,78,50,56,98,116,72,97,115,104,101,100,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,49,57,99,108,101,97,110,80,114,111,120,121,70,114,111,109,80,97,105,114,115,69,80,49,55,98,116,66,114,111,97,100,112,104,97,115,101,80,114,111,120,121,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,49,55,67,108,101,97,110,80,97,105,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV16btDbvtBroadphase=Pointer_make([0,0,1628,1630,1632,1634,1636,1638,1640,1642,1644,1646,1648,1650,1652,1654],0,ALLOC_STATIC);__ZTS16btDbvtBroadphase=Pointer_make([49,54,98,116,68,98,118,116,66,114,111,97,100,112,104,97,115,101,0],0,ALLOC_STATIC);__ZTI16btDbvtBroadphase=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV20BroadphaseAabbTester=Pointer_make([0,0,1656,1658,554,1660,558,560,562],0,ALLOC_STATIC);__ZTS20BroadphaseAabbTester=Pointer_make([50,48,66,114,111, +97,100,112,104,97,115,101,65,97,98,98,84,101,115,116,101,114,0],0,ALLOC_STATIC);__ZTI20BroadphaseAabbTester=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV19BroadphaseRayTester=Pointer_make([0,0,1662,1664,554,1666,558,560,562],0,ALLOC_STATIC);__ZTS19BroadphaseRayTester=Pointer_make([49,57,66,114,111,97,100,112,104,97,115,101,82,97,121,84,101,115,116,101,114,0],0,ALLOC_STATIC);__ZTI19BroadphaseRayTester=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV18btDbvtTreeCollider=Pointer_make([0,0,1668,1670,1672,1674, +558,560,562],0,ALLOC_STATIC);__ZTS18btDbvtTreeCollider=Pointer_make([49,56,98,116,68,98,118,116,84,114,101,101,67,111,108,108,105,100,101,114,0],0,ALLOC_STATIC);__ZTI18btDbvtTreeCollider=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV20btMultiSapBroadphase=Pointer_make([0,0,1676,1678,1680,1682,1684,1686,1688,0,1690,1692,1694,1696,1698,1700],0,ALLOC_STATIC);_stopUpdating=Pointer_make([0],0,ALLOC_STATIC);__ZTS20btMultiSapBroadphase=Pointer_make([50,48,98,116,77,117,108,116,105,83,97,112,66,114,111,97,100, +112,104,97,115,101,0],0,ALLOC_STATIC);__ZTI20btMultiSapBroadphase=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback=Pointer_make([0,0,1702,1704,1706],0,ALLOC_STATIC);__ZTSZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback=Pointer_make([90,78,50,48,98,116,77,117,108,116,105,83,97,112,66,114,111,97,100,112,104,97,115,101,55,115,101,116,65,97,98, +98,69,80,49,55,98,116,66,114,111,97,100,112,104,97,115,101,80,114,111,120,121,82,75,57,98,116,86,101,99,116,111,114,51,83,52,95,80,49,50,98,116,68,105,115,112,97,116,99,104,101,114,69,50,49,77,121,78,111,100,101,79,118,101,114,108,97,112,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTIZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback= +Pointer_make([0,0,1708,1710,1712],0,ALLOC_STATIC);__ZTSZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback=Pointer_make([90,78,50,48,98,116,77,117,108,116,105,83,97,112,66,114,111,97,100,112,104,97,115,101,67,49,69,105,80,50,50,98,116,79,118,101,114,108,97,112,112,105,110,103,80,97,105,114,67,97,99,104,101,69,51,49,98,116,77,117,108,116,105,83,97,112,79,118,101,114,108,97,112,70,105,108,116,101,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTS23btOverlapFilterCallback= +Pointer_make([50,51,98,116,79,118,101,114,108,97,112,70,105,108,116,101,114,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI23btOverlapFilterCallback=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV23btOverlapFilterCallback=Pointer_make([0,0,1714,1716,0],0,ALLOC_STATIC);__ZTV12btDispatcher=Pointer_make([0,0,1718,1720,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZTS12btDispatcher= +Pointer_make([49,50,98,116,68,105,115,112,97,116,99,104,101,114,0],0,ALLOC_STATIC);__ZTI12btDispatcher=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV14btQuantizedBvh=Pointer_make([0,0,1722,1724,1280,1282,1284,1286,1288],0,ALLOC_STATIC);_maxIterations=Pointer_make([0],0,ALLOC_STATIC);__str193=Pointer_make([98,116,79,112,116,105,109,105,122,101,100,66,118,104,78,111,100,101,68,97,116,97,0],0,ALLOC_STATIC);__str1194=Pointer_make([98,116,81,117,97,110,116,105,122,101,100,66,118,104,78,111,100,101,68,97,116, +97,0],0,ALLOC_STATIC);__str2195=Pointer_make([98,116,66,118,104,83,117,98,116,114,101,101,73,110,102,111,68,97,116,97,0],0,ALLOC_STATIC);__str3196=Pointer_make([98,116,81,117,97,110,116,105,122,101,100,66,118,104,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTS14btQuantizedBvh=Pointer_make([49,52,98,116,81,117,97,110,116,105,122,101,100,66,118,104,0],0,ALLOC_STATIC);__ZTI14btQuantizedBvh=Pointer_make([0,0],0,ALLOC_STATIC);__ZTV18btSimpleBroadphase=Pointer_make([0,0,1726,1728,1730,1732,1734, +1736,1738,1740,1742,1744,1746,1748,1750,1752],0,ALLOC_STATIC);__ZTS18btSimpleBroadphase=Pointer_make([49,56,98,116,83,105,109,112,108,101,66,114,111,97,100,112,104,97,115,101,0],0,ALLOC_STATIC);__ZTI18btSimpleBroadphase=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV27btGImpactCollisionAlgorithm=Pointer_make([0,0,1754,1756,1758,1760,1762],0,ALLOC_STATIC);__ZTS27btGImpactCollisionAlgorithm=Pointer_make([50,55,98,116,71,73,109,112,97,99,116,67,111,108,108,105,115,105,111,110,65,108,103,111,114,105,116,104, +109,0],0,ALLOC_STATIC);__ZTI27btGImpactCollisionAlgorithm=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV25btGImpactTriangleCallback=Pointer_make([0,0,1764,1766,1768],0,ALLOC_STATIC);__ZTS25btGImpactTriangleCallback=Pointer_make([50,53,98,116,71,73,109,112,97,99,116,84,114,105,97,110,103,108,101,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI25btGImpactTriangleCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV17btTriangleShapeEx=Pointer_make([0,0,1770,1772,1774,60,62,64,66,68,70,72,74,76,78,80,82, +84,86,88,90,92,94,96,98,100,102,104,106,108,110,112],0,ALLOC_STATIC);__ZTS17btTriangleShapeEx=Pointer_make([49,55,98,116,84,114,105,97,110,103,108,101,83,104,97,112,101,69,120,0],0,ALLOC_STATIC);__ZTI17btTriangleShapeEx=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV20btTetrahedronShapeEx=Pointer_make([0,0,1776,1778,674,60,62,64,676,68,678,680,74,76,78,80,82,84,682,684,90,686,688,96,690,692,694,696,698,700,702,704],0,ALLOC_STATIC);__ZTS20btTetrahedronShapeEx=Pointer_make([50,48,98,116,84,101,116,114,97, +104,101,100,114,111,110,83,104,97,112,101,69,120,0],0,ALLOC_STATIC);__ZTI20btTetrahedronShapeEx=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE=Pointer_make([0,0,1780,1782,1784],0,ALLOC_STATIC);__ZTSN18GIM_ShapeRetriever19ChildShapeRetrieverE=Pointer_make([78,49,56,71,73,77,95,83,104,97,112,101,82,101,116,114,105,101,118,101,114,49,57,67,104,105,108,100,83,104,97,112,101,82,101,116,114,105,101,118,101,114,69,0],0,ALLOC_STATIC);__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE= +Pointer_make([0,0],0,ALLOC_STATIC);__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE=Pointer_make([0,0,1786,1788,1790],0,ALLOC_STATIC);__ZTSN18GIM_ShapeRetriever22TriangleShapeRetrieverE=Pointer_make([78,49,56,71,73,77,95,83,104,97,112,101,82,101,116,114,105,101,118,101,114,50,50,84,114,105,97,110,103,108,101,83,104,97,112,101,82,101,116,114,105,101,118,101,114,69,0],0,ALLOC_STATIC);__ZTIN18GIM_ShapeRetriever22TriangleShapeRetrieverE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE= +Pointer_make([0,0,1792,1794,1796],0,ALLOC_STATIC);__ZTSN18GIM_ShapeRetriever19TetraShapeRetrieverE=Pointer_make([78,49,56,71,73,77,95,83,104,97,112,101,82,101,116,114,105,101,118,101,114,49,57,84,101,116,114,97,83,104,97,112,101,82,101,116,114,105,101,118,101,114,69,0],0,ALLOC_STATIC);__ZTIN18GIM_ShapeRetriever19TetraShapeRetrieverE=Pointer_make([0,0,0],0,ALLOC_STATIC);__str225=Pointer_make([98,116,71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,68,97,116,97,0],0,ALLOC_STATIC);__ZTV22btGImpactCompoundShape= +Pointer_make([0,0,1798,1800,1802,60,62,64,1804,1806,1808,1810,1812,896,814,816,82,1814,1816,1818,1820,1822,1824,1826,1828,1830,1832,1834,1836,1838,1840,1842,1844,1846,1848,1850,1852],0,ALLOC_STATIC);__ZTS22btGImpactCompoundShape=Pointer_make([50,50,98,116,71,73,109,112,97,99,116,67,111,109,112,111,117,110,100,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTS23btGImpactShapeInterface=Pointer_make([50,51,98,116,71,73,109,112,97,99,116,83,104,97,112,101,73,110,116,101,114,102,97,99,101,0],0,ALLOC_STATIC);__ZTI23btGImpactShapeInterface= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI22btGImpactCompoundShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV22btGImpactMeshShapePart=Pointer_make([0,0,1854,1856,1802,60,62,64,1858,1860,1862,1864,1866,1868,814,816,82,1870,1816,1818,1820,1872,1874,1876,1878,1880,1882,1884,1886,1888,1890,1892,1894,1896,1898,1900,1852],0,ALLOC_STATIC);__ZTS22btGImpactMeshShapePart=Pointer_make([50,50,98,116,71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,80,97,114,116,0],0,ALLOC_STATIC);__ZTI22btGImpactMeshShapePart= +Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV18btGImpactMeshShape=Pointer_make([0,0,1902,1904,1802,60,62,64,1906,1806,1908,1910,1912,896,1914,1916,82,1918,1920,1922,1820,1924,1926,1928,1930,1932,1934,1936,1938,1940,1942,1944,1946,1948,1950,1952,1954],0,ALLOC_STATIC);__ZTS18btGImpactMeshShape=Pointer_make([49,56,98,116,71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,0],0,ALLOC_STATIC);__ZTI18btGImpactMeshShape=Pointer_make([0,0,0],0,ALLOC_STATIC);__str1226=Pointer_make([71,73,109,112,97,99,116, +77,101,115,104,0],0,ALLOC_STATIC);__ZTV23btGImpactShapeInterface=Pointer_make([0,0,1956,1958,1802,60,62,64,1804,1806,0,0,1812,896,814,816,82,1814,1816,1818,1820,0,0,0,0,0,0,0,0,1838,1840,1892,0,0,0,0,1852],0,ALLOC_STATIC);__str2227=Pointer_make([71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,80,97,114,116,0],0,ALLOC_STATIC);__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE=Pointer_make([0,0,1960,1962,1964,1966,1968,1970],0,ALLOC_STATIC);__ZTSN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE= +Pointer_make([78,50,50,98,116,71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,80,97,114,116,50,51,84,114,105,109,101,115,104,80,114,105,109,105,116,105,118,101,77,97,110,97,103,101,114,69,0],0,ALLOC_STATIC);__ZTS22btPrimitiveManagerBase=Pointer_make([50,50,98,116,80,114,105,109,105,116,105,118,101,77,97,110,97,103,101,114,66,97,115,101,0],0,ALLOC_STATIC);__ZTI22btPrimitiveManagerBase=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE=Pointer_make([0, +0,0],0,ALLOC_STATIC);__ZTV22btPrimitiveManagerBase=Pointer_make([0,0,1972,1974,0,0,0,0],0,ALLOC_STATIC);__str3228=Pointer_make([71,73,109,112,97,99,116,67,111,109,112,111,117,110,100,0],0,ALLOC_STATIC);__ZTVN22btGImpactCompoundShape24CompoundPrimitiveManagerE=Pointer_make([0,0,1976,1978,1980,1982,1984,1986],0,ALLOC_STATIC);__ZTSN22btGImpactCompoundShape24CompoundPrimitiveManagerE=Pointer_make([78,50,50,98,116,71,73,109,112,97,99,116,67,111,109,112,111,117,110,100,83,104,97,112,101,50,52,67,111,109, +112,111,117,110,100,80,114,105,109,105,116,105,118,101,77,97,110,97,103,101,114,69,0],0,ALLOC_STATIC);__ZTIN22btGImpactCompoundShape24CompoundPrimitiveManagerE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV25btContinuousDynamicsWorld=Pointer_make([0,0,1988,1990,470,472,474,1992,478,480,1994,1996,486,1998,2E3,2002,2004,2006,2008,2010,2012,2014,2016,2018,2020,2022,2024,2026,2028,2030,2032,2034,2036,2038,2040,2042,2044,2046,2048,2050,2052,2054,2056,2058,2060,2062,2064],0,ALLOC_STATIC);__str13=Pointer_make([116, +111,105,32,61,32,37,102,10,0],0,ALLOC_STATIC);__ZTS25btContinuousDynamicsWorld=Pointer_make([50,53,98,116,67,111,110,116,105,110,117,111,117,115,68,121,110,97,109,105,99,115,87,111,114,108,100,0],0,ALLOC_STATIC);__ZTI25btContinuousDynamicsWorld=Pointer_make([0,0,0],0,ALLOC_STATIC);_gDeactivationTime=Pointer_make([2],0,ALLOC_STATIC);_gDisableDeactivation=Pointer_make([0],0,ALLOC_STATIC);__ZTV11btRigidBody=Pointer_make([0,0,2066,8,2068,210,2070,2072,2074],0,ALLOC_STATIC);__ZL8uniqueId=Pointer_make([0], +0,ALLOC_STATIC);__str114=Pointer_make([98,116,82,105,103,105,100,66,111,100,121,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTS11btRigidBody=Pointer_make([49,49,98,116,82,105,103,105,100,66,111,100,121,0],0,ALLOC_STATIC);__ZTI11btRigidBody=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV21btSimpleDynamicsWorld=Pointer_make([0,0,2076,2078,2080,472,474,2082,478,480,482,2084,486,488,2086,2088,2090,2092,2094,2096,2098,2100,2102,2104,2106,2108,2110,2112,2114,2116,2118,2120,2122,2124,2126,2128],0,ALLOC_STATIC); +__ZTS21btSimpleDynamicsWorld=Pointer_make([50,49,98,116,83,105,109,112,108,101,68,121,110,97,109,105,99,115,87,111,114,108,100,0],0,ALLOC_STATIC);__ZTS15btDynamicsWorld=Pointer_make([49,53,98,116,68,121,110,97,109,105,99,115,87,111,114,108,100,0],0,ALLOC_STATIC);__ZTI15btDynamicsWorld=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI21btSimpleDynamicsWorld=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV15btDynamicsWorld=Pointer_make([0,0,2130,2132,470,472,474,0,478,480,482,484,486,488,0,2088,2090,0,0,0,0,0,0, +0,0,0,0,2112,2114,2116,0,0,2122,2124,2126,2128],0,ALLOC_STATIC);__ZTV23btDiscreteDynamicsWorld=Pointer_make([0,0,2134,2136,470,472,474,1992,478,480,1994,1996,486,1998,2E3,2002,2004,2006,2008,2010,2012,2014,2016,2018,2020,2022,2024,2026,2028,2030,2138,2034,2036,2038,2040,2042,2044,2046,2048,2050,2052,2140,2056,2058,2060,2062],0,ALLOC_STATIC);__str519=Pointer_make([100,101,98,117,103,68,114,97,119,87,111,114,108,100,0],0,ALLOC_STATIC);__str1620=Pointer_make([115,121,110,99,104,114,111,110,105,122,101, +77,111,116,105,111,110,83,116,97,116,101,115,0],0,ALLOC_STATIC);__str27=Pointer_make([115,116,101,112,83,105,109,117,108,97,116,105,111,110,0],0,ALLOC_STATIC);__str38=Pointer_make([105,110,116,101,114,110,97,108,83,105,110,103,108,101,83,116,101,112,83,105,109,117,108,97,116,105,111,110,0],0,ALLOC_STATIC);__str4921=Pointer_make([117,112,100,97,116,101,65,99,116,105,111,110,115,0],0,ALLOC_STATIC);__str510=Pointer_make([117,112,100,97,116,101,65,99,116,105,118,97,116,105,111,110,83,116,97,116,101,0], +0,ALLOC_STATIC);__str622=Pointer_make([115,111,108,118,101,67,111,110,115,116,114,97,105,110,116,115,0],0,ALLOC_STATIC);__str723=Pointer_make([99,97,108,99,117,108,97,116,101,83,105,109,117,108,97,116,105,111,110,73,115,108,97,110,100,115,0],0,ALLOC_STATIC);_gNumClampedCcdMotions=Pointer_make([0],0,ALLOC_STATIC);__str824=Pointer_make([105,110,116,101,103,114,97,116,101,84,114,97,110,115,102,111,114,109,115,0],0,ALLOC_STATIC);__str925=Pointer_make([67,67,68,32,109,111,116,105,111,110,32,99,108,97, +109,112,105,110,103,0],0,ALLOC_STATIC);__str1026=Pointer_make([97,100,100,83,112,101,99,117,108,97,116,105,118,101,67,111,110,116,97,99,116,115,0],0,ALLOC_STATIC);__str1127=Pointer_make([115,101,97,114,99,104,32,115,112,101,99,117,108,97,116,105,118,101,32,99,111,110,116,97,99,116,115,0],0,ALLOC_STATIC);__str1228=Pointer_make([112,114,101,100,105,99,116,85,110,99,111,110,115,116,114,97,105,110,116,77,111,116,105,111,110,0],0,ALLOC_STATIC);__ZTS23btDiscreteDynamicsWorld=Pointer_make([50,51,98,116, +68,105,115,99,114,101,116,101,68,121,110,97,109,105,99,115,87,111,114,108,100,0],0,ALLOC_STATIC);__ZTI23btDiscreteDynamicsWorld=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV34btClosestNotMeConvexResultCallback=Pointer_make([0,0,2142,2144,2146,2148],0,ALLOC_STATIC);__ZTS34btClosestNotMeConvexResultCallback=Pointer_make([51,52,98,116,67,108,111,115,101,115,116,78,111,116,77,101,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTSN16btCollisionWorld27ClosestConvexResultCallbackE= +Pointer_make([78,49,54,98,116,67,111,108,108,105,115,105,111,110,87,111,114,108,100,50,55,67,108,111,115,101,115,116,67,111,110,118,101,120,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0],0,ALLOC_STATIC);__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI34btClosestNotMeConvexResultCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE=Pointer_make([0,0,2150,2152,536,2154],0,ALLOC_STATIC);__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback= +Pointer_make([0,0,2156,2158,2160],0,ALLOC_STATIC);__ZTSZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback=Pointer_make([90,78,50,51,98,116,68,105,115,99,114,101,116,101,68,121,110,97,109,105,99,115,87,111,114,108,100,49,54,115,111,108,118,101,67,111,110,115,116,114,97,105,110,116,115,69,82,49,57,98,116,67,111,110,116,97,99,116,83,111,108,118,101,114,73,110,102,111,69,50,55,73,110,112,108,97,99,101,83,111,108,118,101,114,73,115,108,97,110,100,67,97,108, +108,98,97,99,107,0],0,ALLOC_STATIC);__ZTSN25btSimulationIslandManager14IslandCallbackE=Pointer_make([78,50,53,98,116,83,105,109,117,108,97,116,105,111,110,73,115,108,97,110,100,77,97,110,97,103,101,114,49,52,73,115,108,97,110,100,67,97,108,108,98,97,99,107,69,0],0,ALLOC_STATIC);__ZTIN25btSimulationIslandManager14IslandCallbackE=Pointer_make([0,0],0,ALLOC_STATIC);__ZTIZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback=Pointer_make([0,0,0],0,ALLOC_STATIC); +__ZTVN25btSimulationIslandManager14IslandCallbackE=Pointer_make([0,0,2162,2164,0],0,ALLOC_STATIC);__ZTV23btGeneric6DofConstraint=Pointer_make([0,0,2166,2168,2170,22,2172,2174,24,2176,2178,2180,2182,2184],0,ALLOC_STATIC);__ZTS23btGeneric6DofConstraint=Pointer_make([50,51,98,116,71,101,110,101,114,105,99,54,68,111,102,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI23btGeneric6DofConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__str50=Pointer_make([98,116,71,101,110,101,114,105,99,54, +68,111,102,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTV29btGeneric6DofSpringConstraint=Pointer_make([0,0,2186,2188,2170,22,2172,2190,24,2176,2178,2192,2194,2184,2196],0,ALLOC_STATIC);__ZTS29btGeneric6DofSpringConstraint=Pointer_make([50,57,98,116,71,101,110,101,114,105,99,54,68,111,102,83,112,114,105,110,103,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI29btGeneric6DofSpringConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__str52=Pointer_make([98,116, +71,101,110,101,114,105,99,54,68,111,102,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTV23btPoint2PointConstraint=Pointer_make([0,0,2198,2200,2202,22,2204,2206,24,2208,2210,2212,2214],0,ALLOC_STATIC);__ZTS23btPoint2PointConstraint=Pointer_make([50,51,98,116,80,111,105,110,116,50,80,111,105,110,116,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI23btPoint2PointConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__str5329=Pointer_make([98,116,80,111,105,110,116, +50,80,111,105,110,116,67,111,110,115,116,114,97,105,110,116,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__str54=Pointer_make([98,116,84,121,112,101,100,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0],0,ALLOC_STATIC);__ZZN17btTypedConstraint12getFixedBodyEvE7s_fixed=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN17btTypedConstraint12getFixedBodyEvE7s_fixed= +Pointer_make([0],0,ALLOC_STATIC);__ZTV19btContactConstraint=Pointer_make([0,0,2216,2218,2220,22,2222,2224,24,0,0,26,28],0,ALLOC_STATIC);__ZTS19btContactConstraint=Pointer_make([49,57,98,116,67,111,110,116,97,99,116,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI19btContactConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV18btSliderConstraint=Pointer_make([0,0,2226,2228,20,22,2230,2232,24,2234,2236,2238,2240],0,ALLOC_STATIC);__ZTS18btSliderConstraint=Pointer_make([49,56,98,116,83, +108,105,100,101,114,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI18btSliderConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__str6330=Pointer_make([98,116,83,108,105,100,101,114,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTV21btConeTwistConstraint=Pointer_make([0,0,2242,2244,2246,22,2248,2250,2252,2254,2256,2258,2260,2262],0,ALLOC_STATIC);__ZL6vTwist=Pointer_make([1,0,0,0],0,ALLOC_STATIC);__ZTS21btConeTwistConstraint=Pointer_make([50,49,98,116,67,111,110, +101,84,119,105,115,116,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI21btConeTwistConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__str64=Pointer_make([98,116,67,111,110,101,84,119,105,115,116,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTV17btHingeConstraint=Pointer_make([0,0,2264,2266,2268,22,2270,2272,24,2274,2276,2278,2280],0,ALLOC_STATIC);__ZTS17btHingeConstraint=Pointer_make([49,55,98,116,72,105,110,103,101,67,111,110,115,116,114,97,105,110,116,0], +0,ALLOC_STATIC);__ZTI17btHingeConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);__str66=Pointer_make([98,116,72,105,110,103,101,67,111,110,115,116,114,97,105,110,116,70,108,111,97,116,68,97,116,97,0],0,ALLOC_STATIC);__ZTV18btHinge2Constraint=Pointer_make([0,0,2282,2284,2170,22,2172,2190,24,2176,2178,2192,2194,2184,2196],0,ALLOC_STATIC);__ZTS18btHinge2Constraint=Pointer_make([49,56,98,116,72,105,110,103,101,50,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI18btHinge2Constraint=Pointer_make([0, +0,0],0,ALLOC_STATIC);__ZTV21btUniversalConstraint=Pointer_make([0,0,2286,2288,2170,22,2172,2174,24,2176,2178,2180,2182,2184],0,ALLOC_STATIC);__ZTS21btUniversalConstraint=Pointer_make([50,49,98,116,85,110,105,118,101,114,115,97,108,67,111,110,115,116,114,97,105,110,116,0],0,ALLOC_STATIC);__ZTI21btUniversalConstraint=Pointer_make([0,0,0],0,ALLOC_STATIC);_gNumSplitImpulseRecoveries=Pointer_make([0],0,ALLOC_STATIC);__ZTV35btSequentialImpulseConstraintSolver=Pointer_make([0,0,2290,2292,2294,2296,2298, +2300,2302,2304,2306,2308],0,ALLOC_STATIC);__str71=Pointer_make([115,111,108,118,101,71,114,111,117,112,67,97,99,104,101,70,114,105,101,110,100,108,121,83,101,116,117,112,0],0,ALLOC_STATIC);__str172=Pointer_make([115,111,108,118,101,71,114,111,117,112,67,97,99,104,101,70,114,105,101,110,100,108,121,73,116,101,114,97,116,105,111,110,115,0],0,ALLOC_STATIC);__str273=Pointer_make([115,111,108,118,101,71,114,111,117,112,0],0,ALLOC_STATIC);__ZZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed= +Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN35btSequentialImpulseConstraintSolver12getFixedBodyEvE7s_fixed=Pointer_make([0],0,ALLOC_STATIC);__ZTS35btSequentialImpulseConstraintSolver=Pointer_make([51,53,98,116,83,101,113,117,101,110,116,105,97,108,73,109,112,117,108,115,101,67,111,110,115,116,114,97,105,110,116,83,111,108, +118,101,114,0],0,ALLOC_STATIC);__ZTS18btConstraintSolver=Pointer_make([49,56,98,116,67,111,110,115,116,114,97,105,110,116,83,111,108,118,101,114,0],0,ALLOC_STATIC);__ZTI18btConstraintSolver=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI35btSequentialImpulseConstraintSolver=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV18btConstraintSolver=Pointer_make([0,0,2310,2312,2294,0,2298,0],0,ALLOC_STATIC);__ZZN17btActionInterface12getFixedBodyEvE7s_fixed=Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN17btActionInterface12getFixedBodyEvE7s_fixed=Pointer_make([0],0,ALLOC_STATIC);__ZTV16btRaycastVehicle=Pointer_make([0,0,2314,2316,2318,2320,2322,2324,2326],0,ALLOC_STATIC);_sideFrictionStiffness2=Pointer_make([1],0,ALLOC_STATIC);__ZTS16btRaycastVehicle=Pointer_make([49,54,98,116,82,97,121,99,97,115,116,86,101,104,105,99,108,101,0],0,ALLOC_STATIC); +__ZTS17btActionInterface=Pointer_make([49,55,98,116,65,99,116,105,111,110,73,110,116,101,114,102,97,99,101,0],0,ALLOC_STATIC);__ZTI17btActionInterface=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI16btRaycastVehicle=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV25btDefaultVehicleRaycaster=Pointer_make([0,0,2328,2330,2332],0,ALLOC_STATIC);__ZTS25btDefaultVehicleRaycaster=Pointer_make([50,53,98,116,68,101,102,97,117,108,116,86,101,104,105,99,108,101,82,97,121,99,97,115,116,101,114,0],0,ALLOC_STATIC);__ZTS18btVehicleRaycaster= +Pointer_make([49,56,98,116,86,101,104,105,99,108,101,82,97,121,99,97,115,116,101,114,0],0,ALLOC_STATIC);__ZTI18btVehicleRaycaster=Pointer_make([0,0],0,ALLOC_STATIC);__ZTI25btDefaultVehicleRaycaster=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV18btVehicleRaycaster=Pointer_make([0,0,2334,2336,0],0,ALLOC_STATIC);__ZTVN16btCollisionWorld24ClosestRayResultCallbackE=Pointer_make([0,0,2338,2340,582,2342],0,ALLOC_STATIC);__ZTSN16btCollisionWorld24ClosestRayResultCallbackE=Pointer_make([78,49,54,98,116,67,111, +108,108,105,115,105,111,110,87,111,114,108,100,50,52,67,108,111,115,101,115,116,82,97,121,82,101,115,117,108,116,67,97,108,108,98,97,99,107,69,0],0,ALLOC_STATIC);__ZTIN16btCollisionWorld24ClosestRayResultCallbackE=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV17btActionInterface=Pointer_make([0,0,2344,2346,0,0],0,ALLOC_STATIC);__ZTV30btKinematicCharacterController=Pointer_make([0,0,2348,2350,2352,2354,2356,2358,2360,2362,2364,2366,2368,2370,2372],0,ALLOC_STATIC);__ZZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection= +Pointer_make([0,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZGVZN30btKinematicCharacterController19getUpAxisDirectionsEvE16sUpAxisDirection=Pointer_make([0],0,ALLOC_STATIC);__ZTS30btKinematicCharacterController=Pointer_make([51,48,98,116,75,105,110,101,109,97,116,105,99,67,104,97,114,97,99,116,101,114,67,111,110,116,114,111,108,108,101,114,0],0,ALLOC_STATIC);__ZTS30btCharacterControllerInterface=Pointer_make([51,48,98,116,67,104,97,114,97,99,116,101,114,67,111,110,116,114,111,108,108,101,114,73,110, +116,101,114,102,97,99,101,0],0,ALLOC_STATIC);__ZTI30btCharacterControllerInterface=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTI30btKinematicCharacterController=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV43btKinematicClosestNotMeConvexResultCallback=Pointer_make([0,0,2374,2376,536,2378],0,ALLOC_STATIC);__ZTS43btKinematicClosestNotMeConvexResultCallback=Pointer_make([52,51,98,116,75,105,110,101,109,97,116,105,99,67,108,111,115,101,115,116,78,111,116,77,101,67,111,110,118,101,120,82,101,115,117,108,116, +67,97,108,108,98,97,99,107,0],0,ALLOC_STATIC);__ZTI43btKinematicClosestNotMeConvexResultCallback=Pointer_make([0,0,0],0,ALLOC_STATIC);__ZTV30btCharacterControllerInterface=Pointer_make([0,0,2380,2382,0,0,0,0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__ZL13gProfileClock=Pointer_make([0],0,ALLOC_STATIC);__ZN15CProfileManager4RootE=Pointer_make([0,0,0,0,0,0,0,0],0,ALLOC_STATIC);__str31=Pointer_make([82,111,111,116,0],0,ALLOC_STATIC);__ZN15CProfileManager11CurrentNodeE=Pointer_make([0],0,ALLOC_STATIC);__ZN15CProfileManager12FrameCounterE= +Pointer_make([0],0,ALLOC_STATIC);__ZN15CProfileManager9ResetTimeE=Pointer_make([0],0,ALLOC_STATIC);_gNumAlignedAllocs=Pointer_make([0],0,ALLOC_STATIC);_gNumAlignedFree=Pointer_make([0],0,ALLOC_STATIC);_gTotalBytesAlignedAllocs=Pointer_make([0],0,ALLOC_STATIC);_sBulletDNAstr=Pointer_make([83,68,78,65,78,65,77,69,42,1,0,0,109,95,115,105,122,101,0,109,95,99,97,112,97,99,105,116,121,0,42,109,95,100,97,116,97,0,109,95,99,111,108,108,105,115,105,111,110,83,104,97,112,101,115,0,109,95,99,111,108,108,105, +115,105,111,110,79,98,106,101,99,116,115,0,109,95,99,111,110,115,116,114,97,105,110,116,115,0,42,102,105,114,115,116,0,42,108,97,115,116,0,109,95,102,108,111,97,116,115,91,52,93,0,109,95,101,108,91,51,93,0,109,95,98,97,115,105,115,0,109,95,111,114,105,103,105,110,0,109,95,114,111,111,116,78,111,100,101,73,110,100,101,120,0,109,95,115,117,98,116,114,101,101,83,105,122,101,0,109,95,113,117,97,110,116,105,122,101,100,65,97,98,98,77,105,110,91,51,93,0,109,95,113,117,97,110,116,105,122,101,100,65,97,98, +98,77,97,120,91,51,93,0,109,95,97,97,98,98,77,105,110,79,114,103,0,109,95,97,97,98,98,77,97,120,79,114,103,0,109,95,101,115,99,97,112,101,73,110,100,101,120,0,109,95,115,117,98,80,97,114,116,0,109,95,116,114,105,97,110,103,108,101,73,110,100,101,120,0,109,95,112,97,100,91,52,93,0,109,95,101,115,99,97,112,101,73,110,100,101,120,79,114,84,114,105,97,110,103,108,101,73,110,100,101,120,0,109,95,98,118,104,65,97,98,98,77,105,110,0,109,95,98,118,104,65,97,98,98,77,97,120,0,109,95,98,118,104,81,117,97,110, +116,105,122,97,116,105,111,110,0,109,95,99,117,114,78,111,100,101,73,110,100,101,120,0,109,95,117,115,101,81,117,97,110,116,105,122,97,116,105,111,110,0,109,95,110,117,109,67,111,110,116,105,103,117,111,117,115,76,101,97,102,78,111,100,101,115,0,109,95,110,117,109,81,117,97,110,116,105,122,101,100,67,111,110,116,105,103,117,111,117,115,78,111,100,101,115,0,42,109,95,99,111,110,116,105,103,117,111,117,115,78,111,100,101,115,80,116,114,0,42,109,95,113,117,97,110,116,105,122,101,100,67,111,110,116,105, +103,117,111,117,115,78,111,100,101,115,80,116,114,0,42,109,95,115,117,98,84,114,101,101,73,110,102,111,80,116,114,0,109,95,116,114,97,118,101,114,115,97,108,77,111,100,101,0,109,95,110,117,109,83,117,98,116,114,101,101,72,101,97,100,101,114,115,0,42,109,95,110,97,109,101,0,109,95,115,104,97,112,101,84,121,112,101,0,109,95,112,97,100,100,105,110,103,91,52,93,0,109,95,99,111,108,108,105,115,105,111,110,83,104,97,112,101,68,97,116,97,0,109,95,108,111,99,97,108,83,99,97,108,105,110,103,0,109,95,112,108, +97,110,101,78,111,114,109,97,108,0,109,95,112,108,97,110,101,67,111,110,115,116,97,110,116,0,109,95,105,109,112,108,105,99,105,116,83,104,97,112,101,68,105,109,101,110,115,105,111,110,115,0,109,95,99,111,108,108,105,115,105,111,110,77,97,114,103,105,110,0,109,95,112,97,100,100,105,110,103,0,109,95,112,111,115,0,109,95,114,97,100,105,117,115,0,109,95,99,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,68,97,116,97,0,42,109,95,108,111,99,97,108,80,111,115,105,116,105,111,110,65,114, +114,97,121,80,116,114,0,109,95,108,111,99,97,108,80,111,115,105,116,105,111,110,65,114,114,97,121,83,105,122,101,0,109,95,118,97,108,117,101,0,109,95,112,97,100,91,50,93,0,109,95,118,97,108,117,101,115,91,51,93,0,109,95,112,97,100,0,42,109,95,118,101,114,116,105,99,101,115,51,102,0,42,109,95,118,101,114,116,105,99,101,115,51,100,0,42,109,95,105,110,100,105,99,101,115,51,50,0,42,109,95,51,105,110,100,105,99,101,115,49,54,0,42,109,95,51,105,110,100,105,99,101,115,56,0,42,109,95,105,110,100,105,99,101, +115,49,54,0,109,95,110,117,109,84,114,105,97,110,103,108,101,115,0,109,95,110,117,109,86,101,114,116,105,99,101,115,0,42,109,95,109,101,115,104,80,97,114,116,115,80,116,114,0,109,95,115,99,97,108,105,110,103,0,109,95,110,117,109,77,101,115,104,80,97,114,116,115,0,109,95,109,101,115,104,73,110,116,101,114,102,97,99,101,0,42,109,95,113,117,97,110,116,105,122,101,100,70,108,111,97,116,66,118,104,0,42,109,95,113,117,97,110,116,105,122,101,100,68,111,117,98,108,101,66,118,104,0,42,109,95,116,114,105,97, +110,103,108,101,73,110,102,111,77,97,112,0,109,95,112,97,100,51,91,52,93,0,109,95,116,114,105,109,101,115,104,83,104,97,112,101,68,97,116,97,0,109,95,116,114,97,110,115,102,111,114,109,0,42,109,95,99,104,105,108,100,83,104,97,112,101,0,109,95,99,104,105,108,100,83,104,97,112,101,84,121,112,101,0,109,95,99,104,105,108,100,77,97,114,103,105,110,0,42,109,95,99,104,105,108,100,83,104,97,112,101,80,116,114,0,109,95,110,117,109,67,104,105,108,100,83,104,97,112,101,115,0,109,95,117,112,65,120,105,115,0, +109,95,102,108,97,103,115,0,109,95,101,100,103,101,86,48,86,49,65,110,103,108,101,0,109,95,101,100,103,101,86,49,86,50,65,110,103,108,101,0,109,95,101,100,103,101,86,50,86,48,65,110,103,108,101,0,42,109,95,104,97,115,104,84,97,98,108,101,80,116,114,0,42,109,95,110,101,120,116,80,116,114,0,42,109,95,118,97,108,117,101,65,114,114,97,121,80,116,114,0,42,109,95,107,101,121,65,114,114,97,121,80,116,114,0,109,95,99,111,110,118,101,120,69,112,115,105,108,111,110,0,109,95,112,108,97,110,97,114,69,112,115, +105,108,111,110,0,109,95,101,113,117,97,108,86,101,114,116,101,120,84,104,114,101,115,104,111,108,100,0,109,95,101,100,103,101,68,105,115,116,97,110,99,101,84,104,114,101,115,104,111,108,100,0,109,95,122,101,114,111,65,114,101,97,84,104,114,101,115,104,111,108,100,0,109,95,110,101,120,116,83,105,122,101,0,109,95,104,97,115,104,84,97,98,108,101,83,105,122,101,0,109,95,110,117,109,86,97,108,117,101,115,0,109,95,110,117,109,75,101,121,115,0,109,95,103,105,109,112,97,99,116,83,117,98,84,121,112,101,0, +42,109,95,117,110,115,99,97,108,101,100,80,111,105,110,116,115,70,108,111,97,116,80,116,114,0,42,109,95,117,110,115,99,97,108,101,100,80,111,105,110,116,115,68,111,117,98,108,101,80,116,114,0,109,95,110,117,109,85,110,115,99,97,108,101,100,80,111,105,110,116,115,0,109,95,112,97,100,100,105,110,103,51,91,52,93,0,42,109,95,98,114,111,97,100,112,104,97,115,101,72,97,110,100,108,101,0,42,109,95,99,111,108,108,105,115,105,111,110,83,104,97,112,101,0,42,109,95,114,111,111,116,67,111,108,108,105,115,105, +111,110,83,104,97,112,101,0,109,95,119,111,114,108,100,84,114,97,110,115,102,111,114,109,0,109,95,105,110,116,101,114,112,111,108,97,116,105,111,110,87,111,114,108,100,84,114,97,110,115,102,111,114,109,0,109,95,105,110,116,101,114,112,111,108,97,116,105,111,110,76,105,110,101,97,114,86,101,108,111,99,105,116,121,0,109,95,105,110,116,101,114,112,111,108,97,116,105,111,110,65,110,103,117,108,97,114,86,101,108,111,99,105,116,121,0,109,95,97,110,105,115,111,116,114,111,112,105,99,70,114,105,99,116,105, +111,110,0,109,95,99,111,110,116,97,99,116,80,114,111,99,101,115,115,105,110,103,84,104,114,101,115,104,111,108,100,0,109,95,100,101,97,99,116,105,118,97,116,105,111,110,84,105,109,101,0,109,95,102,114,105,99,116,105,111,110,0,109,95,114,101,115,116,105,116,117,116,105,111,110,0,109,95,104,105,116,70,114,97,99,116,105,111,110,0,109,95,99,99,100,83,119,101,112,116,83,112,104,101,114,101,82,97,100,105,117,115,0,109,95,99,99,100,77,111,116,105,111,110,84,104,114,101,115,104,111,108,100,0,109,95,104,97, +115,65,110,105,115,111,116,114,111,112,105,99,70,114,105,99,116,105,111,110,0,109,95,99,111,108,108,105,115,105,111,110,70,108,97,103,115,0,109,95,105,115,108,97,110,100,84,97,103,49,0,109,95,99,111,109,112,97,110,105,111,110,73,100,0,109,95,97,99,116,105,118,97,116,105,111,110,83,116,97,116,101,49,0,109,95,105,110,116,101,114,110,97,108,84,121,112,101,0,109,95,99,104,101,99,107,67,111,108,108,105,100,101,87,105,116,104,0,109,95,99,111,108,108,105,115,105,111,110,79,98,106,101,99,116,68,97,116,97, +0,109,95,105,110,118,73,110,101,114,116,105,97,84,101,110,115,111,114,87,111,114,108,100,0,109,95,108,105,110,101,97,114,86,101,108,111,99,105,116,121,0,109,95,97,110,103,117,108,97,114,86,101,108,111,99,105,116,121,0,109,95,97,110,103,117,108,97,114,70,97,99,116,111,114,0,109,95,108,105,110,101,97,114,70,97,99,116,111,114,0,109,95,103,114,97,118,105,116,121,0,109,95,103,114,97,118,105,116,121,95,97,99,99,101,108,101,114,97,116,105,111,110,0,109,95,105,110,118,73,110,101,114,116,105,97,76,111,99, +97,108,0,109,95,116,111,116,97,108,70,111,114,99,101,0,109,95,116,111,116,97,108,84,111,114,113,117,101,0,109,95,105,110,118,101,114,115,101,77,97,115,115,0,109,95,108,105,110,101,97,114,68,97,109,112,105,110,103,0,109,95,97,110,103,117,108,97,114,68,97,109,112,105,110,103,0,109,95,97,100,100,105,116,105,111,110,97,108,68,97,109,112,105,110,103,70,97,99,116,111,114,0,109,95,97,100,100,105,116,105,111,110,97,108,76,105,110,101,97,114,68,97,109,112,105,110,103,84,104,114,101,115,104,111,108,100,83, +113,114,0,109,95,97,100,100,105,116,105,111,110,97,108,65,110,103,117,108,97,114,68,97,109,112,105,110,103,84,104,114,101,115,104,111,108,100,83,113,114,0,109,95,97,100,100,105,116,105,111,110,97,108,65,110,103,117,108,97,114,68,97,109,112,105,110,103,70,97,99,116,111,114,0,109,95,108,105,110,101,97,114,83,108,101,101,112,105,110,103,84,104,114,101,115,104,111,108,100,0,109,95,97,110,103,117,108,97,114,83,108,101,101,112,105,110,103,84,104,114,101,115,104,111,108,100,0,109,95,97,100,100,105,116,105, +111,110,97,108,68,97,109,112,105,110,103,0,109,95,110,117,109,67,111,110,115,116,114,97,105,110,116,82,111,119,115,0,110,117,98,0,42,109,95,114,98,65,0,42,109,95,114,98,66,0,109,95,111,98,106,101,99,116,84,121,112,101,0,109,95,117,115,101,114,67,111,110,115,116,114,97,105,110,116,84,121,112,101,0,109,95,117,115,101,114,67,111,110,115,116,114,97,105,110,116,73,100,0,109,95,110,101,101,100,115,70,101,101,100,98,97,99,107,0,109,95,97,112,112,108,105,101,100,73,109,112,117,108,115,101,0,109,95,100,98, +103,68,114,97,119,83,105,122,101,0,109,95,100,105,115,97,98,108,101,67,111,108,108,105,115,105,111,110,115,66,101,116,119,101,101,110,76,105,110,107,101,100,66,111,100,105,101,115,0,109,95,112,97,100,52,91,52,93,0,109,95,116,121,112,101,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,109,95,112,105,118,111,116,73,110,65,0,109,95,112,105,118,111,116,73,110,66,0,109,95,114,98,65,70,114,97,109,101,0,109,95,114,98,66,70,114,97,109,101,0,109,95,117,115,101,82,101,102,101,114,101,110,99,101,70,114, +97,109,101,65,0,109,95,97,110,103,117,108,97,114,79,110,108,121,0,109,95,101,110,97,98,108,101,65,110,103,117,108,97,114,77,111,116,111,114,0,109,95,109,111,116,111,114,84,97,114,103,101,116,86,101,108,111,99,105,116,121,0,109,95,109,97,120,77,111,116,111,114,73,109,112,117,108,115,101,0,109,95,108,111,119,101,114,76,105,109,105,116,0,109,95,117,112,112,101,114,76,105,109,105,116,0,109,95,108,105,109,105,116,83,111,102,116,110,101,115,115,0,109,95,98,105,97,115,70,97,99,116,111,114,0,109,95,114,101, +108,97,120,97,116,105,111,110,70,97,99,116,111,114,0,109,95,115,119,105,110,103,83,112,97,110,49,0,109,95,115,119,105,110,103,83,112,97,110,50,0,109,95,116,119,105,115,116,83,112,97,110,0,109,95,100,97,109,112,105,110,103,0,109,95,108,105,110,101,97,114,85,112,112,101,114,76,105,109,105,116,0,109,95,108,105,110,101,97,114,76,111,119,101,114,76,105,109,105,116,0,109,95,97,110,103,117,108,97,114,85,112,112,101,114,76,105,109,105,116,0,109,95,97,110,103,117,108,97,114,76,111,119,101,114,76,105,109,105, +116,0,109,95,117,115,101,76,105,110,101,97,114,82,101,102,101,114,101,110,99,101,70,114,97,109,101,65,0,109,95,117,115,101,79,102,102,115,101,116,70,111,114,67,111,110,115,116,114,97,105,110,116,70,114,97,109,101,0,109,95,54,100,111,102,68,97,116,97,0,109,95,115,112,114,105,110,103,69,110,97,98,108,101,100,91,54,93,0,109,95,101,113,117,105,108,105,98,114,105,117,109,80,111,105,110,116,91,54,93,0,109,95,115,112,114,105,110,103,83,116,105,102,102,110,101,115,115,91,54,93,0,109,95,115,112,114,105,110, +103,68,97,109,112,105,110,103,91,54,93,0,109,95,108,105,110,101,97,114,83,116,105,102,102,110,101,115,115,0,109,95,97,110,103,117,108,97,114,83,116,105,102,102,110,101,115,115,0,109,95,118,111,108,117,109,101,83,116,105,102,102,110,101,115,115,0,42,109,95,109,97,116,101,114,105,97,108,0,109,95,112,111,115,105,116,105,111,110,0,109,95,112,114,101,118,105,111,117,115,80,111,115,105,116,105,111,110,0,109,95,118,101,108,111,99,105,116,121,0,109,95,97,99,99,117,109,117,108,97,116,101,100,70,111,114,99, +101,0,109,95,110,111,114,109,97,108,0,109,95,97,114,101,97,0,109,95,97,116,116,97,99,104,0,109,95,110,111,100,101,73,110,100,105,99,101,115,91,50,93,0,109,95,114,101,115,116,76,101,110,103,116,104,0,109,95,98,98,101,110,100,105,110,103,0,109,95,110,111,100,101,73,110,100,105,99,101,115,91,51,93,0,109,95,114,101,115,116,65,114,101,97,0,109,95,99,48,91,52,93,0,109,95,110,111,100,101,73,110,100,105,99,101,115,91,52,93,0,109,95,114,101,115,116,86,111,108,117,109,101,0,109,95,99,49,0,109,95,99,50,0,109, +95,99,48,0,109,95,108,111,99,97,108,70,114,97,109,101,0,42,109,95,114,105,103,105,100,66,111,100,121,0,109,95,110,111,100,101,73,110,100,101,120,0,109,95,97,101,114,111,77,111,100,101,108,0,109,95,98,97,117,109,103,97,114,116,101,0,109,95,100,114,97,103,0,109,95,108,105,102,116,0,109,95,112,114,101,115,115,117,114,101,0,109,95,118,111,108,117,109,101,0,109,95,100,121,110,97,109,105,99,70,114,105,99,116,105,111,110,0,109,95,112,111,115,101,77,97,116,99,104,0,109,95,114,105,103,105,100,67,111,110,116, +97,99,116,72,97,114,100,110,101,115,115,0,109,95,107,105,110,101,116,105,99,67,111,110,116,97,99,116,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,67,111,110,116,97,99,116,72,97,114,100,110,101,115,115,0,109,95,97,110,99,104,111,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,82,105,103,105,100,67,108,117,115,116,101,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,75,105,110,101,116,105,99,67,108,117,115,116,101,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102, +116,83,111,102,116,67,108,117,115,116,101,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,82,105,103,105,100,67,108,117,115,116,101,114,73,109,112,117,108,115,101,83,112,108,105,116,0,109,95,115,111,102,116,75,105,110,101,116,105,99,67,108,117,115,116,101,114,73,109,112,117,108,115,101,83,112,108,105,116,0,109,95,115,111,102,116,83,111,102,116,67,108,117,115,116,101,114,73,109,112,117,108,115,101,83,112,108,105,116,0,109,95,109,97,120,86,111,108,117,109,101,0,109,95,116,105,109,101,83, +99,97,108,101,0,109,95,118,101,108,111,99,105,116,121,73,116,101,114,97,116,105,111,110,115,0,109,95,112,111,115,105,116,105,111,110,73,116,101,114,97,116,105,111,110,115,0,109,95,100,114,105,102,116,73,116,101,114,97,116,105,111,110,115,0,109,95,99,108,117,115,116,101,114,73,116,101,114,97,116,105,111,110,115,0,109,95,114,111,116,0,109,95,115,99,97,108,101,0,109,95,97,113,113,0,109,95,99,111,109,0,42,109,95,112,111,115,105,116,105,111,110,115,0,42,109,95,119,101,105,103,104,116,115,0,109,95,110, +117,109,80,111,115,105,116,105,111,110,115,0,109,95,110,117,109,87,101,105,103,116,115,0,109,95,98,118,111,108,117,109,101,0,109,95,98,102,114,97,109,101,0,109,95,102,114,97,109,101,120,102,111,114,109,0,109,95,108,111,99,105,105,0,109,95,105,110,118,119,105,0,109,95,118,105,109,112,117,108,115,101,115,91,50,93,0,109,95,100,105,109,112,117,108,115,101,115,91,50,93,0,109,95,108,118,0,109,95,97,118,0,42,109,95,102,114,97,109,101,114,101,102,115,0,42,109,95,110,111,100,101,73,110,100,105,99,101,115, +0,42,109,95,109,97,115,115,101,115,0,109,95,110,117,109,70,114,97,109,101,82,101,102,115,0,109,95,110,117,109,78,111,100,101,115,0,109,95,110,117,109,77,97,115,115,101,115,0,109,95,105,100,109,97,115,115,0,109,95,105,109,97,115,115,0,109,95,110,118,105,109,112,117,108,115,101,115,0,109,95,110,100,105,109,112,117,108,115,101,115,0,109,95,110,100,97,109,112,105,110,103,0,109,95,108,100,97,109,112,105,110,103,0,109,95,97,100,97,109,112,105,110,103,0,109,95,109,97,116,99,104,105,110,103,0,109,95,109, +97,120,83,101,108,102,67,111,108,108,105,115,105,111,110,73,109,112,117,108,115,101,0,109,95,115,101,108,102,67,111,108,108,105,115,105,111,110,73,109,112,117,108,115,101,70,97,99,116,111,114,0,109,95,99,111,110,116,97,105,110,115,65,110,99,104,111,114,0,109,95,99,111,108,108,105,100,101,0,109,95,99,108,117,115,116,101,114,73,110,100,101,120,0,42,109,95,98,111,100,121,65,0,42,109,95,98,111,100,121,66,0,109,95,114,101,102,115,91,50,93,0,109,95,99,102,109,0,109,95,101,114,112,0,109,95,115,112,108,105, +116,0,109,95,100,101,108,101,116,101,0,109,95,114,101,108,80,111,115,105,116,105,111,110,91,50,93,0,109,95,98,111,100,121,65,116,121,112,101,0,109,95,98,111,100,121,66,116,121,112,101,0,109,95,106,111,105,110,116,84,121,112,101,0,42,109,95,112,111,115,101,0,42,42,109,95,109,97,116,101,114,105,97,108,115,0,42,109,95,110,111,100,101,115,0,42,109,95,108,105,110,107,115,0,42,109,95,102,97,99,101,115,0,42,109,95,116,101,116,114,97,104,101,100,114,97,0,42,109,95,97,110,99,104,111,114,115,0,42,109,95,99, +108,117,115,116,101,114,115,0,42,109,95,106,111,105,110,116,115,0,109,95,110,117,109,77,97,116,101,114,105,97,108,115,0,109,95,110,117,109,76,105,110,107,115,0,109,95,110,117,109,70,97,99,101,115,0,109,95,110,117,109,84,101,116,114,97,104,101,100,114,97,0,109,95,110,117,109,65,110,99,104,111,114,115,0,109,95,110,117,109,67,108,117,115,116,101,114,115,0,109,95,110,117,109,74,111,105,110,116,115,0,109,95,99,111,110,102,105,103,0,0,0,0,84,89,80,69,72,0,0,0,99,104,97,114,0,117,99,104,97,114,0,115,104, +111,114,116,0,117,115,104,111,114,116,0,105,110,116,0,108,111,110,103,0,117,108,111,110,103,0,102,108,111,97,116,0,100,111,117,98,108,101,0,118,111,105,100,0,80,111,105,110,116,101,114,65,114,114,97,121,0,98,116,80,104,121,115,105,99,115,83,121,115,116,101,109,0,76,105,115,116,66,97,115,101,0,98,116,86,101,99,116,111,114,51,70,108,111,97,116,68,97,116,97,0,98,116,86,101,99,116,111,114,51,68,111,117,98,108,101,68,97,116,97,0,98,116,77,97,116,114,105,120,51,120,51,70,108,111,97,116,68,97,116,97,0,98, +116,77,97,116,114,105,120,51,120,51,68,111,117,98,108,101,68,97,116,97,0,98,116,84,114,97,110,115,102,111,114,109,70,108,111,97,116,68,97,116,97,0,98,116,84,114,97,110,115,102,111,114,109,68,111,117,98,108,101,68,97,116,97,0,98,116,66,118,104,83,117,98,116,114,101,101,73,110,102,111,68,97,116,97,0,98,116,79,112,116,105,109,105,122,101,100,66,118,104,78,111,100,101,70,108,111,97,116,68,97,116,97,0,98,116,79,112,116,105,109,105,122,101,100,66,118,104,78,111,100,101,68,111,117,98,108,101,68,97,116,97, +0,98,116,81,117,97,110,116,105,122,101,100,66,118,104,78,111,100,101,68,97,116,97,0,98,116,81,117,97,110,116,105,122,101,100,66,118,104,70,108,111,97,116,68,97,116,97,0,98,116,81,117,97,110,116,105,122,101,100,66,118,104,68,111,117,98,108,101,68,97,116,97,0,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,68,97,116,97,0,98,116,83,116,97,116,105,99,80,108,97,110,101,83,104,97,112,101,68,97,116,97,0,98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,68,97,116,97, +0,98,116,80,111,115,105,116,105,111,110,65,110,100,82,97,100,105,117,115,0,98,116,77,117,108,116,105,83,112,104,101,114,101,83,104,97,112,101,68,97,116,97,0,98,116,73,110,116,73,110,100,101,120,68,97,116,97,0,98,116,83,104,111,114,116,73,110,116,73,110,100,101,120,68,97,116,97,0,98,116,83,104,111,114,116,73,110,116,73,110,100,101,120,84,114,105,112,108,101,116,68,97,116,97,0,98,116,67,104,97,114,73,110,100,101,120,84,114,105,112,108,101,116,68,97,116,97,0,98,116,77,101,115,104,80,97,114,116,68,97, +116,97,0,98,116,83,116,114,105,100,105,110,103,77,101,115,104,73,110,116,101,114,102,97,99,101,68,97,116,97,0,98,116,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,68,97,116,97,0,98,116,84,114,105,97,110,103,108,101,73,110,102,111,77,97,112,68,97,116,97,0,98,116,83,99,97,108,101,100,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,68,97,116,97,0,98,116,67,111,109,112,111,117,110,100,83,104,97,112,101,67,104,105,108,100,68,97,116,97,0,98,116,67,111,109,112,111,117,110, +100,83,104,97,112,101,68,97,116,97,0,98,116,67,121,108,105,110,100,101,114,83,104,97,112,101,68,97,116,97,0,98,116,67,97,112,115,117,108,101,83,104,97,112,101,68,97,116,97,0,98,116,84,114,105,97,110,103,108,101,73,110,102,111,68,97,116,97,0,98,116,71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,68,97,116,97,0,98,116,67,111,110,118,101,120,72,117,108,108,83,104,97,112,101,68,97,116,97,0,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,68,111,117,98,108,101,68,97,116,97,0,98, +116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,70,108,111,97,116,68,97,116,97,0,98,116,82,105,103,105,100,66,111,100,121,70,108,111,97,116,68,97,116,97,0,98,116,82,105,103,105,100,66,111,100,121,68,111,117,98,108,101,68,97,116,97,0,98,116,67,111,110,115,116,114,97,105,110,116,73,110,102,111,49,0,98,116,84,121,112,101,100,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,82,105,103,105,100,66,111,100,121,68,97,116,97,0,98,116,80,111,105,110,116,50,80,111,105,110,116,67,111,110, +115,116,114,97,105,110,116,70,108,111,97,116,68,97,116,97,0,98,116,80,111,105,110,116,50,80,111,105,110,116,67,111,110,115,116,114,97,105,110,116,68,111,117,98,108,101,68,97,116,97,0,98,116,72,105,110,103,101,67,111,110,115,116,114,97,105,110,116,68,111,117,98,108,101,68,97,116,97,0,98,116,72,105,110,103,101,67,111,110,115,116,114,97,105,110,116,70,108,111,97,116,68,97,116,97,0,98,116,67,111,110,101,84,119,105,115,116,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,71,101,110,101,114, +105,99,54,68,111,102,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,71,101,110,101,114,105,99,54,68,111,102,83,112,114,105,110,103,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,83,108,105,100,101,114,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,83,111,102,116,66,111,100,121,77,97,116,101,114,105,97,108,68,97,116,97,0,83,111,102,116,66,111,100,121,78,111,100,101,68,97,116,97,0,83,111,102,116,66,111,100,121,76,105,110,107,68,97,116,97,0,83,111,102,116,66,111,100,121, +70,97,99,101,68,97,116,97,0,83,111,102,116,66,111,100,121,84,101,116,114,97,68,97,116,97,0,83,111,102,116,82,105,103,105,100,65,110,99,104,111,114,68,97,116,97,0,83,111,102,116,66,111,100,121,67,111,110,102,105,103,68,97,116,97,0,83,111,102,116,66,111,100,121,80,111,115,101,68,97,116,97,0,83,111,102,116,66,111,100,121,67,108,117,115,116,101,114,68,97,116,97,0,98,116,83,111,102,116,66,111,100,121,74,111,105,110,116,68,97,116,97,0,98,116,83,111,102,116,66,111,100,121,70,108,111,97,116,68,97,116,97, +0,84,76,69,78,1,0,1,0,2,0,2,0,4,0,4,0,4,0,4,0,8,0,0,0,12,0,36,0,8,0,16,0,32,0,48,0,96,0,64,0,128,0,20,0,48,0,80,0,16,0,84,0,132,0,12,0,52,0,52,0,20,0,64,0,4,0,4,0,8,0,4,0,32,0,28,0,60,0,56,0,76,0,76,0,24,0,60,0,60,0,16,0,64,0,68,0,200,1,248,0,224,1,152,3,8,0,44,0,0,0,76,0,108,0,84,1,212,0,204,0,244,0,84,1,196,0,16,0,100,0,20,0,36,0,100,0,92,0,104,0,192,0,92,1,104,0,164,1,83,84,82,67,61,0,0,0,10,0,3,0,4,0,0,0,4,0,1,0,9,0,2,0,11,0,3,0,10,0,3,0,10,0,4,0,10,0,5,0,12,0,2,0,9,0,6,0,9,0,7,0,13,0,1,0,7,0, +8,0,14,0,1,0,8,0,8,0,15,0,1,0,13,0,9,0,16,0,1,0,14,0,9,0,17,0,2,0,15,0,10,0,13,0,11,0,18,0,2,0,16,0,10,0,14,0,11,0,19,0,4,0,4,0,12,0,4,0,13,0,2,0,14,0,2,0,15,0,20,0,6,0,13,0,16,0,13,0,17,0,4,0,18,0,4,0,19,0,4,0,20,0,0,0,21,0,21,0,6,0,14,0,16,0,14,0,17,0,4,0,18,0,4,0,19,0,4,0,20,0,0,0,21,0,22,0,3,0,2,0,14,0,2,0,15,0,4,0,22,0,23,0,12,0,13,0,23,0,13,0,24,0,13,0,25,0,4,0,26,0,4,0,27,0,4,0,28,0,4,0,29,0,20,0,30,0,22,0,31,0,19,0,32,0,4,0,33,0,4,0,34,0,24,0,12,0,14,0,23,0,14,0,24,0,14,0,25,0,4,0,26,0,4, +0,27,0,4,0,28,0,4,0,29,0,21,0,30,0,22,0,31,0,4,0,33,0,4,0,34,0,19,0,32,0,25,0,3,0,0,0,35,0,4,0,36,0,0,0,37,0,26,0,5,0,25,0,38,0,13,0,39,0,13,0,40,0,7,0,41,0,0,0,21,0,27,0,5,0,25,0,38,0,13,0,39,0,13,0,42,0,7,0,43,0,4,0,44,0,28,0,2,0,13,0,45,0,7,0,46,0,29,0,4,0,27,0,47,0,28,0,48,0,4,0,49,0,0,0,37,0,30,0,1,0,4,0,50,0,31,0,2,0,2,0,50,0,0,0,51,0,32,0,2,0,2,0,52,0,0,0,51,0,33,0,2,0,0,0,52,0,0,0,53,0,34,0,8,0,13,0,54,0,14,0,55,0,30,0,56,0,32,0,57,0,33,0,58,0,31,0,59,0,4,0,60,0,4,0,61,0,35,0,4,0,34,0,62, +0,13,0,63,0,4,0,64,0,0,0,37,0,36,0,7,0,25,0,38,0,35,0,65,0,23,0,66,0,24,0,67,0,37,0,68,0,7,0,43,0,0,0,69,0,38,0,2,0,36,0,70,0,13,0,39,0,39,0,4,0,17,0,71,0,25,0,72,0,4,0,73,0,7,0,74,0,40,0,4,0,25,0,38,0,39,0,75,0,4,0,76,0,7,0,43,0,41,0,3,0,27,0,47,0,4,0,77,0,0,0,37,0,42,0,3,0,27,0,47,0,4,0,77,0,0,0,37,0,43,0,4,0,4,0,78,0,7,0,79,0,7,0,80,0,7,0,81,0,37,0,14,0,4,0,82,0,4,0,83,0,43,0,84,0,4,0,85,0,7,0,86,0,7,0,87,0,7,0,88,0,7,0,89,0,7,0,90,0,4,0,91,0,4,0,92,0,4,0,93,0,4,0,94,0,0,0,37,0,44,0,5,0,25,0,38, +0,35,0,65,0,13,0,39,0,7,0,43,0,4,0,95,0,45,0,5,0,27,0,47,0,13,0,96,0,14,0,97,0,4,0,98,0,0,0,99,0,46,0,24,0,9,0,100,0,9,0,101,0,25,0,102,0,0,0,35,0,18,0,103,0,18,0,104,0,14,0,105,0,14,0,106,0,14,0,107,0,8,0,108,0,8,0,109,0,8,0,110,0,8,0,111,0,8,0,112,0,8,0,113,0,8,0,114,0,4,0,115,0,4,0,116,0,4,0,117,0,4,0,118,0,4,0,119,0,4,0,120,0,4,0,121,0,0,0,37,0,47,0,23,0,9,0,100,0,9,0,101,0,25,0,102,0,0,0,35,0,17,0,103,0,17,0,104,0,13,0,105,0,13,0,106,0,13,0,107,0,7,0,108,0,7,0,109,0,7,0,110,0,7,0,111,0,7,0,112, +0,7,0,113,0,7,0,114,0,4,0,115,0,4,0,116,0,4,0,117,0,4,0,118,0,4,0,119,0,4,0,120,0,4,0,121,0,48,0,21,0,47,0,122,0,15,0,123,0,13,0,124,0,13,0,125,0,13,0,126,0,13,0,127,0,13,0,128,0,13,0,129,0,13,0,130,0,13,0,131,0,13,0,132,0,7,0,133,0,7,0,134,0,7,0,135,0,7,0,136,0,7,0,137,0,7,0,138,0,7,0,139,0,7,0,140,0,7,0,141,0,4,0,142,0,49,0,22,0,46,0,122,0,16,0,123,0,14,0,124,0,14,0,125,0,14,0,126,0,14,0,127,0,14,0,128,0,14,0,129,0,14,0,130,0,14,0,131,0,14,0,132,0,8,0,133,0,8,0,134,0,8,0,135,0,8,0,136,0,8,0,137, +0,8,0,138,0,8,0,139,0,8,0,140,0,8,0,141,0,4,0,142,0,0,0,37,0,50,0,2,0,4,0,143,0,4,0,144,0,51,0,11,0,52,0,145,0,52,0,146,0,0,0,35,0,4,0,147,0,4,0,148,0,4,0,149,0,4,0,150,0,7,0,151,0,7,0,152,0,4,0,153,0,0,0,154,0,53,0,3,0,51,0,155,0,13,0,156,0,13,0,157,0,54,0,3,0,51,0,155,0,14,0,156,0,14,0,157,0,55,0,13,0,51,0,155,0,18,0,158,0,18,0,159,0,4,0,160,0,4,0,161,0,4,0,162,0,7,0,163,0,7,0,164,0,7,0,165,0,7,0,166,0,7,0,167,0,7,0,168,0,7,0,169,0,56,0,13,0,51,0,155,0,17,0,158,0,17,0,159,0,4,0,160,0,4,0,161,0, +4,0,162,0,7,0,163,0,7,0,164,0,7,0,165,0,7,0,166,0,7,0,167,0,7,0,168,0,7,0,169,0,57,0,11,0,51,0,155,0,17,0,158,0,17,0,159,0,7,0,170,0,7,0,171,0,7,0,172,0,7,0,167,0,7,0,168,0,7,0,169,0,7,0,173,0,0,0,21,0,58,0,9,0,51,0,155,0,17,0,158,0,17,0,159,0,13,0,174,0,13,0,175,0,13,0,176,0,13,0,177,0,4,0,178,0,4,0,179,0,59,0,5,0,58,0,180,0,4,0,181,0,7,0,182,0,7,0,183,0,7,0,184,0,60,0,9,0,51,0,155,0,17,0,158,0,17,0,159,0,7,0,174,0,7,0,175,0,7,0,176,0,7,0,177,0,4,0,178,0,4,0,179,0,61,0,4,0,7,0,185,0,7,0,186,0,7, +0,187,0,4,0,78,0,62,0,10,0,61,0,188,0,13,0,189,0,13,0,190,0,13,0,191,0,13,0,192,0,13,0,193,0,7,0,133,0,7,0,194,0,4,0,195,0,4,0,53,0,63,0,4,0,61,0,188,0,4,0,196,0,7,0,197,0,4,0,198,0,64,0,4,0,13,0,193,0,61,0,188,0,4,0,199,0,7,0,200,0,65,0,7,0,13,0,201,0,61,0,188,0,4,0,202,0,7,0,203,0,7,0,204,0,7,0,205,0,4,0,53,0,66,0,6,0,15,0,206,0,13,0,204,0,13,0,207,0,52,0,208,0,4,0,209,0,7,0,205,0,67,0,26,0,4,0,210,0,7,0,211,0,7,0,173,0,7,0,212,0,7,0,213,0,7,0,214,0,7,0,215,0,7,0,216,0,7,0,217,0,7,0,218,0,7,0,219, +0,7,0,220,0,7,0,221,0,7,0,222,0,7,0,223,0,7,0,224,0,7,0,225,0,7,0,226,0,7,0,227,0,7,0,228,0,7,0,229,0,4,0,230,0,4,0,231,0,4,0,232,0,4,0,233,0,4,0,116,0,68,0,12,0,15,0,234,0,15,0,235,0,15,0,236,0,13,0,237,0,13,0,238,0,7,0,239,0,4,0,240,0,4,0,241,0,4,0,242,0,4,0,243,0,7,0,203,0,4,0,53,0,69,0,27,0,17,0,244,0,15,0,245,0,15,0,246,0,13,0,237,0,13,0,247,0,13,0,248,0,13,0,249,0,13,0,250,0,13,0,251,0,4,0,252,0,7,0,253,0,4,0,254,0,4,0,255,0,4,0,0,1,7,0,1,1,7,0,2,1,4,0,3,1,4,0,4,1,7,0,5,1,7,0,6,1,7,0,7,1,7, +0,8,1,7,0,9,1,7,0,10,1,4,0,11,1,4,0,12,1,4,0,13,1,70,0,12,0,9,0,14,1,9,0,15,1,13,0,16,1,7,0,17,1,7,0,18,1,7,0,19,1,4,0,20,1,13,0,21,1,4,0,22,1,4,0,23,1,4,0,24,1,4,0,53,0,71,0,19,0,47,0,122,0,68,0,25,1,61,0,26,1,62,0,27,1,63,0,28,1,64,0,29,1,65,0,30,1,66,0,31,1,69,0,32,1,70,0,33,1,4,0,34,1,4,0,255,0,4,0,35,1,4,0,36,1,4,0,37,1,4,0,38,1,4,0,39,1,4,0,40,1,67,0,41,1],0,ALLOC_STATIC);_sBulletDNAlen=Pointer_make([8276],0,ALLOC_STATIC);_sBulletDNAstr64=Pointer_make([83,68,78,65,78,65,77,69,42,1,0,0,109,95, +115,105,122,101,0,109,95,99,97,112,97,99,105,116,121,0,42,109,95,100,97,116,97,0,109,95,99,111,108,108,105,115,105,111,110,83,104,97,112,101,115,0,109,95,99,111,108,108,105,115,105,111,110,79,98,106,101,99,116,115,0,109,95,99,111,110,115,116,114,97,105,110,116,115,0,42,102,105,114,115,116,0,42,108,97,115,116,0,109,95,102,108,111,97,116,115,91,52,93,0,109,95,101,108,91,51,93,0,109,95,98,97,115,105,115,0,109,95,111,114,105,103,105,110,0,109,95,114,111,111,116,78,111,100,101,73,110,100,101,120,0,109, +95,115,117,98,116,114,101,101,83,105,122,101,0,109,95,113,117,97,110,116,105,122,101,100,65,97,98,98,77,105,110,91,51,93,0,109,95,113,117,97,110,116,105,122,101,100,65,97,98,98,77,97,120,91,51,93,0,109,95,97,97,98,98,77,105,110,79,114,103,0,109,95,97,97,98,98,77,97,120,79,114,103,0,109,95,101,115,99,97,112,101,73,110,100,101,120,0,109,95,115,117,98,80,97,114,116,0,109,95,116,114,105,97,110,103,108,101,73,110,100,101,120,0,109,95,112,97,100,91,52,93,0,109,95,101,115,99,97,112,101,73,110,100,101,120, +79,114,84,114,105,97,110,103,108,101,73,110,100,101,120,0,109,95,98,118,104,65,97,98,98,77,105,110,0,109,95,98,118,104,65,97,98,98,77,97,120,0,109,95,98,118,104,81,117,97,110,116,105,122,97,116,105,111,110,0,109,95,99,117,114,78,111,100,101,73,110,100,101,120,0,109,95,117,115,101,81,117,97,110,116,105,122,97,116,105,111,110,0,109,95,110,117,109,67,111,110,116,105,103,117,111,117,115,76,101,97,102,78,111,100,101,115,0,109,95,110,117,109,81,117,97,110,116,105,122,101,100,67,111,110,116,105,103,117, +111,117,115,78,111,100,101,115,0,42,109,95,99,111,110,116,105,103,117,111,117,115,78,111,100,101,115,80,116,114,0,42,109,95,113,117,97,110,116,105,122,101,100,67,111,110,116,105,103,117,111,117,115,78,111,100,101,115,80,116,114,0,42,109,95,115,117,98,84,114,101,101,73,110,102,111,80,116,114,0,109,95,116,114,97,118,101,114,115,97,108,77,111,100,101,0,109,95,110,117,109,83,117,98,116,114,101,101,72,101,97,100,101,114,115,0,42,109,95,110,97,109,101,0,109,95,115,104,97,112,101,84,121,112,101,0,109,95, +112,97,100,100,105,110,103,91,52,93,0,109,95,99,111,108,108,105,115,105,111,110,83,104,97,112,101,68,97,116,97,0,109,95,108,111,99,97,108,83,99,97,108,105,110,103,0,109,95,112,108,97,110,101,78,111,114,109,97,108,0,109,95,112,108,97,110,101,67,111,110,115,116,97,110,116,0,109,95,105,109,112,108,105,99,105,116,83,104,97,112,101,68,105,109,101,110,115,105,111,110,115,0,109,95,99,111,108,108,105,115,105,111,110,77,97,114,103,105,110,0,109,95,112,97,100,100,105,110,103,0,109,95,112,111,115,0,109,95,114, +97,100,105,117,115,0,109,95,99,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,68,97,116,97,0,42,109,95,108,111,99,97,108,80,111,115,105,116,105,111,110,65,114,114,97,121,80,116,114,0,109,95,108,111,99,97,108,80,111,115,105,116,105,111,110,65,114,114,97,121,83,105,122,101,0,109,95,118,97,108,117,101,0,109,95,112,97,100,91,50,93,0,109,95,118,97,108,117,101,115,91,51,93,0,109,95,112,97,100,0,42,109,95,118,101,114,116,105,99,101,115,51,102,0,42,109,95,118,101,114,116,105,99,101,115, +51,100,0,42,109,95,105,110,100,105,99,101,115,51,50,0,42,109,95,51,105,110,100,105,99,101,115,49,54,0,42,109,95,51,105,110,100,105,99,101,115,56,0,42,109,95,105,110,100,105,99,101,115,49,54,0,109,95,110,117,109,84,114,105,97,110,103,108,101,115,0,109,95,110,117,109,86,101,114,116,105,99,101,115,0,42,109,95,109,101,115,104,80,97,114,116,115,80,116,114,0,109,95,115,99,97,108,105,110,103,0,109,95,110,117,109,77,101,115,104,80,97,114,116,115,0,109,95,109,101,115,104,73,110,116,101,114,102,97,99,101,0, +42,109,95,113,117,97,110,116,105,122,101,100,70,108,111,97,116,66,118,104,0,42,109,95,113,117,97,110,116,105,122,101,100,68,111,117,98,108,101,66,118,104,0,42,109,95,116,114,105,97,110,103,108,101,73,110,102,111,77,97,112,0,109,95,112,97,100,51,91,52,93,0,109,95,116,114,105,109,101,115,104,83,104,97,112,101,68,97,116,97,0,109,95,116,114,97,110,115,102,111,114,109,0,42,109,95,99,104,105,108,100,83,104,97,112,101,0,109,95,99,104,105,108,100,83,104,97,112,101,84,121,112,101,0,109,95,99,104,105,108,100, +77,97,114,103,105,110,0,42,109,95,99,104,105,108,100,83,104,97,112,101,80,116,114,0,109,95,110,117,109,67,104,105,108,100,83,104,97,112,101,115,0,109,95,117,112,65,120,105,115,0,109,95,102,108,97,103,115,0,109,95,101,100,103,101,86,48,86,49,65,110,103,108,101,0,109,95,101,100,103,101,86,49,86,50,65,110,103,108,101,0,109,95,101,100,103,101,86,50,86,48,65,110,103,108,101,0,42,109,95,104,97,115,104,84,97,98,108,101,80,116,114,0,42,109,95,110,101,120,116,80,116,114,0,42,109,95,118,97,108,117,101,65,114, +114,97,121,80,116,114,0,42,109,95,107,101,121,65,114,114,97,121,80,116,114,0,109,95,99,111,110,118,101,120,69,112,115,105,108,111,110,0,109,95,112,108,97,110,97,114,69,112,115,105,108,111,110,0,109,95,101,113,117,97,108,86,101,114,116,101,120,84,104,114,101,115,104,111,108,100,0,109,95,101,100,103,101,68,105,115,116,97,110,99,101,84,104,114,101,115,104,111,108,100,0,109,95,122,101,114,111,65,114,101,97,84,104,114,101,115,104,111,108,100,0,109,95,110,101,120,116,83,105,122,101,0,109,95,104,97,115, +104,84,97,98,108,101,83,105,122,101,0,109,95,110,117,109,86,97,108,117,101,115,0,109,95,110,117,109,75,101,121,115,0,109,95,103,105,109,112,97,99,116,83,117,98,84,121,112,101,0,42,109,95,117,110,115,99,97,108,101,100,80,111,105,110,116,115,70,108,111,97,116,80,116,114,0,42,109,95,117,110,115,99,97,108,101,100,80,111,105,110,116,115,68,111,117,98,108,101,80,116,114,0,109,95,110,117,109,85,110,115,99,97,108,101,100,80,111,105,110,116,115,0,109,95,112,97,100,100,105,110,103,51,91,52,93,0,42,109,95,98, +114,111,97,100,112,104,97,115,101,72,97,110,100,108,101,0,42,109,95,99,111,108,108,105,115,105,111,110,83,104,97,112,101,0,42,109,95,114,111,111,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,0,109,95,119,111,114,108,100,84,114,97,110,115,102,111,114,109,0,109,95,105,110,116,101,114,112,111,108,97,116,105,111,110,87,111,114,108,100,84,114,97,110,115,102,111,114,109,0,109,95,105,110,116,101,114,112,111,108,97,116,105,111,110,76,105,110,101,97,114,86,101,108,111,99,105,116,121,0,109,95,105, +110,116,101,114,112,111,108,97,116,105,111,110,65,110,103,117,108,97,114,86,101,108,111,99,105,116,121,0,109,95,97,110,105,115,111,116,114,111,112,105,99,70,114,105,99,116,105,111,110,0,109,95,99,111,110,116,97,99,116,80,114,111,99,101,115,115,105,110,103,84,104,114,101,115,104,111,108,100,0,109,95,100,101,97,99,116,105,118,97,116,105,111,110,84,105,109,101,0,109,95,102,114,105,99,116,105,111,110,0,109,95,114,101,115,116,105,116,117,116,105,111,110,0,109,95,104,105,116,70,114,97,99,116,105,111,110, +0,109,95,99,99,100,83,119,101,112,116,83,112,104,101,114,101,82,97,100,105,117,115,0,109,95,99,99,100,77,111,116,105,111,110,84,104,114,101,115,104,111,108,100,0,109,95,104,97,115,65,110,105,115,111,116,114,111,112,105,99,70,114,105,99,116,105,111,110,0,109,95,99,111,108,108,105,115,105,111,110,70,108,97,103,115,0,109,95,105,115,108,97,110,100,84,97,103,49,0,109,95,99,111,109,112,97,110,105,111,110,73,100,0,109,95,97,99,116,105,118,97,116,105,111,110,83,116,97,116,101,49,0,109,95,105,110,116,101, +114,110,97,108,84,121,112,101,0,109,95,99,104,101,99,107,67,111,108,108,105,100,101,87,105,116,104,0,109,95,99,111,108,108,105,115,105,111,110,79,98,106,101,99,116,68,97,116,97,0,109,95,105,110,118,73,110,101,114,116,105,97,84,101,110,115,111,114,87,111,114,108,100,0,109,95,108,105,110,101,97,114,86,101,108,111,99,105,116,121,0,109,95,97,110,103,117,108,97,114,86,101,108,111,99,105,116,121,0,109,95,97,110,103,117,108,97,114,70,97,99,116,111,114,0,109,95,108,105,110,101,97,114,70,97,99,116,111,114, +0,109,95,103,114,97,118,105,116,121,0,109,95,103,114,97,118,105,116,121,95,97,99,99,101,108,101,114,97,116,105,111,110,0,109,95,105,110,118,73,110,101,114,116,105,97,76,111,99,97,108,0,109,95,116,111,116,97,108,70,111,114,99,101,0,109,95,116,111,116,97,108,84,111,114,113,117,101,0,109,95,105,110,118,101,114,115,101,77,97,115,115,0,109,95,108,105,110,101,97,114,68,97,109,112,105,110,103,0,109,95,97,110,103,117,108,97,114,68,97,109,112,105,110,103,0,109,95,97,100,100,105,116,105,111,110,97,108,68,97, +109,112,105,110,103,70,97,99,116,111,114,0,109,95,97,100,100,105,116,105,111,110,97,108,76,105,110,101,97,114,68,97,109,112,105,110,103,84,104,114,101,115,104,111,108,100,83,113,114,0,109,95,97,100,100,105,116,105,111,110,97,108,65,110,103,117,108,97,114,68,97,109,112,105,110,103,84,104,114,101,115,104,111,108,100,83,113,114,0,109,95,97,100,100,105,116,105,111,110,97,108,65,110,103,117,108,97,114,68,97,109,112,105,110,103,70,97,99,116,111,114,0,109,95,108,105,110,101,97,114,83,108,101,101,112,105, +110,103,84,104,114,101,115,104,111,108,100,0,109,95,97,110,103,117,108,97,114,83,108,101,101,112,105,110,103,84,104,114,101,115,104,111,108,100,0,109,95,97,100,100,105,116,105,111,110,97,108,68,97,109,112,105,110,103,0,109,95,110,117,109,67,111,110,115,116,114,97,105,110,116,82,111,119,115,0,110,117,98,0,42,109,95,114,98,65,0,42,109,95,114,98,66,0,109,95,111,98,106,101,99,116,84,121,112,101,0,109,95,117,115,101,114,67,111,110,115,116,114,97,105,110,116,84,121,112,101,0,109,95,117,115,101,114,67,111, +110,115,116,114,97,105,110,116,73,100,0,109,95,110,101,101,100,115,70,101,101,100,98,97,99,107,0,109,95,97,112,112,108,105,101,100,73,109,112,117,108,115,101,0,109,95,100,98,103,68,114,97,119,83,105,122,101,0,109,95,100,105,115,97,98,108,101,67,111,108,108,105,115,105,111,110,115,66,101,116,119,101,101,110,76,105,110,107,101,100,66,111,100,105,101,115,0,109,95,112,97,100,52,91,52,93,0,109,95,116,121,112,101,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,109,95,112,105,118,111,116,73,110,65, +0,109,95,112,105,118,111,116,73,110,66,0,109,95,114,98,65,70,114,97,109,101,0,109,95,114,98,66,70,114,97,109,101,0,109,95,117,115,101,82,101,102,101,114,101,110,99,101,70,114,97,109,101,65,0,109,95,97,110,103,117,108,97,114,79,110,108,121,0,109,95,101,110,97,98,108,101,65,110,103,117,108,97,114,77,111,116,111,114,0,109,95,109,111,116,111,114,84,97,114,103,101,116,86,101,108,111,99,105,116,121,0,109,95,109,97,120,77,111,116,111,114,73,109,112,117,108,115,101,0,109,95,108,111,119,101,114,76,105,109, +105,116,0,109,95,117,112,112,101,114,76,105,109,105,116,0,109,95,108,105,109,105,116,83,111,102,116,110,101,115,115,0,109,95,98,105,97,115,70,97,99,116,111,114,0,109,95,114,101,108,97,120,97,116,105,111,110,70,97,99,116,111,114,0,109,95,115,119,105,110,103,83,112,97,110,49,0,109,95,115,119,105,110,103,83,112,97,110,50,0,109,95,116,119,105,115,116,83,112,97,110,0,109,95,100,97,109,112,105,110,103,0,109,95,108,105,110,101,97,114,85,112,112,101,114,76,105,109,105,116,0,109,95,108,105,110,101,97,114, +76,111,119,101,114,76,105,109,105,116,0,109,95,97,110,103,117,108,97,114,85,112,112,101,114,76,105,109,105,116,0,109,95,97,110,103,117,108,97,114,76,111,119,101,114,76,105,109,105,116,0,109,95,117,115,101,76,105,110,101,97,114,82,101,102,101,114,101,110,99,101,70,114,97,109,101,65,0,109,95,117,115,101,79,102,102,115,101,116,70,111,114,67,111,110,115,116,114,97,105,110,116,70,114,97,109,101,0,109,95,54,100,111,102,68,97,116,97,0,109,95,115,112,114,105,110,103,69,110,97,98,108,101,100,91,54,93,0,109, +95,101,113,117,105,108,105,98,114,105,117,109,80,111,105,110,116,91,54,93,0,109,95,115,112,114,105,110,103,83,116,105,102,102,110,101,115,115,91,54,93,0,109,95,115,112,114,105,110,103,68,97,109,112,105,110,103,91,54,93,0,109,95,108,105,110,101,97,114,83,116,105,102,102,110,101,115,115,0,109,95,97,110,103,117,108,97,114,83,116,105,102,102,110,101,115,115,0,109,95,118,111,108,117,109,101,83,116,105,102,102,110,101,115,115,0,42,109,95,109,97,116,101,114,105,97,108,0,109,95,112,111,115,105,116,105,111, +110,0,109,95,112,114,101,118,105,111,117,115,80,111,115,105,116,105,111,110,0,109,95,118,101,108,111,99,105,116,121,0,109,95,97,99,99,117,109,117,108,97,116,101,100,70,111,114,99,101,0,109,95,110,111,114,109,97,108,0,109,95,97,114,101,97,0,109,95,97,116,116,97,99,104,0,109,95,110,111,100,101,73,110,100,105,99,101,115,91,50,93,0,109,95,114,101,115,116,76,101,110,103,116,104,0,109,95,98,98,101,110,100,105,110,103,0,109,95,110,111,100,101,73,110,100,105,99,101,115,91,51,93,0,109,95,114,101,115,116,65, +114,101,97,0,109,95,99,48,91,52,93,0,109,95,110,111,100,101,73,110,100,105,99,101,115,91,52,93,0,109,95,114,101,115,116,86,111,108,117,109,101,0,109,95,99,49,0,109,95,99,50,0,109,95,99,48,0,109,95,108,111,99,97,108,70,114,97,109,101,0,42,109,95,114,105,103,105,100,66,111,100,121,0,109,95,110,111,100,101,73,110,100,101,120,0,109,95,97,101,114,111,77,111,100,101,108,0,109,95,98,97,117,109,103,97,114,116,101,0,109,95,100,114,97,103,0,109,95,108,105,102,116,0,109,95,112,114,101,115,115,117,114,101,0, +109,95,118,111,108,117,109,101,0,109,95,100,121,110,97,109,105,99,70,114,105,99,116,105,111,110,0,109,95,112,111,115,101,77,97,116,99,104,0,109,95,114,105,103,105,100,67,111,110,116,97,99,116,72,97,114,100,110,101,115,115,0,109,95,107,105,110,101,116,105,99,67,111,110,116,97,99,116,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,67,111,110,116,97,99,116,72,97,114,100,110,101,115,115,0,109,95,97,110,99,104,111,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,82,105,103,105,100,67, +108,117,115,116,101,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,75,105,110,101,116,105,99,67,108,117,115,116,101,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,83,111,102,116,67,108,117,115,116,101,114,72,97,114,100,110,101,115,115,0,109,95,115,111,102,116,82,105,103,105,100,67,108,117,115,116,101,114,73,109,112,117,108,115,101,83,112,108,105,116,0,109,95,115,111,102,116,75,105,110,101,116,105,99,67,108,117,115,116,101,114,73,109,112,117,108,115,101,83,112,108,105,116,0, +109,95,115,111,102,116,83,111,102,116,67,108,117,115,116,101,114,73,109,112,117,108,115,101,83,112,108,105,116,0,109,95,109,97,120,86,111,108,117,109,101,0,109,95,116,105,109,101,83,99,97,108,101,0,109,95,118,101,108,111,99,105,116,121,73,116,101,114,97,116,105,111,110,115,0,109,95,112,111,115,105,116,105,111,110,73,116,101,114,97,116,105,111,110,115,0,109,95,100,114,105,102,116,73,116,101,114,97,116,105,111,110,115,0,109,95,99,108,117,115,116,101,114,73,116,101,114,97,116,105,111,110,115,0,109,95, +114,111,116,0,109,95,115,99,97,108,101,0,109,95,97,113,113,0,109,95,99,111,109,0,42,109,95,112,111,115,105,116,105,111,110,115,0,42,109,95,119,101,105,103,104,116,115,0,109,95,110,117,109,80,111,115,105,116,105,111,110,115,0,109,95,110,117,109,87,101,105,103,116,115,0,109,95,98,118,111,108,117,109,101,0,109,95,98,102,114,97,109,101,0,109,95,102,114,97,109,101,120,102,111,114,109,0,109,95,108,111,99,105,105,0,109,95,105,110,118,119,105,0,109,95,118,105,109,112,117,108,115,101,115,91,50,93,0,109,95, +100,105,109,112,117,108,115,101,115,91,50,93,0,109,95,108,118,0,109,95,97,118,0,42,109,95,102,114,97,109,101,114,101,102,115,0,42,109,95,110,111,100,101,73,110,100,105,99,101,115,0,42,109,95,109,97,115,115,101,115,0,109,95,110,117,109,70,114,97,109,101,82,101,102,115,0,109,95,110,117,109,78,111,100,101,115,0,109,95,110,117,109,77,97,115,115,101,115,0,109,95,105,100,109,97,115,115,0,109,95,105,109,97,115,115,0,109,95,110,118,105,109,112,117,108,115,101,115,0,109,95,110,100,105,109,112,117,108,115, +101,115,0,109,95,110,100,97,109,112,105,110,103,0,109,95,108,100,97,109,112,105,110,103,0,109,95,97,100,97,109,112,105,110,103,0,109,95,109,97,116,99,104,105,110,103,0,109,95,109,97,120,83,101,108,102,67,111,108,108,105,115,105,111,110,73,109,112,117,108,115,101,0,109,95,115,101,108,102,67,111,108,108,105,115,105,111,110,73,109,112,117,108,115,101,70,97,99,116,111,114,0,109,95,99,111,110,116,97,105,110,115,65,110,99,104,111,114,0,109,95,99,111,108,108,105,100,101,0,109,95,99,108,117,115,116,101,114, +73,110,100,101,120,0,42,109,95,98,111,100,121,65,0,42,109,95,98,111,100,121,66,0,109,95,114,101,102,115,91,50,93,0,109,95,99,102,109,0,109,95,101,114,112,0,109,95,115,112,108,105,116,0,109,95,100,101,108,101,116,101,0,109,95,114,101,108,80,111,115,105,116,105,111,110,91,50,93,0,109,95,98,111,100,121,65,116,121,112,101,0,109,95,98,111,100,121,66,116,121,112,101,0,109,95,106,111,105,110,116,84,121,112,101,0,42,109,95,112,111,115,101,0,42,42,109,95,109,97,116,101,114,105,97,108,115,0,42,109,95,110,111, +100,101,115,0,42,109,95,108,105,110,107,115,0,42,109,95,102,97,99,101,115,0,42,109,95,116,101,116,114,97,104,101,100,114,97,0,42,109,95,97,110,99,104,111,114,115,0,42,109,95,99,108,117,115,116,101,114,115,0,42,109,95,106,111,105,110,116,115,0,109,95,110,117,109,77,97,116,101,114,105,97,108,115,0,109,95,110,117,109,76,105,110,107,115,0,109,95,110,117,109,70,97,99,101,115,0,109,95,110,117,109,84,101,116,114,97,104,101,100,114,97,0,109,95,110,117,109,65,110,99,104,111,114,115,0,109,95,110,117,109,67, +108,117,115,116,101,114,115,0,109,95,110,117,109,74,111,105,110,116,115,0,109,95,99,111,110,102,105,103,0,0,0,0,84,89,80,69,72,0,0,0,99,104,97,114,0,117,99,104,97,114,0,115,104,111,114,116,0,117,115,104,111,114,116,0,105,110,116,0,108,111,110,103,0,117,108,111,110,103,0,102,108,111,97,116,0,100,111,117,98,108,101,0,118,111,105,100,0,80,111,105,110,116,101,114,65,114,114,97,121,0,98,116,80,104,121,115,105,99,115,83,121,115,116,101,109,0,76,105,115,116,66,97,115,101,0,98,116,86,101,99,116,111,114,51, +70,108,111,97,116,68,97,116,97,0,98,116,86,101,99,116,111,114,51,68,111,117,98,108,101,68,97,116,97,0,98,116,77,97,116,114,105,120,51,120,51,70,108,111,97,116,68,97,116,97,0,98,116,77,97,116,114,105,120,51,120,51,68,111,117,98,108,101,68,97,116,97,0,98,116,84,114,97,110,115,102,111,114,109,70,108,111,97,116,68,97,116,97,0,98,116,84,114,97,110,115,102,111,114,109,68,111,117,98,108,101,68,97,116,97,0,98,116,66,118,104,83,117,98,116,114,101,101,73,110,102,111,68,97,116,97,0,98,116,79,112,116,105,109, +105,122,101,100,66,118,104,78,111,100,101,70,108,111,97,116,68,97,116,97,0,98,116,79,112,116,105,109,105,122,101,100,66,118,104,78,111,100,101,68,111,117,98,108,101,68,97,116,97,0,98,116,81,117,97,110,116,105,122,101,100,66,118,104,78,111,100,101,68,97,116,97,0,98,116,81,117,97,110,116,105,122,101,100,66,118,104,70,108,111,97,116,68,97,116,97,0,98,116,81,117,97,110,116,105,122,101,100,66,118,104,68,111,117,98,108,101,68,97,116,97,0,98,116,67,111,108,108,105,115,105,111,110,83,104,97,112,101,68,97, +116,97,0,98,116,83,116,97,116,105,99,80,108,97,110,101,83,104,97,112,101,68,97,116,97,0,98,116,67,111,110,118,101,120,73,110,116,101,114,110,97,108,83,104,97,112,101,68,97,116,97,0,98,116,80,111,115,105,116,105,111,110,65,110,100,82,97,100,105,117,115,0,98,116,77,117,108,116,105,83,112,104,101,114,101,83,104,97,112,101,68,97,116,97,0,98,116,73,110,116,73,110,100,101,120,68,97,116,97,0,98,116,83,104,111,114,116,73,110,116,73,110,100,101,120,68,97,116,97,0,98,116,83,104,111,114,116,73,110,116,73,110, +100,101,120,84,114,105,112,108,101,116,68,97,116,97,0,98,116,67,104,97,114,73,110,100,101,120,84,114,105,112,108,101,116,68,97,116,97,0,98,116,77,101,115,104,80,97,114,116,68,97,116,97,0,98,116,83,116,114,105,100,105,110,103,77,101,115,104,73,110,116,101,114,102,97,99,101,68,97,116,97,0,98,116,84,114,105,97,110,103,108,101,77,101,115,104,83,104,97,112,101,68,97,116,97,0,98,116,84,114,105,97,110,103,108,101,73,110,102,111,77,97,112,68,97,116,97,0,98,116,83,99,97,108,101,100,84,114,105,97,110,103,108, +101,77,101,115,104,83,104,97,112,101,68,97,116,97,0,98,116,67,111,109,112,111,117,110,100,83,104,97,112,101,67,104,105,108,100,68,97,116,97,0,98,116,67,111,109,112,111,117,110,100,83,104,97,112,101,68,97,116,97,0,98,116,67,121,108,105,110,100,101,114,83,104,97,112,101,68,97,116,97,0,98,116,67,97,112,115,117,108,101,83,104,97,112,101,68,97,116,97,0,98,116,84,114,105,97,110,103,108,101,73,110,102,111,68,97,116,97,0,98,116,71,73,109,112,97,99,116,77,101,115,104,83,104,97,112,101,68,97,116,97,0,98,116, +67,111,110,118,101,120,72,117,108,108,83,104,97,112,101,68,97,116,97,0,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,68,111,117,98,108,101,68,97,116,97,0,98,116,67,111,108,108,105,115,105,111,110,79,98,106,101,99,116,70,108,111,97,116,68,97,116,97,0,98,116,82,105,103,105,100,66,111,100,121,70,108,111,97,116,68,97,116,97,0,98,116,82,105,103,105,100,66,111,100,121,68,111,117,98,108,101,68,97,116,97,0,98,116,67,111,110,115,116,114,97,105,110,116,73,110,102,111,49,0,98,116,84,121,112, +101,100,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,82,105,103,105,100,66,111,100,121,68,97,116,97,0,98,116,80,111,105,110,116,50,80,111,105,110,116,67,111,110,115,116,114,97,105,110,116,70,108,111,97,116,68,97,116,97,0,98,116,80,111,105,110,116,50,80,111,105,110,116,67,111,110,115,116,114,97,105,110,116,68,111,117,98,108,101,68,97,116,97,0,98,116,72,105,110,103,101,67,111,110,115,116,114,97,105,110,116,68,111,117,98,108,101,68,97,116,97,0,98,116,72,105,110,103,101,67,111,110,115, +116,114,97,105,110,116,70,108,111,97,116,68,97,116,97,0,98,116,67,111,110,101,84,119,105,115,116,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,71,101,110,101,114,105,99,54,68,111,102,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,71,101,110,101,114,105,99,54,68,111,102,83,112,114,105,110,103,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,98,116,83,108,105,100,101,114,67,111,110,115,116,114,97,105,110,116,68,97,116,97,0,83,111,102,116,66,111,100,121,77,97,116,101,114, +105,97,108,68,97,116,97,0,83,111,102,116,66,111,100,121,78,111,100,101,68,97,116,97,0,83,111,102,116,66,111,100,121,76,105,110,107,68,97,116,97,0,83,111,102,116,66,111,100,121,70,97,99,101,68,97,116,97,0,83,111,102,116,66,111,100,121,84,101,116,114,97,68,97,116,97,0,83,111,102,116,82,105,103,105,100,65,110,99,104,111,114,68,97,116,97,0,83,111,102,116,66,111,100,121,67,111,110,102,105,103,68,97,116,97,0,83,111,102,116,66,111,100,121,80,111,115,101,68,97,116,97,0,83,111,102,116,66,111,100,121,67,108, +117,115,116,101,114,68,97,116,97,0,98,116,83,111,102,116,66,111,100,121,74,111,105,110,116,68,97,116,97,0,98,116,83,111,102,116,66,111,100,121,70,108,111,97,116,68,97,116,97,0,84,76,69,78,1,0,1,0,2,0,2,0,4,0,4,0,4,0,4,0,8,0,0,0,16,0,48,0,16,0,16,0,32,0,48,0,96,0,64,0,128,0,20,0,48,0,80,0,16,0,96,0,144,0,16,0,56,0,56,0,20,0,72,0,4,0,4,0,8,0,4,0,56,0,32,0,80,0,72,0,96,0,80,0,32,0,64,0,64,0,16,0,72,0,80,0,216,1,8,1,240,1,168,3,8,0,56,0,0,0,88,0,120,0,96,1,224,0,216,0,0,1,96,1,208,0,16,0,104,0,24,0,40, +0,104,0,96,0,104,0,200,0,104,1,112,0,216,1,83,84,82,67,61,0,0,0,10,0,3,0,4,0,0,0,4,0,1,0,9,0,2,0,11,0,3,0,10,0,3,0,10,0,4,0,10,0,5,0,12,0,2,0,9,0,6,0,9,0,7,0,13,0,1,0,7,0,8,0,14,0,1,0,8,0,8,0,15,0,1,0,13,0,9,0,16,0,1,0,14,0,9,0,17,0,2,0,15,0,10,0,13,0,11,0,18,0,2,0,16,0,10,0,14,0,11,0,19,0,4,0,4,0,12,0,4,0,13,0,2,0,14,0,2,0,15,0,20,0,6,0,13,0,16,0,13,0,17,0,4,0,18,0,4,0,19,0,4,0,20,0,0,0,21,0,21,0,6,0,14,0,16,0,14,0,17,0,4,0,18,0,4,0,19,0,4,0,20,0,0,0,21,0,22,0,3,0,2,0,14,0,2,0,15,0,4,0,22,0,23,0, +12,0,13,0,23,0,13,0,24,0,13,0,25,0,4,0,26,0,4,0,27,0,4,0,28,0,4,0,29,0,20,0,30,0,22,0,31,0,19,0,32,0,4,0,33,0,4,0,34,0,24,0,12,0,14,0,23,0,14,0,24,0,14,0,25,0,4,0,26,0,4,0,27,0,4,0,28,0,4,0,29,0,21,0,30,0,22,0,31,0,4,0,33,0,4,0,34,0,19,0,32,0,25,0,3,0,0,0,35,0,4,0,36,0,0,0,37,0,26,0,5,0,25,0,38,0,13,0,39,0,13,0,40,0,7,0,41,0,0,0,21,0,27,0,5,0,25,0,38,0,13,0,39,0,13,0,42,0,7,0,43,0,4,0,44,0,28,0,2,0,13,0,45,0,7,0,46,0,29,0,4,0,27,0,47,0,28,0,48,0,4,0,49,0,0,0,37,0,30,0,1,0,4,0,50,0,31,0,2,0,2,0,50, +0,0,0,51,0,32,0,2,0,2,0,52,0,0,0,51,0,33,0,2,0,0,0,52,0,0,0,53,0,34,0,8,0,13,0,54,0,14,0,55,0,30,0,56,0,32,0,57,0,33,0,58,0,31,0,59,0,4,0,60,0,4,0,61,0,35,0,4,0,34,0,62,0,13,0,63,0,4,0,64,0,0,0,37,0,36,0,7,0,25,0,38,0,35,0,65,0,23,0,66,0,24,0,67,0,37,0,68,0,7,0,43,0,0,0,69,0,38,0,2,0,36,0,70,0,13,0,39,0,39,0,4,0,17,0,71,0,25,0,72,0,4,0,73,0,7,0,74,0,40,0,4,0,25,0,38,0,39,0,75,0,4,0,76,0,7,0,43,0,41,0,3,0,27,0,47,0,4,0,77,0,0,0,37,0,42,0,3,0,27,0,47,0,4,0,77,0,0,0,37,0,43,0,4,0,4,0,78,0,7,0,79,0,7, +0,80,0,7,0,81,0,37,0,14,0,4,0,82,0,4,0,83,0,43,0,84,0,4,0,85,0,7,0,86,0,7,0,87,0,7,0,88,0,7,0,89,0,7,0,90,0,4,0,91,0,4,0,92,0,4,0,93,0,4,0,94,0,0,0,37,0,44,0,5,0,25,0,38,0,35,0,65,0,13,0,39,0,7,0,43,0,4,0,95,0,45,0,5,0,27,0,47,0,13,0,96,0,14,0,97,0,4,0,98,0,0,0,99,0,46,0,24,0,9,0,100,0,9,0,101,0,25,0,102,0,0,0,35,0,18,0,103,0,18,0,104,0,14,0,105,0,14,0,106,0,14,0,107,0,8,0,108,0,8,0,109,0,8,0,110,0,8,0,111,0,8,0,112,0,8,0,113,0,8,0,114,0,4,0,115,0,4,0,116,0,4,0,117,0,4,0,118,0,4,0,119,0,4,0,120,0, +4,0,121,0,0,0,37,0,47,0,23,0,9,0,100,0,9,0,101,0,25,0,102,0,0,0,35,0,17,0,103,0,17,0,104,0,13,0,105,0,13,0,106,0,13,0,107,0,7,0,108,0,7,0,109,0,7,0,110,0,7,0,111,0,7,0,112,0,7,0,113,0,7,0,114,0,4,0,115,0,4,0,116,0,4,0,117,0,4,0,118,0,4,0,119,0,4,0,120,0,4,0,121,0,48,0,21,0,47,0,122,0,15,0,123,0,13,0,124,0,13,0,125,0,13,0,126,0,13,0,127,0,13,0,128,0,13,0,129,0,13,0,130,0,13,0,131,0,13,0,132,0,7,0,133,0,7,0,134,0,7,0,135,0,7,0,136,0,7,0,137,0,7,0,138,0,7,0,139,0,7,0,140,0,7,0,141,0,4,0,142,0,49,0,22, +0,46,0,122,0,16,0,123,0,14,0,124,0,14,0,125,0,14,0,126,0,14,0,127,0,14,0,128,0,14,0,129,0,14,0,130,0,14,0,131,0,14,0,132,0,8,0,133,0,8,0,134,0,8,0,135,0,8,0,136,0,8,0,137,0,8,0,138,0,8,0,139,0,8,0,140,0,8,0,141,0,4,0,142,0,0,0,37,0,50,0,2,0,4,0,143,0,4,0,144,0,51,0,11,0,52,0,145,0,52,0,146,0,0,0,35,0,4,0,147,0,4,0,148,0,4,0,149,0,4,0,150,0,7,0,151,0,7,0,152,0,4,0,153,0,0,0,154,0,53,0,3,0,51,0,155,0,13,0,156,0,13,0,157,0,54,0,3,0,51,0,155,0,14,0,156,0,14,0,157,0,55,0,13,0,51,0,155,0,18,0,158,0,18, +0,159,0,4,0,160,0,4,0,161,0,4,0,162,0,7,0,163,0,7,0,164,0,7,0,165,0,7,0,166,0,7,0,167,0,7,0,168,0,7,0,169,0,56,0,13,0,51,0,155,0,17,0,158,0,17,0,159,0,4,0,160,0,4,0,161,0,4,0,162,0,7,0,163,0,7,0,164,0,7,0,165,0,7,0,166,0,7,0,167,0,7,0,168,0,7,0,169,0,57,0,11,0,51,0,155,0,17,0,158,0,17,0,159,0,7,0,170,0,7,0,171,0,7,0,172,0,7,0,167,0,7,0,168,0,7,0,169,0,7,0,173,0,0,0,21,0,58,0,9,0,51,0,155,0,17,0,158,0,17,0,159,0,13,0,174,0,13,0,175,0,13,0,176,0,13,0,177,0,4,0,178,0,4,0,179,0,59,0,5,0,58,0,180,0,4, +0,181,0,7,0,182,0,7,0,183,0,7,0,184,0,60,0,9,0,51,0,155,0,17,0,158,0,17,0,159,0,7,0,174,0,7,0,175,0,7,0,176,0,7,0,177,0,4,0,178,0,4,0,179,0,61,0,4,0,7,0,185,0,7,0,186,0,7,0,187,0,4,0,78,0,62,0,10,0,61,0,188,0,13,0,189,0,13,0,190,0,13,0,191,0,13,0,192,0,13,0,193,0,7,0,133,0,7,0,194,0,4,0,195,0,4,0,53,0,63,0,4,0,61,0,188,0,4,0,196,0,7,0,197,0,4,0,198,0,64,0,4,0,13,0,193,0,61,0,188,0,4,0,199,0,7,0,200,0,65,0,7,0,13,0,201,0,61,0,188,0,4,0,202,0,7,0,203,0,7,0,204,0,7,0,205,0,4,0,53,0,66,0,6,0,15,0,206, +0,13,0,204,0,13,0,207,0,52,0,208,0,4,0,209,0,7,0,205,0,67,0,26,0,4,0,210,0,7,0,211,0,7,0,173,0,7,0,212,0,7,0,213,0,7,0,214,0,7,0,215,0,7,0,216,0,7,0,217,0,7,0,218,0,7,0,219,0,7,0,220,0,7,0,221,0,7,0,222,0,7,0,223,0,7,0,224,0,7,0,225,0,7,0,226,0,7,0,227,0,7,0,228,0,7,0,229,0,4,0,230,0,4,0,231,0,4,0,232,0,4,0,233,0,4,0,116,0,68,0,12,0,15,0,234,0,15,0,235,0,15,0,236,0,13,0,237,0,13,0,238,0,7,0,239,0,4,0,240,0,4,0,241,0,4,0,242,0,4,0,243,0,7,0,203,0,4,0,53,0,69,0,27,0,17,0,244,0,15,0,245,0,15,0,246,0, +13,0,237,0,13,0,247,0,13,0,248,0,13,0,249,0,13,0,250,0,13,0,251,0,4,0,252,0,7,0,253,0,4,0,254,0,4,0,255,0,4,0,0,1,7,0,1,1,7,0,2,1,4,0,3,1,4,0,4,1,7,0,5,1,7,0,6,1,7,0,7,1,7,0,8,1,7,0,9,1,7,0,10,1,4,0,11,1,4,0,12,1,4,0,13,1,70,0,12,0,9,0,14,1,9,0,15,1,13,0,16,1,7,0,17,1,7,0,18,1,7,0,19,1,4,0,20,1,13,0,21,1,4,0,22,1,4,0,23,1,4,0,24,1,4,0,53,0,71,0,19,0,47,0,122,0,68,0,25,1,61,0,26,1,62,0,27,1,63,0,28,1,64,0,29,1,65,0,30,1,66,0,31,1,69,0,32,1,70,0,33,1,4,0,34,1,4,0,255,0,4,0,35,1,4,0,36,1,4,0,37,1,4, +0,38,1,4,0,39,1,4,0,40,1,67,0,41,1],0,ALLOC_STATIC);_sBulletDNAlen64=Pointer_make([8276],0,ALLOC_STATIC);_planetestepsilon=Pointer_make([0.0010000000474974513],0,ALLOC_STATIC);IHEAP[__ZTV17btTypedConstraint+1]=__ZTI17btTypedConstraint;IHEAP[__ZTV17btTypedConstraint+6]=___cxa_pure_virtual;IHEAP[__ZTV17btTypedConstraint+7]=___cxa_pure_virtual;IHEAP[__ZTV17btTypedConstraint+9]=___cxa_pure_virtual;IHEAP[__ZTV17btTypedConstraint+10]=___cxa_pure_virtual;IHEAP[__ZTI13btTypedObject]=__ZTVN10__cxxabiv117__class_type_infoE+ +2;IHEAP[__ZTI13btTypedObject+1]=__ZTS13btTypedObject;IHEAP[__ZTI17btTypedConstraint]=__ZTVN10__cxxabiv121__vmi_class_type_infoE+2;IHEAP[__ZTI17btTypedConstraint+1]=__ZTS17btTypedConstraint;IHEAP[__ZTI17btTypedConstraint+4]=__ZTI13btTypedObject;IHEAP[__ZTV20btDefaultMotionState+1]=__ZTI20btDefaultMotionState;IHEAP[__ZTI13btMotionState]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI13btMotionState+1]=__ZTS13btMotionState;IHEAP[__ZTI20btDefaultMotionState]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI20btDefaultMotionState+1]=__ZTS20btDefaultMotionState;IHEAP[__ZTI20btDefaultMotionState+2]=__ZTI13btMotionState;IHEAP[__ZTV13btMotionState+1]=__ZTI13btMotionState;IHEAP[__ZTV13btMotionState+4]=___cxa_pure_virtual;IHEAP[__ZTV13btMotionState+5]=___cxa_pure_virtual;IHEAP[__ZTV25btTriangleRaycastCallback+1]=__ZTI25btTriangleRaycastCallback;IHEAP[__ZTV25btTriangleRaycastCallback+5]=___cxa_pure_virtual;IHEAP[__ZTV28btTriangleConvexcastCallback+1]=__ZTI28btTriangleConvexcastCallback;IHEAP[__ZTV28btTriangleConvexcastCallback+ +5]=___cxa_pure_virtual;IHEAP[__ZTI25btTriangleRaycastCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI25btTriangleRaycastCallback+1]=__ZTS25btTriangleRaycastCallback;IHEAP[__ZTI25btTriangleRaycastCallback+2]=__ZTI18btTriangleCallback;IHEAP[__ZTI28btTriangleConvexcastCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI28btTriangleConvexcastCallback+1]=__ZTS28btTriangleConvexcastCallback;IHEAP[__ZTI28btTriangleConvexcastCallback+2]=__ZTI18btTriangleCallback;IHEAP[__ZTV15btTriangleShape+ +1]=__ZTI15btTriangleShape;IHEAP[__ZTI15btTriangleShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btTriangleShape+1]=__ZTS15btTriangleShape;IHEAP[__ZTI15btTriangleShape+2]=__ZTI23btPolyhedralConvexShape;IHEAP[__ZTV30btConvexPenetrationDepthSolver+1]=__ZTI30btConvexPenetrationDepthSolver;IHEAP[__ZTV30btConvexPenetrationDepthSolver+4]=___cxa_pure_virtual;IHEAP[__ZTI30btConvexPenetrationDepthSolver]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI30btConvexPenetrationDepthSolver+1]= +__ZTS30btConvexPenetrationDepthSolver;IHEAP[__ZTVN12btConvexCast10CastResultE+1]=__ZTIN12btConvexCast10CastResultE;IHEAP[__ZTIN12btConvexCast10CastResultE]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTIN12btConvexCast10CastResultE+1]=__ZTSN12btConvexCast10CastResultE;IHEAP[__ZTV33btMinkowskiPenetrationDepthSolver+1]=__ZTI33btMinkowskiPenetrationDepthSolver;IHEAP[__ZTI33btMinkowskiPenetrationDepthSolver]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI33btMinkowskiPenetrationDepthSolver+ +1]=__ZTS33btMinkowskiPenetrationDepthSolver;IHEAP[__ZTI33btMinkowskiPenetrationDepthSolver+2]=__ZTI30btConvexPenetrationDepthSolver;IHEAP[__ZTV36btDiscreteCollisionDetectorInterface+1]=__ZTI36btDiscreteCollisionDetectorInterface;IHEAP[__ZTV36btDiscreteCollisionDetectorInterface+4]=___cxa_pure_virtual;IHEAP[__ZTI36btDiscreteCollisionDetectorInterface]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI36btDiscreteCollisionDetectorInterface+1]=__ZTS36btDiscreteCollisionDetectorInterface;IHEAP[__ZTVZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+ +1]=__ZTIZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult;IHEAP[__ZTIN36btDiscreteCollisionDetectorInterface6ResultE]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTIN36btDiscreteCollisionDetectorInterface6ResultE+1]=__ZTSN36btDiscreteCollisionDetectorInterface6ResultE;IHEAP[__ZTIZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+1]=__ZTSZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult;IHEAP[__ZTIZN33btMinkowskiPenetrationDepthSolver12calcPenDepthER22btVoronoiSimplexSolverPK13btConvexShapeS4_RK11btTransformS7_R9btVector3S9_S9_P12btIDebugDrawP12btStackAllocE20btIntermediateResult+ +2]=__ZTIN36btDiscreteCollisionDetectorInterface6ResultE;IHEAP[__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+1]=__ZTIN36btDiscreteCollisionDetectorInterface6ResultE;IHEAP[__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+4]=___cxa_pure_virtual;IHEAP[__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+5]=___cxa_pure_virtual;IHEAP[__ZTVN36btDiscreteCollisionDetectorInterface6ResultE+6]=___cxa_pure_virtual;IHEAP[__ZTV22btSubsimplexConvexCast+1]=__ZTI22btSubsimplexConvexCast;IHEAP[__ZTI22btSubsimplexConvexCast]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI22btSubsimplexConvexCast+1]=__ZTS22btSubsimplexConvexCast;IHEAP[__ZTI22btSubsimplexConvexCast+2]=__ZTI12btConvexCast;IHEAP[__ZTV30btGjkEpaPenetrationDepthSolver+1]=__ZTI30btGjkEpaPenetrationDepthSolver;IHEAP[__ZTI30btGjkEpaPenetrationDepthSolver]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI30btGjkEpaPenetrationDepthSolver+1]=__ZTS30btGjkEpaPenetrationDepthSolver;IHEAP[__ZTI30btGjkEpaPenetrationDepthSolver+2]=__ZTI30btConvexPenetrationDepthSolver; +IHEAP[__ZTV15btGjkConvexCast+1]=__ZTI15btGjkConvexCast;IHEAP[__ZTI15btGjkConvexCast]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btGjkConvexCast+1]=__ZTS15btGjkConvexCast;IHEAP[__ZTI15btGjkConvexCast+2]=__ZTI12btConvexCast;IHEAP[__ZTV16btPointCollector+1]=__ZTI16btPointCollector;IHEAP[__ZTI16btPointCollector]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btPointCollector+1]=__ZTS16btPointCollector;IHEAP[__ZTI16btPointCollector+2]=__ZTIN36btDiscreteCollisionDetectorInterface6ResultE; +IHEAP[__ZTV12btConvexCast+1]=__ZTI12btConvexCast;IHEAP[__ZTV12btConvexCast+4]=___cxa_pure_virtual;IHEAP[__ZTI12btConvexCast]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI12btConvexCast+1]=__ZTS12btConvexCast;IHEAP[__ZTV27btContinuousConvexCollision+1]=__ZTI27btContinuousConvexCollision;IHEAP[__ZTI27btContinuousConvexCollision]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI27btContinuousConvexCollision+1]=__ZTS27btContinuousConvexCollision;IHEAP[__ZTI27btContinuousConvexCollision+2]= +__ZTI12btConvexCast;IHEAP[__ZTV17btGjkPairDetector+1]=__ZTI17btGjkPairDetector;IHEAP[__ZTI17btGjkPairDetector]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI17btGjkPairDetector+1]=__ZTS17btGjkPairDetector;IHEAP[__ZTI17btGjkPairDetector+2]=__ZTI36btDiscreteCollisionDetectorInterface;IHEAP[__ZTV30btActivatingCollisionAlgorithm+1]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTV30btActivatingCollisionAlgorithm+4]=___cxa_pure_virtual;IHEAP[__ZTV30btActivatingCollisionAlgorithm+5]=___cxa_pure_virtual; +IHEAP[__ZTV30btActivatingCollisionAlgorithm+6]=___cxa_pure_virtual;IHEAP[__ZTI20btCollisionAlgorithm]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI20btCollisionAlgorithm+1]=__ZTS20btCollisionAlgorithm;IHEAP[__ZTI30btActivatingCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI30btActivatingCollisionAlgorithm+1]=__ZTS30btActivatingCollisionAlgorithm;IHEAP[__ZTI30btActivatingCollisionAlgorithm+2]=__ZTI20btCollisionAlgorithm;IHEAP[__ZTV20btCollisionAlgorithm+1]=__ZTI20btCollisionAlgorithm; +IHEAP[__ZTV20btCollisionAlgorithm+4]=___cxa_pure_virtual;IHEAP[__ZTV20btCollisionAlgorithm+5]=___cxa_pure_virtual;IHEAP[__ZTV20btCollisionAlgorithm+6]=___cxa_pure_virtual;IHEAP[__ZTV17btCollisionObject+1]=__ZTI17btCollisionObject;IHEAP[__ZTI17btCollisionObject]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI17btCollisionObject+1]=__ZTS17btCollisionObject;IHEAP[__ZTV16btEmptyAlgorithm+1]=__ZTI16btEmptyAlgorithm;IHEAP[__ZTI16btEmptyAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btEmptyAlgorithm+ +1]=__ZTS16btEmptyAlgorithm;IHEAP[__ZTI16btEmptyAlgorithm+2]=__ZTI20btCollisionAlgorithm;IHEAP[__ZTV13btGhostObject+1]=__ZTI13btGhostObject;IHEAP[__ZTV24btPairCachingGhostObject+1]=__ZTI24btPairCachingGhostObject;IHEAP[__ZTI13btGhostObject]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI13btGhostObject+1]=__ZTS13btGhostObject;IHEAP[__ZTI13btGhostObject+2]=__ZTI17btCollisionObject;IHEAP[__ZTI24btPairCachingGhostObject]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI24btPairCachingGhostObject+ +1]=__ZTS24btPairCachingGhostObject;IHEAP[__ZTI24btPairCachingGhostObject+2]=__ZTI13btGhostObject;IHEAP[__ZTV32btSphereSphereCollisionAlgorithm+1]=__ZTI32btSphereSphereCollisionAlgorithm;IHEAP[__ZTI32btSphereSphereCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI32btSphereSphereCollisionAlgorithm+1]=__ZTS32btSphereSphereCollisionAlgorithm;IHEAP[__ZTI32btSphereSphereCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTV29btSphereBoxCollisionAlgorithm+1]=__ZTI29btSphereBoxCollisionAlgorithm; +IHEAP[__ZTI29btSphereBoxCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI29btSphereBoxCollisionAlgorithm+1]=__ZTS29btSphereBoxCollisionAlgorithm;IHEAP[__ZTI29btSphereBoxCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTV21btCollisionDispatcher+1]=__ZTI21btCollisionDispatcher;IHEAP[__ZTI21btCollisionDispatcher]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21btCollisionDispatcher+1]=__ZTS21btCollisionDispatcher;IHEAP[__ZTI21btCollisionDispatcher+ +2]=__ZTI12btDispatcher;IHEAP[__ZTV23btCollisionPairCallback+1]=__ZTI23btCollisionPairCallback;IHEAP[__ZTI17btOverlapCallback]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI17btOverlapCallback+1]=__ZTS17btOverlapCallback;IHEAP[__ZTI23btCollisionPairCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btCollisionPairCallback+1]=__ZTS23btCollisionPairCallback;IHEAP[__ZTI23btCollisionPairCallback+2]=__ZTI17btOverlapCallback;IHEAP[__ZTV17btOverlapCallback+1]=__ZTI17btOverlapCallback; +IHEAP[__ZTV17btOverlapCallback+4]=___cxa_pure_virtual;IHEAP[__ZTV31btDefaultCollisionConfiguration+1]=__ZTI31btDefaultCollisionConfiguration;IHEAP[__ZTI24btCollisionConfiguration]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI24btCollisionConfiguration+1]=__ZTS24btCollisionConfiguration;IHEAP[__ZTI31btDefaultCollisionConfiguration]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI31btDefaultCollisionConfiguration+1]=__ZTS31btDefaultCollisionConfiguration;IHEAP[__ZTI31btDefaultCollisionConfiguration+ +2]=__ZTI24btCollisionConfiguration;IHEAP[__ZTV24btCollisionConfiguration+1]=__ZTI24btCollisionConfiguration;IHEAP[__ZTV24btCollisionConfiguration+4]=___cxa_pure_virtual;IHEAP[__ZTV24btCollisionConfiguration+5]=___cxa_pure_virtual;IHEAP[__ZTV24btCollisionConfiguration+6]=___cxa_pure_virtual;IHEAP[__ZTV24btCollisionConfiguration+7]=___cxa_pure_virtual;IHEAP[__ZTVN31btConvexPlaneCollisionAlgorithm10CreateFuncE+1]=__ZTIN31btConvexPlaneCollisionAlgorithm10CreateFuncE;IHEAP[__ZTI30btCollisionAlgorithmCreateFunc]= +__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI30btCollisionAlgorithmCreateFunc+1]=__ZTS30btCollisionAlgorithmCreateFunc;IHEAP[__ZTIN31btConvexPlaneCollisionAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN31btConvexPlaneCollisionAlgorithm10CreateFuncE+1]=__ZTSN31btConvexPlaneCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN31btConvexPlaneCollisionAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTV30btCollisionAlgorithmCreateFunc+1]=__ZTI30btCollisionAlgorithmCreateFunc; +IHEAP[__ZTVN26btBoxBoxCollisionAlgorithm10CreateFuncE+1]=__ZTIN26btBoxBoxCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN26btBoxBoxCollisionAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN26btBoxBoxCollisionAlgorithm10CreateFuncE+1]=__ZTSN26btBoxBoxCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN26btBoxBoxCollisionAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN34btSphereTriangleCollisionAlgorithm10CreateFuncE+1]=__ZTIN34btSphereTriangleCollisionAlgorithm10CreateFuncE; +IHEAP[__ZTIN34btSphereTriangleCollisionAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN34btSphereTriangleCollisionAlgorithm10CreateFuncE+1]=__ZTSN34btSphereTriangleCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN34btSphereTriangleCollisionAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN32btSphereSphereCollisionAlgorithm10CreateFuncE+1]=__ZTIN32btSphereSphereCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN32btSphereSphereCollisionAlgorithm10CreateFuncE]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN32btSphereSphereCollisionAlgorithm10CreateFuncE+1]=__ZTSN32btSphereSphereCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN32btSphereSphereCollisionAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN16btEmptyAlgorithm10CreateFuncE+1]=__ZTIN16btEmptyAlgorithm10CreateFuncE;IHEAP[__ZTIN16btEmptyAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN16btEmptyAlgorithm10CreateFuncE+1]=__ZTSN16btEmptyAlgorithm10CreateFuncE; +IHEAP[__ZTIN16btEmptyAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN28btCompoundCollisionAlgorithm17SwappedCreateFuncE+1]=__ZTIN28btCompoundCollisionAlgorithm17SwappedCreateFuncE;IHEAP[__ZTIN28btCompoundCollisionAlgorithm17SwappedCreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN28btCompoundCollisionAlgorithm17SwappedCreateFuncE+1]=__ZTSN28btCompoundCollisionAlgorithm17SwappedCreateFuncE;IHEAP[__ZTIN28btCompoundCollisionAlgorithm17SwappedCreateFuncE+ +2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN28btCompoundCollisionAlgorithm10CreateFuncE+1]=__ZTIN28btCompoundCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN28btCompoundCollisionAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN28btCompoundCollisionAlgorithm10CreateFuncE+1]=__ZTSN28btCompoundCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN28btCompoundCollisionAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE+ +1]=__ZTIN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE;IHEAP[__ZTIN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE+1]=__ZTSN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE;IHEAP[__ZTIN33btConvexConcaveCollisionAlgorithm17SwappedCreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTVN33btConvexConcaveCollisionAlgorithm10CreateFuncE+1]=__ZTIN33btConvexConcaveCollisionAlgorithm10CreateFuncE; +IHEAP[__ZTIN33btConvexConcaveCollisionAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN33btConvexConcaveCollisionAlgorithm10CreateFuncE+1]=__ZTSN33btConvexConcaveCollisionAlgorithm10CreateFuncE;IHEAP[__ZTIN33btConvexConcaveCollisionAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTV25btSimulationIslandManager+1]=__ZTI25btSimulationIslandManager;IHEAP[__ZTI25btSimulationIslandManager]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI25btSimulationIslandManager+ +1]=__ZTS25btSimulationIslandManager;IHEAP[__ZTV16btBoxBoxDetector+1]=__ZTI16btBoxBoxDetector;IHEAP[__ZTI16btBoxBoxDetector]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btBoxBoxDetector+1]=__ZTS16btBoxBoxDetector;IHEAP[__ZTI16btBoxBoxDetector+2]=__ZTI36btDiscreteCollisionDetectorInterface;IHEAP[__ZTV31btConvexPlaneCollisionAlgorithm+1]=__ZTI31btConvexPlaneCollisionAlgorithm;IHEAP[__ZTI31btConvexPlaneCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI31btConvexPlaneCollisionAlgorithm+ +1]=__ZTS31btConvexPlaneCollisionAlgorithm;IHEAP[__ZTI31btConvexPlaneCollisionAlgorithm+2]=__ZTI20btCollisionAlgorithm;IHEAP[__ZTV33btConvexConcaveCollisionAlgorithm+1]=__ZTI33btConvexConcaveCollisionAlgorithm;IHEAP[__ZTV24btConvexTriangleCallback+1]=__ZTI24btConvexTriangleCallback;IHEAP[__ZTI33btConvexConcaveCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI33btConvexConcaveCollisionAlgorithm+1]=__ZTS33btConvexConcaveCollisionAlgorithm;IHEAP[__ZTI33btConvexConcaveCollisionAlgorithm+ +2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTI24btConvexTriangleCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI24btConvexTriangleCallback+1]=__ZTS24btConvexTriangleCallback;IHEAP[__ZTI24btConvexTriangleCallback+2]=__ZTI18btTriangleCallback;IHEAP[__ZTVZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+1]=__ZTIZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback; +IHEAP[__ZTIZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+1]=__ZTSZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback; +IHEAP[__ZTIZN33btConvexConcaveCollisionAlgorithm21calculateTimeOfImpactEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE31LocalTriangleSphereCastCallback+2]=__ZTI18btTriangleCallback;IHEAP[__ZTV26btBoxBoxCollisionAlgorithm+1]=__ZTI26btBoxBoxCollisionAlgorithm;IHEAP[__ZTI26btBoxBoxCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI26btBoxBoxCollisionAlgorithm+1]=__ZTS26btBoxBoxCollisionAlgorithm;IHEAP[__ZTI26btBoxBoxCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm; +IHEAP[__ZTV30btBox2dBox2dCollisionAlgorithm+1]=__ZTI30btBox2dBox2dCollisionAlgorithm;IHEAP[__ZTI30btBox2dBox2dCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI30btBox2dBox2dCollisionAlgorithm+1]=__ZTS30btBox2dBox2dCollisionAlgorithm;IHEAP[__ZTI30btBox2dBox2dCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTV22SphereTriangleDetector+1]=__ZTI22SphereTriangleDetector;IHEAP[__ZTI22SphereTriangleDetector]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI22SphereTriangleDetector+ +1]=__ZTS22SphereTriangleDetector;IHEAP[__ZTI22SphereTriangleDetector+2]=__ZTI36btDiscreteCollisionDetectorInterface;IHEAP[__ZTV16btManifoldResult+1]=__ZTI16btManifoldResult;IHEAP[__ZTI16btManifoldResult]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btManifoldResult+1]=__ZTS16btManifoldResult;IHEAP[__ZTI16btManifoldResult+2]=__ZTIN36btDiscreteCollisionDetectorInterface6ResultE;IHEAP[__ZTV16btCollisionWorld+1]=__ZTI16btCollisionWorld;IHEAP[__ZTI16btCollisionWorld]=__ZTVN10__cxxabiv117__class_type_infoE+ +2;IHEAP[__ZTI16btCollisionWorld+1]=__ZTS16btCollisionWorld;IHEAP[__ZTV17DebugDrawcallback+1]=__ZTI17DebugDrawcallback;IHEAP[__ZTV17DebugDrawcallback+7]=__ZTI17DebugDrawcallback;IHEAP[__ZTI17DebugDrawcallback]=__ZTVN10__cxxabiv121__vmi_class_type_infoE+2;IHEAP[__ZTI17DebugDrawcallback+1]=__ZTS17DebugDrawcallback;IHEAP[__ZTI17DebugDrawcallback+4]=__ZTI18btTriangleCallback;IHEAP[__ZTI17DebugDrawcallback+6]=__ZTI31btInternalTriangleIndexCallback;IHEAP[__ZTI24btBroadphaseAabbCallback]=__ZTVN10__cxxabiv117__class_type_infoE+ +2;IHEAP[__ZTI24btBroadphaseAabbCallback+1]=__ZTS24btBroadphaseAabbCallback;IHEAP[__ZTV24btBroadphaseAabbCallback+1]=__ZTI24btBroadphaseAabbCallback;IHEAP[__ZTV24btBroadphaseAabbCallback+4]=___cxa_pure_virtual;IHEAP[__ZTV21btSingleSweepCallback+1]=__ZTI21btSingleSweepCallback;IHEAP[__ZTI23btBroadphaseRayCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btBroadphaseRayCallback+1]=__ZTS23btBroadphaseRayCallback;IHEAP[__ZTI23btBroadphaseRayCallback+2]=__ZTI24btBroadphaseAabbCallback; +IHEAP[__ZTI21btSingleSweepCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21btSingleSweepCallback+1]=__ZTS21btSingleSweepCallback;IHEAP[__ZTI21btSingleSweepCallback+2]=__ZTI23btBroadphaseRayCallback;IHEAP[__ZTV23btBroadphaseRayCallback+1]=__ZTI23btBroadphaseRayCallback;IHEAP[__ZTV23btBroadphaseRayCallback+4]=___cxa_pure_virtual;IHEAP[__ZTV19btSingleRayCallback+1]=__ZTI19btSingleRayCallback;IHEAP[__ZTI19btSingleRayCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI19btSingleRayCallback+ +1]=__ZTS19btSingleRayCallback;IHEAP[__ZTI19btSingleRayCallback+2]=__ZTI23btBroadphaseRayCallback;IHEAP[__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+1]=__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1;IHEAP[__ZTIN16btCollisionWorld20ConvexResultCallbackE]= +__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTIN16btCollisionWorld20ConvexResultCallbackE+1]=__ZTSN16btCollisionWorld20ConvexResultCallbackE;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+ +1]=__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE14LocalInfoAdder_1+2]=__ZTIN16btCollisionWorld20ConvexResultCallbackE;IHEAP[__ZTVN16btCollisionWorld20ConvexResultCallbackE+1]=__ZTIN16btCollisionWorld20ConvexResultCallbackE; +IHEAP[__ZTVN16btCollisionWorld20ConvexResultCallbackE+5]=___cxa_pure_virtual;IHEAP[__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+1]=__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+1]=__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback_0+ +2]=__ZTI28btTriangleConvexcastCallback;IHEAP[__ZTVZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+1]=__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+1]=__ZTSZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback;IHEAP[__ZTIZN16btCollisionWorld17objectQuerySingleEPK13btConvexShapeRK11btTransformS5_P17btCollisionObjectPK16btCollisionShapeS5_RNS_20ConvexResultCallbackEfE32BridgeTriangleConvexcastCallback+ +2]=__ZTI28btTriangleConvexcastCallback;IHEAP[__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+1]=__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1;IHEAP[__ZTIN6btDbvt8ICollideE]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTIN6btDbvt8ICollideE+1]=__ZTSN6btDbvt8ICollideE;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+1]=__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE9RayTester_1+2]=__ZTIN6btDbvt8ICollideE; +IHEAP[__ZTVN6btDbvt8ICollideE+1]=__ZTIN6btDbvt8ICollideE;IHEAP[__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+1]=__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2;IHEAP[__ZTIN16btCollisionWorld17RayResultCallbackE]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTIN16btCollisionWorld17RayResultCallbackE+1]= +__ZTSN16btCollisionWorld17RayResultCallbackE;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+1]=__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2; +IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE15LocalInfoAdder2+2]=__ZTIN16btCollisionWorld17RayResultCallbackE;IHEAP[__ZTVN16btCollisionWorld17RayResultCallbackE+1]=__ZTIN16btCollisionWorld17RayResultCallbackE;IHEAP[__ZTVN16btCollisionWorld17RayResultCallbackE+5]=___cxa_pure_virtual;IHEAP[__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+ +1]=__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+ +1]=__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback_0+2]=__ZTI25btTriangleRaycastCallback;IHEAP[__ZTVZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+ +1]=__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+ +1]=__ZTSZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback;IHEAP[__ZTIZN16btCollisionWorld13rayTestSingleERK11btTransformS2_P17btCollisionObjectPK16btCollisionShapeS2_RNS_17RayResultCallbackEE29BridgeTriangleRaycastCallback+2]=__ZTI25btTriangleRaycastCallback;IHEAP[__ZTV34btSphereTriangleCollisionAlgorithm+1]=__ZTI34btSphereTriangleCollisionAlgorithm;IHEAP[__ZTI34btSphereTriangleCollisionAlgorithm]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI34btSphereTriangleCollisionAlgorithm+1]=__ZTS34btSphereTriangleCollisionAlgorithm;IHEAP[__ZTI34btSphereTriangleCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTVN23btConvexConvexAlgorithm10CreateFuncE+1]=__ZTIN23btConvexConvexAlgorithm10CreateFuncE;IHEAP[__ZTV23btConvexConvexAlgorithm+1]=__ZTI23btConvexConvexAlgorithm;IHEAP[__ZTI23btConvexConvexAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btConvexConvexAlgorithm+ +1]=__ZTS23btConvexConvexAlgorithm;IHEAP[__ZTI23btConvexConvexAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTIN23btConvexConvexAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN23btConvexConvexAlgorithm10CreateFuncE+1]=__ZTSN23btConvexConvexAlgorithm10CreateFuncE;IHEAP[__ZTIN23btConvexConvexAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTV24btPerturbedContactResult+1]=__ZTI24btPerturbedContactResult;IHEAP[__ZTI24btPerturbedContactResult]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI24btPerturbedContactResult+1]=__ZTS24btPerturbedContactResult;IHEAP[__ZTI24btPerturbedContactResult+2]=__ZTI16btManifoldResult;IHEAP[__ZTVZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+1]=__ZTIZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult;IHEAP[__ZTIZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+1]=__ZTSZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult;IHEAP[__ZTIZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResultE13btDummyResult+2]=__ZTIN36btDiscreteCollisionDetectorInterface6ResultE; +IHEAP[__ZTVN27btConvex2dConvex2dAlgorithm10CreateFuncE+1]=__ZTIN27btConvex2dConvex2dAlgorithm10CreateFuncE;IHEAP[__ZTV27btConvex2dConvex2dAlgorithm+1]=__ZTI27btConvex2dConvex2dAlgorithm;IHEAP[__ZTI27btConvex2dConvex2dAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI27btConvex2dConvex2dAlgorithm+1]=__ZTS27btConvex2dConvex2dAlgorithm;IHEAP[__ZTI27btConvex2dConvex2dAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTIN27btConvex2dConvex2dAlgorithm10CreateFuncE]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTIN27btConvex2dConvex2dAlgorithm10CreateFuncE+1]=__ZTSN27btConvex2dConvex2dAlgorithm10CreateFuncE;IHEAP[__ZTIN27btConvex2dConvex2dAlgorithm10CreateFuncE+2]=__ZTI30btCollisionAlgorithmCreateFunc;IHEAP[__ZTV28btCompoundCollisionAlgorithm+1]=__ZTI28btCompoundCollisionAlgorithm;IHEAP[__ZTI28btCompoundCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI28btCompoundCollisionAlgorithm+1]=__ZTS28btCompoundCollisionAlgorithm;IHEAP[__ZTI28btCompoundCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm; +IHEAP[__ZTV22btCompoundLeafCallback+1]=__ZTI22btCompoundLeafCallback;IHEAP[__ZTI22btCompoundLeafCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI22btCompoundLeafCallback+1]=__ZTS22btCompoundLeafCallback;IHEAP[__ZTI22btCompoundLeafCallback+2]=__ZTIN6btDbvt8ICollideE;IHEAP[__ZTV16btBU_Simplex1to4+1]=__ZTI16btBU_Simplex1to4;IHEAP[__ZTI16btBU_Simplex1to4]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btBU_Simplex1to4+1]=__ZTS16btBU_Simplex1to4;IHEAP[__ZTI16btBU_Simplex1to4+ +2]=__ZTI34btPolyhedralConvexAabbCachingShape;IHEAP[__ZTV19btMinkowskiSumShape+1]=__ZTI19btMinkowskiSumShape;IHEAP[__ZTI19btMinkowskiSumShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI19btMinkowskiSumShape+1]=__ZTS19btMinkowskiSumShape;IHEAP[__ZTI19btMinkowskiSumShape+2]=__ZTI21btConvexInternalShape;IHEAP[__ZTV15btCompoundShape+1]=__ZTI15btCompoundShape;IHEAP[__ZTI15btCompoundShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btCompoundShape+1]=__ZTS15btCompoundShape;IHEAP[__ZTI15btCompoundShape+ +2]=__ZTI16btCollisionShape;IHEAP[__ZTV11btConeShape+1]=__ZTI11btConeShape;IHEAP[__ZTV12btConeShapeZ+1]=__ZTI12btConeShapeZ;IHEAP[__ZTV12btConeShapeX+1]=__ZTI12btConeShapeX;IHEAP[__ZTI11btConeShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI11btConeShape+1]=__ZTS11btConeShape;IHEAP[__ZTI11btConeShape+2]=__ZTI21btConvexInternalShape;IHEAP[__ZTI12btConeShapeX]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI12btConeShapeX+1]=__ZTS12btConeShapeX;IHEAP[__ZTI12btConeShapeX+2]=__ZTI11btConeShape; +IHEAP[__ZTI12btConeShapeZ]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI12btConeShapeZ+1]=__ZTS12btConeShapeZ;IHEAP[__ZTI12btConeShapeZ+2]=__ZTI11btConeShape;IHEAP[__ZTV18btConvexPolyhedron+1]=__ZTI18btConvexPolyhedron;IHEAP[__ZTI18btConvexPolyhedron]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI18btConvexPolyhedron+1]=__ZTS18btConvexPolyhedron;IHEAP[__ZTV18btMultiSphereShape+1]=__ZTI18btMultiSphereShape;IHEAP[__ZTI18btMultiSphereShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2; +IHEAP[__ZTI18btMultiSphereShape+1]=__ZTS18btMultiSphereShape;IHEAP[__ZTI18btMultiSphereShape+2]=__ZTI32btConvexInternalAabbCachingShape;IHEAP[__ZTV21btUniformScalingShape+1]=__ZTI21btUniformScalingShape;IHEAP[__ZTI21btUniformScalingShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21btUniformScalingShape+1]=__ZTS21btUniformScalingShape;IHEAP[__ZTI21btUniformScalingShape+2]=__ZTI13btConvexShape;IHEAP[__ZTV13btSphereShape+1]=__ZTI13btSphereShape;IHEAP[__ZTI13btSphereShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI13btSphereShape+1]=__ZTS13btSphereShape;IHEAP[__ZTI13btSphereShape+2]=__ZTI21btConvexInternalShape;IHEAP[__ZTV26btTriangleIndexVertexArray+1]=__ZTI26btTriangleIndexVertexArray;IHEAP[__ZTI26btTriangleIndexVertexArray]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI26btTriangleIndexVertexArray+1]=__ZTS26btTriangleIndexVertexArray;IHEAP[__ZTI26btTriangleIndexVertexArray+2]=__ZTI23btStridingMeshInterface;IHEAP[__ZTV22btBvhTriangleMeshShape+1]=__ZTI22btBvhTriangleMeshShape;IHEAP[__ZTI22btBvhTriangleMeshShape]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI22btBvhTriangleMeshShape+1]=__ZTS22btBvhTriangleMeshShape;IHEAP[__ZTI22btBvhTriangleMeshShape+2]=__ZTI19btTriangleMeshShape;IHEAP[__ZTVZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+1]=__ZTIZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback;IHEAP[__ZTI21btNodeOverlapCallback]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI21btNodeOverlapCallback+ +1]=__ZTS21btNodeOverlapCallback;IHEAP[__ZTIZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+1]=__ZTSZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback;IHEAP[__ZTIZNK22btBvhTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+ +2]=__ZTI21btNodeOverlapCallback;IHEAP[__ZTV21btNodeOverlapCallback+1]=__ZTI21btNodeOverlapCallback;IHEAP[__ZTV21btNodeOverlapCallback+4]=___cxa_pure_virtual;IHEAP[__ZTVZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+1]=__ZTIZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback;IHEAP[__ZTIZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+1]=__ZTSZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback;IHEAP[__ZTIZN22btBvhTriangleMeshShape17performConvexcastEP18btTriangleCallbackRK9btVector3S4_S4_S4_E21MyNodeOverlapCallback+2]=__ZTI21btNodeOverlapCallback;IHEAP[__ZTVZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+ +1]=__ZTIZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback;IHEAP[__ZTIZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+1]=__ZTSZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback;IHEAP[__ZTIZN22btBvhTriangleMeshShape14performRaycastEP18btTriangleCallbackRK9btVector3S4_E21MyNodeOverlapCallback+ +2]=__ZTI21btNodeOverlapCallback;IHEAP[__ZTV19btTriangleMeshShape+1]=__ZTI19btTriangleMeshShape;IHEAP[__ZTI19btTriangleMeshShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI19btTriangleMeshShape+1]=__ZTS19btTriangleMeshShape;IHEAP[__ZTI19btTriangleMeshShape+2]=__ZTI14btConcaveShape;IHEAP[__ZTV21SupportVertexCallback+1]=__ZTI21SupportVertexCallback;IHEAP[__ZTI21SupportVertexCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21SupportVertexCallback+1]=__ZTS21SupportVertexCallback; +IHEAP[__ZTI21SupportVertexCallback+2]=__ZTI18btTriangleCallback;IHEAP[__ZTVZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+1]=__ZTIZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback;IHEAP[__ZTIZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+ +1]=__ZTSZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback;IHEAP[__ZTIZNK19btTriangleMeshShape19processAllTrianglesEP18btTriangleCallbackRK9btVector3S4_E16FilteredCallback+2]=__ZTI31btInternalTriangleIndexCallback;IHEAP[__ZTV16btTriangleBuffer+1]=__ZTI16btTriangleBuffer;IHEAP[__ZTI16btTriangleBuffer]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btTriangleBuffer+1]=__ZTS16btTriangleBuffer;IHEAP[__ZTI16btTriangleBuffer+2]=__ZTI18btTriangleCallback; +IHEAP[__ZTV18btStaticPlaneShape+1]=__ZTI18btStaticPlaneShape;IHEAP[__ZTI18btStaticPlaneShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI18btStaticPlaneShape+1]=__ZTS18btStaticPlaneShape;IHEAP[__ZTI18btStaticPlaneShape+2]=__ZTI14btConcaveShape;IHEAP[__ZTV23btPolyhedralConvexShape+1]=__ZTI23btPolyhedralConvexShape;IHEAP[__ZTV23btPolyhedralConvexShape+11]=___cxa_pure_virtual;IHEAP[__ZTV23btPolyhedralConvexShape+24]=___cxa_pure_virtual;IHEAP[__ZTV23btPolyhedralConvexShape+25]=___cxa_pure_virtual; +IHEAP[__ZTV23btPolyhedralConvexShape+26]=___cxa_pure_virtual;IHEAP[__ZTV23btPolyhedralConvexShape+27]=___cxa_pure_virtual;IHEAP[__ZTV23btPolyhedralConvexShape+28]=___cxa_pure_virtual;IHEAP[__ZTV23btPolyhedralConvexShape+29]=___cxa_pure_virtual;IHEAP[__ZTV23btPolyhedralConvexShape+30]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+1]=__ZTI34btPolyhedralConvexAabbCachingShape;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+11]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+ +24]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+25]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+26]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+27]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+28]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+29]=___cxa_pure_virtual;IHEAP[__ZTV34btPolyhedralConvexAabbCachingShape+30]=___cxa_pure_virtual;IHEAP[__ZTI23btPolyhedralConvexShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI23btPolyhedralConvexShape+1]=__ZTS23btPolyhedralConvexShape;IHEAP[__ZTI23btPolyhedralConvexShape+2]=__ZTI21btConvexInternalShape;IHEAP[__ZTI34btPolyhedralConvexAabbCachingShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI34btPolyhedralConvexAabbCachingShape+1]=__ZTS34btPolyhedralConvexAabbCachingShape;IHEAP[__ZTI34btPolyhedralConvexAabbCachingShape+2]=__ZTI23btPolyhedralConvexShape;IHEAP[__ZTV12btEmptyShape+1]=__ZTI12btEmptyShape;IHEAP[__ZTI12btEmptyShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI12btEmptyShape+1]=__ZTS12btEmptyShape;IHEAP[__ZTI12btEmptyShape+2]=__ZTI14btConcaveShape;IHEAP[__ZTV16btCollisionShape+1]=__ZTI16btCollisionShape;IHEAP[__ZTV16btCollisionShape+4]=___cxa_pure_virtual;IHEAP[__ZTV16btCollisionShape+8]=___cxa_pure_virtual;IHEAP[__ZTV16btCollisionShape+9]=___cxa_pure_virtual;IHEAP[__ZTV16btCollisionShape+10]=___cxa_pure_virtual;IHEAP[__ZTV16btCollisionShape+11]=___cxa_pure_virtual;IHEAP[__ZTV16btCollisionShape+12]=___cxa_pure_virtual;IHEAP[__ZTV16btCollisionShape+ +13]=___cxa_pure_virtual;IHEAP[__ZTI16btCollisionShape]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI16btCollisionShape+1]=__ZTS16btCollisionShape;IHEAP[__ZTV13btConvexShape+1]=__ZTI13btConvexShape;IHEAP[__ZTV13btConvexShape+4]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+8]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+9]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+10]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+11]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+12]=___cxa_pure_virtual; +IHEAP[__ZTV13btConvexShape+13]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+17]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+18]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+19]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+20]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+21]=___cxa_pure_virtual;IHEAP[__ZTV13btConvexShape+22]=___cxa_pure_virtual;IHEAP[__ZTI13btConvexShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI13btConvexShape+1]=__ZTS13btConvexShape;IHEAP[__ZTI13btConvexShape+ +2]=__ZTI16btCollisionShape;IHEAP[__ZTV15btConvex2dShape+1]=__ZTI15btConvex2dShape;IHEAP[__ZTI15btConvex2dShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btConvex2dShape+1]=__ZTS15btConvex2dShape;IHEAP[__ZTI15btConvex2dShape+2]=__ZTI13btConvexShape;IHEAP[__ZTV21btConvexInternalShape+1]=__ZTI21btConvexInternalShape;IHEAP[__ZTV21btConvexInternalShape+10]=___cxa_pure_virtual;IHEAP[__ZTV21btConvexInternalShape+11]=___cxa_pure_virtual;IHEAP[__ZTV21btConvexInternalShape+18]=___cxa_pure_virtual; +IHEAP[__ZTV21btConvexInternalShape+19]=___cxa_pure_virtual;IHEAP[__ZTV32btConvexInternalAabbCachingShape+1]=__ZTI32btConvexInternalAabbCachingShape;IHEAP[__ZTV32btConvexInternalAabbCachingShape+10]=___cxa_pure_virtual;IHEAP[__ZTV32btConvexInternalAabbCachingShape+11]=___cxa_pure_virtual;IHEAP[__ZTV32btConvexInternalAabbCachingShape+18]=___cxa_pure_virtual;IHEAP[__ZTV32btConvexInternalAabbCachingShape+19]=___cxa_pure_virtual;IHEAP[__ZTI21btConvexInternalShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI21btConvexInternalShape+1]=__ZTS21btConvexInternalShape;IHEAP[__ZTI21btConvexInternalShape+2]=__ZTI13btConvexShape;IHEAP[__ZTI32btConvexInternalAabbCachingShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI32btConvexInternalAabbCachingShape+1]=__ZTS32btConvexInternalAabbCachingShape;IHEAP[__ZTI32btConvexInternalAabbCachingShape+2]=__ZTI21btConvexInternalShape;IHEAP[__ZTV17btConvexHullShape+1]=__ZTI17btConvexHullShape;IHEAP[__ZTI17btConvexHullShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI17btConvexHullShape+1]=__ZTS17btConvexHullShape;IHEAP[__ZTI17btConvexHullShape+2]=__ZTI34btPolyhedralConvexAabbCachingShape;IHEAP[__ZTV18btTriangleCallback+1]=__ZTI18btTriangleCallback;IHEAP[__ZTV18btTriangleCallback+4]=___cxa_pure_virtual;IHEAP[__ZTV31btInternalTriangleIndexCallback+1]=__ZTI31btInternalTriangleIndexCallback;IHEAP[__ZTV31btInternalTriangleIndexCallback+4]=___cxa_pure_virtual;IHEAP[__ZTI18btTriangleCallback]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI18btTriangleCallback+ +1]=__ZTS18btTriangleCallback;IHEAP[__ZTI31btInternalTriangleIndexCallback]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI31btInternalTriangleIndexCallback+1]=__ZTS31btInternalTriangleIndexCallback;IHEAP[__ZTV14btCapsuleShape+1]=__ZTI14btCapsuleShape;IHEAP[__ZTV15btCapsuleShapeX+1]=__ZTI15btCapsuleShapeX;IHEAP[__ZTV15btCapsuleShapeZ+1]=__ZTI15btCapsuleShapeZ;IHEAP[__ZTI14btCapsuleShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI14btCapsuleShape+1]=__ZTS14btCapsuleShape;IHEAP[__ZTI14btCapsuleShape+ +2]=__ZTI21btConvexInternalShape;IHEAP[__ZTI15btCapsuleShapeZ]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btCapsuleShapeZ+1]=__ZTS15btCapsuleShapeZ;IHEAP[__ZTI15btCapsuleShapeZ+2]=__ZTI14btCapsuleShape;IHEAP[__ZTI15btCapsuleShapeX]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btCapsuleShapeX+1]=__ZTS15btCapsuleShapeX;IHEAP[__ZTI15btCapsuleShapeX+2]=__ZTI14btCapsuleShape;IHEAP[__ZTV25btConvexTriangleMeshShape+1]=__ZTI25btConvexTriangleMeshShape;IHEAP[__ZTI25btConvexTriangleMeshShape]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI25btConvexTriangleMeshShape+1]=__ZTS25btConvexTriangleMeshShape;IHEAP[__ZTI25btConvexTriangleMeshShape+2]=__ZTI34btPolyhedralConvexAabbCachingShape;IHEAP[__ZTV26LocalSupportVertexCallback+1]=__ZTI26LocalSupportVertexCallback;IHEAP[__ZTI26LocalSupportVertexCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI26LocalSupportVertexCallback+1]=__ZTS26LocalSupportVertexCallback;IHEAP[__ZTI26LocalSupportVertexCallback+2]=__ZTI31btInternalTriangleIndexCallback; +IHEAP[__ZTV14btConcaveShape+1]=__ZTI14btConcaveShape;IHEAP[__ZTV14btConcaveShape+4]=___cxa_pure_virtual;IHEAP[__ZTV14btConcaveShape+8]=___cxa_pure_virtual;IHEAP[__ZTV14btConcaveShape+9]=___cxa_pure_virtual;IHEAP[__ZTV14btConcaveShape+10]=___cxa_pure_virtual;IHEAP[__ZTV14btConcaveShape+11]=___cxa_pure_virtual;IHEAP[__ZTV14btConcaveShape+17]=___cxa_pure_virtual;IHEAP[__ZTI14btConcaveShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI14btConcaveShape+1]=__ZTS14btConcaveShape;IHEAP[__ZTI14btConcaveShape+ +2]=__ZTI16btCollisionShape;IHEAP[__ZTV23btConvexPointCloudShape+1]=__ZTI23btConvexPointCloudShape;IHEAP[__ZTI23btConvexPointCloudShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btConvexPointCloudShape+1]=__ZTS23btConvexPointCloudShape;IHEAP[__ZTI23btConvexPointCloudShape+2]=__ZTI34btPolyhedralConvexAabbCachingShape;IHEAP[__ZTV10btBoxShape+1]=__ZTI10btBoxShape;IHEAP[__ZTI10btBoxShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI10btBoxShape+1]=__ZTS10btBoxShape;IHEAP[__ZTI10btBoxShape+ +2]=__ZTI23btPolyhedralConvexShape;IHEAP[__ZTV12btBox2dShape+1]=__ZTI12btBox2dShape;IHEAP[__ZTI12btBox2dShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI12btBox2dShape+1]=__ZTS12btBox2dShape;IHEAP[__ZTI12btBox2dShape+2]=__ZTI23btPolyhedralConvexShape;IHEAP[__ZTV14btOptimizedBvh+1]=__ZTI14btOptimizedBvh;IHEAP[__ZTI14btOptimizedBvh]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI14btOptimizedBvh+1]=__ZTS14btOptimizedBvh;IHEAP[__ZTI14btOptimizedBvh+2]=__ZTI14btQuantizedBvh;IHEAP[__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+ +1]=__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0;IHEAP[__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+1]=__ZTSZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0;IHEAP[__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E20NodeTriangleCallback_0+ +2]=__ZTI31btInternalTriangleIndexCallback;IHEAP[__ZTVZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+1]=__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback;IHEAP[__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+ +1]=__ZTSZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback;IHEAP[__ZTIZN14btOptimizedBvh5buildEP23btStridingMeshInterfacebRK9btVector3S4_E29QuantizedNodeTriangleCallback+2]=__ZTI31btInternalTriangleIndexCallback;IHEAP[__ZTV25btHeightfieldTerrainShape+1]=__ZTI25btHeightfieldTerrainShape;IHEAP[__ZTI25btHeightfieldTerrainShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI25btHeightfieldTerrainShape+1]=__ZTS25btHeightfieldTerrainShape;IHEAP[__ZTI25btHeightfieldTerrainShape+ +2]=__ZTI14btConcaveShape;IHEAP[__ZTV15btCylinderShape+1]=__ZTI15btCylinderShape;IHEAP[__ZTV16btCylinderShapeX+1]=__ZTI16btCylinderShapeX;IHEAP[__ZTV16btCylinderShapeZ+1]=__ZTI16btCylinderShapeZ;IHEAP[__ZTI15btCylinderShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btCylinderShape+1]=__ZTS15btCylinderShape;IHEAP[__ZTI15btCylinderShape+2]=__ZTI21btConvexInternalShape;IHEAP[__ZTI16btCylinderShapeX]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btCylinderShapeX+1]=__ZTS16btCylinderShapeX; +IHEAP[__ZTI16btCylinderShapeX+2]=__ZTI15btCylinderShape;IHEAP[__ZTI16btCylinderShapeZ]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btCylinderShapeZ+1]=__ZTS16btCylinderShapeZ;IHEAP[__ZTI16btCylinderShapeZ+2]=__ZTI15btCylinderShape;IHEAP[__ZTV28btScaledBvhTriangleMeshShape+1]=__ZTI28btScaledBvhTriangleMeshShape;IHEAP[__ZTI28btScaledBvhTriangleMeshShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI28btScaledBvhTriangleMeshShape+1]=__ZTS28btScaledBvhTriangleMeshShape;IHEAP[__ZTI28btScaledBvhTriangleMeshShape+ +2]=__ZTI14btConcaveShape;IHEAP[__ZTV24btScaledTriangleCallback+1]=__ZTI24btScaledTriangleCallback;IHEAP[__ZTI24btScaledTriangleCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI24btScaledTriangleCallback+1]=__ZTS24btScaledTriangleCallback;IHEAP[__ZTI24btScaledTriangleCallback+2]=__ZTI18btTriangleCallback;IHEAP[__ZTV23btStridingMeshInterface+1]=__ZTI23btStridingMeshInterface;IHEAP[__ZTV23btStridingMeshInterface+5]=___cxa_pure_virtual;IHEAP[__ZTV23btStridingMeshInterface+6]=___cxa_pure_virtual; +IHEAP[__ZTV23btStridingMeshInterface+7]=___cxa_pure_virtual;IHEAP[__ZTV23btStridingMeshInterface+8]=___cxa_pure_virtual;IHEAP[__ZTV23btStridingMeshInterface+9]=___cxa_pure_virtual;IHEAP[__ZTV23btStridingMeshInterface+10]=___cxa_pure_virtual;IHEAP[__ZTV23btStridingMeshInterface+11]=___cxa_pure_virtual;IHEAP[__ZTI23btStridingMeshInterface]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI23btStridingMeshInterface+1]=__ZTS23btStridingMeshInterface;IHEAP[__ZTV34btTriangleIndexVertexMaterialArray+1]= +__ZTI34btTriangleIndexVertexMaterialArray;IHEAP[__ZTI34btTriangleIndexVertexMaterialArray]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI34btTriangleIndexVertexMaterialArray+1]=__ZTS34btTriangleIndexVertexMaterialArray;IHEAP[__ZTI34btTriangleIndexVertexMaterialArray+2]=__ZTI26btTriangleIndexVertexArray;IHEAP[__ZTV14btTriangleMesh+1]=__ZTI14btTriangleMesh;IHEAP[__ZTI14btTriangleMesh]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI14btTriangleMesh+1]=__ZTS14btTriangleMesh;IHEAP[__ZTI14btTriangleMesh+ +2]=__ZTI26btTriangleIndexVertexArray;IHEAP[__ZTV12btAxisSweep3+1]=__ZTI12btAxisSweep3;IHEAP[__ZTV17bt32BitAxisSweep3+1]=__ZTI17bt32BitAxisSweep3;IHEAP[__ZTI21btBroadphaseInterface]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI21btBroadphaseInterface+1]=__ZTS21btBroadphaseInterface;IHEAP[__ZTI20btAxisSweep3InternalIjE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI20btAxisSweep3InternalIjE+1]=__ZTS20btAxisSweep3InternalIjE;IHEAP[__ZTI20btAxisSweep3InternalIjE+2]=__ZTI21btBroadphaseInterface; +IHEAP[__ZTI17bt32BitAxisSweep3]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI17bt32BitAxisSweep3+1]=__ZTS17bt32BitAxisSweep3;IHEAP[__ZTI17bt32BitAxisSweep3+2]=__ZTI20btAxisSweep3InternalIjE;IHEAP[__ZTI20btAxisSweep3InternalItE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI20btAxisSweep3InternalItE+1]=__ZTS20btAxisSweep3InternalItE;IHEAP[__ZTI20btAxisSweep3InternalItE+2]=__ZTI21btBroadphaseInterface;IHEAP[__ZTI12btAxisSweep3]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI12btAxisSweep3+ +1]=__ZTS12btAxisSweep3;IHEAP[__ZTI12btAxisSweep3+2]=__ZTI20btAxisSweep3InternalItE;IHEAP[__ZTV20btAxisSweep3InternalItE+1]=__ZTI20btAxisSweep3InternalItE;IHEAP[__ZTV21btBroadphaseInterface+1]=__ZTI21btBroadphaseInterface;IHEAP[__ZTV21btBroadphaseInterface+4]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+5]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+6]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+7]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+8]=___cxa_pure_virtual; +IHEAP[__ZTV21btBroadphaseInterface+9]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+10]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+11]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+12]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+13]=___cxa_pure_virtual;IHEAP[__ZTV21btBroadphaseInterface+15]=___cxa_pure_virtual;IHEAP[__ZTV20btAxisSweep3InternalIjE+1]=__ZTI20btAxisSweep3InternalIjE;IHEAP[__ZTV15btNullPairCache+1]=__ZTI15btNullPairCache;IHEAP[__ZTI25btOverlappingPairCallback]= +__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI25btOverlappingPairCallback+1]=__ZTS25btOverlappingPairCallback;IHEAP[__ZTI22btOverlappingPairCache]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI22btOverlappingPairCache+1]=__ZTS22btOverlappingPairCache;IHEAP[__ZTI22btOverlappingPairCache+2]=__ZTI25btOverlappingPairCallback;IHEAP[__ZTI15btNullPairCache]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btNullPairCache+1]=__ZTS15btNullPairCache;IHEAP[__ZTI15btNullPairCache+2]=__ZTI22btOverlappingPairCache; +IHEAP[__ZTV22btOverlappingPairCache+1]=__ZTI22btOverlappingPairCache;IHEAP[__ZTV22btOverlappingPairCache+4]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+5]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+6]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+7]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+8]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+9]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+10]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+ +11]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+12]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+13]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+14]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+15]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+16]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+17]=___cxa_pure_virtual;IHEAP[__ZTV22btOverlappingPairCache+18]=___cxa_pure_virtual;IHEAP[__ZTV25btOverlappingPairCallback+1]=__ZTI25btOverlappingPairCallback; +IHEAP[__ZTV25btOverlappingPairCallback+4]=___cxa_pure_virtual;IHEAP[__ZTV25btOverlappingPairCallback+5]=___cxa_pure_virtual;IHEAP[__ZTV25btOverlappingPairCallback+6]=___cxa_pure_virtual;IHEAP[__ZTV28btHashedOverlappingPairCache+1]=__ZTI28btHashedOverlappingPairCache;IHEAP[__ZTV28btSortedOverlappingPairCache+1]=__ZTI28btSortedOverlappingPairCache;IHEAP[__ZTI28btHashedOverlappingPairCache]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI28btHashedOverlappingPairCache+1]=__ZTS28btHashedOverlappingPairCache; +IHEAP[__ZTI28btHashedOverlappingPairCache+2]=__ZTI22btOverlappingPairCache;IHEAP[__ZTI28btSortedOverlappingPairCache]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI28btSortedOverlappingPairCache+1]=__ZTS28btSortedOverlappingPairCache;IHEAP[__ZTI28btSortedOverlappingPairCache+2]=__ZTI22btOverlappingPairCache;IHEAP[__ZTVZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+1]=__ZTIZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback; +IHEAP[__ZTIZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+1]=__ZTSZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback;IHEAP[__ZTIZN28btSortedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+ +2]=__ZTI17btOverlapCallback;IHEAP[__ZTVZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+1]=__ZTIZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback;IHEAP[__ZTIZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+ +1]=__ZTSZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback;IHEAP[__ZTIZN28btSortedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2]=__ZTI17btOverlapCallback;IHEAP[__ZTVZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+1]=__ZTIZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback; +IHEAP[__ZTIZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+1]=__ZTSZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback;IHEAP[__ZTIZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherE18RemovePairCallback+ +2]=__ZTI17btOverlapCallback;IHEAP[__ZTVZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+1]=__ZTIZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback;IHEAP[__ZTIZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+ +1]=__ZTSZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback;IHEAP[__ZTIZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherE17CleanPairCallback+2]=__ZTI17btOverlapCallback;IHEAP[__ZTV16btDbvtBroadphase+1]=__ZTI16btDbvtBroadphase;IHEAP[__ZTI16btDbvtBroadphase]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btDbvtBroadphase+1]=__ZTS16btDbvtBroadphase;IHEAP[__ZTI16btDbvtBroadphase+2]=__ZTI21btBroadphaseInterface; +IHEAP[__ZTV20BroadphaseAabbTester+1]=__ZTI20BroadphaseAabbTester;IHEAP[__ZTI20BroadphaseAabbTester]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI20BroadphaseAabbTester+1]=__ZTS20BroadphaseAabbTester;IHEAP[__ZTI20BroadphaseAabbTester+2]=__ZTIN6btDbvt8ICollideE;IHEAP[__ZTV19BroadphaseRayTester+1]=__ZTI19BroadphaseRayTester;IHEAP[__ZTI19BroadphaseRayTester]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI19BroadphaseRayTester+1]=__ZTS19BroadphaseRayTester;IHEAP[__ZTI19BroadphaseRayTester+ +2]=__ZTIN6btDbvt8ICollideE;IHEAP[__ZTV18btDbvtTreeCollider+1]=__ZTI18btDbvtTreeCollider;IHEAP[__ZTI18btDbvtTreeCollider]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI18btDbvtTreeCollider+1]=__ZTS18btDbvtTreeCollider;IHEAP[__ZTI18btDbvtTreeCollider+2]=__ZTIN6btDbvt8ICollideE;IHEAP[__ZTV20btMultiSapBroadphase+1]=__ZTI20btMultiSapBroadphase;IHEAP[__ZTV20btMultiSapBroadphase+9]=___cxa_pure_virtual;IHEAP[__ZTI20btMultiSapBroadphase]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI20btMultiSapBroadphase+ +1]=__ZTS20btMultiSapBroadphase;IHEAP[__ZTI20btMultiSapBroadphase+2]=__ZTI21btBroadphaseInterface;IHEAP[__ZTVZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+1]=__ZTIZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback;IHEAP[__ZTIZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+ +1]=__ZTSZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback;IHEAP[__ZTIZN20btMultiSapBroadphase7setAabbEP17btBroadphaseProxyRK9btVector3S4_P12btDispatcherE21MyNodeOverlapCallback+2]=__ZTI21btNodeOverlapCallback;IHEAP[__ZTVZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback+1]=__ZTIZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback;IHEAP[__ZTI23btOverlapFilterCallback]=__ZTVN10__cxxabiv117__class_type_infoE+ +2;IHEAP[__ZTI23btOverlapFilterCallback+1]=__ZTS23btOverlapFilterCallback;IHEAP[__ZTIZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback+1]=__ZTSZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback;IHEAP[__ZTIZN20btMultiSapBroadphaseC1EiP22btOverlappingPairCacheE31btMultiSapOverlapFilterCallback+ +2]=__ZTI23btOverlapFilterCallback;IHEAP[__ZTV23btOverlapFilterCallback+1]=__ZTI23btOverlapFilterCallback;IHEAP[__ZTV23btOverlapFilterCallback+4]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+1]=__ZTI12btDispatcher;IHEAP[__ZTV12btDispatcher+4]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+5]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+6]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+7]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+8]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+9]=___cxa_pure_virtual; +IHEAP[__ZTV12btDispatcher+10]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+11]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+12]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+13]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+14]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+15]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+16]=___cxa_pure_virtual;IHEAP[__ZTV12btDispatcher+17]=___cxa_pure_virtual;IHEAP[__ZTI12btDispatcher]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI12btDispatcher+1]=__ZTS12btDispatcher; +IHEAP[__ZTV14btQuantizedBvh+1]=__ZTI14btQuantizedBvh;IHEAP[__ZTI14btQuantizedBvh]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI14btQuantizedBvh+1]=__ZTS14btQuantizedBvh;IHEAP[__ZTV18btSimpleBroadphase+1]=__ZTI18btSimpleBroadphase;IHEAP[__ZTI18btSimpleBroadphase]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI18btSimpleBroadphase+1]=__ZTS18btSimpleBroadphase;IHEAP[__ZTI18btSimpleBroadphase+2]=__ZTI21btBroadphaseInterface;IHEAP[__ZTV27btGImpactCollisionAlgorithm+1]=__ZTI27btGImpactCollisionAlgorithm; +IHEAP[__ZTI27btGImpactCollisionAlgorithm]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI27btGImpactCollisionAlgorithm+1]=__ZTS27btGImpactCollisionAlgorithm;IHEAP[__ZTI27btGImpactCollisionAlgorithm+2]=__ZTI30btActivatingCollisionAlgorithm;IHEAP[__ZTV25btGImpactTriangleCallback+1]=__ZTI25btGImpactTriangleCallback;IHEAP[__ZTI25btGImpactTriangleCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI25btGImpactTriangleCallback+1]=__ZTS25btGImpactTriangleCallback;IHEAP[__ZTI25btGImpactTriangleCallback+ +2]=__ZTI18btTriangleCallback;IHEAP[__ZTV17btTriangleShapeEx+1]=__ZTI17btTriangleShapeEx;IHEAP[__ZTI17btTriangleShapeEx]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI17btTriangleShapeEx+1]=__ZTS17btTriangleShapeEx;IHEAP[__ZTI17btTriangleShapeEx+2]=__ZTI15btTriangleShape;IHEAP[__ZTV20btTetrahedronShapeEx+1]=__ZTI20btTetrahedronShapeEx;IHEAP[__ZTI20btTetrahedronShapeEx]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI20btTetrahedronShapeEx+1]=__ZTS20btTetrahedronShapeEx;IHEAP[__ZTI20btTetrahedronShapeEx+ +2]=__ZTI16btBU_Simplex1to4;IHEAP[__ZTVN18GIM_ShapeRetriever19ChildShapeRetrieverE+1]=__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE;IHEAP[__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE+1]=__ZTSN18GIM_ShapeRetriever19ChildShapeRetrieverE;IHEAP[__ZTVN18GIM_ShapeRetriever22TriangleShapeRetrieverE+1]=__ZTIN18GIM_ShapeRetriever22TriangleShapeRetrieverE;IHEAP[__ZTIN18GIM_ShapeRetriever22TriangleShapeRetrieverE]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN18GIM_ShapeRetriever22TriangleShapeRetrieverE+1]=__ZTSN18GIM_ShapeRetriever22TriangleShapeRetrieverE;IHEAP[__ZTIN18GIM_ShapeRetriever22TriangleShapeRetrieverE+2]=__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE;IHEAP[__ZTVN18GIM_ShapeRetriever19TetraShapeRetrieverE+1]=__ZTIN18GIM_ShapeRetriever19TetraShapeRetrieverE;IHEAP[__ZTIN18GIM_ShapeRetriever19TetraShapeRetrieverE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN18GIM_ShapeRetriever19TetraShapeRetrieverE+ +1]=__ZTSN18GIM_ShapeRetriever19TetraShapeRetrieverE;IHEAP[__ZTIN18GIM_ShapeRetriever19TetraShapeRetrieverE+2]=__ZTIN18GIM_ShapeRetriever19ChildShapeRetrieverE;IHEAP[__ZTV22btGImpactCompoundShape+1]=__ZTI22btGImpactCompoundShape;IHEAP[__ZTI23btGImpactShapeInterface]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btGImpactShapeInterface+1]=__ZTS23btGImpactShapeInterface;IHEAP[__ZTI23btGImpactShapeInterface+2]=__ZTI14btConcaveShape;IHEAP[__ZTI22btGImpactCompoundShape]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI22btGImpactCompoundShape+1]=__ZTS22btGImpactCompoundShape;IHEAP[__ZTI22btGImpactCompoundShape+2]=__ZTI23btGImpactShapeInterface;IHEAP[__ZTV22btGImpactMeshShapePart+1]=__ZTI22btGImpactMeshShapePart;IHEAP[__ZTI22btGImpactMeshShapePart]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI22btGImpactMeshShapePart+1]=__ZTS22btGImpactMeshShapePart;IHEAP[__ZTI22btGImpactMeshShapePart+2]=__ZTI23btGImpactShapeInterface;IHEAP[__ZTV18btGImpactMeshShape+1]=__ZTI18btGImpactMeshShape;IHEAP[__ZTI18btGImpactMeshShape]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI18btGImpactMeshShape+1]=__ZTS18btGImpactMeshShape;IHEAP[__ZTI18btGImpactMeshShape+2]=__ZTI23btGImpactShapeInterface;IHEAP[__ZTV23btGImpactShapeInterface+1]=__ZTI23btGImpactShapeInterface;IHEAP[__ZTV23btGImpactShapeInterface+10]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+11]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+21]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+22]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+ +23]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+24]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+25]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+26]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+27]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+28]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+32]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+33]=___cxa_pure_virtual;IHEAP[__ZTV23btGImpactShapeInterface+34]=___cxa_pure_virtual; +IHEAP[__ZTV23btGImpactShapeInterface+35]=___cxa_pure_virtual;IHEAP[__ZTVN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+1]=__ZTIN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE;IHEAP[__ZTI22btPrimitiveManagerBase]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI22btPrimitiveManagerBase+1]=__ZTS22btPrimitiveManagerBase;IHEAP[__ZTIN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+ +1]=__ZTSN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE;IHEAP[__ZTIN22btGImpactMeshShapePart23TrimeshPrimitiveManagerE+2]=__ZTI22btPrimitiveManagerBase;IHEAP[__ZTV22btPrimitiveManagerBase+1]=__ZTI22btPrimitiveManagerBase;IHEAP[__ZTV22btPrimitiveManagerBase+4]=___cxa_pure_virtual;IHEAP[__ZTV22btPrimitiveManagerBase+5]=___cxa_pure_virtual;IHEAP[__ZTV22btPrimitiveManagerBase+6]=___cxa_pure_virtual;IHEAP[__ZTV22btPrimitiveManagerBase+7]=___cxa_pure_virtual;IHEAP[__ZTVN22btGImpactCompoundShape24CompoundPrimitiveManagerE+ +1]=__ZTIN22btGImpactCompoundShape24CompoundPrimitiveManagerE;IHEAP[__ZTIN22btGImpactCompoundShape24CompoundPrimitiveManagerE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN22btGImpactCompoundShape24CompoundPrimitiveManagerE+1]=__ZTSN22btGImpactCompoundShape24CompoundPrimitiveManagerE;IHEAP[__ZTIN22btGImpactCompoundShape24CompoundPrimitiveManagerE+2]=__ZTI22btPrimitiveManagerBase;IHEAP[__ZTV25btContinuousDynamicsWorld+1]=__ZTI25btContinuousDynamicsWorld;IHEAP[__ZTI25btContinuousDynamicsWorld]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI25btContinuousDynamicsWorld+1]=__ZTS25btContinuousDynamicsWorld;IHEAP[__ZTI25btContinuousDynamicsWorld+2]=__ZTI23btDiscreteDynamicsWorld;IHEAP[__ZTV11btRigidBody+1]=__ZTI11btRigidBody;IHEAP[__ZTI11btRigidBody]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI11btRigidBody+1]=__ZTS11btRigidBody;IHEAP[__ZTI11btRigidBody+2]=__ZTI17btCollisionObject;IHEAP[__ZTV21btSimpleDynamicsWorld+1]=__ZTI21btSimpleDynamicsWorld;IHEAP[__ZTI15btDynamicsWorld]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI15btDynamicsWorld+1]=__ZTS15btDynamicsWorld;IHEAP[__ZTI15btDynamicsWorld+2]=__ZTI16btCollisionWorld;IHEAP[__ZTI21btSimpleDynamicsWorld]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21btSimpleDynamicsWorld+1]=__ZTS21btSimpleDynamicsWorld;IHEAP[__ZTI21btSimpleDynamicsWorld+2]=__ZTI15btDynamicsWorld;IHEAP[__ZTV15btDynamicsWorld+1]=__ZTI15btDynamicsWorld;IHEAP[__ZTV15btDynamicsWorld+7]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+14]= +___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+17]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+18]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+19]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+20]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+21]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+22]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+23]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+24]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+25]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+ +26]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+30]=___cxa_pure_virtual;IHEAP[__ZTV15btDynamicsWorld+31]=___cxa_pure_virtual;IHEAP[__ZTV23btDiscreteDynamicsWorld+1]=__ZTI23btDiscreteDynamicsWorld;IHEAP[__ZTI23btDiscreteDynamicsWorld]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btDiscreteDynamicsWorld+1]=__ZTS23btDiscreteDynamicsWorld;IHEAP[__ZTI23btDiscreteDynamicsWorld+2]=__ZTI15btDynamicsWorld;IHEAP[__ZTV34btClosestNotMeConvexResultCallback+1]=__ZTI34btClosestNotMeConvexResultCallback; +IHEAP[__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE+1]=__ZTSN16btCollisionWorld27ClosestConvexResultCallbackE;IHEAP[__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE+2]=__ZTIN16btCollisionWorld20ConvexResultCallbackE;IHEAP[__ZTI34btClosestNotMeConvexResultCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI34btClosestNotMeConvexResultCallback+1]=__ZTS34btClosestNotMeConvexResultCallback; +IHEAP[__ZTI34btClosestNotMeConvexResultCallback+2]=__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE;IHEAP[__ZTVN16btCollisionWorld27ClosestConvexResultCallbackE+1]=__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE;IHEAP[__ZTVZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+1]=__ZTIZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback;IHEAP[__ZTIN25btSimulationIslandManager14IslandCallbackE]=__ZTVN10__cxxabiv117__class_type_infoE+ +2;IHEAP[__ZTIN25btSimulationIslandManager14IslandCallbackE+1]=__ZTSN25btSimulationIslandManager14IslandCallbackE;IHEAP[__ZTIZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+1]=__ZTSZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback;IHEAP[__ZTIZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfoE27InplaceSolverIslandCallback+ +2]=__ZTIN25btSimulationIslandManager14IslandCallbackE;IHEAP[__ZTVN25btSimulationIslandManager14IslandCallbackE+1]=__ZTIN25btSimulationIslandManager14IslandCallbackE;IHEAP[__ZTVN25btSimulationIslandManager14IslandCallbackE+4]=___cxa_pure_virtual;IHEAP[__ZTV23btGeneric6DofConstraint+1]=__ZTI23btGeneric6DofConstraint;IHEAP[__ZTI23btGeneric6DofConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI23btGeneric6DofConstraint+1]=__ZTS23btGeneric6DofConstraint;IHEAP[__ZTI23btGeneric6DofConstraint+ +2]=__ZTI17btTypedConstraint;IHEAP[__ZTV29btGeneric6DofSpringConstraint+1]=__ZTI29btGeneric6DofSpringConstraint;IHEAP[__ZTI29btGeneric6DofSpringConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI29btGeneric6DofSpringConstraint+1]=__ZTS29btGeneric6DofSpringConstraint;IHEAP[__ZTI29btGeneric6DofSpringConstraint+2]=__ZTI23btGeneric6DofConstraint;IHEAP[__ZTV23btPoint2PointConstraint+1]=__ZTI23btPoint2PointConstraint;IHEAP[__ZTI23btPoint2PointConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+ +2;IHEAP[__ZTI23btPoint2PointConstraint+1]=__ZTS23btPoint2PointConstraint;IHEAP[__ZTI23btPoint2PointConstraint+2]=__ZTI17btTypedConstraint;IHEAP[__ZTV19btContactConstraint+1]=__ZTI19btContactConstraint;IHEAP[__ZTV19btContactConstraint+9]=___cxa_pure_virtual;IHEAP[__ZTV19btContactConstraint+10]=___cxa_pure_virtual;IHEAP[__ZTI19btContactConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI19btContactConstraint+1]=__ZTS19btContactConstraint;IHEAP[__ZTI19btContactConstraint+2]=__ZTI17btTypedConstraint; +IHEAP[__ZTV18btSliderConstraint+1]=__ZTI18btSliderConstraint;IHEAP[__ZTI18btSliderConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI18btSliderConstraint+1]=__ZTS18btSliderConstraint;IHEAP[__ZTI18btSliderConstraint+2]=__ZTI17btTypedConstraint;IHEAP[__ZTV21btConeTwistConstraint+1]=__ZTI21btConeTwistConstraint;IHEAP[__ZTI21btConeTwistConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21btConeTwistConstraint+1]=__ZTS21btConeTwistConstraint;IHEAP[__ZTI21btConeTwistConstraint+ +2]=__ZTI17btTypedConstraint;IHEAP[__ZTV17btHingeConstraint+1]=__ZTI17btHingeConstraint;IHEAP[__ZTI17btHingeConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI17btHingeConstraint+1]=__ZTS17btHingeConstraint;IHEAP[__ZTI17btHingeConstraint+2]=__ZTI17btTypedConstraint;IHEAP[__ZTV18btHinge2Constraint+1]=__ZTI18btHinge2Constraint;IHEAP[__ZTI18btHinge2Constraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI18btHinge2Constraint+1]=__ZTS18btHinge2Constraint;IHEAP[__ZTI18btHinge2Constraint+ +2]=__ZTI29btGeneric6DofSpringConstraint;IHEAP[__ZTV21btUniversalConstraint+1]=__ZTI21btUniversalConstraint;IHEAP[__ZTI21btUniversalConstraint]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI21btUniversalConstraint+1]=__ZTS21btUniversalConstraint;IHEAP[__ZTI21btUniversalConstraint+2]=__ZTI23btGeneric6DofConstraint;IHEAP[__ZTV35btSequentialImpulseConstraintSolver+1]=__ZTI35btSequentialImpulseConstraintSolver;IHEAP[__ZTI18btConstraintSolver]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI18btConstraintSolver+ +1]=__ZTS18btConstraintSolver;IHEAP[__ZTI35btSequentialImpulseConstraintSolver]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI35btSequentialImpulseConstraintSolver+1]=__ZTS35btSequentialImpulseConstraintSolver;IHEAP[__ZTI35btSequentialImpulseConstraintSolver+2]=__ZTI18btConstraintSolver;IHEAP[__ZTV18btConstraintSolver+1]=__ZTI18btConstraintSolver;IHEAP[__ZTV18btConstraintSolver+5]=___cxa_pure_virtual;IHEAP[__ZTV18btConstraintSolver+7]=___cxa_pure_virtual;IHEAP[__ZTV16btRaycastVehicle+1]=__ZTI16btRaycastVehicle; +IHEAP[__ZTI17btActionInterface]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI17btActionInterface+1]=__ZTS17btActionInterface;IHEAP[__ZTI16btRaycastVehicle]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI16btRaycastVehicle+1]=__ZTS16btRaycastVehicle;IHEAP[__ZTI16btRaycastVehicle+2]=__ZTI17btActionInterface;IHEAP[__ZTV25btDefaultVehicleRaycaster+1]=__ZTI25btDefaultVehicleRaycaster;IHEAP[__ZTI18btVehicleRaycaster]=__ZTVN10__cxxabiv117__class_type_infoE+2;IHEAP[__ZTI18btVehicleRaycaster+ +1]=__ZTS18btVehicleRaycaster;IHEAP[__ZTI25btDefaultVehicleRaycaster]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI25btDefaultVehicleRaycaster+1]=__ZTS25btDefaultVehicleRaycaster;IHEAP[__ZTI25btDefaultVehicleRaycaster+2]=__ZTI18btVehicleRaycaster;IHEAP[__ZTV18btVehicleRaycaster+1]=__ZTI18btVehicleRaycaster;IHEAP[__ZTV18btVehicleRaycaster+4]=___cxa_pure_virtual;IHEAP[__ZTVN16btCollisionWorld24ClosestRayResultCallbackE+1]=__ZTIN16btCollisionWorld24ClosestRayResultCallbackE;IHEAP[__ZTIN16btCollisionWorld24ClosestRayResultCallbackE]= +__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTIN16btCollisionWorld24ClosestRayResultCallbackE+1]=__ZTSN16btCollisionWorld24ClosestRayResultCallbackE;IHEAP[__ZTIN16btCollisionWorld24ClosestRayResultCallbackE+2]=__ZTIN16btCollisionWorld17RayResultCallbackE;IHEAP[__ZTV17btActionInterface+1]=__ZTI17btActionInterface;IHEAP[__ZTV17btActionInterface+4]=___cxa_pure_virtual;IHEAP[__ZTV17btActionInterface+5]=___cxa_pure_virtual;IHEAP[__ZTV30btKinematicCharacterController+1]=__ZTI30btKinematicCharacterController; +IHEAP[__ZTI30btCharacterControllerInterface]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI30btCharacterControllerInterface+1]=__ZTS30btCharacterControllerInterface;IHEAP[__ZTI30btCharacterControllerInterface+2]=__ZTI17btActionInterface;IHEAP[__ZTI30btKinematicCharacterController]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI30btKinematicCharacterController+1]=__ZTS30btKinematicCharacterController;IHEAP[__ZTI30btKinematicCharacterController+2]=__ZTI30btCharacterControllerInterface; +IHEAP[__ZTV43btKinematicClosestNotMeConvexResultCallback+1]=__ZTI43btKinematicClosestNotMeConvexResultCallback;IHEAP[__ZTI43btKinematicClosestNotMeConvexResultCallback]=__ZTVN10__cxxabiv120__si_class_type_infoE+2;IHEAP[__ZTI43btKinematicClosestNotMeConvexResultCallback+1]=__ZTS43btKinematicClosestNotMeConvexResultCallback;IHEAP[__ZTI43btKinematicClosestNotMeConvexResultCallback+2]=__ZTIN16btCollisionWorld27ClosestConvexResultCallbackE;IHEAP[__ZTV30btCharacterControllerInterface+1]=__ZTI30btCharacterControllerInterface; +IHEAP[__ZTV30btCharacterControllerInterface+4]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+5]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+6]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+7]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+8]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+9]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+10]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+ +11]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+12]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+13]=___cxa_pure_virtual;IHEAP[__ZTV30btCharacterControllerInterface+14]=___cxa_pure_virtual;IHEAP[__ZN15CProfileManager11CurrentNodeE]=__ZN15CProfileManager4RootE;_STDIO.init();__globalConstructor__();Module._main&&(Module.callMain(a),__shutdownRuntime__())}Module.run=run;run(args); diff --git a/demos/webgl/bullet_glue.js b/demos/webgl/bullet_glue.js new file mode 100644 index 00000000..614ee3c3 --- /dev/null +++ b/demos/webgl/bullet_glue.js @@ -0,0 +1,44 @@ +/**
+ Glue for Bullet demo.
+ */
+
+var Bullet = Module;
+
+//print = function(text) {
+// throw 'fail: ' + text;
+//}
+
+function prepareBulletDemo() {
+ __Z10zz_preparev();
+}
+
+function simulateBulletDemo(dt) {
+ __ZN23btDiscreteDynamicsWorld14stepSimulationEfif(Bullet.IHEAP[_zz_dynamicsWorld], dt, 2, 1/60)
+}
+
+var tempVector3 = _malloc(40);
+var tempQuaternion = _malloc(50);
+
+var QUANTUM = 1;
+
+function readBulletObject(i, pos, quat) {
+ // TODO: Do not create new objects all the time
+ __Z7zz_readiR9btVector3R12btQuaternion(i, tempVector3, tempQuaternion);
+ pos[0] = Bullet.FHEAP[tempVector3+0*QUANTUM];
+ pos[1] = Bullet.FHEAP[tempVector3+1*QUANTUM];
+ pos[2] = Bullet.FHEAP[tempVector3+2*QUANTUM];
+ quat.x = Bullet.FHEAP[tempQuaternion+0*QUANTUM];
+ quat.y = Bullet.FHEAP[tempQuaternion+1*QUANTUM];
+ quat.z = Bullet.FHEAP[tempQuaternion+2*QUANTUM];
+ quat.w = Bullet.FHEAP[tempQuaternion+3*QUANTUM];
+}
+
+function restartBullet() {
+ run([]);
+ prepareBulletDemo();
+}
+
+// Startup
+
+prepareBulletDemo();
+
diff --git a/demos/webgl/demo.html b/demos/webgl/demo.html new file mode 100644 index 00000000..f93d54b5 --- /dev/null +++ b/demos/webgl/demo.html @@ -0,0 +1,196 @@ +<html> + <head> + <title>Bullet/WebGL Demo</title> + <script src="CubicVR.js" type="text/javascript"></script> + <script type="text/javascript">var arguments = [];</script> + <script src="bullet_1_1_q1.ccsimple.js" type="text/javascript"></script> + <script src="bullet_glue.js" type="text/javascript"></script> + <style type="text/css"> + body { background-color: #eee; } + </style> + + <script type="text/javascript"> + /** + Steps to create the demo: + + * Run the bullet test in the test runner, using HelloWorld.cpp from this directory, get the generated .js file + * Preferably use optimizations, etc. + * Disable typed arrays, probably. + * Prevent the compiled bullet from running main(), we don't need it anymore. For example, put a |return;| at the beginning of callMain(). + * Fix an inttoptr issue in compiled bullet, if built with QUANTUM == 1 (division by 16 should be 4) + * Go to the demos/webgl directory + * Run the demangler: python ../../third_party/demangler.py bullet_1_1_q1.js . > bullet.names + * Edit bullet_glue to use the right mangled names, with the output from the demangler + * Add some randomness to the initial cube positions by editing zz_prepare (search for 2.1 in the source) + * Optionally, run through closure compiler + */ + var NUM = 5; + var NUMRANGE = [1,2,3,4,5]; + + var boxes = []; + + function simulatePhysics(dt) { + simulateBulletDemo(dt); + + // Read bullet data into JS objects + var pos = [0,0,0]; + var quat = new CubicVR.Quaternion; + for (var i = 0; i < NUM; i++) { + readBulletObject(i+1, pos, quat); + var renderObject = boxes[i]; + renderObject.position[0] = pos[0]; + renderObject.position[1] = pos[1]; + renderObject.position[2] = pos[2]; + renderObject.rotation = quat.toEuler(); + } + } + + var dts = 0, num = 0, lastHUD = Date.now(); + + function showFPS(dt) { + var now = Date.now(); + dts += dt; + num++; + if (now - lastHUD > 333) { + document.getElementById('out2').innerHTML = '<b>FPS: ' + Math.ceil(1/(dts/num)) + '</b>'; + lastHUD = now; + dts = 0; + num = 0; + } + t = now; + } + + function startUp() { + var canvas = document.getElementById("canvas"); + canvas.width = screen.width*0.70; + canvas.height = screen.height*0.55; + + gl = CubicVR.GLCore.init(canvas, "CubicVR_Core.vs", "CubicVR_Core.fs"); + + if (!gl) { + alert("Sorry, no WebGL support :("); + return; + }; + + var scene = new CubicVR.Scene(canvas.width, canvas.height, 70); + var light = new CubicVR.Light({ + type: CubicVR.enums.light.type.POINT, + method: CubicVR.enums.light.method.DYNAMIC, + diffuse: [1, 1, 1], + specular: [0.25, 0.25, 0.25], + position: [0, 5, 20], + distance: 200 + }); + scene.bindLight(light); + + scene.camera.position = [0, 2.4, 17]; + scene.camera.target = [0, 2.4, 0]; + + var boxMaterials = NUMRANGE.map(function(i) { + return new CubicVR.Material({ + textures: { + color: new CubicVR.Texture("cube" + i + ".jpg") + } + }); + }); + + var boxMeshes = boxMaterials.map(function(boxMaterial) { + return new CubicVR.primitives.box({ + size: 2.0, + material: boxMaterial, + uvmapper: { + projectionMode: CubicVR.enums.uv.projection.CUBIC, + scale: [2, 2, 2] + } + }).triangulateQuads().compile().clean(); + }); + + for (var i = 0; i < NUM; i++) { + boxes[i] = new CubicVR.SceneObject({ mesh: boxMeshes[i], position: [0, -10000, 0] }); + scene.bindSceneObject(boxes[i], true); + } + + + var FLOOR_SIZE = 100; + var floorMaterial = new CubicVR.Material({ + textures: { + color: new CubicVR.Texture("cube3.jpg") + } + }); + var floorMesh = new CubicVR.primitives.box({ + size: FLOOR_SIZE, + material: floorMaterial, + uvmapper: { + projectionMode: CubicVR.enums.uv.projection.CUBIC, + scale: [FLOOR_SIZE, FLOOR_SIZE, FLOOR_SIZE] + } + }).triangulateQuads().compile().clean(); + + var floor_ = new CubicVR.SceneObject({ mesh: floorMesh, position: [0, -FLOOR_SIZE/2-6, 0] }); + scene.bindSceneObject(floor_, true); + + + + + var totalTime = 0; + var lastCenter = [0,0,0]; + var timeCenterFixed = 0; + function noticeCenter(dt) { + totalTime += dt; + var currCenter = [0,0,0]; + for (var i = 0; i < NUM; i++) { + currCenter = CubicVR.vec3.add(currCenter, boxes[i].position); + } + currCenter = CubicVR.vec3.multiply(currCenter, 1/NUM); + + var diff = CubicVR.vec3.length(CubicVR.vec3.subtract(currCenter, lastCenter))/dt; + if (diff < 0.01) { + timeCenterFixed += dt; + if (timeCenterFixed >= 1.0 && totalTime > 5.0 && + (currCenter[1] < -4.99 || totalTime > 11.0) ) restart(); + } else { + timeCenterFixed = 0; + } + lastCenter = currCenter; + } + + var mvc = new CubicVR.MouseViewController(canvas, scene.camera); + + CubicVR.MainLoop(function(timer, gl) { + var dt = timer.getLastUpdateSeconds(); + + simulatePhysics(dt); + noticeCenter(dt); + scene.render(); + showFPS(dt); + }); + } + + function restart() { + totalTime = 0; + restartBullet(); + } + </script> + </head> + <body onload="startUp()"> + <center> + <h2>Bullet/WebGL Demo</h2> + <!--form onsubmit="restart(); return false"> + <input type="submit" value="restart"> + </form--> + + <canvas id="canvas" width="600" height="500"></canvas> + <br><br> + <div id="out2">waka</div> + <p> + This is the <b><a href="http://www.bulletphysics.com">Bullet physics engine</a></b>, compiled from C++ to JavaScript using <b><a href="http://emscripten.org">Emscripten</a></b>, with rendering by <b><a href="https://github.com/cjcliffe/CubicVR.js/">CubicVR.js</a></b> using WebGL. + </p><p> + <ul> + <li>Adjust the view by dragging the mouse over the canvas.</li> + <li>Note that the first drop of the cubes may be slow - give the JITs time to warm up.</li> + </ul> + </p> + </center> + </body> +</html> + |