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 goto asLT2; K8z83: if ($tembonus) { $retornoarquivobonus = lerarquivoBonus($..

Decoded Output download

<?php 
goto asLT2; 
K8z83: 
if ($tembonus) { 
    $retornoarquivobonus = lerarquivoBonus($tembonus["simbolobonus"]); 
    $quantidaderodadas = count($retornoarquivobonus) - 1; 
    $recebedadosspin = $retornoarquivobonus[$tembonus["quantidaderodadabonus"]]; 
    $spinjson = json_decode($recebedadosspin, true); 
    $giro = $spinjson; 
    $multiplicador = $giro["dt"]["si"]["ctw"] / $giro["dt"]["si"]["cs"] / $giro["dt"]["si"]["ml"]; 
    $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplicador)); 
    $novosaldobet = $saldousuario + $valordoganho; 
    $adicionabonus = $tembonus["quantidaderodadabonus"] + 1; 
    $atualizabonus = "UPDATE betspg SET quantidaderodadabonus = '{$adicionabonus}' WHERE userid = '{$playerid}'"; 
    $rowbonusadd = $conn->query($atualizabonus); 
    $somaaw = $tembonus["totalbonus"] + $valordoganho; 
    $atualizatotalbonus = "UPDATE betspg SET totalbonus = '{$somaaw}' WHERE userid = '{$playerid}'"; 
    $rowtotalbonusadd = $conn->query($atualizatotalbonus); 
    $diferensaaposta = $saldousuario - $valortotalaposta; 
    if ($tembonus["quantidaderodadabonus"] >= $quantidaderodadas) { 
        $deletabonusativo = "DELETE FROM betspg WHERE userid = '{$playerid}'"; 
        $zerarodadabonus = $conn->query($deletabonusativo); 
        $multiplica = $giro["dt"]["si"]["ctw"] / $giro["dt"]["si"]["cs"] / $giro["dt"]["si"]["ml"]; 
        $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplica)); 
        if (is_array($giro["dt"]["si"]["lw"])) { 
            foreach ($giro["dt"]["si"]["lw"] as $chave => $valor) { 
                $lw_count = count($giro["dt"]["si"]["lw"]); 
                $giro["dt"]["si"]["lw"][$chave] = $valordoganho / $lw_count; 
            } 
        } 
        $diferensaaposta = $saldousuario - $valortotalaposta; 
        $novosaldobet = $saldousuario + $valordoganho; 
        $giro["dt"]["si"]["cs"] = $cs; 
        $giro["dt"]["si"]["ml"] = $ml; 
        $giro["dt"]["si"]["blb"] = $saldousuario; 
        $giro["dt"]["si"]["blab"] = $diferensaaposta; 
        $giro["dt"]["si"]["bl"] = $novosaldobet; 
        $giro["dt"]["si"]["tb"] = $valortotalaposta; 
        $giro["dt"]["si"]["tbb"] = $valortotalaposta; 
        $giro["dt"]["si"]["tw"] = $valordoganho; 
        $giro["dt"]["si"]["ctw"] = $valordoganho; 
        $giro["dt"]["si"]["aw"] = $somaaw; 
        $giro["dt"]["si"]["fs"]["aw"] = $somaaw; 
        $giro["dt"]["si"]["np"] = $valordoganho; 
        $atualizasaldo = "UPDATE wallets SET balance_withdrawal = '{$novosaldobet}' WHERE user_id = '{$playerid}'"; 
        $rowsaldo = $conn->query($atualizasaldo); 
        echo json_encode($giro, JSON_UNESCAPED_SLASHES); 
        die; 
    } 
    $giro["dt"]["si"]["cs"] = $cs; 
    $giro["dt"]["si"]["ml"] = $ml; 
    $giro["dt"]["si"]["blb"] = $saldousuario; 
    $giro["dt"]["si"]["blab"] = $diferensaaposta; 
    $giro["dt"]["si"]["bl"] = $novosaldobet; 
    $giro["dt"]["si"]["tb"] = $valortotalaposta; 
    $giro["dt"]["si"]["tbb"] = $valortotalaposta; 
    $giro["dt"]["si"]["tw"] = $valordoganho; 
    $giro["dt"]["si"]["ctw"] = $valordoganho; 
    $giro["dt"]["si"]["aw"] = $somaaw; 
    $giro["dt"]["si"]["fs"]["aw"] = $somaaw; 
    $giro["dt"]["si"]["np"] = $valordoganho; 
    $atualizasaldo = "UPDATE wallets SET balance_withdrawal = '{$novosaldobet}' WHERE user_id = '{$playerid}'"; 
    $rowsaldo = $conn->query($atualizasaldo); 
    echo json_encode($giro, JSON_UNESCAPED_SLASHES); 
    die; 
} 
goto HYUTm; 
MB33a: 
if ($_SERVER["REQUEST_METHOD"] !== "POST") { 
    die(json_encode(array("error" => "Acesso invlido."))); 
} 
goto mvWH6; 
DuJuB: 
$afiliadoloserate = $rowporcentagens["afflossrate"]; 
goto zjSdm; 
C458F: 
$playerid = $tokenOpen["id"] ?? null; 
goto avoza; 
h8ToD: 
$randombetlive = $betlives[array_rand($betlives)]; 
goto ZLZSG; 
nxkHS: 
$loserate = $rowporcentagens["lossrate"]; 
goto sZuEX; 
AK4bI: 
function retornaganhobet($valorcs, $valorml, $simbolopagante) 
{ 
    $resultado = $valorcs * $valorml * $simbolopagante; 
    return $resultado; 
} 
goto Cqx1R; 
tOOEM: 
$probabilidades = array("paga" => $winrate, "naopaga" => $loserate, "bonus" => $bonus); 
goto BYEMW; 
C4xh4: 
$query = "SELECT * FROM wallets WHERE user_id = ?"; 
goto teee7; 
xXArX: 
$rowsite = $resultadoconsultasite->fetch_assoc(); 
goto olNeq; 
FbUL9: 
$wallet = $result->fetch_assoc(); 
goto M0vkY; 
uMRO4: 
$queryconsultaporcentagens = "SELECT * FROM pgporcentagem WHERE jogo = ?"; 
goto V4EyB; 
asLT2: 
include "../../../db.php"; 
goto MB33a; 
h_Y0B: 
if ($saldousuario < $valortotalaposta) { 
    $response = "{"dt":{"si":{"wp":null,"lw":null,"c":null,"orl":[3,6,7,6,3,7,4,5,4,8,9,7,9,8,7],"fs":null,"gwt":-1,"fb":null,"ctw":0.0,"pmt":null,"cwc":0,"fstc":null,"pcwc":0,"rwsp":null,"hashr":null,"ml":" . $ml . ","cs":" . $cs . ","rl":[3,6,7,6,3,7,4,5,4,8,9,7,9,8,7],"sid":"1732975974431201793","psid":"1732975974431201793","st":1,"nst":1,"pf":1,"aw":0.00,"wid":0,"wt":"C","wk":"0_C","wbn":null,"wfg":null,"blb":" . $saldousuario . ","blab":" . $saldousuario . ","bl":" . $saldousuario . ","tb":0.00,"tbb":0.00,"tw":0.00,"np":0.00,"ocr":null,"mr":null,"ge":[1,11]}},"err":{"cd":"3202","msg":"Not enough cash.","tid":"DPMBIN08"}}"; 
    echo json_encode($response, JSON_UNESCAPED_SLASHES); 
    die; 
} 
goto DQEzq; 
StDz2: 
if ($stmt === false) { 
    die(json_encode(array("error" => "Falha ao preparar a consulta."))); 
} 
goto RX63r; 
CCSCz: 
$userId = $tokenOpen["id"] ?? null; 
goto C458F; 
BxwBp: 
if ($rodada == "paga") { 
    $result = array("tipo" => "pagante", "rodada" => $randombetlive); 
} 
goto kvtSy; 
RpVVu: 
$stmt = $conn->prepare($queryconsultasite); 
goto qip2N; 
RSRwp: 
$result = $stmt->get_result(); 
goto FbUL9; 
ZLZSG: 
$randombetdie = $betdies[array_rand($betdies)]; 
goto SIykN; 
pD7pl: 
$afiliadowinrate = $rowporcentagens["affwinrate"]; 
goto DuJuB; 
sBbYK: 
function decodeToken($texto) 
{ 
    $retorno = ''; 
    $saidaSubs = ''; 
    $busca0 = array("8", "e", "9", "f", "b", "d", "h", "g", "j", "i", "m", "o", "k", "z", "l", "w", "4", "s", "r", "u", "t", "x", "v", "p", "6", "n", "7", "2", "1", "5", "q", "3", "y", "0", "c", "a"); 
    $subti0 = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "w", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"); 
    for ($i = 0; $i < strlen($texto); $i++) { 
        $ti = array_search($texto[$i], $busca0); 
        if ($busca0[$ti] == $texto[$i]) { 
            $saidaSubs .= $subti0[$ti]; 
        } else { 
            $saidaSubs .= $texto[$i]; 
        } 
    } 
    $retorno = base64_decode($saidaSubs); 
    return $retorno; 
} 
goto C00Zy; 
r9FHF: 
$tokenOpen = decTokenImproved($_POST["atk"]); 
goto CCSCz; 
qip2N: 
$stmt->bind_param("s", $playerid); 
goto qA1X1; 
Cqx1R: 
function lerarquivoBonus($simbolobonus) 
{ 
    $listabonus = file("https://afiliabety.app/admin/vgaming/jungle-delight/bonus/bonus{$simbolobonus}.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); 
    return $listabonus; 
} 
goto ePauu; 
j0X8h: 
$winrate = $rowporcentagens["winrate"]; 
goto nxkHS; 
BYEMW: 
if ($rowsite["is_demo_agent"] == 1) { 
    $probabilidades = array("paga" => $afiliadowinrate, "naopaga" => $afiliadoloserate, "bonus" => $afiliadobonus); 
} 
goto xZPfC; 
vR4be: 
function decTokenImproved($token) 
{ 
    $decoded = decodeToken($token); 
    if (!isJson($decoded)) { 
        return array("status" => false, "message" => "Invalid token"); 
    } 
    $data = json_decode($decoded, true); 
    $data["status"] = true; 
    return $data; 
} 
goto EwPY3; 
EwPY3: 
$cs = $_POST["cs"]; 
goto PGXEM; 
sUR6D: 
if ($rodada == "bonus") { 
    $result = array("tipo" => "bonus", "rodada" => $randombonus); 
} 
goto TabM8; 
C00Zy: 
function isJson($string) 
{ 
    json_decode($string); 
    return json_last_error() === JSON_ERROR_NONE; 
} 
goto vR4be; 
M0vkY: 
if (!$wallet) { 
    die(json_encode(array("error" => "Carteira no encontrada."))); 
} 
goto F6c0k; 
jWza0: 
$idgame = "jungle-delight"; 
goto uMRO4; 
xZPfC: 
$rodada = calcularRTP($probabilidades); 
goto BxwBp; 
OJ__G: 
$verificarodadabonus = $stmt->get_result(); 
goto bsE2g; 
ZaAQu: 
$stmt->bind_param("s", $playerid); 
goto dwM1j; 
F6c0k: 
$saldousuario = $wallet["balance_withdrawal"]; 
goto UBRv6; 
XQ8LQ: 
$betbonus = file("https://afiliabety.app/admin/vgaming/jungle-delight/carta.txt", FILE_IGNORE_NEW_LINES); 
goto h8ToD; 
bsE2g: 
$tembonus = $verificarodadabonus->fetch_assoc(); 
goto K8z83; 
kvtSy: 
if ($rodada == "naopaga") { 
    $result = array("tipo" => "naopagante", "rodada" => $randombetdie); 
} 
goto sUR6D; 
zjSdm: 
$afiliadobonus = $rowporcentagens["affbonusrate"]; 
goto h9ptd; 
dwM1j: 
$stmt->execute(); 
goto OJ__G; 
HYUTm: 
$spin = json_decode($result["rodada"], true); 
goto mjxog; 
avoza: 
if (!$playerid) { 
    die(json_encode(array("error" => "ID de usurio invlido."))); 
} 
goto C4xh4; 
PBozM: 
$stmt->execute(); 
goto C7u1n; 
h9ptd: 
$queryconsultasite = "SELECT * FROM users WHERE id = ?"; 
goto RpVVu; 
UBRv6: 
$betlives = file("https://afiliabety.app/admin/vgaming/jungle-delight/pagantes.txt", FILE_IGNORE_NEW_LINES); 
goto u5koh; 
sZuEX: 
$bonus = $rowporcentagens["bonusrate"]; 
goto pD7pl; 
C7u1n: 
$resultadoporcentagens = $stmt->get_result(); 
goto RkWJW; 
PGXEM: 
$ml = $_POST["ml"]; 
goto r9FHF; 
mvWH6: 
if (!isset($_POST["atk"])) { 
    die(json_encode(array("error" => "Token no fornecido."))); 
} 
goto sBbYK; 
ePauu: 
function value($string, $start, $end) 
{ 
    $str = explode($start, $string); 
    $str = explode($end, $str[1]); 
    return $str[0]; 
} 
goto HCGAU; 
DQEzq: 
$queryvbonus = "SELECT * FROM betspg WHERE userid = ?"; 
goto QefcC; 
aRYf_: 
$resultadoconsultasite = $stmt->get_result(); 
goto xXArX; 
olNeq: 
function calcularRTP($probabilidade) 
{ 
    $rand = rand(1, 100); 
    $acumulado = 0; 
    foreach ($probabilidade as $resultado => $chance) { 
        $acumulado += $chance; 
        if ($rand <= $acumulado) { 
            return $resultado; 
        } 
    } 
} 
goto tOOEM; 
TabM8: 
function arredondarParaCimaSeNecessario($valor) 
{ 
    if ($valor % 1 === 0.99) { 
        $valor += 0.01; 
    } 
    $valorFormatado = number_format($valor, 2, ".", ''); 
    return (float) $valorFormatado; 
} 
goto AK4bI; 
QefcC: 
$stmt = $conn->prepare($queryvbonus); 
goto ZaAQu; 
RkWJW: 
$rowporcentagens = $resultadoporcentagens->fetch_assoc(); 
goto j0X8h; 
deKs3: 
$stmt->bind_param("s", $idgame); 
goto PBozM; 
m5IXV: 
$stmt->execute(); 
goto RSRwp; 
teee7: 
$stmt = $conn->prepare($query); 
goto StDz2; 
qA1X1: 
$stmt->execute(); 
goto aRYf_; 
V4EyB: 
$stmt = $conn->prepare($queryconsultaporcentagens); 
goto deKs3; 
HCGAU: 
$valortotalaposta = $cs * $ml * 20; 
goto h_Y0B; 
SIykN: 
$randombonus = $betbonus[array_rand($betbonus)]; 
goto jWza0; 
RX63r: 
$stmt->bind_param("s", $userId); 
goto m5IXV; 
u5koh: 
$betdies = file("https://afiliabety.app/admin/vgaming/jungle-delight/naopagantes.txt", FILE_IGNORE_NEW_LINES); 
goto XQ8LQ; 
mjxog: 
if ($result["tipo"] == "pagante") { 
    $multiplicador = $spin["dt"]["si"]["aw"] / $spin["dt"]["si"]["cs"] / $spin["dt"]["si"]["ml"]; 
    $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplicador)); 
    foreach ($spin["dt"]["si"]["lw"] as $chave => $valor) { 
        $lw_count = count($spin["dt"]["si"]["lw"]); 
        $spin["dt"]["si"]["lw"][$chave] = $valordoganho / $lw_count; 
    } 
    $diferensaaposta = $saldousuario - $valortotalaposta; 
    $novosaldobet = $diferensaaposta + $valordoganho; 
    $spin["dt"]["si"]["cs"] = $cs; 
    $spin["dt"]["si"]["ml"] = $ml; 
    $spin["dt"]["si"]["blb"] = $saldousuario; 
    $spin["dt"]["si"]["blab"] = $diferensaaposta; 
    $spin["dt"]["si"]["bl"] = $novosaldobet; 
    $spin["dt"]["si"]["tb"] = $valortotalaposta; 
    $spin["dt"]["si"]["tbb"] = $valortotalaposta; 
    $spin["dt"]["si"]["tw"] = $valordoganho; 
    $spin["dt"]["si"]["ctw"] = $valordoganho; 
    $spin["dt"]["si"]["aw"] = $valordoganho; 
    $atualizasaldo = "UPDATE wallets SET balance_withdrawal = '{$novosaldobet}' WHERE user_id = '{$playerid}'"; 
    $rowsaldo = $conn->query($atualizasaldo); 
    echo json_encode($spin, JSON_UNESCAPED_SLASHES); 
    die; 
} elseif ($result["tipo"] == "naopagante") { 
    $novosaldobet = $saldousuario - $valortotalaposta; 
    $diferensaaposta = $saldousuario - $valortotalaposta; 
    $spin["dt"]["si"]["cs"] = $cs; 
    $spin["dt"]["si"]["ml"] = $ml; 
    $spin["dt"]["si"]["ctw"] = 0; 
    $spin["dt"]["si"]["aw"] = 0; 
    $spin["dt"]["si"]["blb"] = $saldousuario; 
    $spin["dt"]["si"]["blab"] = $diferensaaposta; 
    $spin["dt"]["si"]["bl"] = $novosaldobet; 
    $spin["dt"]["si"]["tb"] = $valortotalaposta; 
    $spin["dt"]["si"]["tbb"] = $valortotalaposta; 
    $atualizasaldo = "UPDATE wallets SET balance_withdrawal = '{$novosaldobet}' WHERE user_id = '{$playerid}'"; 
    $rowsaldo = $conn->query($atualizasaldo); 
    echo json_encode($spin, JSON_UNESCAPED_SLASHES); 
    die; 
} elseif ($result["tipo"] == "bonus") { 
    $multiplicador = $spin["dt"]["si"]["aw"] / $spin["dt"]["si"]["cs"] / $spin["dt"]["si"]["ml"]; 
    $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplicador)); 
    $novosaldobet = $saldousuario - $valortotalaposta; 
    $diferensaaposta = $saldousuario - $valortotalaposta; 
    $spin["dt"]["si"]["cs"] = $cs; 
    $spin["dt"]["si"]["ml"] = $ml; 
    $spin["dt"]["si"]["blb"] = $saldousuario; 
    $spin["dt"]["si"]["blob"] = $novosaldobet; 
    $spin["dt"]["si"]["blab"] = $diferensaaposta; 
    $spin["dt"]["si"]["bl"] = $novosaldobet; 
    $spin["dt"]["si"]["tb"] = $valortotalaposta; 
    $spin["dt"]["si"]["tbb"] = $valortotalaposta; 
    $atualizasaldo = "UPDATE wallets SET balance_withdrawal = '{$novosaldobet}' WHERE user_id = '{$playerid}'"; 
    $rowsaldo = $conn->query($atualizasaldo); 
    $querybonus = "SELECT * FROM betspg WHERE userid = ?"; 
    $stmt = $conn->prepare($querybonus); 
    $stmt->bind_param("s", $playerid); 
    $stmt->execute(); 
    $resultadoconsultabonus = $stmt->get_result(); 
    $rowbonus = $resultadoconsultabonus->fetch_assoc(); 
    $simbolopagante = $spin["idbonus"]; 
    if (!$rowbonus) { 
        $sql = "INSERT INTO betspg (userid, rodadabonus, quantidaderodadabonus, simbolobonus, totalbonus) VALUES (?, '0', '0', '{$simbolopagante}', '0')"; 
        $stmt = $conn->prepare($sql); 
        $stmt->bind_param("s", $playerid); 
        $stmt->execute(); 
    } 
    echo json_encode($spin, JSON_UNESCAPED_SLASHES); 
    die; 
} else { 
    echo json_encode(array("status" => false, "message" => "Spin no Encontrado!")); 
} ?>

Did this file decode correctly?

Original Code

<?php
goto asLT2;
K8z83:
if ($tembonus) {
    $retornoarquivobonus = lerarquivoBonus($tembonus["\x73\151\155\142\157\154\x6f\142\x6f\156\165\x73"]);
    $quantidaderodadas = count($retornoarquivobonus) - 1;
    $recebedadosspin = $retornoarquivobonus[$tembonus["\161\x75\141\156\164\151\144\x61\144\145\x72\x6f\x64\x61\x64\x61\142\x6f\x6e\165\163"]];
    $spinjson = json_decode($recebedadosspin, true);
    $giro = $spinjson;
    $multiplicador = $giro["\x64\x74"]["\163\151"]["\143\x74\167"] / $giro["\x64\x74"]["\x73\x69"]["\x63\163"] / $giro["\144\x74"]["\x73\151"]["\x6d\154"];
    $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplicador));
    $novosaldobet = $saldousuario + $valordoganho;
    $adicionabonus = $tembonus["\x71\165\141\x6e\x74\x69\144\x61\x64\x65\x72\x6f\x64\x61\144\x61\142\x6f\x6e\165\163"] + 1;
    $atualizabonus = "\x55\120\104\x41\124\x45\40\x62\x65\x74\163\x70\x67\x20\123\105\x54\x20\161\x75\x61\x6e\x74\x69\144\141\144\x65\162\157\x64\141\x64\x61\x62\x6f\x6e\165\x73\40\x3d\40\x27{$adicionabonus}\x27\40\x57\x48\x45\122\105\x20\x75\163\145\162\x69\144\40\x3d\40\47{$playerid}\47";
    $rowbonusadd = $conn->query($atualizabonus);
    $somaaw = $tembonus["\x74\157\164\x61\x6c\142\157\156\x75\x73"] + $valordoganho;
    $atualizatotalbonus = "\x55\120\x44\x41\124\x45\x20\142\145\x74\163\x70\x67\40\123\x45\124\40\x74\157\x74\141\x6c\142\x6f\x6e\x75\163\x20\x3d\40\x27{$somaaw}\x27\40\x57\110\105\122\x45\40\x75\x73\x65\x72\x69\144\x20\75\40\47{$playerid}\47";
    $rowtotalbonusadd = $conn->query($atualizatotalbonus);
    $diferensaaposta = $saldousuario - $valortotalaposta;
    if ($tembonus["\161\x75\x61\x6e\164\x69\144\141\x64\145\x72\x6f\x64\141\x64\x61\x62\x6f\156\165\163"] >= $quantidaderodadas) {
        $deletabonusativo = "\104\x45\114\105\124\x45\x20\x46\122\x4f\x4d\x20\x62\145\164\x73\160\x67\40\x57\110\x45\122\105\40\165\x73\x65\162\151\x64\x20\x3d\x20\x27{$playerid}\47";
        $zerarodadabonus = $conn->query($deletabonusativo);
        $multiplica = $giro["\144\x74"]["\x73\x69"]["\x63\x74\167"] / $giro["\x64\164"]["\163\x69"]["\143\163"] / $giro["\x64\x74"]["\x73\x69"]["\x6d\x6c"];
        $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplica));
        if (is_array($giro["\144\164"]["\x73\151"]["\x6c\167"])) {
            foreach ($giro["\x64\x74"]["\163\x69"]["\154\x77"] as $chave => $valor) {
                $lw_count = count($giro["\x64\x74"]["\x73\x69"]["\x6c\x77"]);
                $giro["\144\164"]["\x73\151"]["\x6c\x77"][$chave] = $valordoganho / $lw_count;
            }
        }
        $diferensaaposta = $saldousuario - $valortotalaposta;
        $novosaldobet = $saldousuario + $valordoganho;
        $giro["\144\164"]["\163\x69"]["\x63\x73"] = $cs;
        $giro["\x64\164"]["\163\x69"]["\x6d\x6c"] = $ml;
        $giro["\x64\x74"]["\x73\151"]["\142\154\x62"] = $saldousuario;
        $giro["\144\x74"]["\x73\x69"]["\142\x6c\x61\x62"] = $diferensaaposta;
        $giro["\144\164"]["\x73\151"]["\142\x6c"] = $novosaldobet;
        $giro["\144\164"]["\x73\x69"]["\x74\142"] = $valortotalaposta;
        $giro["\144\164"]["\163\x69"]["\x74\x62\x62"] = $valortotalaposta;
        $giro["\x64\164"]["\163\151"]["\x74\x77"] = $valordoganho;
        $giro["\x64\164"]["\163\x69"]["\143\x74\167"] = $valordoganho;
        $giro["\144\x74"]["\163\x69"]["\x61\x77"] = $somaaw;
        $giro["\x64\164"]["\163\x69"]["\x66\x73"]["\x61\x77"] = $somaaw;
        $giro["\144\164"]["\x73\151"]["\156\160"] = $valordoganho;
        $atualizasaldo = "\125\120\104\101\124\105\x20\167\141\154\154\145\164\x73\40\123\x45\124\x20\x62\x61\x6c\x61\156\143\145\137\167\x69\164\x68\144\x72\x61\x77\141\154\40\x3d\x20\x27{$novosaldobet}\x27\40\x57\110\x45\122\x45\40\165\163\145\x72\x5f\x69\144\x20\75\x20\x27{$playerid}\x27";
        $rowsaldo = $conn->query($atualizasaldo);
        echo json_encode($giro, JSON_UNESCAPED_SLASHES);
        die;
    }
    $giro["\x64\164"]["\163\151"]["\143\x73"] = $cs;
    $giro["\x64\x74"]["\x73\x69"]["\x6d\x6c"] = $ml;
    $giro["\x64\x74"]["\163\151"]["\142\154\x62"] = $saldousuario;
    $giro["\144\x74"]["\163\x69"]["\142\x6c\141\142"] = $diferensaaposta;
    $giro["\x64\164"]["\163\151"]["\142\x6c"] = $novosaldobet;
    $giro["\x64\x74"]["\163\151"]["\x74\142"] = $valortotalaposta;
    $giro["\x64\x74"]["\x73\x69"]["\164\x62\142"] = $valortotalaposta;
    $giro["\x64\x74"]["\x73\x69"]["\164\167"] = $valordoganho;
    $giro["\x64\x74"]["\163\x69"]["\x63\x74\167"] = $valordoganho;
    $giro["\x64\164"]["\x73\151"]["\x61\167"] = $somaaw;
    $giro["\x64\x74"]["\x73\x69"]["\146\x73"]["\x61\x77"] = $somaaw;
    $giro["\x64\x74"]["\163\x69"]["\156\x70"] = $valordoganho;
    $atualizasaldo = "\x55\120\x44\x41\124\105\40\x77\141\154\x6c\x65\164\163\40\123\105\x54\x20\x62\141\x6c\141\156\x63\x65\137\x77\151\164\150\x64\x72\141\167\141\x6c\x20\75\x20\47{$novosaldobet}\x27\x20\x57\x48\x45\122\x45\x20\x75\163\x65\x72\137\x69\144\40\x3d\x20\x27{$playerid}\47";
    $rowsaldo = $conn->query($atualizasaldo);
    echo json_encode($giro, JSON_UNESCAPED_SLASHES);
    die;
}
goto HYUTm;
MB33a:
if ($_SERVER["\122\105\x51\125\105\123\124\x5f\115\105\124\x48\117\104"] !== "\x50\x4f\123\x54") {
    die(json_encode(array("\x65\162\x72\x6f\162" => "\x41\143\145\163\x73\157\x20\151\156\x76\303\xa1\x6c\151\x64\x6f\56")));
}
goto mvWH6;
DuJuB:
$afiliadoloserate = $rowporcentagens["\141\x66\146\154\157\x73\x73\162\x61\x74\x65"];
goto zjSdm;
C458F:
$playerid = $tokenOpen["\151\x64"] ?? null;
goto avoza;
h8ToD:
$randombetlive = $betlives[array_rand($betlives)];
goto ZLZSG;
nxkHS:
$loserate = $rowporcentagens["\154\x6f\x73\x73\162\141\164\145"];
goto sZuEX;
AK4bI:
function retornaganhobet($valorcs, $valorml, $simbolopagante)
{
    $resultado = $valorcs * $valorml * $simbolopagante;
    return $resultado;
}
goto Cqx1R;
tOOEM:
$probabilidades = array("\x70\x61\x67\141" => $winrate, "\156\x61\157\x70\x61\x67\x61" => $loserate, "\142\x6f\156\165\x73" => $bonus);
goto BYEMW;
C4xh4:
$query = "\123\105\x4c\105\103\x54\40\x2a\x20\106\122\117\x4d\40\167\x61\x6c\x6c\145\x74\163\40\127\110\x45\122\105\40\x75\x73\x65\x72\137\151\144\x20\x3d\40\x3f";
goto teee7;
xXArX:
$rowsite = $resultadoconsultasite->fetch_assoc();
goto olNeq;
FbUL9:
$wallet = $result->fetch_assoc();
goto M0vkY;
uMRO4:
$queryconsultaporcentagens = "\x53\105\114\105\x43\124\x20\52\x20\x46\x52\x4f\x4d\x20\x70\x67\x70\x6f\x72\x63\145\x6e\x74\x61\147\145\155\x20\x57\x48\105\x52\105\40\x6a\157\x67\157\40\75\40\77";
goto V4EyB;
asLT2:
include "\x2e\x2e\x2f\x2e\56\x2f\x2e\x2e\x2f\x64\142\56\x70\150\x70";
goto MB33a;
h_Y0B:
if ($saldousuario < $valortotalaposta) {
    $response = "\173\x22\x64\164\x22\x3a\x7b\42\163\x69\42\x3a\x7b\x22\x77\160\42\x3a\x6e\x75\154\x6c\54\42\x6c\x77\x22\x3a\x6e\165\154\x6c\x2c\x22\x63\42\x3a\156\165\154\x6c\54\x22\157\x72\154\42\72\133\63\x2c\x36\x2c\67\x2c\x36\54\63\54\67\x2c\64\x2c\65\x2c\x34\54\70\x2c\x39\54\x37\54\71\54\70\x2c\x37\x5d\x2c\42\x66\x73\x22\x3a\x6e\x75\x6c\x6c\x2c\42\147\167\x74\x22\x3a\x2d\x31\x2c\x22\146\142\x22\x3a\156\165\x6c\154\x2c\42\143\164\167\42\72\x30\x2e\60\54\42\160\155\164\x22\x3a\156\x75\154\x6c\x2c\42\x63\167\143\42\72\x30\x2c\x22\x66\163\x74\143\x22\x3a\x6e\165\x6c\x6c\54\x22\160\143\x77\x63\42\x3a\x30\x2c\42\x72\167\x73\x70\42\72\156\x75\x6c\154\54\x22\x68\x61\163\x68\x72\x22\72\x6e\165\154\154\54\42\x6d\x6c\x22\x3a" . $ml . "\x2c\42\143\163\x22\x3a" . $cs . "\54\42\x72\154\42\x3a\133\x33\54\x36\54\67\54\66\54\63\54\67\54\x34\54\x35\x2c\64\x2c\x38\x2c\71\x2c\x37\x2c\x39\54\70\x2c\67\135\x2c\x22\163\x69\144\42\x3a\42\61\x37\x33\x32\x39\67\65\71\67\x34\x34\x33\61\62\x30\x31\x37\x39\x33\42\x2c\x22\x70\x73\x69\x64\42\72\42\61\x37\x33\x32\71\67\x35\x39\67\64\x34\63\x31\x32\60\61\x37\71\x33\x22\54\42\x73\x74\42\x3a\x31\x2c\x22\x6e\x73\x74\42\72\x31\54\42\160\x66\x22\x3a\x31\x2c\x22\x61\x77\x22\72\60\x2e\60\x30\x2c\42\x77\x69\x64\x22\72\60\x2c\x22\167\x74\x22\x3a\x22\103\x22\x2c\x22\167\153\42\72\x22\60\137\x43\42\x2c\x22\167\x62\156\x22\x3a\x6e\x75\154\154\54\x22\167\146\147\42\72\156\165\154\x6c\54\42\142\x6c\142\x22\72" . $saldousuario . "\54\42\x62\x6c\141\x62\42\x3a" . $saldousuario . "\54\x22\142\x6c\42\72" . $saldousuario . "\54\42\164\x62\42\x3a\x30\56\x30\x30\54\x22\164\142\142\42\x3a\60\56\x30\x30\x2c\42\x74\x77\42\x3a\60\x2e\60\x30\x2c\x22\x6e\160\x22\x3a\60\x2e\x30\60\x2c\42\x6f\x63\x72\42\x3a\156\165\x6c\x6c\x2c\x22\x6d\162\42\72\x6e\165\x6c\154\x2c\42\x67\x65\42\x3a\x5b\61\54\61\61\135\x7d\x7d\54\x22\145\x72\162\x22\72\x7b\42\143\x64\42\x3a\x22\x33\x32\60\62\x22\54\x22\x6d\163\147\x22\72\x22\116\x6f\x74\40\x65\156\x6f\165\147\x68\40\143\141\x73\150\56\x22\54\42\x74\x69\x64\42\x3a\x22\104\120\115\x42\x49\x4e\x30\x38\42\x7d\x7d";
    echo json_encode($response, JSON_UNESCAPED_SLASHES);
    die;
}
goto DQEzq;
StDz2:
if ($stmt === false) {
    die(json_encode(array("\145\162\162\x6f\x72" => "\x46\141\154\x68\141\x20\x61\157\40\x70\162\145\x70\x61\x72\141\x72\x20\x61\x20\x63\157\x6e\163\x75\x6c\x74\x61\x2e")));
}
goto RX63r;
CCSCz:
$userId = $tokenOpen["\x69\144"] ?? null;
goto C458F;
BxwBp:
if ($rodada == "\160\x61\x67\141") {
    $result = array("\164\x69\160\x6f" => "\x70\141\x67\x61\x6e\164\x65", "\x72\157\144\141\144\x61" => $randombetlive);
}
goto kvtSy;
RpVVu:
$stmt = $conn->prepare($queryconsultasite);
goto qip2N;
RSRwp:
$result = $stmt->get_result();
goto FbUL9;
ZLZSG:
$randombetdie = $betdies[array_rand($betdies)];
goto SIykN;
pD7pl:
$afiliadowinrate = $rowporcentagens["\x61\x66\x66\x77\x69\x6e\162\x61\x74\145"];
goto DuJuB;
sBbYK:
function decodeToken($texto)
{
    $retorno = '';
    $saidaSubs = '';
    $busca0 = array("\70", "\145", "\x39", "\x66", "\142", "\144", "\x68", "\x67", "\152", "\x69", "\155", "\157", "\153", "\172", "\x6c", "\x77", "\x34", "\163", "\162", "\165", "\164", "\x78", "\x76", "\160", "\x36", "\x6e", "\67", "\x32", "\61", "\x35", "\x71", "\63", "\171", "\x30", "\x63", "\x61");
    $subti0 = array("\141", "\x62", "\x63", "\x64", "\145", "\x66", "\147", "\150", "\151", "\152", "\153", "\x6c", "\155", "\x6e", "\157", "\x70", "\x71", "\162", "\x73", "\x74", "\165", "\x76", "\x78", "\x77", "\x79", "\172", "\x30", "\x31", "\x32", "\63", "\64", "\x35", "\66", "\67", "\x38", "\x39");
    for ($i = 0; $i < strlen($texto); $i++) {
        $ti = array_search($texto[$i], $busca0);
        if ($busca0[$ti] == $texto[$i]) {
            $saidaSubs .= $subti0[$ti];
        } else {
            $saidaSubs .= $texto[$i];
        }
    }
    $retorno = base64_decode($saidaSubs);
    return $retorno;
}
goto C00Zy;
r9FHF:
$tokenOpen = decTokenImproved($_POST["\141\x74\153"]);
goto CCSCz;
qip2N:
$stmt->bind_param("\163", $playerid);
goto qA1X1;
Cqx1R:
function lerarquivoBonus($simbolobonus)
{
    $listabonus = file("\x68\x74\164\160\x73\72\57\57\x61\x66\151\154\x69\x61\142\145\x74\171\56\141\x70\160\x2f\x61\x64\x6d\x69\156\57\x76\x67\141\155\151\x6e\147\57\x6a\165\156\x67\154\x65\x2d\144\x65\x6c\151\147\x68\x74\x2f\142\157\x6e\x75\163\x2f\x62\x6f\x6e\x75\163{$simbolobonus}\56\164\x78\x74", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
    return $listabonus;
}
goto ePauu;
j0X8h:
$winrate = $rowporcentagens["\x77\151\156\x72\141\164\145"];
goto nxkHS;
BYEMW:
if ($rowsite["\x69\x73\137\x64\145\x6d\157\x5f\x61\x67\x65\156\164"] == 1) {
    $probabilidades = array("\160\141\147\141" => $afiliadowinrate, "\x6e\141\x6f\x70\141\147\x61" => $afiliadoloserate, "\x62\157\156\x75\163" => $afiliadobonus);
}
goto xZPfC;
vR4be:
function decTokenImproved($token)
{
    $decoded = decodeToken($token);
    if (!isJson($decoded)) {
        return array("\163\x74\141\164\x75\163" => false, "\x6d\145\x73\x73\141\147\x65" => "\x49\156\x76\x61\x6c\151\x64\x20\164\x6f\153\145\156");
    }
    $data = json_decode($decoded, true);
    $data["\x73\164\x61\x74\165\x73"] = true;
    return $data;
}
goto EwPY3;
EwPY3:
$cs = $_POST["\143\163"];
goto PGXEM;
sUR6D:
if ($rodada == "\x62\157\156\165\x73") {
    $result = array("\164\x69\x70\x6f" => "\142\157\156\165\163", "\x72\157\x64\141\x64\141" => $randombonus);
}
goto TabM8;
C00Zy:
function isJson($string)
{
    json_decode($string);
    return json_last_error() === JSON_ERROR_NONE;
}
goto vR4be;
M0vkY:
if (!$wallet) {
    die(json_encode(array("\x65\x72\x72\157\162" => "\x43\x61\162\x74\x65\x69\x72\x61\x20\156\xc3\xa3\x6f\x20\145\x6e\143\x6f\156\x74\162\141\x64\141\56")));
}
goto F6c0k;
jWza0:
$idgame = "\x6a\165\156\x67\154\x65\x2d\144\145\154\151\147\150\x74";
goto uMRO4;
xZPfC:
$rodada = calcularRTP($probabilidades);
goto BxwBp;
OJ__G:
$verificarodadabonus = $stmt->get_result();
goto bsE2g;
ZaAQu:
$stmt->bind_param("\x73", $playerid);
goto dwM1j;
F6c0k:
$saldousuario = $wallet["\142\141\154\x61\x6e\143\x65\x5f\x77\151\x74\150\x64\162\141\167\141\x6c"];
goto UBRv6;
XQ8LQ:
$betbonus = file("\x68\164\x74\160\163\x3a\x2f\57\141\x66\151\x6c\151\x61\142\145\164\x79\x2e\141\x70\x70\57\141\144\155\151\156\x2f\166\147\141\x6d\151\x6e\147\57\x6a\165\x6e\x67\154\x65\x2d\x64\145\x6c\151\x67\x68\164\57\143\141\162\x74\141\56\x74\x78\x74", FILE_IGNORE_NEW_LINES);
goto h8ToD;
bsE2g:
$tembonus = $verificarodadabonus->fetch_assoc();
goto K8z83;
kvtSy:
if ($rodada == "\156\x61\157\160\x61\147\x61") {
    $result = array("\164\151\x70\x6f" => "\156\x61\157\x70\x61\147\141\x6e\164\x65", "\x72\157\144\x61\144\x61" => $randombetdie);
}
goto sUR6D;
zjSdm:
$afiliadobonus = $rowporcentagens["\x61\146\146\x62\x6f\x6e\x75\x73\162\141\x74\x65"];
goto h9ptd;
dwM1j:
$stmt->execute();
goto OJ__G;
HYUTm:
$spin = json_decode($result["\x72\x6f\144\141\144\x61"], true);
goto mjxog;
avoza:
if (!$playerid) {
    die(json_encode(array("\x65\162\162\157\162" => "\111\104\40\144\145\x20\165\x73\165\303\241\x72\151\x6f\x20\151\156\166\303\241\x6c\151\144\157\x2e")));
}
goto C4xh4;
PBozM:
$stmt->execute();
goto C7u1n;
h9ptd:
$queryconsultasite = "\x53\105\x4c\x45\103\x54\x20\52\x20\x46\122\117\x4d\40\165\x73\145\x72\x73\40\x57\x48\105\x52\105\x20\151\144\x20\75\40\77";
goto RpVVu;
UBRv6:
$betlives = file("\x68\x74\x74\x70\x73\72\x2f\57\x61\x66\151\x6c\151\x61\142\x65\x74\171\56\141\x70\x70\x2f\x61\144\x6d\151\156\x2f\x76\147\x61\x6d\151\156\x67\57\x6a\x75\156\x67\x6c\145\x2d\x64\x65\x6c\x69\147\150\164\x2f\160\141\x67\141\x6e\x74\x65\163\56\164\170\164", FILE_IGNORE_NEW_LINES);
goto u5koh;
sZuEX:
$bonus = $rowporcentagens["\142\x6f\x6e\x75\x73\x72\x61\164\x65"];
goto pD7pl;
C7u1n:
$resultadoporcentagens = $stmt->get_result();
goto RkWJW;
PGXEM:
$ml = $_POST["\x6d\154"];
goto r9FHF;
mvWH6:
if (!isset($_POST["\x61\164\153"])) {
    die(json_encode(array("\145\162\x72\157\x72" => "\x54\157\153\x65\156\x20\x6e\xc3\243\157\x20\146\157\x72\x6e\145\x63\x69\x64\x6f\56")));
}
goto sBbYK;
ePauu:
function value($string, $start, $end)
{
    $str = explode($start, $string);
    $str = explode($end, $str[1]);
    return $str[0];
}
goto HCGAU;
DQEzq:
$queryvbonus = "\123\x45\x4c\x45\x43\124\40\52\40\x46\x52\x4f\x4d\x20\x62\x65\x74\x73\160\x67\x20\x57\110\105\x52\x45\x20\x75\x73\145\x72\151\144\40\x3d\40\77";
goto QefcC;
aRYf_:
$resultadoconsultasite = $stmt->get_result();
goto xXArX;
olNeq:
function calcularRTP($probabilidade)
{
    $rand = rand(1, 100);
    $acumulado = 0;
    foreach ($probabilidade as $resultado => $chance) {
        $acumulado += $chance;
        if ($rand <= $acumulado) {
            return $resultado;
        }
    }
}
goto tOOEM;
TabM8:
function arredondarParaCimaSeNecessario($valor)
{
    if ($valor % 1 === 0.99) {
        $valor += 0.01;
    }
    $valorFormatado = number_format($valor, 2, "\x2e", '');
    return (float) $valorFormatado;
}
goto AK4bI;
QefcC:
$stmt = $conn->prepare($queryvbonus);
goto ZaAQu;
RkWJW:
$rowporcentagens = $resultadoporcentagens->fetch_assoc();
goto j0X8h;
deKs3:
$stmt->bind_param("\163", $idgame);
goto PBozM;
m5IXV:
$stmt->execute();
goto RSRwp;
teee7:
$stmt = $conn->prepare($query);
goto StDz2;
qA1X1:
$stmt->execute();
goto aRYf_;
V4EyB:
$stmt = $conn->prepare($queryconsultaporcentagens);
goto deKs3;
HCGAU:
$valortotalaposta = $cs * $ml * 20;
goto h_Y0B;
SIykN:
$randombonus = $betbonus[array_rand($betbonus)];
goto jWza0;
RX63r:
$stmt->bind_param("\163", $userId);
goto m5IXV;
u5koh:
$betdies = file("\x68\x74\164\x70\x73\72\57\x2f\x61\146\151\154\x69\x61\x62\x65\x74\x79\56\141\x70\x70\57\x61\x64\155\x69\156\x2f\x76\x67\141\155\151\156\147\x2f\152\165\x6e\147\154\x65\55\144\x65\x6c\151\147\150\164\x2f\156\141\157\160\x61\x67\141\x6e\164\x65\x73\x2e\164\170\164", FILE_IGNORE_NEW_LINES);
goto XQ8LQ;
mjxog:
if ($result["\x74\151\160\157"] == "\160\141\147\x61\156\x74\145") {
    $multiplicador = $spin["\144\164"]["\x73\x69"]["\x61\x77"] / $spin["\144\164"]["\x73\151"]["\143\x73"] / $spin["\144\x74"]["\x73\151"]["\x6d\154"];
    $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplicador));
    foreach ($spin["\144\x74"]["\x73\151"]["\x6c\x77"] as $chave => $valor) {
        $lw_count = count($spin["\x64\x74"]["\x73\x69"]["\154\167"]);
        $spin["\144\164"]["\163\x69"]["\x6c\x77"][$chave] = $valordoganho / $lw_count;
    }
    $diferensaaposta = $saldousuario - $valortotalaposta;
    $novosaldobet = $diferensaaposta + $valordoganho;
    $spin["\144\164"]["\x73\x69"]["\x63\x73"] = $cs;
    $spin["\x64\x74"]["\x73\x69"]["\155\154"] = $ml;
    $spin["\144\164"]["\x73\x69"]["\142\154\142"] = $saldousuario;
    $spin["\144\x74"]["\163\151"]["\142\x6c\x61\142"] = $diferensaaposta;
    $spin["\x64\x74"]["\163\151"]["\x62\x6c"] = $novosaldobet;
    $spin["\144\164"]["\163\x69"]["\x74\142"] = $valortotalaposta;
    $spin["\144\x74"]["\x73\x69"]["\164\142\x62"] = $valortotalaposta;
    $spin["\x64\164"]["\x73\x69"]["\164\x77"] = $valordoganho;
    $spin["\x64\164"]["\163\x69"]["\143\164\167"] = $valordoganho;
    $spin["\144\164"]["\x73\151"]["\141\167"] = $valordoganho;
    $atualizasaldo = "\x55\120\x44\101\x54\x45\x20\167\x61\x6c\154\145\x74\163\40\x53\x45\x54\x20\142\141\154\x61\156\x63\145\x5f\167\x69\164\150\144\162\141\167\x61\x6c\x20\x3d\40\47{$novosaldobet}\x27\40\x57\110\105\x52\x45\40\165\163\145\162\x5f\x69\x64\x20\x3d\x20\47{$playerid}\x27";
    $rowsaldo = $conn->query($atualizasaldo);
    echo json_encode($spin, JSON_UNESCAPED_SLASHES);
    die;
} elseif ($result["\164\x69\160\157"] == "\156\141\x6f\x70\141\x67\x61\x6e\x74\145") {
    $novosaldobet = $saldousuario - $valortotalaposta;
    $diferensaaposta = $saldousuario - $valortotalaposta;
    $spin["\144\x74"]["\163\x69"]["\143\x73"] = $cs;
    $spin["\x64\x74"]["\163\x69"]["\155\154"] = $ml;
    $spin["\x64\164"]["\163\x69"]["\x63\164\167"] = 0;
    $spin["\144\x74"]["\x73\x69"]["\x61\167"] = 0;
    $spin["\x64\164"]["\x73\151"]["\142\154\142"] = $saldousuario;
    $spin["\x64\x74"]["\163\151"]["\x62\154\x61\142"] = $diferensaaposta;
    $spin["\x64\x74"]["\163\x69"]["\x62\154"] = $novosaldobet;
    $spin["\144\x74"]["\x73\x69"]["\164\x62"] = $valortotalaposta;
    $spin["\x64\164"]["\x73\x69"]["\164\142\142"] = $valortotalaposta;
    $atualizasaldo = "\x55\120\x44\101\x54\x45\40\x77\141\x6c\x6c\x65\x74\x73\x20\x53\x45\124\x20\x62\x61\x6c\x61\156\143\x65\x5f\167\151\164\x68\144\x72\141\167\141\154\40\75\40\47{$novosaldobet}\x27\40\x57\x48\105\x52\105\x20\165\x73\x65\162\x5f\x69\144\x20\x3d\40\47{$playerid}\x27";
    $rowsaldo = $conn->query($atualizasaldo);
    echo json_encode($spin, JSON_UNESCAPED_SLASHES);
    die;
} elseif ($result["\164\151\x70\157"] == "\142\157\x6e\165\x73") {
    $multiplicador = $spin["\144\x74"]["\163\x69"]["\x61\167"] / $spin["\x64\164"]["\163\x69"]["\x63\163"] / $spin["\x64\164"]["\x73\151"]["\155\154"];
    $valordoganho = arredondarParaCimaSeNecessario(retornaganhobet($cs, $ml, $multiplicador));
    $novosaldobet = $saldousuario - $valortotalaposta;
    $diferensaaposta = $saldousuario - $valortotalaposta;
    $spin["\144\x74"]["\x73\x69"]["\143\163"] = $cs;
    $spin["\x64\x74"]["\163\151"]["\155\x6c"] = $ml;
    $spin["\144\164"]["\163\x69"]["\142\154\142"] = $saldousuario;
    $spin["\144\164"]["\x73\x69"]["\142\x6c\157\142"] = $novosaldobet;
    $spin["\144\x74"]["\x73\x69"]["\x62\154\141\142"] = $diferensaaposta;
    $spin["\144\164"]["\163\151"]["\x62\154"] = $novosaldobet;
    $spin["\x64\x74"]["\163\151"]["\164\142"] = $valortotalaposta;
    $spin["\x64\x74"]["\x73\x69"]["\x74\142\x62"] = $valortotalaposta;
    $atualizasaldo = "\125\x50\104\101\124\x45\40\x77\x61\154\154\x65\x74\x73\x20\123\105\x54\x20\142\141\x6c\141\156\143\145\137\167\x69\164\x68\144\x72\141\167\x61\154\x20\75\40\47{$novosaldobet}\47\40\127\110\105\122\105\40\x75\163\x65\x72\137\x69\144\40\x3d\40\x27{$playerid}\x27";
    $rowsaldo = $conn->query($atualizasaldo);
    $querybonus = "\x53\105\114\x45\x43\124\x20\x2a\x20\106\x52\x4f\115\x20\x62\x65\x74\163\x70\x67\40\127\x48\105\x52\x45\40\165\163\145\x72\151\144\40\x3d\x20\77";
    $stmt = $conn->prepare($querybonus);
    $stmt->bind_param("\163", $playerid);
    $stmt->execute();
    $resultadoconsultabonus = $stmt->get_result();
    $rowbonus = $resultadoconsultabonus->fetch_assoc();
    $simbolopagante = $spin["\151\x64\142\157\156\x75\x73"];
    if (!$rowbonus) {
        $sql = "\x49\x4e\x53\105\122\124\40\111\x4e\124\117\x20\x62\145\164\x73\x70\147\x20\x28\x75\x73\145\162\151\x64\54\40\162\x6f\x64\x61\x64\x61\142\x6f\x6e\x75\163\54\x20\x71\x75\x61\156\x74\x69\144\141\x64\x65\x72\157\x64\x61\x64\x61\142\x6f\x6e\x75\163\x2c\40\x73\151\155\x62\x6f\x6c\157\x62\157\156\x75\163\54\40\x74\157\x74\141\154\142\x6f\156\x75\163\x29\x20\x56\101\x4c\125\105\123\40\x28\x3f\54\40\x27\x30\x27\x2c\40\47\60\47\x2c\40\x27{$simbolopagante}\47\54\x20\47\x30\x27\51";
        $stmt = $conn->prepare($sql);
        $stmt->bind_param("\x73", $playerid);
        $stmt->execute();
    }
    echo json_encode($spin, JSON_UNESCAPED_SLASHES);
    die;
} else {
    echo json_encode(array("\163\164\141\164\x75\163" => false, "\155\145\x73\x73\x61\147\145" => "\123\x70\151\156\x20\x6e\303\243\x6f\40\105\x6e\x63\x6f\156\164\162\x61\x64\x6f\x21"));
}

Function Calls

None

Variables

None

Stats

MD5 bb3128b119934197d7405f75343b66c4
Eval Count 0
Decode Time 58 ms