dimanche 26 mars 2017

How Can I convert Parts of Scripts to where it's Readable

I'm trying to Decode some .as and some .hex in order to get the Codes. This Code is from the Game War Commander.

  private static const const_792:Vector.<uint> = new <uint>[16763904,7535299];

  private static const const_1016:Vector.<uint> = new <uint>[530,530];

The part I need help is, How or Where Can I decode the: [16763904,7535299]; In doing so, I think that might be the Unit codes for the Phantom. Here is the Whole class:

public class PhantomReticle extends class_724 {

  private static const const_4425:String = "ui/phantom_unit/PhantomReticle.xml";

  private static const const_5194:String = "phantomReticleA";

  private static const const_3919:String = "phantomReticleB";

  private static const const_792:Vector.<uint> = new <uint>[16763904,7535299];

  private static const const_1016:Vector.<uint> = new <uint>[530,530];

  private static const const_5133:int = 2;

  private static const const_7028:Number = 10;

  private static const const_5629:Number = 100.0;

  private static const const_4926:int = 100;


  private var var_2288:int;

  public function PhantomReticle()
  {
     super();
     this.var_2288 = const_4926;
  }

  public function method_8357(param1:int) : void
  {
     this.var_2288 = param1;
     this.method_5112();
  }

  override public function get maxReticlesUsed() : int
  {
     return const_5133;
  }

  override protected function method_2306() : String
  {
     return const_4425;
  }

  override protected function setup() : void
  {
     method_1560(_contract.method_204(const_5194),0);
     method_1560(_contract.method_204(const_3919),1);
     this.method_5112();
     method_113(var_85,0,true);
  }

  protected function method_5112() : void
  {
     if(!method_457())
     {
        return;
     }
     var _loc1_:Number = this.var_2288 / const_1016[0];
     var _loc2_:Number = this.var_2288 / const_1016[1];
     var_242[0].container.scaleX = _loc1_;
     var_242[0].container.scaleY = _loc1_ * 0.5;
     var_242[1].container.scaleX = _loc2_;
     var_242[1].container.scaleY = _loc2_ * 0.5;
  }

Aucun commentaire:

Enregistrer un commentaire