Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip"
- instance QName(PackageNamespace("com.company.assembleegameclient.ui.tooltip"), "PortraitToolTip")
- extends QName(PackageNamespace("com.company.assembleegameclient.ui.tooltip"), "ToolTip")
- flag SEALED
- flag PROTECTEDNS
- protectedns ProtectedNamespace("com.company.assembleegameclient.ui.tooltip:PortraitToolTip")
- iinit
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"
- param QName(PackageNamespace("com.company.assembleegameclient.objects"), "GameObject")
- body
- maxstack 7
- localcount 3
- initscopedepth 10
- maxscopedepth 11
- code
- getlocal0
- pushscope
- getlocal0
- pushint 6036765
- pushbyte 1
- pushint 16549442
- pushbyte 1
- pushfalse
- constructsuper 5
- getlocal0
- findpropstrict QName(PackageNamespace("flash.display"), "Bitmap")
- constructprop QName(PackageNamespace("flash.display"), "Bitmap"), 0
- initproperty QName(PrivateNamespace(null, "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"), "portrait_")
- getlocal0
- getproperty QName(PrivateNamespace(null, "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"), "portrait_")
- pushbyte 0
- setproperty QName(PackageNamespace(""), "x")
- getlocal0
- getproperty QName(PrivateNamespace(null, "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"), "portrait_")
- pushbyte 0
- setproperty QName(PackageNamespace(""), "y")
- getlocal1
- callproperty QName(PackageNamespace(""), "getPortrait"), 0
- coerce QName(PackageNamespace("flash.display"), "BitmapData")
- setlocal2
- getlex QName(PackageNamespace("com.company.util"), "BitmapUtil")
- getlocal2
- pushbyte 10
- dup
- getlocal2
- getproperty QName(PackageNamespace(""), "width")
- pushbyte 20
- subtract
- getlocal2
- getproperty QName(PackageNamespace(""), "height")
- pushbyte 20
- subtract
- callproperty QName(PackageNamespace(""), "cropToBitmapData"), 5
- coerce QName(PackageNamespace("flash.display"), "BitmapData")
- setlocal2
- getlocal0
- getproperty QName(PrivateNamespace(null, "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"), "portrait_")
- getlocal2
- setproperty QName(PackageNamespace(""), "bitmapData")
- findpropstrict QName(PackageNamespace(""), "addChild")
- getlocal0
- getproperty QName(PrivateNamespace(null, "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"), "portrait_")
- callpropvoid QName(PackageNamespace(""), "addChild"), 1
- findproperty QName(PackageNamespace(""), "filters")
- newarray 0
- initproperty QName(PackageNamespace(""), "filters")
- getlocal0
- getlocal1
- initproperty QName(PackageNamespace(""), "questObj")
- getlocal0
- findpropstrict QName(PackageNamespace("flash.display"), "Sprite")
- constructprop QName(PackageNamespace("flash.display"), "Sprite"), 0
- initproperty QName(PackageNamespace(""), "bar")
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- pushbyte 0
- setproperty QName(PackageNamespace(""), "x")
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- pushbyte 25
- setproperty QName(PackageNamespace(""), "y")
- getlocal0
- findpropstrict QName(PackageNamespace("flash.display"), "Sprite")
- constructprop QName(PackageNamespace("flash.display"), "Sprite"), 0
- initproperty QName(PackageNamespace(""), "hMeter")
- getlocal0
- findpropstrict QName(PackageNamespace("flash.geom"), "ColorTransform")
- pushbyte 1
- dup
- dup
- pushbyte 1
- constructprop QName(PackageNamespace("flash.geom"), "ColorTransform"), 4
- initproperty QName(PackageNamespace(""), "colorTransform")
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- getlocal0
- getproperty QName(PackageNamespace(""), "hMeter")
- callpropvoid QName(PackageNamespace(""), "addChild"), 1
- findpropstrict QName(PackageNamespace(""), "addChild")
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- callpropvoid QName(PackageNamespace(""), "addChild"), 1
- returnvoid
- end ; code
- end ; body
- end ; method
- trait slot QName(PrivateNamespace(null, "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/init"), "portrait_") type QName(PackageNamespace("flash.display"), "Bitmap") end
- trait slot QName(PackageNamespace(""), "questObj") type QName(PackageNamespace("com.company.assembleegameclient.objects"), "GameObject") end
- trait slot QName(PackageNamespace(""), "bar") type QName(PackageNamespace("flash.display"), "Sprite") end
- trait slot QName(PackageNamespace(""), "hMeter") type QName(PackageNamespace("flash.display"), "Sprite") end
- trait slot QName(PackageNamespace(""), "dist") type QName(PackageNamespace(""), "int") end
- trait slot QName(PackageNamespace(""), "colorTransform") type QName(PackageNamespace("flash.geom"), "ColorTransform") end
- trait method QName(PackageNamespace(""), "getDist")
- method
- name "getDist"
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/getDist"
- param QName(PackageNamespace(""), "Number")
- param QName(PackageNamespace(""), "Number")
- param QName(PackageNamespace(""), "Number")
- param QName(PackageNamespace(""), "Number")
- returns QName(PackageNamespace(""), "Number")
- body
- maxstack 4
- localcount 7
- initscopedepth 10
- maxscopedepth 11
- code
- getlocal0
- pushscope
- getlocal1
- getlocal3
- subtract
- coerce_a
- setlocal 5
- getlocal2
- getlocal 4
- subtract
- coerce_a
- setlocal 6
- getlex QName(PackageNamespace(""), "Math")
- getlocal 6
- getlocal 6
- multiply
- getlocal 5
- getlocal 5
- multiply
- add
- callproperty QName(PackageNamespace(""), "sqrt"), 1
- returnvalue
- end ; code
- end ; body
- end ; method
- end ; trait
- trait method QName(PackageNamespace(""), "updateDist")
- method
- name "updateDist"
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/updateDist"
- returns QName(PackageNamespace(""), "void")
- body
- maxstack 5
- localcount 6
- initscopedepth 10
- maxscopedepth 11
- code
- getlocal0
- pushscope
- pushnull
- coerce QName(PackageNamespace("com.company.assembleegameclient.objects"), "GameObject")
- setlocal1
- pushbyte 0
- setlocal2
- getlocal0
- getproperty QName(PackageNamespace(""), "questObj")
- getproperty QName(PackageNamespace(""), "map_")
- coerce QName(PackageNamespace("com.company.assembleegameclient.map"), "Map")
- setlocal3
- getlocal0
- getlex QName(PackageNamespace(""), "int")
- getproperty QName(PackageNamespace(""), "MAX_VALUE")
- setproperty QName(PackageNamespace(""), "dist")
- pushbyte 0
- setlocal 4
- getlocal3
- getproperty QName(PackageNamespace(""), "goDict_")
- coerce_a
- setlocal 5
- jump L54
- L23:
- label
- getlocal 5
- getlocal 4
- nextvalue
- coerce QName(PackageNamespace("com.company.assembleegameclient.objects"), "GameObject")
- setlocal1
- getlocal1
- getlex QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player")
- istypelate
- iffalse L54
- getlocal0
- getlocal1
- getproperty QName(PackageNamespace(""), "x_")
- getlocal1
- getproperty QName(PackageNamespace(""), "y_")
- getlocal0
- getproperty QName(PackageNamespace(""), "questObj")
- getproperty QName(PackageNamespace(""), "x_")
- getlocal0
- getproperty QName(PackageNamespace(""), "questObj")
- getproperty QName(PackageNamespace(""), "y_")
- callproperty QName(PackageNamespace(""), "getDist"), 4
- convert_i
- setlocal2
- getlocal2
- getlocal0
- getproperty QName(PackageNamespace(""), "dist")
- ifnlt L54
- getlocal0
- getlocal2
- setproperty QName(PackageNamespace(""), "dist")
- L54:
- hasnext2 5, 4
- iftrue L23
- kill 5
- kill 4
- returnvoid
- end ; code
- end ; body
- end ; method
- end ; trait
- trait method QName(PackageNamespace(""), "green2red")
- method
- name "green2red"
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/green2red"
- param QName(PackageNamespace(""), "int")
- returns QName(PackageNamespace(""), "int")
- body
- maxstack 5
- localcount 2
- initscopedepth 10
- maxscopedepth 11
- code
- getlocal0
- pushscope
- getlocal1
- pushbyte 50
- ifngt L15
- pushint 65280
- pushint 327680
- findpropstrict QName(PackageNamespace(""), "int")
- pushbyte 100
- getlocal1
- subtract
- callproperty QName(PackageNamespace(""), "int"), 1
- multiply
- add
- returnvalue
- L15:
- pushint 16776960
- pushshort 1280
- findpropstrict QName(PackageNamespace(""), "int")
- pushbyte 50
- getlocal1
- subtract
- callproperty QName(PackageNamespace(""), "int"), 1
- multiply
- subtract
- returnvalue
- end ; code
- end ; body
- end ; method
- end ; trait
- trait method QName(PackageNamespace(""), "drawBar")
- method
- name "drawBar"
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/drawBar"
- param QName(PackageNamespace(""), "int")
- param QName(PackageNamespace(""), "int")
- param QName(PackageNamespace(""), "Number")
- param QName(PackageNamespace(""), "Number")
- param QName(PackageNamespace(""), "uint")
- param QName(PackageNamespace(""), "uint")
- flag HAS_OPTIONAL
- optional Integer(100)
- optional Integer(3)
- optional Integer(5526612)
- optional Integer(65280)
- body
- maxstack 4
- localcount 10
- initscopedepth 10
- maxscopedepth 11
- code
- getlocal0
- pushscope
- getlocal1
- getlocal2
- divide
- convert_d
- setlocal 7
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- getproperty QName(PackageNamespace(""), "graphics")
- callpropvoid QName(PackageNamespace(""), "clear"), 0
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- getproperty QName(PackageNamespace(""), "graphics")
- coerce QName(PackageNamespace("flash.display"), "Graphics")
- dup
- setlocal 8
- pushbyte 0
- pushint 5526612
- callpropvoid QName(PackageNamespace(""), "lineStyle"), 2
- getlocal 8
- getlocal 5
- callpropvoid QName(PackageNamespace(""), "beginFill"), 1
- getlocal 8
- getlocal3
- pushbyte 0
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 8
- getlocal3
- getlocal 4
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 8
- pushbyte 0
- getlocal 4
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 8
- pushbyte 0
- dup
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 8
- callpropvoid QName(PackageNamespace(""), "endFill"), 0
- getlocal3
- getlocal 7
- multiply
- convert_d
- setlocal3
- getlocal0
- getproperty QName(PackageNamespace(""), "hMeter")
- getproperty QName(PackageNamespace(""), "graphics")
- callpropvoid QName(PackageNamespace(""), "clear"), 0
- getlocal0
- getproperty QName(PackageNamespace(""), "hMeter")
- getproperty QName(PackageNamespace(""), "graphics")
- coerce QName(PackageNamespace("flash.display"), "Graphics")
- dup
- setlocal 9
- pushbyte 0
- pushint 5526612
- callpropvoid QName(PackageNamespace(""), "lineStyle"), 2
- getlocal 9
- getlocal0
- getlocal 7
- pushbyte 100
- multiply
- callproperty QName(PackageNamespace(""), "green2red"), 1
- callpropvoid QName(PackageNamespace(""), "beginFill"), 1
- getlocal 9
- getlocal3
- pushbyte 0
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 9
- getlocal3
- getlocal 4
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 9
- pushbyte 0
- getlocal 4
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 9
- pushbyte 0
- dup
- callpropvoid QName(PackageNamespace(""), "lineTo"), 2
- getlocal 9
- callpropvoid QName(PackageNamespace(""), "endFill"), 0
- returnvoid
- end ; code
- end ; body
- end ; method
- end ; trait
- trait method QName(PackageNamespace(""), "draw") flag OVERRIDE
- method
- name "draw"
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/instance/draw"
- returns QName(PackageNamespace(""), "void")
- body
- maxstack 4
- localcount 2
- initscopedepth 10
- maxscopedepth 11
- code
- getlocal0
- pushscope
- getlex QName(PackageNamespace(""), "NaN")
- convert_d
- setlocal1
- getlocal0
- getproperty QName(PackageNamespace(""), "questObj")
- getproperty QName(PackageNamespace(""), "map_")
- pushnull
- equals
- not
- iffalse L66
- getlocal0
- callpropvoid QName(PackageNamespace(""), "updateDist"), 0
- getlocal0
- getlocal0
- getproperty QName(PackageNamespace(""), "questObj")
- getproperty QName(PackageNamespace(""), "hp_")
- getlocal0
- getproperty QName(PackageNamespace(""), "questObj")
- getproperty QName(PackageNamespace(""), "maxHP_")
- pushbyte 23
- callpropvoid QName(PackageNamespace(""), "drawBar"), 3
- getlocal0
- getproperty QName(PackageNamespace(""), "dist")
- pushbyte 20
- ifnlt L60
- findpropstrict QName(PackageNamespace("flash.utils"), "getTimer")
- callproperty QName(PackageNamespace("flash.utils"), "getTimer"), 0
- pushshort 1000
- modulo
- convert_d
- setlocal1
- getlocal1
- pushshort 500
- ifnlt L42
- getlocal1
- pushshort 500
- divide
- convert_d
- setlocal1
- jump L49
- L42:
- pushbyte 2
- getlocal1
- pushshort 500
- divide
- subtract
- convert_d
- setlocal1
- L49:
- getlocal0
- getproperty QName(PackageNamespace(""), "colorTransform")
- getlocal1
- setproperty QName(PackageNamespace(""), "alphaMultiplier")
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- getproperty QName(PackageNamespace(""), "transform")
- getlocal0
- getproperty QName(PackageNamespace(""), "colorTransform")
- setproperty QName(PackageNamespace(""), "colorTransform")
- jump L66
- L60:
- getlocal0
- getproperty QName(PackageNamespace(""), "bar")
- getproperty QName(PackageNamespace(""), "transform")
- getlex QName(PackageNamespace("com.company.util"), "MoreColorUtil")
- getproperty QName(PackageNamespace(""), "identity")
- setproperty QName(PackageNamespace(""), "colorTransform")
- L66:
- getlocal0
- callsupervoid QName(PackageNamespace(""), "draw"), 0
- returnvoid
- end ; code
- end ; body
- end ; method
- end ; trait
- end ; instance
- cinit
- refid "com.company.assembleegameclient.ui.tooltip:PortraitToolTip/class/init"
- body
- maxstack 1
- localcount 1
- initscopedepth 9
- maxscopedepth 10
- code
- getlocal0
- pushscope
- returnvoid
- end ; code
- end ; body
- end ; method
- end ; class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement