mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-21 23:47:30 +00:00
147 lines
4.8 KiB
ActionScript
147 lines
4.8 KiB
ActionScript
package tests
|
|
{
|
|
public class TestInnerFunctions
|
|
{
|
|
|
|
method
|
|
name ""
|
|
returns null
|
|
|
|
body
|
|
maxstack 1
|
|
localcount 1
|
|
initscopedepth 3
|
|
maxscopedepth 4
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
|
|
public function TestInnerFunctions()
|
|
{
|
|
method
|
|
name "tests:TestInnerFunctions/TestInnerFunctions"
|
|
returns null
|
|
|
|
body
|
|
maxstack 1
|
|
localcount 1
|
|
initscopedepth 4
|
|
maxscopedepth 5
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
getlocal0
|
|
constructsuper 0
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
}
|
|
|
|
public function run(a:String) : *
|
|
{
|
|
trait method QName(PackageNamespace(""),"run")
|
|
dispid 0
|
|
method
|
|
name "tests:TestInnerFunctions/run"
|
|
flag NEED_ACTIVATION
|
|
param QName(PackageNamespace(""),"String")
|
|
returns null
|
|
|
|
body
|
|
maxstack 2
|
|
localcount 3
|
|
initscopedepth 5
|
|
maxscopedepth 7
|
|
trait slot QName(PackageInternalNs("tests"),"a")
|
|
slotid 1
|
|
type QName(PackageNamespace(""),"String")
|
|
end ; trait
|
|
trait slot QName(PackageInternalNs("tests"),"s")
|
|
slotid 2
|
|
type QName(PackageNamespace(""),"int")
|
|
end ; trait
|
|
trait slot QName(PackageInternalNs("tests"),"innerFunc")
|
|
slotid 3
|
|
type QName(PackageNamespace(""),"Function")
|
|
end ; trait
|
|
trait slot QName(PackageInternalNs("tests"),"k")
|
|
slotid 4
|
|
type QName(PackageNamespace(""),"int")
|
|
end ; trait
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
debug 1, "a", 0, 0
|
|
debug 1, "+$activation", 1, 0
|
|
newactivation
|
|
dup
|
|
setlocal2
|
|
pushscope
|
|
getscopeobject 1
|
|
getlocal1
|
|
coerce_s
|
|
setslot 1
|
|
getscopeobject 1
|
|
pushbyte 0
|
|
setslot 2
|
|
getscopeobject 1
|
|
newfunction 2
|
|
coerce QName(PackageNamespace(""),"Function")
|
|
setslot 3
|
|
getscopeobject 1
|
|
pushbyte 5
|
|
setslot 4
|
|
getscopeobject 1
|
|
getslot 4
|
|
pushbyte 6
|
|
ifne ofs003a
|
|
getscopeobject 1
|
|
pushbyte 8
|
|
setslot 2
|
|
ofs003a:
|
|
findpropstrict Multiname("innerFunc",[PackageNamespace(""),Namespace("http://adobe.com/AS3/2006/builtin"),PackageNamespace("tests"),PackageInternalNs("tests"),PrivateNamespace("tests:TestInnerFunctions"),ProtectedNamespace("tests:TestInnerFunctions"),StaticProtectedNs("tests:TestInnerFunctions"),PrivateNamespace("TestInnerFunctions.as$0")])
|
|
getscopeobject 1
|
|
getslot 1
|
|
callpropvoid Multiname("innerFunc",[PackageNamespace(""),Namespace("http://adobe.com/AS3/2006/builtin"),PackageNamespace("tests"),PackageInternalNs("tests"),PrivateNamespace("tests:TestInnerFunctions"),ProtectedNamespace("tests:TestInnerFunctions"),StaticProtectedNs("tests:TestInnerFunctions"),PrivateNamespace("TestInnerFunctions.as$0")]), 1
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
}
|
|
}
|
|
}
|
|
|
|
method
|
|
name ""
|
|
returns null
|
|
|
|
body
|
|
maxstack 2
|
|
localcount 1
|
|
initscopedepth 1
|
|
maxscopedepth 3
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
findpropstrict Multiname("TestInnerFunctions",[PackageNamespace("tests")])
|
|
getlex QName(PackageNamespace(""),"Object")
|
|
pushscope
|
|
getlex QName(PackageNamespace(""),"Object")
|
|
newclass 0
|
|
popscope
|
|
initproperty QName(PackageNamespace("tests"),"TestInnerFunctions")
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
|