Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ActionScript 3.0
- // class Ϣߐ
- package
- {
- import flash.display.*;
- import flash.events.*;
- import flash.net.*;
- import flash.system.*;
- import flash.utils.*;
- import laan.smart.proxies.filesystem.*;
- public dynamic class Ϣߐ extends flash.display.MovieClip
- {
- public function Ϣߐ()
- {
- super();
- if (flash.system.Security.sandboxType != "application")
- {
- flash.system.Security.allowDomain("*");
- }
- if (stage)
- {
- this.init();
- }
- else
- {
- addEventListener(flash.events.Event.ADDED_TO_STAGE, this.init);
- }
- return;
- }
- internal function init(arg1:flash.events.Event):void
- {
- var loc6:*=null;
- var loc5:*=null;
- var loc4:*=null;
- var loc3:*=null;
- var loc2:*=null;
- var loc1:*=null;
- loc4 = null;
- loc5 = null;
- loc6 = 0;
- loc1 = this.init[0];
- loc2 = this.init[1];
- loc3 = 3;
- while (loc3-- > 0)
- {
- (loc4 = new flash.utils.ByteArray()).writeBytes(loc2);
- loc4.position = loc4.length;
- loc4.endian = flash.utils.Endian.LITTLE_ENDIAN;
- loc5 = new flash.utils.ByteArray();
- loc6 = Math.random() * Math.min(loc1, 2 * 1024 * 1024);
- while (loc5.length < loc6)
- {
- loc5.writeBytes(loc2, Math.random() * loc2.length / 3);
- }
- loc5.length = loc6;
- if (loc5.length >= 63)
- {
- loc4.writeShort(87 << 6 | 63);
- loc4.writeUnsignedInt(loc5.length);
- }
- else
- {
- loc4.writeShort(87 << 6 | loc5.length);
- }
- loc4.writeBytes(loc5);
- loc4.writeShort(1 << 6);
- loc4.writeShort(0);
- loc4.position = 4;
- loc4.writeUnsignedInt(loc4.length);
- this.init.writeBytes(loc4);
- if (!(this.init.length > 30 * 1024 * 1024))
- {
- continue;
- }
- removeEventListener(flash.events.Event.ENTER_FRAME, this.init);
- break;
- }
- return;
- }
- internal function init(arg1:flash.utils.ByteArray):void
- {
- var loc3:*=null;
- var loc2:*=null;
- var loc1:*=null;
- this.init = [];
- loc1 = arg1.readUnsignedInt();
- loc2 = arg1.readUnsignedInt();
- loc3 = new flash.utils.ByteArray();
- arg1.readBytes(loc3, 0, loc2);
- this.init = new flash.utils.ByteArray();
- this.init.endian = flash.utils.Endian.LITTLE_ENDIAN;
- this.init = [loc1, loc3];
- addEventListener(flash.events.Event.ENTER_FRAME, this.init);
- this.init(null);
- return;
- }
- internal function init(arg1:flash.events.Event=null):void
- {
- var loc1:*=null;
- loc1 = null;
- if (arg1)
- {
- removeEventListener(flash.events.Event.ADDED_TO_STAGE, this.init);
- }
- this.LOADING_BAR_CLASS = new flash.system.LoaderContext(false, flash.system.ApplicationDomain.currentDomain);
- if (this.LOADING_BAR_CLASS.hasOwnProperty("allowLoadBytesCodeExecution"))
- {
- Object(this.LOADING_BAR_CLASS).allowLoadBytesCodeExecution = true;
- }
- if (this.LOADING_BAR_CLASS.hasOwnProperty("parameters"))
- {
- Object(this.LOADING_BAR_CLASS)["parameters"] = stage.loaderInfo.parameters;
- }
- flash.display.StageAlign.prototype["@doswf__s"] = stage;
- flash.display.StageAlign.prototype.setPropertyIsEnumerable("@doswf__s", false);
- flash.display.LoaderInfo.prototype["@doswf__u"] = stage.loaderInfo.url;
- flash.display.LoaderInfo.prototype.setPropertyIsEnumerable("@doswf__u", false);
- flash.display.LoaderInfo.prototype["@doswf__p"] = stage.loaderInfo.parameters;
- flash.display.LoaderInfo.prototype.setPropertyIsEnumerable("@doswf__p", false);
- if (flash.system.ApplicationDomain.currentDomain.hasDefinition(LOADING_BAR_CLASS))
- {
- loc1 = flash.system.ApplicationDomain.currentDomain.getDefinition(LOADING_BAR_CLASS) as Class;
- this.LOADING_BAR_CLASS = new loc1() as flash.display.DisplayObject;
- addChild(this.LOADING_BAR_CLASS);
- stop();
- addEventListener(flash.events.Event.ENTER_FRAME, this.init);
- }
- else
- {
- this.init();
- }
- return;
- }
- internal function init():void
- {
- var loc1:*=null;
- loc1 = this.init(new Ϣߑ());
- loc1.uncompress();
- this.init(loc1);
- return;
- }
- internal function init(arg1:flash.events.Event):void
- {
- var loc1:*=null;
- loc1 = loaderInfo.bytesLoaded / loaderInfo.bytesTotal;
- Object(this.LOADING_BAR_CLASS).setProgress(this, loc1);
- if (loc1 == 1)
- {
- removeEventListener(flash.events.Event.ENTER_FRAME, this.init);
- removeChild(this.LOADING_BAR_CLASS);
- gotoAndStop(2);
- this.init();
- }
- return;
- }
- internal function init(arg1:flash.utils.ByteArray):void
- {
- var loc3:*=null;
- var loc2:*=null;
- var loc1:*=null;
- arg1.endian = flash.utils.Endian.LITTLE_ENDIAN;
- arg1.position = 0;
- if (arg1.readBoolean())
- {
- this.init(arg1);
- }
- this.init = arg1.readBoolean();
- loc1 = arg1.readUnsignedInt();
- loc2 = new flash.utils.ByteArray();
- arg1.readBytes(loc2, 0, loc1);
- this.LOADING_BAR_CLASS = new flash.utils.ByteArray();
- arg1.readBytes(this.LOADING_BAR_CLASS);
- (loc3 = new flash.display.Loader()).contentLoaderInfo.addEventListener(flash.events.Event.INIT, this.init);
- loc3.contentLoaderInfo.addEventListener(flash.events.ProgressEvent.PROGRESS, this.init);
- loc3.loadBytes(loc2, this.LOADING_BAR_CLASS);
- return;
- }
- internal function init(arg1:flash.events.Event):void
- {
- var loc6:*=null;
- var loc5:*=null;
- var loc4:*=null;
- var loc3:*=null;
- var loc2:*=null;
- var loc1:*=null;
- loc3 = null;
- loc4 = 0;
- loc5 = undefined;
- if (arg1 is flash.events.ProgressEvent)
- {
- this.init = arg1 as flash.events.ProgressEvent;
- return;
- }
- loc1 = arg1.target as flash.display.LoaderInfo;
- loc1.removeEventListener(flash.events.Event.INIT, this.init);
- loc1.removeEventListener(flash.events.ProgressEvent.PROGRESS, this.init);
- loc2 = loc1.loader;
- if (this.LOADING_BAR_CLASS)
- {
- loc2 = new flash.display.Loader();
- loc2.contentLoaderInfo.addEventListener(flash.events.Event.INIT, this.init);
- loc2.contentLoaderInfo.addEventListener(flash.events.ProgressEvent.PROGRESS, this.init);
- loc2.loadBytes(this.LOADING_BAR_CLASS, this.LOADING_BAR_CLASS);
- this.LOADING_BAR_CLASS = null;
- return;
- }
- if (parent is flash.display.Stage)
- {
- if (this.init)
- {
- parent.addChildAt(loc2.content, 0);
- parent.removeChild(this);
- }
- else
- {
- addChild(loc2);
- }
- }
- else if (this.init)
- {
- addChildAt(loc2.content, 0);
- }
- else
- {
- addChildAt(loc2, 0);
- }
- if (this.init && this.init)
- {
- if ((loc3 = loc1.content as flash.display.DisplayObjectContainer).hasOwnProperty("@doswf__lph"))
- {
- (loc6 = Object(loc3))["@doswf__lph"](this.init);
- }
- else
- {
- loc4 = 0;
- while (loc4 < loc3.numChildren)
- {
- if ((loc5 = loc3.getChildAt(loc4)).hasOwnProperty("@doswf__lph"))
- {
- (loc6 = loc5)["@doswf__lph"](this.init);
- }
- ++loc4;
- }
- }
- }
- return;
- }
- internal function init(arg1:flash.utils.ByteArray):flash.utils.ByteArray
- {
- var loc3:*=null;
- var loc2:*=null;
- var loc1:*=null;
- loc3 = 0;
- arg1.endian = flash.utils.Endian.LITTLE_ENDIAN;
- arg1.position = 0;
- this.init = (arg1.readUnsignedByte() - 1);
- this.init = (arg1.readUnsignedByte() - 1);
- this.init = arg1.readUnsignedInt() - 2;
- this.init = arg1.readUnsignedInt() - 2;
- loc1 = new flash.utils.ByteArray();
- loc1.writeBytes(arg1, arg1.length - this.init, this.init);
- loc2 = 0;
- for (;;)
- {
- loc3 = 0;
- while (loc3 < this.init)
- {
- loc1[loc2] = loc1[loc2] ^ this.init;
- ++loc2;
- if (loc2 >= this.init)
- {
- break;
- }
- loc3 = loc3 + 5;
- }
- loc2 = loc2 + this.init;
- if (!(loc2 >= this.init))
- {
- continue;
- }
- break;
- }
- return loc1;
- }
- internal static const LOADING_BAR_CLASS:String="_doswf_package.LoadingBarBase";
- internal var init:uint;
- internal var init:uint;
- internal var init:uint;
- internal var init:*;
- internal var init:uint;
- internal var init:*;
- internal var init:*;
- internal var init:*;
- internal var LOADING_BAR_CLASS:*;
- internal var LOADING_BAR_CLASS:*;
- internal var LOADING_BAR_CLASS:*;
- }
- }
- // class Ϣߑ
- package
- {
- import flash.utils.*;
- public class Ϣߑ extends flash.utils.ByteArray
- {
- public function Ϣߑ()
- {
- super();
- return;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement