FLASM и одна ф-ция. Помогите!
Декомпилировал код, но до конца не понятно, что делает по действиям ф-ция:
Код:
function getXXX ()
push r:1, r:2, r:3
push 'trans', 0.0
setVariable
push 'now', 0.0, 'Date'
new
setVariable
push 0.0, 'now'
getVariable
push 'getFullYear'
callMethod
setRegister r:3
pop
push 0.0, 'now'
getVariable
push 'getMonth'
callMethod
setRegister r:2
pop
push 'ddate', 0.0, 'now'
getVariable
push 'getDate'
callMethod
varEquals
push 'hour', 0.0, 'now'
getVariable
push 'getHours'
callMethod
varEquals
push 'minute', 0.0, 'now'
getVariable
push 'getMinutes'
callMethod
varEquals
push 'second', 0.0, 'now'
getVariable
push 'getSeconds'
callMethod
varEquals
push 0.0, 'now'
getVariable
push 'getMilliseconds'
callMethod
setRegister r:1
pop
push 'transNumber', r:1, 'second'
getVariable
push 'minute'
getVariable
push 'hour'
getVariable
push 'ddate'
getVariable
push r:2, r:3, 7, 'Date'
getVariable
push 'UTC'
callMethod
setVariable
push 'trans', 11, -12, 2, 0.0, 'transNumber'
getVariable
push 'toString'
callMethod
push 'substr'
callMethod
setVariable
push 'trans'
getVariable
branch label1286
push UNDEF
label1286:
setRegister r:0
pop
setRegister r:3
pop
setRegister r:2
pop
setRegister r:1
pop
push r:0
return
end // of function getXXX
Знающие люди, помогите пожалуйста
|