Posts: 965
Threads: 20
Joined: Jan 2014
So, usually, ripping content from flash games gives me no problems at all...
But, every once in a while, I encounter a game that I just cannot find the graphics for.
So, this is my general flash ripping help thread...
My first item is an MMO, Crystal Saga, by r2games
I do not presently have the means to locate any more of its numerous files, but I'll provide links to the few that luckily, I still can find...
These files are all binary files lacking any extension, and apparently with no header.
http://res.kong.r2games.com/res/641e01a6...be55eefc79
http://res.kong.r2games.com/res/6771fa04...e55b8ea775
http://res.kong.r2games.com/res/0a793231...fce4a94d21
http://res.kong.r2games.com/res/9885a5a3...b5f4892030
http://res.kong.r2games.com/res/f73002e7...95a4a401b9
http://res.kong.r2games.com/res/0d5537b3...5c1a6fedde
http://res.kong.r2games.com/res/dff6f873...2acae9d58c
http://res.kong.r2games.com/res/2d8e14ae...338867def0
http://res.kong.r2games.com/res/data1?idot4v
I'm assuming these contain the assets, among other things, but idk what to do with them.
The game's binaries are less than useful, the source has been encrypted, no code can be derived from them that would help understand the files... I didn't download any of the server-side scripts, either... All I know is that SOMEWHERE, that game has thousands of graphical assets stored, and their true format, if not encrypted, probably is jpg, swf, or png, based on i've seen other similar MMORPGs, too similar, in terms of the graphics style/engine. (But the only other one I've tried grabbing assets from, didn't have a bunch of weird binary files... I have a dump of what contents I could acquire/locate before it shutdown, and the size of said dump is close to or over one gigabyte...most of which are .swf and .png)
Someone help, please?
And tell me if the links don't work, my friend's web chat backups had to be examined, and the chat has some character encoding issues at times, which ruin copy and paste.
Posts: 965
Threads: 20
Joined: Jan 2014
Code: package
{
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.utils.*;
import loading.*;
dynamic public class WebLaucher extends Sprite
{
private var _201112:Object;
private var _201114:Object;
private var _201117:String;
private var _201118:Object;
private var _20111a:Object;
private var _20111b:Object;
private var _20111c:Object;
private var _20111d:Object;
private var _20111e:Object;
private var _20111f:Object;
private var _2011110:Object;
private var _201121:Object;
private var _201122:Object;
private var _201123:Object;
private var _201124:Object;
private var _201125:Object;
private var _201126:Object;
private var _201127:Object;
private var _201128:Object;
private var _201129:Object;
private var _20112a:Object;
private var _20112c:Object;
private var _20112e:Object;
private var _20112f:Object;
private var _201131:Object;
private var _201133:Object;
private var _201134:Object;
private var _201135:Object;
private var _201136:Object;
private var _201137:Object;
private var _201138:Object;
private var _201139:Object;
private var _20113b:Object;
private var _20113d:Object;
private var _20113f:Object = 16;
private var _2011310:Object;
private var _201141:Object;
private var _201142:Object;
private var _201144:Object;
private var _201147:Object;
private var _201148:Object;
private var _201149:TextField;
private var _20114a:Object;
private var _20114b:Object;
private var _20114c:uint = 34611;
private var _20114d:uint = 4361;
private var _20114e:Object;
private var _2011410:Object;
private var _201151:Object;
private var _201152:LoadingMC;
private var _201153:Object;
private var _201158:Object;
private var _201159:Object;
private var _20115a:Object;
private var _20115c:Object;
private var _20115d:Object;
private var _2011510:Object;
private var _201163:Object;
private var _201164:Object;
private var _201165:Object;
private var _201167:Object;
private var _201168:Object;
public var _20116a:int = 100000;
private var _20116c:Object;
private var _20116d:Object;
private var _20116e:Object;
private var _2011610:Object;
private var _201171:Object;
private var _201172:Object;
private var _201173:Object;
private var _201174:Object;
private var _201176:Object;
private var _201177:Object;
private var _201178:Object;
private var _201179:Object;
private var _20117a:Object;
private var _20117d:Object;
public var _20117e:Dictionary;
private var _2011710:Object;
private var _201183:Object;
private var _201184:Object;
private var _201185:Object;
private var _201186:Object;
private var _201188:Object;
private var _201189:Object;
private var _20118a:Object;
private var _20118b:Object;
private var _20118c:Object;
private var _20118d:Object;
private var _20118e:Object;
private var _20118f:Object;
private var _2011810:Object;
private var _201191:Object;
private var _201192:Object;
private var _201193:Object;
private var _201194:Object;
private var _201195:Object;
private var _201196:Object;
private var _201197:Object;
private var _201199:Object;
private var _20119a:Object;
private var _20119b:Object;
private var _20119c:Object;
private var _20119d:Object;
private var _20119f:Object;
private var _2011910:Object;
private var _2011a3:Object;
private var _2011a5:Object;
private var _2011a6:Object;
private var _2011a9:Object;
private var _2011ab:Object;
private var _2011ac:Object;
private var _2011ad:uint = 43839;
private var _2011a10:Object;
private var _2011b3:Object;
private var _2011b5:Object;
private var _2011b7:Object;
private var _2011b8:Object;
private var _2011b9:Object;
private var _2011bb:Object;
private var _2011bc:Object;
private var _2011bd:Object;
private var _2011bf:Object;
public var _2011b10:Object;
private var _2011c1:Object;
public function WebLaucher()
{
;
var _loc_1:* = _2011a3;
if (_20114c != 0)
{
_201182();
}
if (_20111f != 0)
{
_201181();
}
var _loc_1:String = this;
_loc_1.this[_201141](_201134, _2011a2);
var _loc_1:String = this;
_loc_1.this[_201141](_201178, _20115e);
if (_20114d != 0)
{
_20117c();
}
if (_20114c != 0)
{
_201182();
}
_20114d = _20114d ^ _2011ad << 4;
return;
;
}// end function
private function _201113() : void
{
;
var _loc_1:uint = 0;
_loc_1 = 0;
while (_loc_1 < _20116e.length)
{
_loc_1 = _loc_1 + 1;
}
_loc_1 = 0;
while (_loc_1 < _201164.length)
{
_loc_1 = _loc_1 + 1;
}
_20116e = null;
_201164 = null;
return;
;
}// end function
private function _201115(param1, param2, param3, param4, param5) : void
{
;
var _loc_6:uint = 0;
var _loc_7:uint = 0;
var _loc_8:uint = 0;
var _loc_10:uint = 0;
_loc_8 = (param2[param3 + 0] & 255) << 24;
_loc_8 = _loc_8 | (param2[(param3 + 1)] & 255) << 16;
_loc_8 = _loc_8 | (param2[param3 + 2] & 255) << 8;
_loc_8 = _loc_8 | param2[param3 + 3] & 255;
_loc_7 = (param2[param3 + 4] & 255) << 24;
_loc_7 = _loc_7 | (param2[param3 + 5] & 255) << 16;
_loc_7 = _loc_7 | (param2[param3 + 6] & 255) << 8;
_loc_7 = _loc_7 | param2[param3 + 7] & 255;
_loc_6 = (_loc_8 >>> 4 ^ _loc_7) & 252645135;
_loc_7 = _loc_7 ^ _loc_6;
_loc_8 = _loc_8 ^ _loc_6 << 4;
_loc_6 = (_loc_8 >>> 16 ^ _loc_7) & 65535;
_loc_7 = _loc_7 ^ _loc_6;
_loc_8 = _loc_8 ^ _loc_6 << 16;
_loc_6 = (_loc_7 >>> 2 ^ _loc_8) & 858993459;
_loc_8 = _loc_8 ^ _loc_6;
_loc_7 = _loc_7 ^ _loc_6 << 2;
_loc_6 = (_loc_7 >>> 8 ^ _loc_8) & 16711935;
_loc_8 = _loc_8 ^ _loc_6;
_loc_7 = _loc_7 ^ _loc_6 << 8;
_loc_7 = (_loc_7 << 1 | _loc_7 >>> 31 & 1) & 4294967295;
_loc_6 = (_loc_8 ^ _loc_7) & 2863311530;
_loc_8 = _loc_8 ^ _loc_6;
_loc_7 = _loc_7 ^ _loc_6;
_loc_8 = (_loc_8 << 1 | _loc_8 >>> 31 & 1) & 4294967295;
var _loc_9:uint = 0;
while (_loc_9 < 8)
{
_loc_6 = _loc_7 << 28 | _loc_7 >>> 4;
_loc_6 = _loc_6 ^ param1[_loc_9 * 4 + 0];
_loc_10 = _201199[_loc_6 & 63];
_loc_10 = _loc_10 | _20118b[_loc_6 >>> 8 & 63];
_loc_10 = _loc_10 | _20119c[_loc_6 >>> 16 & 63];
_loc_10 = _loc_10 | _201188[_loc_6 >>> 24 & 63];
_loc_6 = _loc_7 ^ param1[_loc_9 * 4 + 1];
_loc_10 = _loc_10 | _20118d[_loc_6 & 63];
_loc_10 = _loc_10 | _2011a5[_loc_6 >>> 8 & 63];
_loc_10 = _loc_10 | _20118a[_loc_6 >>> 16 & 63];
_loc_10 = _loc_10 | _201189[_loc_6 >>> 24 & 63];
_loc_8 = _loc_8 ^ _loc_10;
_loc_6 = _loc_8 << 28 | _loc_8 >>> 4;
_loc_6 = _loc_6 ^ param1[_loc_9 * 4 + 2];
_loc_10 = _201199[_loc_6 & 63];
_loc_10 = _loc_10 | _20118b[_loc_6 >>> 8 & 63];
_loc_10 = _loc_10 | _20119c[_loc_6 >>> 16 & 63];
_loc_10 = _loc_10 | _201188[_loc_6 >>> 24 & 63];
_loc_6 = _loc_8 ^ param1[_loc_9 * 4 + 3];
_loc_10 = _loc_10 | _20118d[_loc_6 & 63];
_loc_10 = _loc_10 | _2011a5[_loc_6 >>> 8 & 63];
_loc_10 = _loc_10 | _20118a[_loc_6 >>> 16 & 63];
_loc_10 = _loc_10 | _201189[_loc_6 >>> 24 & 63];
_loc_7 = _loc_7 ^ _loc_10;
_loc_9 = _loc_9 + 1;
}
_loc_7 = _loc_7 << 31 | _loc_7 >>> 1;
_loc_6 = (_loc_8 ^ _loc_7) & 2863311530;
_loc_8 = _loc_8 ^ _loc_6;
_loc_7 = _loc_7 ^ _loc_6;
_loc_8 = _loc_8 << 31 | _loc_8 >>> 1;
_loc_6 = (_loc_8 >>> 8 ^ _loc_7) & 16711935;
_loc_7 = _loc_7 ^ _loc_6;
_loc_8 = _loc_8 ^ _loc_6 << 8;
_loc_6 = (_loc_8 >>> 2 ^ _loc_7) & 858993459;
_loc_7 = _loc_7 ^ _loc_6;
_loc_8 = _loc_8 ^ _loc_6 << 2;
_loc_6 = (_loc_7 >>> 16 ^ _loc_8) & 65535;
_loc_8 = _loc_8 ^ _loc_6;
_loc_7 = _loc_7 ^ _loc_6 << 16;
_loc_6 = (_loc_7 >>> 4 ^ _loc_8) & 252645135;
_loc_8 = _loc_8 ^ _loc_6;
_loc_7 = _loc_7 ^ _loc_6 << 4;
param4[param5 + 7] = _loc_8 & 255;
return;
;
}// end function
private function _201116(param1) : void
{
;
var _loc_2:* = param1.target.data;
var _loc_3:* = new Loader();
this.addChild(_loc_3);
_loc_3.loadBytes(_loc_2);
return;
;
}// end function
public function _201119() : void
{
;
var _loc_2:Entry = null;
var _loc_1:* = getTimer();
for each (_loc_2 in _2011b10)
{
}
return;
;
}// end function
private function _20112b() : uint
{
;
return 64;
;
}// end function
private function _20112d()
{
;
var _loc_1:* = new Loader();
var _loc_2:* = this.stage.stageWidth / 2;
var _loc_2:* = this.stage.stageHeight / 2;
this.addChild(_loc_1);
_loc_1.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _20113a);
_loc_1.load(new URLRequest(_201167));
return;
;
}// end function
private function _2011210(param1) : void
{
;
var _loc_2:* = _201184;
var _loc_3:* = param1[_20113b] * _2011a9 / param1[_2011510];
_20118c[_201151][_20119f] = _loc_2._201184[_201163](_2011b8, _loc_3.(param1[_20113b] * _2011a9 / param1[_2011510])[_2011bc](1));
return;
;
}// end function
private function _201132(param1, param2:uint = 0) : void
{
;
_201115(_20116e, param1, param2, param1, param2);
return;
;
}// end function
private function _20113a(event:Event) : void
{
;
return;
;
}// end function
private function _20113c(param1)
{
;
if (param1 == null || param1.length == 0)
{
return null;
}
if (param1[0] == 123)
{
}
else
{
_20117b(param1);
var _loc_2:* = param1;
_loc_2.param1[_201127]();
}
var _loc_2:* = param1;
return _loc_2.param1[_201168](param1[_2011bb]);
;
}// end function
private function _20113e(param1) : void
{
;
var _loc_2:* = _20113c(_201158);
if (_loc_2 != null)
{
var _loc_3:* = _loc_2;
}
var _loc_3:String = this;
_loc_3.this[_201126]();
return;
;
}// end function
private function _201143(param1)
{
;
param1 = param1.replace(/\s|:""\s|:/gm, "");
var _loc_2:* = _201175(_201173);
if (param1.length & 1 == 1)
{
param1 = "0" + param1;
}
var _loc_3:uint = 0;
while (_loc_3 < param1.length)
{
_loc_3 = _loc_3 + 2;
}
return _loc_2;
;
}// end function
public function _201145() : void
{
;
var _loc_3:Entry = null;
var _loc_1:* = getTimer();
var _loc_2:int = 0;
while (_loc_2 < _20116a)
{
_loc_3 = _20117e["name" + _loc_2];
_loc_2++;
}
return;
;
}// end function
private function _201146(param1)
{
;
return param1;
;
}// end function
public function _20114f() : void
{
;
;
(null | null <= this).graphics.lineStyle(1, 16711680);
this.graphics.drawRect(0, 0, 800, 600);
this.addChild(_201149);
_201149.htmlText = "<p align=\'center\'>第一行。。。。。。。。。。。。。。。。。。</p>";
_201149.htmlText = "<p align=\'center\'>第一行。。。。。。。。。。。。。。。。。。<br>第二行。。</p>";
return;
;
}// end function
private function _201154(param1, param2, param3)
{
;
var _loc_7:uint = 0;
var _loc_10:uint = 0;
var _loc_11:uint = 0;
var _loc_12:uint = 0;
var _loc_13:uint = 0;
var _loc_4:Array = [];
var _loc_5:* = _201175(_201173);
var _loc_6:* = _201175(_201173);
var _loc_8:uint = 0;
while (_loc_8 < 56)
{
_loc_7 = _201147[_loc_8];
_loc_8 = _loc_8 + 1;
}
var _loc_9:uint = 0;
while (_loc_9 < 16)
{
if (param1)
{
_loc_10 = _loc_9 << 1;
}
else
{
_loc_10 = 15 - _loc_9 << 1;
}
_loc_11 = _loc_10 + 1;
var _loc_14:int = 0;
_loc_8 = 0;
while (_loc_8 < 28)
{
_loc_7 = _loc_8 + _2011b7[_loc_9];
if (_loc_7 < 28)
{
}
else
{
}
_loc_8 = _loc_8 + 1;
}
_loc_8 = 28;
while (_loc_8 < 56)
{
_loc_7 = _loc_8 + _2011b7[_loc_9];
if (_loc_7 < 56)
{
}
else
{
}
_loc_8 = _loc_8 + 1;
}
_loc_8 = 0;
while (_loc_8 < 24)
{
if (_loc_6[_201144[_loc_8]])
{
}
if (_loc_6[_201144[_loc_8 + 24]])
{
}
_loc_8 = _loc_8 + 1;
}
_loc_9 = _loc_9 + 1;
}
_loc_9 = 0;
while (_loc_9 != 32)
{
_loc_12 = _loc_4[_loc_9];
_loc_13 = _loc_4[(_loc_9 + 1)];
_loc_9 = _loc_9 + 2;
}
return _loc_4;
;
}// end function
private function _201155(param1) : void
{
;
if (_20114c > 0)
{
_201182();
}
if (_20114d > 0)
{
_20117c();
}
_20117b(_201136);
if (_2011ad > 0)
{
_201181();
}
var _loc_2:* = _201136;
_loc_2._201136[_201127]();
var _loc_2:* = this[_20111a];
_loc_2.this[_20111a][_20117d](_201135);
if (_20114c == 0)
{
_201182();
}
var _loc_2:* = _201118;
if (_loc_2._201118[_2011b3](_201183))
{
}
var _loc_2:* = _201135;
_loc_2._201135[_20112f](_201136, _201118);
if (this[_201112] == this[_20111a])
{
var _loc_2:* = this[_20111a];
_loc_2.this[_20111a][_2011610](this);
}
else
{
var _loc_2:* = this[_201112][_201112];
_loc_2.this[_201112][_201112][_2011610](this[_201112]);
}
_201136 = null;
return;
;
}// end function
private function _201156() : void
{
;
var _loc_2:String = null;
var _loc_1:* = new TextField();
_loc_1.appendText("---param---\n");
for (_loc_2 in this.loaderInfo.parameters)
{
_loc_1.appendText(_loc_2 + ": " + this.loaderInfo.parameters[_loc_2] + "\n");
}
this.stage.addChild(_loc_1);
return;
;
}// end function
private function _201157(param1, param2:Boolean = false)
{
;
var _loc_3:String = "";
var _loc_4:uint = 0;
while (_loc_4 < param1.length)
{
_loc_3 = _loc_3 + ("0" + param1[_loc_4].toString(16)).substr(-2, 2);
if (param2)
{
if (_loc_4 < (param1.length - 1))
{
_loc_3 = _loc_3 + ":";
}
}
_loc_4 = _loc_4 + 1;
}
return _loc_3;
;
}// end function
private function _20115b(param1) : void
{
;
;
var _loc_2:* = null | null <= this;
_loc_2.(null | null <= this)[_201126]();
return;
;
}// end function
public function _20115e(param1) : void
{
;
return;
;
}// end function
private function _20115f(param1:uint, param2:uint, param3:uint, param4:uint, param5:uint, param6:uint, param7:uint) : uint
{
;
return _20117f(param2 & param3 | ~param2 & param4, param1, param2, param5, param6, param7);
;
}// end function
private function _201161(param1:uint, param2:uint, param3:uint, param4:uint, param5:uint, param6:uint, param7:uint) : uint
{
;
return _20117f(param2 & param4 | param3 & ~param4, param1, param2, param5, param6, param7);
;
}// end function
private function _201162(param1:Array, param2:uint)
{
;
var _loc_8:uint = 0;
var _loc_9:uint = 0;
var _loc_10:uint = 0;
var _loc_11:uint = 0;
var _loc_3:uint = 1732584193;
var _loc_4:uint = 4023233417;
var _loc_5:uint = 2562383102;
var _loc_6:uint = 271733878;
var _loc_7:uint = 0;
while (_loc_7 < param1.length)
{
_loc_8 = _loc_3;
_loc_9 = _loc_4;
_loc_10 = _loc_5;
_loc_11 = _loc_6;
_loc_3 = _20115f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 0], 7, 3614090360);
_loc_6 = _20115f(_loc_6, _loc_3, _loc_4, _loc_5, param1[(_loc_7 + 1)], 12, 3905402710);
_loc_5 = _20115f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 2], 17, 606105819);
_loc_4 = _20115f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 3], 22, 3250441966);
_loc_3 = _20115f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 4], 7, 4118548399);
_loc_6 = _20115f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 5], 12, 1200080426);
_loc_5 = _20115f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 6], 17, 2821735955);
_loc_4 = _20115f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 7], 22, 4249261313);
_loc_3 = _20115f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 8], 7, 1770035416);
_loc_6 = _20115f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 9], 12, 2336552879);
_loc_5 = _20115f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 10], 17, 4294925233);
_loc_4 = _20115f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 11], 22, 2304563134);
_loc_3 = _20115f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 12], 7, 1804603682);
_loc_6 = _20115f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 13], 12, 4254626195);
_loc_5 = _20115f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 14], 17, 2792965006);
_loc_4 = _20115f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 15], 22, 1236535329);
_loc_3 = _201161(_loc_3, _loc_4, _loc_5, _loc_6, param1[(_loc_7 + 1)], 5, 4129170786);
_loc_6 = _201161(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 6], 9, 3225465664);
_loc_5 = _201161(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 11], 14, 643717713);
_loc_4 = _201161(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 0], 20, 3921069994);
_loc_3 = _201161(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 5], 5, 3593408605);
_loc_6 = _201161(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 10], 9, 38016083);
_loc_5 = _201161(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 15], 14, 3634488961);
_loc_4 = _201161(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 4], 20, 3889429448);
_loc_3 = _201161(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 9], 5, 568446438);
_loc_6 = _201161(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 14], 9, 3275163606);
_loc_5 = _201161(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 3], 14, 4107603335);
_loc_4 = _201161(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 8], 20, 1163531501);
_loc_3 = _201161(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 13], 5, 2850285829);
_loc_6 = _201161(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 2], 9, 4243563512);
_loc_5 = _201161(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 7], 14, 1735328473);
_loc_4 = _201161(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 12], 20, 2368359562);
_loc_3 = _201166(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 5], 4, 4294588738);
_loc_6 = _201166(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 8], 11, 2272392833);
_loc_5 = _201166(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 11], 16, 1839030562);
_loc_4 = _201166(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 14], 23, 4259657740);
_loc_3 = _201166(_loc_3, _loc_4, _loc_5, _loc_6, param1[(_loc_7 + 1)], 4, 2763975236);
_loc_6 = _201166(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 4], 11, 1272893353);
_loc_5 = _201166(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 7], 16, 4139469664);
_loc_4 = _201166(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 10], 23, 3200236656);
_loc_3 = _201166(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 13], 4, 681279174);
_loc_6 = _201166(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 0], 11, 3936430074);
_loc_5 = _201166(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 3], 16, 3572445317);
_loc_4 = _201166(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 6], 23, 76029189);
_loc_3 = _201166(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 9], 4, 3654602809);
_loc_6 = _201166(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 12], 11, 3873151461);
_loc_5 = _201166(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 15], 16, 530742520);
_loc_4 = _201166(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 2], 23, 3299628645);
_loc_3 = _20116f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 0], 6, 4096336452);
_loc_6 = _20116f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 7], 10, 1126891415);
_loc_5 = _20116f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 14], 15, 2878612391);
_loc_4 = _20116f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 5], 21, 4237533241);
_loc_3 = _20116f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 12], 6, 1700485571);
_loc_6 = _20116f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 3], 10, 2399980690);
_loc_5 = _20116f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 10], 15, 4293915773);
_loc_4 = _20116f(_loc_4, _loc_5, _loc_6, _loc_3, param1[(_loc_7 + 1)], 21, 2240044497);
_loc_3 = _20116f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 8], 6, 1873313359);
_loc_6 = _20116f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 15], 10, 4264355552);
_loc_5 = _20116f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 6], 15, 2734768916);
_loc_4 = _20116f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 13], 21, 1309151649);
_loc_3 = _20116f(_loc_3, _loc_4, _loc_5, _loc_6, param1[_loc_7 + 4], 6, 4149444226);
_loc_6 = _20116f(_loc_6, _loc_3, _loc_4, _loc_5, param1[_loc_7 + 11], 10, 3174756917);
_loc_5 = _20116f(_loc_5, _loc_6, _loc_3, _loc_4, param1[_loc_7 + 2], 15, 718787259);
_loc_4 = _20116f(_loc_4, _loc_5, _loc_6, _loc_3, param1[_loc_7 + 9], 21, 3951481745);
_loc_3 = _loc_3 + _loc_8;
_loc_4 = _loc_4 + _loc_9;
_loc_5 = _loc_5 + _loc_10;
_loc_6 = _loc_6 + _loc_11;
_loc_7 = _loc_7 + 16;
}
return [_loc_3, _loc_4, _loc_5, _loc_6];
;
}// end function
private function _201166(param1:uint, param2:uint, param3:uint, param4:uint, param5:uint, param6:uint, param7:uint) : uint
{
;
return _20117f(param2 ^ param3 ^ param4, param1, param2, param5, param6, param7);
;
}// end function
private function _201169(param1)
{
;
var _loc_2:* = param1.length * 8;
var _loc_3:* = param1.endian;
while (param1.length % 4 != 0)
{
}
var _loc_4:Array = [];
var _loc_5:uint = 0;
while (_loc_5 < param1.length)
{
_loc_4.push(param1.readUnsignedInt());
_loc_5 = _loc_5 + 4;
}
var _loc_6:* = _201162(_loc_4, _loc_2);
var _loc_7:* = _201175(_201173);
_loc_5 = 0;
while (_loc_5 < 4)
{
_loc_7.writeUnsignedInt(_loc_6[_loc_5]);
_loc_5 = _loc_5 + 1;
}
param1.endian = _loc_3;
return _loc_7;
;
}// end function
private function _20116b(param1) : void
{
;
;
(null | null <= this)._201131 = param1;
this._201164 = _201154(false, param1, 0);
return;
;
}// end function
private function _20116f(param1:uint, param2:uint, param3:uint, param4:uint, param5:uint, param6:uint, param7:uint) : uint
{
;
return _20117f(param3 ^ (param2 | ~param4), param1, param2, param5, param6, param7);
;
}// end function
private function _201175(param1, param2 = null)
{
;
return param2 == null ? (new param1) : (new param1(param2));
;
}// end function
private function _20117b(param1) : void
{
;
if (!_201131)
{
_20116b(_201143(_201117));
}
_2011a8(param1);
return;
;
}// end function
private function _20117c() : void
{
;
var _loc_1:* = undefined;
var _loc_2:* = undefined;
var _loc_3:* = undefined;
var _loc_4:* = undefined;
var _loc_5:* = undefined;
var _loc_6:* = undefined;
_loc_3 = _loc_3 ^ _loc_1;
_loc_2 = _loc_3 << 28 | _loc_3 >>> 4;
_loc_1 = _201199[_loc_2 & 63];
_loc_1 = _loc_1 | _20118b[_loc_2 >>> 8 & 63];
_loc_1 = _loc_1 | _20119c[_loc_2 >>> 16 & 63];
_loc_1 = _loc_1 | _201188[_loc_2 >>> 24 & 63];
_loc_1 = _loc_1 | _20118d[_loc_2 & 63];
_loc_1 = _loc_1 | _2011a5[_loc_2 >>> 8 & 63];
return;
;
}// end function
private function _20117f(param1:uint, param2:uint, param3:uint, param4:uint, param5:uint, param6:uint) : uint
{
;
return _2011b4(param2 + param1 + param4 + param6, param5) + param3;
;
}// end function
private function _201181() : void
{
;
var _loc_1:* = undefined;
var _loc_2:* = undefined;
var _loc_3:* = undefined;
var _loc_4:* = undefined;
var _loc_5:* = undefined;
var _loc_6:* = undefined;
_loc_2 = _loc_4 << 28 | _loc_4 >>> 4;
_loc_1 = _201199[_loc_2 & 63];
_loc_1 = _loc_1 | _20118b[_loc_2 >>> 8 & 63];
_loc_1 = _loc_1 | _20119c[_loc_2 >>> 16 & 63];
_loc_1 = _loc_1 | _201189[_loc_2 >>> 24 & 63];
_loc_3 = _loc_3 ^ _loc_1;
_loc_2 = _loc_3 << 28 | _loc_3 >>> 4;
_loc_1 = _201199[_loc_2 & 63];
_loc_1 = _loc_1 | _20118b[_loc_2 >>> 8 & 63];
_loc_1 = _loc_1 | _20118d[_loc_2 & 63];
_loc_1 = _loc_1 | _2011a5[_loc_2 >>> 8 & 63];
_loc_1 = _loc_1 | _201189[_loc_2 >>> 24 & 63];
_loc_4 = _loc_4 ^ _loc_1;
return;
;
}// end function
private function _201182() : void
{
;
var _loc_1:* = undefined;
var _loc_2:* = undefined;
var _loc_3:* = undefined;
var _loc_4:* = undefined;
var _loc_5:* = undefined;
var _loc_6:* = undefined;
_loc_2 = _loc_4 << 28 | _loc_4 >>> 4;
_loc_1 = _201199[_loc_2 & 63];
_loc_1 = _loc_1 | _20118b[_loc_2 >>> 8 & 63];
_loc_1 = _loc_1 | _20119c[_loc_2 >>> 16 & 63];
_loc_1 = _loc_1 | _201188[_loc_2 >>> 24 & 63];
_loc_1 = _loc_1 | _20118d[_loc_2 & 63];
_loc_1 = _loc_1 | _2011a5[_loc_2 >>> 8 & 63];
_loc_1 = _loc_1 | _20118a[_loc_2 >>> 16 & 63];
_loc_1 = _loc_1 | _201189[_loc_2 >>> 24 & 63];
_loc_3 = _loc_3 ^ _loc_1;
return;
;
}// end function
private function _201187(param1) : void
{
;
if (!_201131)
{
_20116b(_201143(_201117));
}
_201132(param1);
return;
;
}// end function
public function _201198() : void
{
;
var _loc_2:Entry = null;
var _loc_1:* = getTimer();
for each (_loc_5 in _20117e)
{
_loc_2 = _loc_4[_loc_3];
}
return;
;
}// end function
private function _20119e() : uint
{
;
return 8;
;
}// end function
private function _2011a1(param1)
{
;
return _201157(_201169(param1));
;
}// end function
public function _2011a2(param1) : void
{
;
;
var _loc_2:* = null | null <= this;
_loc_2.(null | null <= this)[_2011310]();
if (_20111f != 0)
{
_201181();
}
var _loc_2:String = this;
_loc_2.this[_201172]();
if (_20114d != 0)
{
_20117c();
}
if (_20114c != 0)
{
_201182();
}
_20114d = _20114d ^ _2011ad << 4;
return;
;
}// end function
private function _2011a4(param1) : void
{
;
_201149.text = _20114b.replace("xx", (param1.bytesLoaded * 100 / param1.bytesTotal).toFixed(1));
return;
;
}// end function
public function _2011a7() : void
{
;
var _loc_3:Entry = null;
var _loc_1:* = getTimer();
var _loc_2:int = 0;
while (_loc_2 < _20116a)
{
_loc_3 = new Entry("name" + _loc_2, _loc_2);
_loc_2++;
}
return;
;
}// end function
private function _2011a8(param1, param2:uint = 0) : void
{
;
_201115(_201164, param1, param2, param1, param2);
return;
;
}// end function
private function _2011aa(param1) : void
{
;
return;
;
}// end function
private function _2011ae() : uint
{
;
return _20113f;
;
}// end function
private function _2011af(param1:String) : void
{
;
var _loc_2:* = new URLRequest(param1);
var _loc_3:* = new URLLoader();
_loc_3.addEventListener(ProgressEvent.PROGRESS, _2011a4);
_loc_3.addEventListener(Event.COMPLETE, _201116);
_loc_3.addEventListener(IOErrorEvent.IO_ERROR, _2011b1);
_loc_3.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _2011b1);
_loc_3.load(_loc_2);
return;
;
}// end function
private function _2011b1(param1) : void
{
;
trace(param1.toString());
return;
;
}// end function
public function _2011b2() : void
{
;
var _loc_3:Entry = null;
var _loc_1:* = getTimer();
var _loc_2:int = 0;
while (_loc_2 < _20116a)
{
_loc_3 = _2011b10["name" + _loc_2];
_loc_2++;
}
return;
;
}// end function
private function _2011b4(param1:uint, param2:uint) : uint
{
;
return param1 << param2 | param1 >>> 32 - param2;
;
}// end function
public function _2011b6() : void
{
;
var _loc_3:Entry = null;
var _loc_1:* = getTimer();
var _loc_2:int = 0;
while (_loc_2 < _20116a)
{
_loc_3 = new Entry("name" + _loc_2, _loc_2);
_loc_2++;
}
return;
;
}// end function
private function _2011ba() : void
{
;
var _loc_2:* = undefined;
var _loc_1:* = this[_20114a][_201174][_201176];
return;
;
}// end function
private function _2011be() : void
{
;
if (_20114c > 0)
{
_201182();
}
if (_20114d > 0)
{
_20117c();
}
var _loc_1:String = this;
_loc_1.this[_20117d](_20118c);
if (_2011ad > 0)
{
_201181();
}
var _loc_1:* = _20112a;
_loc_1._20112a[_201141](_201137, _2011210);
var _loc_1:* = _20112a;
_loc_1._20112a[_201141](_2011410, _2011aa);
var _loc_1:* = _20112a;
_loc_1._20112a[_201141](_2011b5, _2011aa);
var _loc_1:* = _20112a;
_loc_1._20112a[_201141](_20119a, _201155);
var _loc_1:* = _20112a;
_loc_1._20112a[_201171](_201175(_2011a6, _201133));
_2011ad = (_20114c ^ _20114d) & 2863311530;
return;
;
}// end function
;
;
}
}
class Entry extends Object
{
public var value:int;
public var name:String;
function Entry(param1:String, param2:int)
{
;
;
var _loc_3:* = param1;
var _loc_3:* = param2;
value = param2;
return;
;
}// end function
;
;
}
ok, so i suspect encryption or a custom compression scheme... (maybe both) has been applied to those files with the random hexidecimal names... I decided to have my friend dig-up the url for the game's loader. All the text seen here is the decompiled code for the loader (the important stuff anyways)
however, it's simply UN-readable, being obfuscated pretty heavy.
I need someone to go through and try to de-obfuscate/re-write this as extensively as possible.
If that were to be done, a tool could probably be created to to open these files..
Then I can rip!
|