Guest User

Untitled

a guest
Aug 30th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Action script...
  2.  
  3. function bitOR(a, b)
  4. {
  5.     var _loc1 = a & 1 | b & 1;
  6.     var _loc2 = a >>> 1 | b >>> 1;
  7.     return (_loc2 << 1 | _loc1);
  8. } // End of the function
  9. function bitXOR(a, b)
  10. {
  11.     var _loc1 = a & 1 ^ b & 1;
  12.     var _loc2 = a >>> 1 ^ b >>> 1;
  13.     return (_loc2 << 1 | _loc1);
  14. } // End of the function
  15. function bitAND(a, b)
  16. {
  17.     var _loc1 = a & 1 & (b & 1);
  18.     var _loc2 = a >>> 1 & b >>> 1;
  19.     return (_loc2 << 1 | _loc1);
  20. } // End of the function
  21. function addme(x, y)
  22. {
  23.     var _loc1 = (x & 65535) + (y & 65535);
  24.     var _loc2 = (x >> 16) + (y >> 16) + (_loc1 >> 16);
  25.     return (_loc2 << 16 | _loc1 & 65535);
  26. } // End of the function
  27. function rhex(num)
  28. {
  29.     str = "";
  30.     for (j = 0; j <= 3; j++)
  31.     {
  32.         str = str + (hex_chr.charAt(num >> j * 8 + 4 & 15) + hex_chr.charAt(num >> j * 8 & 15));
  33.     } // end of for
  34.     return (str);
  35. } // End of the function
  36. function str2blks_MD5(str)
  37. {
  38.     nblk = (str.length + 8 >> 6) + 1;
  39.     blks = new Array(nblk * 16);
  40.     for (i = 0; i < nblk * 16; i++)
  41.     {
  42.         blks[i] = 0;
  43.     } // end of for
  44.     for (i = 0; i < str.length; i++)
  45.     {
  46.         blks[i >> 2] = blks[i >> 2] | str.charCodeAt(i) << (str.length * 8 + i) % 4 * 8;
  47.     } // end of for
  48.     blks[i >> 2] = blks[i >> 2] | 128 << (str.length * 8 + i) % 4 * 8;
  49.     var _loc2 = str.length * 8;
  50.     blks[nblk * 16 - 2] = _loc2 & 255;
  51.     blks[nblk * 16 - 2] = blks[nblk * 16 - 2] | (_loc2 >>> 8 & 255) << 8;
  52.     blks[nblk * 16 - 2] = blks[nblk * 16 - 2] | (_loc2 >>> 16 & 255) << 16;
  53.     blks[nblk * 16 - 2] = blks[nblk * 16 - 2] | (_loc2 >>> 24 & 255) << 24;
  54.     return (blks);
  55. } // End of the function
  56. function rol(num, cnt)
  57. {
  58.     return (num << cnt | num >>> 32 - cnt);
  59. } // End of the function
  60. function cmn(q, a, b, x, s, t)
  61. {
  62.     return (addme(rol(addme(addme(a, q), addme(x, t)), s), b));
  63. } // End of the function
  64. function ff(a, b, c, d, x, s, t)
  65. {
  66.     return (cmn(bitOR(bitAND(b, c), bitAND(b ^ 4294967295.000000, d)), a, b, x, s, t));
  67. } // End of the function
  68. function gg(a, b, c, d, x, s, t)
  69. {
  70.     return (cmn(bitOR(bitAND(b, d), bitAND(c, d ^ 4294967295.000000)), a, b, x, s, t));
  71. } // End of the function
  72. function hh(a, b, c, d, x, s, t)
  73. {
  74.     return (cmn(bitXOR(bitXOR(b, c), d), a, b, x, s, t));
  75. } // End of the function
  76. function ii(a, b, c, d, x, s, t)
  77. {
  78.     return (cmn(bitXOR(c, bitOR(b, d ^ 4294967295.000000)), a, b, x, s, t));
  79. } // End of the function
  80. function calcMD5(str)
  81. {
  82.     x = str2blks_MD5(str);
  83.     a = 1732584193;
  84.     b = -271733879;
  85.     c = -1732584194;
  86.     d = 271733878;
  87.     var _loc1;
  88.     for (i = 0; i < x.length; i = i + 16)
  89.     {
  90.         olda = a;
  91.         oldb = b;
  92.         oldc = c;
  93.         oldd = d;
  94.         _loc1 = 0;
  95.         a = ff(a, b, c, d, x[i + 0], 7, -680876936);
  96.         d = ff(d, a, b, c, x[i + 1], 12, -389564586);
  97.         c = ff(c, d, a, b, x[i + 2], 17, 606105819);
  98.         b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
  99.         a = ff(a, b, c, d, x[i + 4], 7, -176418897);
  100.         d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
  101.         c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
  102.         b = ff(b, c, d, a, x[i + 7], 22, -45705983);
  103.         a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
  104.         d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
  105.         c = ff(c, d, a, b, x[i + 10], 17, -42063);
  106.         b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
  107.         a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
  108.         d = ff(d, a, b, c, x[i + 13], 12, -40341101);
  109.         c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
  110.         b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
  111.         a = gg(a, b, c, d, x[i + 1], 5, -165796510);
  112.         d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
  113.         c = gg(c, d, a, b, x[i + 11], 14, 643717713);
  114.         b = gg(b, c, d, a, x[i + 0], 20, -373897302);
  115.         a = gg(a, b, c, d, x[i + 5], 5, -701558691);
  116.         d = gg(d, a, b, c, x[i + 10], 9, 38016083);
  117.         c = gg(c, d, a, b, x[i + 15], 14, -660478335);
  118.         b = gg(b, c, d, a, x[i + 4], 20, -405537848);
  119.         a = gg(a, b, c, d, x[i + 9], 5, 568446438);
  120.         d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
  121.         c = gg(c, d, a, b, x[i + 3], 14, -187363961);
  122.         b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
  123.         a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
  124.         d = gg(d, a, b, c, x[i + 2], 9, -51403784);
  125.         c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
  126.         b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
  127.         a = hh(a, b, c, d, x[i + 5], 4, -378558);
  128.         d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
  129.         c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
  130.         b = hh(b, c, d, a, x[i + 14], 23, -35309556);
  131.         a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
  132.         d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
  133.         c = hh(c, d, a, b, x[i + 7], 16, -155497632);
  134.         b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
  135.         a = hh(a, b, c, d, x[i + 13], 4, 681279174);
  136.         d = hh(d, a, b, c, x[i + 0], 11, -358537222);
  137.         c = hh(c, d, a, b, x[i + 3], 16, -722521979);
  138.         b = hh(b, c, d, a, x[i + 6], 23, 76029189);
  139.         a = hh(a, b, c, d, x[i + 9], 4, -640364487);
  140.         d = hh(d, a, b, c, x[i + 12], 11, -421815835);
  141.         c = hh(c, d, a, b, x[i + 15], 16, 530742520);
  142.         b = hh(b, c, d, a, x[i + 2], 23, -995338651);
  143.         a = ii(a, b, c, d, x[i + 0], 6, -198630844);
  144.         d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
  145.         c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
  146.         b = ii(b, c, d, a, x[i + 5], 21, -57434055);
  147.         a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
  148.         d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
  149.         c = ii(c, d, a, b, x[i + 10], 15, -1051523);
  150.         b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
  151.         a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
  152.         d = ii(d, a, b, c, x[i + 15], 10, -30611744);
  153.         c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
  154.         b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
  155.         a = ii(a, b, c, d, x[i + 4], 6, -145523070);
  156.         d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
  157.         c = ii(c, d, a, b, x[i + 2], 15, 718787259);
  158.         b = ii(b, c, d, a, x[i + 9], 21, -343485551);
  159.         a = addme(a, olda);
  160.         b = addme(b, oldb);
  161.         c = addme(c, oldc);
  162.         d = addme(d, oldd);
  163.     } // end of for
  164.     return (rhex(a) + rhex(b) + rhex(c) + rhex(d));
  165. } // End of the function
  166. function comprarclose()
  167. {
  168.     _root.animacioncomprar.gotoAndPlay(12);
  169. } // End of the function
  170. function tweetposted()
  171. {
  172.     msg = _global.errores.twt;
  173.     _root.extraError(msg, 1);
  174. } // End of the function
  175. function traduce(id, msg)
  176. {
  177.     idA = String(id).split(",");
  178.     idR = idA[0];
  179.     idT = idA[1];
  180.     mva = new Array(idR, msg);
  181.     oldmsg = _global.tempChat[idT];
  182.     delete _global.tempChat[idT];
  183.     mv = mva.join(",");
  184.     if (oldmsg == msg)
  185.     {
  186.         _root.addChat("c", mv);
  187.     }
  188.     else
  189.     {
  190.         _root.addChat("c", mv, oldmsg);
  191.     } // end else if
  192. } // End of the function
  193. function mandarTraduccion(id, msg, entrada, salida)
  194. {
  195.     if (entrada != salida)
  196.     {
  197.         getURL("javascript:translate(\'" + id + "\',\'" + msg + "\',\'" + entrada + "\',\'" + salida + "\');", "");
  198.     } // end if
  199. } // End of the function
  200. stop ();
  201. var hex_chr = "0123456789abcdef";
  202. _global.apuntandoA = "74.63.216.178";
  203. _global.puertoServer = 10637;
  204. _root.timerMo = 0;
  205. _global.globosSoltados = 0;
  206. _root.chatlog.unloadMovie();
  207. flash.external.ExternalInterface.addCallback("traducir", this, traduce);
  208. flash.external.ExternalInterface.addCallback("tweetdone", this, tweetposted);
  209. flash.external.ExternalInterface.addCallback("comprardone", this, comprarclose);
  210. _root.setMask(maskGame);
  211. getURL("FSCommand:fullscreen", true);
  212. stage.displayState = "fullScreen";
Add Comment
Please, Sign In to add comment