Skip to content

Instantly share code, notes, and snippets.

@eXponenta
Created July 29, 2020 22:53
Show Gist options
  • Save eXponenta/4b230e2a76b4e83d51d1d0ca1629f813 to your computer and use it in GitHub Desktop.
Save eXponenta/4b230e2a76b4e83d51d1d0ca1629f813 to your computer and use it in GitHub Desktop.
(function anonymous(context
) {
// (#1) --- anonymous (?)
const AX_CLASS_SYMBOL = context.AX_CLASS_SYMBOL;
/* TopLevelLex */
const flash_utils__getTimer_def = context.getTopLevel(0); // flash.utils:getTimer
const __Math = context.getTopLevel(1)['$BgMath']; // :Math
const __trace_def = context.getTopLevel(2); // :trace
return function compiled_anonymous(local1) {
let local0 = this === context.jsGlobal ? context.savedScope.global.object : this;
// local2 is assigned before read, skip init
let local2 = undefined
// local3 is assigned before read, skip init
let local3 = undefined
// local4 is assigned before read, skip init
let local4 = undefined
// local5 is assigned before read, skip init
let local5 = undefined
// local6 is assigned before read, skip init
let local6 = undefined
// local7 is assigned before read, skip init
let local7 = undefined
let stack0 = undefined;
let stack1 = undefined;
let stack2 = undefined;
let stack3 = undefined;
let stack4 = undefined;
let tr = undefined;
let sec = context.sec;
let name0 = context.names[0];
let name1 = context.names[1];
let name2 = context.names[2];
let name3 = context.names[3];
let name4 = context.names[4];
let p = 0;
while (true) {
switch (p) {
case 0:
//PUSHUNDEFINED -> -5
stack0 = undefined;
//COERCE_A -> -5
;
//SETLOCAL 7 -> -5
local7 = stack0;
//PUSHINT 1 -> -3
stack0 = 1000000;
//COERCE_A -> -3
;
//SETLOCAL 2 -> -3
local2 = stack0;
//FINDPROPSTRICT 10 -> 1
// 7 0:flash.utils::getTimer
/* GenerateLexImports */
stack0 = flash_utils__getTimer_def;
//CALLPROPERTY 0 / 10 -> 2
/* We sure that this safe call */
stack0 = stack0['$BggetTimer']();
//COERCE_A -> 2
;
//SETLOCAL 3 -> 2
local3 = stack0;
//PUSHBYTE 0 -> -3
stack0 = 0;
//COERCE_A -> -3
;
//SETLOCAL 4 -> -3
local4 = stack0;
//PUSHBYTE 0 -> -3
stack0 = 0;
//COERCE_A -> -3
;
//SETLOCAL 5 -> -3
local5 = stack0;
//JUMP 57 -> -1
{ p = 57; continue; };
case 29:
//LABEL -> -1
//GETLEX 11 -> 3
// 7 0::Math
/* GenerateLexImports */
stack0 = __Math;
//CALLPROPERTY 0 / 12 -> 4
/* We sure that this safe call */
stack0 = stack0['$Bgrandom']();
//COERCE_A -> 4
;
//SETLOCAL 7 -> 4
local7 = stack0;
//GETLOCAL 4 -> 4
stack0 = local4;
//GETLEX 11 -> 5
// 7 0::Math
/* GenerateLexImports */
stack1 = __Math;
//GETLOCAL 7 -> 5
stack2 = local7;
//CALLPROPERTY 1 / 13 -> 6
/* We sure that this safe call */
stack1 = stack1['$Bgsin'](stack2);
//ADD -> -3
stack0 += stack1;
//COERCE_A -> -3
;
//SETLOCAL 4 -> -3
local4 = stack0;
//GETLOCAL 5 -> -3
stack0 = local5;
//INCREMENT -> -3
stack0++;
//COERCE_A -> -3
;
//SETLOCAL 5 -> -3
local5 = stack0;
case 57:
//GETLOCAL 5 -> -3
stack0 = local5;
//GETLOCAL 2 -> -3
stack1 = local2;
//IFLT 29 -> -1
if (stack1 > stack0) { p = 29; continue; };
//FINDPROPSTRICT 10 -> 7
// 7 0:flash.utils::getTimer
/* GenerateLexImports */
stack0 = flash_utils__getTimer_def;
//CALLPROPERTY 0 / 10 -> 8
/* We sure that this safe call */
stack0 = stack0['$BggetTimer']();
//GETLOCAL 3 -> 8
stack1 = local3;
//SUBTRACT -> -3
stack0 -= stack1;
//COERCE_A -> -3
;
//SETLOCAL 6 -> -3
local6 = stack0;
//FINDPROPSTRICT 14 -> 9
// 7 0::trace
/* GenerateLexImports */
stack0 = __trace_def;
//PUSHSTRING 20 -> -4
stack1 = "Delta:";
//GETLOCAL 6 -> -4
stack2 = local6;
//GETLOCAL 2 -> -4
stack3 = local2;
//GETLOCAL 4 -> -4
stack4 = local4;
//CALLPROPVOID 4 / 14 -> -1
if (!true) {
stack0['trace'](stack1, stack2, stack3, stack4);
} else {
temp = stack0[AX_CLASS_SYMBOL] ? stack0 : sec.box(stack0);
(typeof temp['$Bgtrace'] === 'function')? temp['$Bgtrace'](stack1, stack2, stack3, stack4) : temp.axCallProperty(name2, [stack1, stack2, stack3, stack4], false);
}
//GETLEX 7 -> 10
// 7 0::t
temp = context.savedScope.findScopeProperty(name3, true, false);
stack0 = temp['$Bgt'];
if (stack0 === undefined || typeof stack0 === 'function') {
stack0 = temp.axGetProperty(name3);
}
//PUSHSTRING 20 -> -4
stack1 = "Delta:";
//GETLOCAL 6 -> -4
stack2 = local6;
//ADD -> -3
stack1 += stack2;
//PUSHSTRING 21 -> -4
stack2 = ", ";
//ADD -> -3
stack1 += stack2;
//GETLOCAL 2 -> -3
stack2 = local2;
//ADD -> -3
stack1 += stack2;
//SETPROPERTY 15 -> -1
// 9 {3, 0:flash.utils, 0, 3, 0:test_fla, 2:test_fla, 0:http://adobe.com/AS3/2006/builtin, 0:adobe.utils, 0:flash.accessibility, 0:flash.desktop, 0:flash.display, 0:flash.errors, 0:flash.events, 0:flash.external, 0:flash.filters, 0:flash.geom, 0:flash.globalization, 0:flash.media, 0:flash.net, 0:flash.net.drm, 0:flash.printing, 0:flash.profiler, 0:flash.sampler, 0:flash.sensors, 0:flash.system, 0:flash.text, 0:flash.text.ime, 0:flash.text.engine, 0:flash.ui, 0:flash.xml, 1:test_fla:MainTimeline, 5:test_fla:MainTimeline, 5:flash.display:MovieClip, 5:flash.display:Sprite, 5:flash.display:DisplayObjectContainer, 5:flash.display:InteractiveObject, 5:flash.display:DisplayObject, 5:flash.events:EventDispatcher}::text
if (!true){
stack0['text'] = stack1;
} else {
context.setproperty(name4, stack1, stack0);
}
//RETURNVOID -> -1
return;
}
}
}
//# sourceURL=http://jit/__root__/0034_anonymous.js
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment