
<!DOCTYPE html>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <meta charset="utf-8" />
    <style>
        body {
            font-family: Arial, sans-serif;
            width: 270px;
            height: 100px;
            margin: auto;
            margin-top: 10px
        }
        
        input[type=radio] {
            display: none;
        }
        
        .textradio {
            color: rgb(0, 247, 255);
            cursor: pointer;
        }
        
        input[type=radio]+label {
            padding: 3px 7px;
            background: #2c3c3c;
            color: rgb(22, 17, 17);
            border-radius: 5px;
            user-select: none;
        }
        
        input[type=radio]:checked+label {
            background: #22ff00b2;
        }
        
        .draggable1 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 200px;
            left: 305px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.24);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable2 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 300px;
            left: 305px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.247);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable3 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 100px;
            left: 300px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.253);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable4 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 100px;
            left: 200px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.267);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable5 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 100px;
            left: 100px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.123);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable6 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 300px;
            left: 100px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.123);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable8 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 200px;
            left: 200px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.123);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        .draggable7 {
            width: 58px;
            height: 54px;
            position: absolute;
            top: 200px;
            left: 100px;
            border: 1.5px solid cyan;
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.123);
            cursor: move;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 2px;
        }
        
        #tsw {
            color: rgb(255, 105, 180);
            font-family: 'Courier New', Courier, monospace;
            font-weight: bold;
            font-size: 11px;
            margin-bottom: 5px;
        }
        
        .switch {
            transform: scale(1);
            border: 2.5px solid transparent;
            border-radius: 16px;
        }
        
        input[type="checkbox"].switch {
            -webkit-appearance: none;
            appearance: none;
            width: 51px;
            height: 31px;
            /* background-color: rgb(254, 252, 252); */
            background-color: transparent;
            position: relative;
            outline: none;
        }
        
        input[type="checkbox"].switch:checked {
            background-color: rgb(0, 255, 0);
        }
        
        input[type="checkbox"].switch::before {
            content: '';
            position: absolute;
            top: 0px;
            left: 0px;
            width: 27px;
            height: 27px;
            border-radius: 50%;
            background-color: rgb(0, 255, 242);
            transition: 0.2s;
        }
        
        input[type="checkbox"].switch:checked::before {
            left: 20px;
        }
        
        .color-Time {
            font-size: 20px;
            font-weight: center;
            color: #00ffea;
        }
        
        @keyframes color-Time {
            0%,
            100% {
                color: #3cff00;
            }
            50% {
                color: #ff0000;
            }
        }
        
        .telegram-link {
            color: rgb(0, 255, 221);
            text-decoration: none;
            display: block;
            margin-bottom: 2px;
        }
        
        h2 {
            font-size: 16px;
            color: #00d9ff;
        }
        
        .icon {
            margin-right: 10px;
            width: 24px;
            height: 24px;
        }
    </style>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable1');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function ActiveCodePatch(fpath, vaddr, bytes) {
            if (!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
                var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
                alert(fpath + ":0x" + vaddr.toString(16) + "-PatchFailed!\n" + result);
                return false;
            }
            return true;
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable2');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function ActiveCodePatch(fpath, vaddr, bytes) {
            if (!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
                var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
                alert(fpath + ":0x" + vaddr.toString(16) + "-PatchFailed!\n" + result);
                return false;
            }
            return true;
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable3');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function ActiveCodePatch(fpath, vaddr, bytes) {
            if (!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
                var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
                alert(fpath + ":0x" + vaddr.toString(16) + "-PatchFailed!\n" + result);
                return false;
            }
            return true;
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable4');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function ActiveCodePatch(fpath, vaddr, bytes) {
            if (!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
                var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
                alert(fpath + ":0x" + vaddr.toString(16) + "-PatchFailed!\n" + result);
                return false;
            }
            return true;
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable5');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function ActiveCodePatch(fpath, vaddr, bytes) {
            if (!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
                var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
                alert(fpath + ":0x" + vaddr.toString(16) + "-PatchFailed!\n" + result);
                return false;
            }
            return true;
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable6');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable7');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });

        function DeactiveCodePatch(fpath, vaddr, bytes) {
            return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
        }
        document.addEventListener('DOMContentLoaded', function() {
            const dragItem = document.querySelector('.draggable8');
            let active = false;
            let currentX;
            let currentY;
            let initialX;
            let initialY;
            let xOffset = 0;
            let yOffset = 0;

            function dragStart(e) {
                if (e.type === "touchstart") {
                    initialX = e.touches[0].clientX - xOffset;
                    initialY = e.touches[0].clientY - yOffset;
                } else {
                    initialX = e.clientX - xOffset;
                    initialY = e.clientY - yOffset;
                }
                if (e.target === dragItem) {
                    active = true;
                }
            }

            function dragEnd() {
                initialX = currentX;
                initialY = currentY;
                active = false;
            }

            function drag(e) {
                if (active) {
                    e.preventDefault();
                    if (e.type === "touchmove") {
                        currentX = e.touches[0].clientX - initialX;
                        currentY = e.touches[0].clientY - initialY;
                    } else {
                        currentX = e.clientX - initialX;
                        currentY = e.clientY - initialY;
                    }
                    xOffset = currentX;
                    yOffset = currentY;
                    setTranslate(currentX, currentY, dragItem);
                }
            }

            function setTranslate(xPos, yPos, el) {
                el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0)`;
            }

            dragItem.addEventListener('mousedown', dragStart, false);
            dragItem.addEventListener('touchstart', dragStart, false);

            document.addEventListener('mouseup', dragEnd, false);
            document.addEventListener('touchend', dragEnd, false);

            document.addEventListener('mousemove', drag, false);
            document.addEventListener('touchmove', drag, false);

            const switchInput = document.getElementById('sw1');
            switchInput.addEventListener('change', function() {
                if (this.checked) {
                    ActiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                } else {
                    DeactiveCodePatch("freefireth", 0x33538D0, "C0035FD6");
                }
            });
        });
    </script>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script>
        h5gg.require(7.9);
        var h5frida = h5gg.loadPlugin("h5frida", "h5frida-16.0.10.dylib");
        if (!h5frida) throw "Failed to load h5frida plugin";

        document.body.onselectstart = document.body.ondrag = function() {
            return false;
        }
    </script>
    <script>
        function fs4(input) {
            if (input.checked) {
                h5gg.clearResults();
                h5gg.searchNumber('4575657222469899220', 'I64', '0x100000000', '0x130000000');
                h5gg.editAll('4848124999925814228', 'I64');
                h5gg.clearResults();
                h5gg.searchNumber('4575657222469336965', 'I64', '0x100000000', '0x130000000');
                h5gg.editAll('4848124999925251973', 'I64');
                alert("Antena Vai On");
                h5gg.clearResults();
                codeStatus = true;
            } else {
                h5gg.clearResults();
                h5gg.searchNumber('4848124999925814228', 'I64', '0x100000000', '0x130000000');
                h5gg.editAll('4848124999925814228', 'I64');
                h5gg.clearResults();
                h5gg.searchNumber('4848124999925251973', 'I64', '0x100000000', '0x130000000');
                h5gg.editAll('4575657222469336965', 'I64');
                alert("Antena Vai Off");
                h5gg.clearResults();
                codeStatus = false;
            }
        }

        function sp1(input) { //ghost
            if (input.checked) {
                h5gg.clearResults();
                h5gg.searchNumber('4397530849764387586', 'I64', '0x100000000', '0x160000000');
                h5gg.editAll('4397530849758414897', 'I64');
                alert("Speed RUN On");
                codeStatus = true;
            } else {
                h5gg.editAll('4397530849764387586', 'I64');
                alert("Speed RUN Off");
                codeStatus = false;
            }
        }

        function Norecoil() {
            function searchAndReplace(searchValue, replaceValue, type) {
                h5gg.clearResults();
                h5gg.searchNumber(searchValue, type, '0x100000000', '0x160000000');
                var results = h5gg.getResults(h5gg.getResultsCount());
                for (var i = 0; i < results.length; i++) {
                    h5gg.setValue(results[i].address, replaceValue.toString(), type)
                }
            }
            searchAndReplace(1016018816, 180, 'I32')
        }

        function Aimlock() {
            h5gg.clearResults();
            modifyValue(1077936128, -20001, 'A04');
            modifyValue(1069547520, 1148829696, 'A10');
            h5gg.clearResults();
            codeStatus = true;
            vant.showNotify({
                type: 'success',
                message: 'Aim Lock'
            });

        }

        function aim180() {
            h5gg.clearResults();
            h5gg.searchNumber('1057048494', 'I32', '0x100000000', '0x160000000');
            h5gg.editAll('-2000', 'I32');
            h5gg.clearResults();
            h5gg.searchNumber('1054951342', 'I32', '0x100000000', '0x160000000');
            h5gg.editAll(
                '-2000', 'I32');
            h5gg.clearResults();
            h5gg.searchNumber('1053273620', 'I32', '0x100000000', '0x160000000');
            h5gg.editAll('-2000', 'I32');
            h5gg.clearResults();
            vant.showNotify({
                type: 'success',
                message: 'Aim 180'
            });
        }

        function s100s() {
            h5gg.clearResults();
            h5gg.searchNumber('72340173878198272', 'I64', '0x100000000', '0x130000000');
            h5gg.editAll('72340172821233664', 'I64');
            vant.showNotify({
                type: 'success',
                message: 'Arm Switch'
            });


        }




        function s101s() {
            h5gg.clearResults();
            h5gg.searchNumber('4603687625386098688', 'I64', '0x100000000', '0x160000000');
            var count = h5gg.getResultsCount();
            var r = h5gg.getResults(count);
            var cnt = 0;
            for (var i = 0; i < count; i++) {
                var addr1 = r[i].address;

                var dizhi0 = (Number(addr1) + 36);
                var dizhi1 = (Number(addr1) + 40);



                {
                    h5gg.setValue(dizhi0, 0.01, "F32");
                    h5gg.setValue(dizhi1, 0.01, "F32");

                }
            }
            vant.showNotify({
                type: 'success',
                message: 'Awm Switch '
            });


        }

        function so91() {
            alert(' SNIPER SCOPE DONE')
            h5gg.clearResults();
            h5gg.searchNumber('31101603021', 'I64', '0x100000000', '0x160000000');
            var count = h5gg.getResultsCount();
            var r = h5gg.getResults(count);
            var cnt = 0;
            for (var i = 0; i < count; i++) {
                var addr1 = r[i].address;

                var dizhi0 = (Number(addr1) + 8);




                {
                    h5gg.setValue(dizhi0, 2139095040, "I32");

                }
            }
            vant.showNotify({
                type: 'success',
                message: '𝐒𝐧𝐢𝐩𝐞𝐫 𝐒𝐜𝐨𝐩'
            });
        }
    </script>
    <script>
        function loopy() {
            let sWord = ""; // متغير لتخزين إدخال المستخدم
            const validKey = "1"; // المفتاح الصحيح المطلوب

            while (sWord !== validKey) {
                sWord = prompt("ENTER KEY:"); // طلب إدخال من المستخدم

                if (sWord === validKey) {
                    alert("LUIS CHEAT PANEL"); // عرض الرسالة عند إدخال المفتاح الصحيح
                } else {
                    alert("Invalid Key! Please try again."); // تنبيه عند الإدخال غير الصحيح
                }
            }
        }

        // استدعاء الدالة
        loopy();
    </script>
</head>

<body>

    <div class="color-Time">
        <center><em>
         <div id=""></div></div>
<script>
function getTime() {
    var date = new Date();
    var year = date.getFullYear(); 
    var month = date.getMonth() + 1; 
    var day = date.getDate(); 
    var hour = date.getHours(); 
    hour = hour < 10 ? '0' + hour : hour;
    var minute = date.getMinutes(); 
    minute = minute < 10 ? '0' + minute : minute;
    var seconds = date.getSeconds(); 
    seconds = seconds < 10 ? '0' + seconds : seconds;
    


 return day + '/' + month + '/' + year + ' ' + hour + ':' + minute + ':' + seconds;
}

setInterval(function() {
    document.querySelector('.box').innerHTML = getTime();
}, 1000)
</script>
<script>
     // دالة لتشغيل الصوت
     function playSound(checkbox) {
            if (checkbox.checked) {
                var audio = new Audio('https://www.sendgb.com/src/download_one.php?uploadId=CGKDk4bRPd8&sc=86de4cc58324d35f56f151aee84b6ddb&file=OPCION_ACTIVADA_AUDIO_VOZ_1.wav&private_id='); // استبدل 'sound.mp3' بمسار ملف الصوت الخاص بك
                audio.play();
            }
        }
</script>

<h2>DIVOPED BY:<img src="https://github.com/WeansHHN/weanshhn.github.io/blob/main/img/gif/gifwaifu.gif?raw=true" alt="weanshhn" width="25" height="19" /> <a class="telegram-link" href="https://discord.gg/cVckz2xYy4"> < / >LUIS CHEATS
</a></h2>
    <div id="menuView" class="draggable1" @touchmove="touchmove"
    >
        <label id="tsw"> Switsh
            </label>
            <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);s101s() ">
    </div>
    <div id="menuView" class="draggable2" @touchmove="touchmove">
        <label id="tsw"> Aim AWM
            </label>
            <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);s100s()">
    </div>
    <div id="menuView" class="draggable3" @touchmove="touchmove">
        <label id="tsw" >Antena</label>
        <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);fs4(this)">
    </div> 
    <div id="menuView" class="draggable4" @touchmove="touchmove">
        <label id="tsw" >Aim180</label>
        <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);aim180()">
    </div>
    <div id="menuView" class="draggable5" @touchmove="touchmove">
        <label id="tsw" >Aimlock</label>
        <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);Aimlock()">
    </div>
    <div id="menuView" class="draggable6" @touchmove="touchmove">
        <label id="tsw" >Norecoil</label>
        <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);Norecoil()">
    </div>
    <div id="menuView" class="draggable7" @touchmove="touchmove">
        <label id="tsw" >Speed </label>
        <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);sp1(this)">
    </div>
    <div id="menuView" class="draggable8" @touchmove="touchmove">
        <label id="tsw" >Awm Scp</label>
        <input type="checkbox" class="switch" id="sw1" onclick="playSound(this);so91()">
    </div>
    </div>
</body>

</html>