#import "vm_writeData.h"
#import <QuartzCore/QuartzCore.h>
#import "PubgLoad.h"
#import <UIKit/UIKit.h>
#import "JHPP.h"
#import "JHDragView.h"
#import "JRMemory.framework/Headers/MemScan.h"
#import "mahoa.h"
@interface PubgLoad()
@property (nonatomic) UIButton *btnConsole;
@end
UILabel * MLabel;
UILabel * MLabe2;
@implementation PubgLoad
static PubgLoad *extraInfo;
+ (void)load
{
  dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(6* NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        extraInfo =  [PubgLoad new];
        [extraInfo iniview];
    });
}






- (void)iniview
{
    JHDragView *view = [[[[UIApplication sharedApplication] windows]lastObject] viewWithTag:100];
    if (!view) {

        view = [[JHDragView alloc] init];
        view.tag = 100;
        view.hidden = NO;
        [[JHPP currentViewController].view addSubview:view];

        UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onConsoleButtonTapped)];
        tap.numberOfTapsRequired = 1;
        [view addGestureRecognizer:tap];
   MLabel = [[UILabel alloc]initWithFrame:CGRectMake(50, 270, 800, 40)];
                MLabel.font = [UIFont systemFontOfSize:30.0];
                MLabel.textColor = [UIColor greenColor];
                MLabel.numberOfLines = 0;
                MLabel.textAlignment = NSTextAlignmentCenter;
                MLabel.backgroundColor = [UIColor clearColor];
                
                [[JHPP currentViewController].view addSubview:MLabel];
                
                
                MLabe2 = [[UILabel alloc]initWithFrame:CGRectMake(2+345, 270, 300, 40)];
                MLabe2.font = [UIFont systemFontOfSize:30.0];
                MLabe2.textColor = [UIColor greenColor];
                MLabe2.numberOfLines = 0;
                MLabe2.textAlignment = NSTextAlignmentCenter;
                MLabe2.backgroundColor = [UIColor clearColor];
                
                [[JHPP currentViewController].view addSubview:MLabe2];
            }
        }

-(void)onConsoleButtonTapped
{
UIAlertController *alertCtrl = [UIAlertController alertControllerWithTitle:@"Cảnh iOS Crack 🇻🇳" message:@"Bán Hack Vip iB Tele @canhioscrack Cầm Bán Làm Súc Vật Vô Sinh HaHa" preferredStyle:UIAlertControllerStyleAlert];


[alertCtrl addAction:[UIAlertAction actionWithTitle:@"Đây Là MODSKIN Súng Nhé" style:UIAlertActionStyleDefault handler:nil]];