Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php class ApplyPremultiplication extends Handler { use ArrayAddressMode, UnaryOperato..
Decoded Output download
<?php
class ApplyPremultiplication extends Handler {
use ArrayAddressMode, UnaryOperator, FloatingPointOnly, FixedOperandSize, Multithreaded;
public function getActionOnUnitData() {
$cType = $this->getOperandCType(2);
$type = $this->getOperandType(2);
$lines = array();
$lines[] = "$cType a = op1_ptr[3];";
$lines[] = "if(a != 1) {";
$lines[] = "res_ptr[0] = op1_ptr[0] * a;";
$lines[] = "res_ptr[1] = op1_ptr[1] * a;";
$lines[] = "res_ptr[2] = op1_ptr[2] * a;";
$lines[] = "res_ptr[3] = op1_ptr[3];";
$lines[] = "} else {";
$lines[] = "res_ptr[0] = op1_ptr[0];";
$lines[] = "res_ptr[1] = op1_ptr[1];";
$lines[] = "res_ptr[2] = op1_ptr[2];";
$lines[] = "res_ptr[3] = op1_ptr[3];";
$lines[] = "}";
return $lines;
}
}
?>
Did this file decode correctly?
Original Code
<?php
class ApplyPremultiplication extends Handler {
use ArrayAddressMode, UnaryOperator, FloatingPointOnly, FixedOperandSize, Multithreaded;
public function getActionOnUnitData() {
$cType = $this->getOperandCType(2);
$type = $this->getOperandType(2);
$lines = array();
$lines[] = "$cType a = op1_ptr[3];";
$lines[] = "if(a != 1) {";
$lines[] = "res_ptr[0] = op1_ptr[0] * a;";
$lines[] = "res_ptr[1] = op1_ptr[1] * a;";
$lines[] = "res_ptr[2] = op1_ptr[2] * a;";
$lines[] = "res_ptr[3] = op1_ptr[3];";
$lines[] = "} else {";
$lines[] = "res_ptr[0] = op1_ptr[0];";
$lines[] = "res_ptr[1] = op1_ptr[1];";
$lines[] = "res_ptr[2] = op1_ptr[2];";
$lines[] = "res_ptr[3] = op1_ptr[3];";
$lines[] = "}";
return $lines;
}
}
?>
Function Calls
None |
Stats
MD5 | bf99adf4cc88c0e6acb68f9124cb0501 |
Eval Count | 0 |
Decode Time | 127 ms |