Program: 94064
Project: 94064
Buggy source:
static void initPremium(final XC_LoadPackage.LoadPackageParam lpparam){
  final ClassLoader cl=lpparam.classLoader;
  final boolean blockPresence=Preferences.getBool(Prefs.HIDE_TYPING_AND_PRESENCE) && Preferences.getLicence() >= 1;
  final boolean stealthViewing=Preferences.getBool(Prefs.STEALTH_VIEWING) && Preferences.getLicence() >= 2;
  final boolean stealthSaving=Preferences.getBool(Prefs.STEALTH_CHAT_SAVING) && Preferences.getLicence() >= 2;
  if (blockPresence || stealthViewing || stealthSaving) {
    findAndHookMethod("String_Node_Str",cl,"String_Node_Str",findClass("String_Node_Str",cl),findClass("String_Node_Str",cl),findClass("String_Node_Str",cl),new XC_MethodHook(){
      @Override protected void beforeHookedMethod(      MethodHookParam param) throws Throwable {
        super.beforeHookedMethod(param);
        Object packet=param.args[1];
        Logger.log("String_Node_Str" + packet.toString(),LogType.PREMIUM);
        performPacketBlocking(lpparam,param,packet,blockPresence,stealthViewing,stealthSaving);
      }
    }
);
    findAndHookMethod("String_Node_Str",cl,"String_Node_Str",findClass("String_Node_Str",cl),new XC_MethodHook(){
      @Override protected void beforeHookedMethod(      MethodHookParam param) throws Throwable {
        super.beforeHookedMethod(param);
        Object packet=param.args[0];
        Logger.log("String_Node_Str" + packet.toString(),LogType.PREMIUM);
        performPacketBlocking(lpparam,param,packet,blockPresence,stealthViewing,stealthSaving);
      }
    }
);
    String strNetworkManager="String_Node_Str";
    final Class snapUpdateClass=findClass("String_Node_Str",cl);
    final Class chatTypingClass=findClass("String_Node_Str",cl);
    findAndHookMethod(strNetworkManager,cl,"String_Node_Str",findClass("String_Node_Str",cl),findClass(strNetworkManager + "String_Node_Str",cl),Executor.class,new XC_MethodHook(){
      @Override protected void beforeHookedMethod(      MethodHookParam param) throws Throwable {
        super.beforeHookedMethod(param);
        Object packet=param.args[0];
        if ((snapUpdateClass.isInstance(packet) && stealthViewing) || (chatTypingClass.isInstance(packet) && blockPresence))         param.setResult(true);
      }
    }
);
  }
}

Fixed version (ground truth):
static void initPremium(final XC_LoadPackage.LoadPackageParam lpparam){
  final ClassLoader cl=lpparam.classLoader;
  final boolean blockPresence=Preferences.getBool(Prefs.HIDE_TYPING_AND_PRESENCE) && Preferences.getLicence() >= 1;
  final boolean stealthViewing=Preferences.getBool(Prefs.STEALTH_VIEWING) && Preferences.getLicence() >= 2;
  final boolean stealthSaving=Preferences.getBool(Prefs.STEALTH_CHAT_SAVING) && Preferences.getLicence() >= 2;
  if (blockPresence || stealthViewing || stealthSaving) {
    findAndHookMethod("String_Node_Str",cl,"String_Node_Str",findClass("String_Node_Str",cl),findClass("String_Node_Str",cl),findClass("String_Node_Str",cl),new XC_MethodHook(){
      @Override protected void beforeHookedMethod(      MethodHookParam param) throws Throwable {
        super.beforeHookedMethod(param);
        Object packet=param.args[1];
        performPacketBlocking(lpparam,param,packet,blockPresence,stealthViewing,stealthSaving);
      }
    }
);
    findAndHookMethod("String_Node_Str",cl,"String_Node_Str",findClass("String_Node_Str",cl),new XC_MethodHook(){
      @Override protected void beforeHookedMethod(      MethodHookParam param) throws Throwable {
        super.beforeHookedMethod(param);
        Object packet=param.args[0];
        performPacketBlocking(lpparam,param,packet,blockPresence,stealthViewing,stealthSaving);
      }
    }
);
    String strNetworkManager="String_Node_Str";
    final Class snapUpdateClass=findClass("String_Node_Str",cl);
    final Class chatTypingClass=findClass("String_Node_Str",cl);
    findAndHookMethod(strNetworkManager,cl,"String_Node_Str",findClass("String_Node_Str",cl),findClass(strNetworkManager + "String_Node_Str",cl),Executor.class,new XC_MethodHook(){
      @Override protected void beforeHookedMethod(      MethodHookParam param) throws Throwable {
        super.beforeHookedMethod(param);
        Object packet=param.args[0];
        if ((snapUpdateClass.isInstance(packet) && stealthViewing) || (chatTypingClass.isInstance(packet) && blockPresence))         param.setResult(true);
      }
    }
);
  }
}