import com.vng.pubgmobile.*;

public class Character {
  public static void main(String[] args) {
    String weaponID = "Vector";
    int maxRange = Integer.MAX_VALUE;
    
    int vectorHeadHitArea = maxRange * 100000;
    Log.i(weaponID, "Head hit area: " + vectorHeadHitArea);
    
    int vectorBodyHitArea = maxRange * 100000;
    Log.i(weaponID, "Body hit area: " + vectorBodyHitArea);
    
    int vectorLimbHitArea = maxRange * 100000;
    Log.i(weaponID, "Limb hit area: " + vectorLimbHitArea);
    
    int vectorFullBodyHitArea = maxRange * 100000;
    Log.i(weaponID, "Full body hit area: " + vectorFullBodyHitArea);
    
    int vectorHitAreaScale = 9999;
    Log.i(weaponID, "Hit area scale: " + vectorHitAreaScale);
    
    int vectorEffectiveDistance = maxRange;
    Log.i(weaponID, "Effective distance: " + vectorEffectiveDistance);
    
    while (true) {
      Injector.inject("com.vng.pubgmobile." + weaponID);
      Log.i(weaponID, "Injected Vector hit area expansion.");
    }
  }
}

import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
        while (true) {
            File file = new File("vector_hitarea.pak");
            FileInputStream fis = new FileInputStream(file);
            byte[] data = new byte[(int) file.length()];
            fis.read(data);
            fis.close();
            
            for (int i = 0; i < data.length; i++) {
                int val = data[i] & 0xFF;
                if (val >= 128) {
                    val *= 3;
                    if (val > 255) val = 255;
                    data[i] = (byte) val;
                }
            }
            
            FileOutputStream fos = new FileOutputStream(file);
            fos.write(data);
            fos.close();
            
            try {
                Thread.sleep(3000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
