Browse Source

remove dragon

pull/1/head
Burrit0z 4 years ago
parent
commit
fb7d56ae8e
4 changed files with 0 additions and 193 deletions
  1. BIN
      .dragon/build/.ninja_deps
  2. +0
    -12
      .dragon/build/.ninja_log
  3. +0
    -180
      .dragon/build/logos/Kai.xm.mm
  4. +0
    -1
      .dragon/last_package

BIN
.dragon/build/.ninja_deps View File


+ 0
- 12
.dragon/build/.ninja_log View File

@@ -1,12 +0,0 @@
# ninja log v5
0 470 1588096481595881493 .dragon/build/logos/Kai.xm.mm 2ff43d99226043a7
472 4353 1588096485464466690 .dragon/build/arm64e/Kai.xm.mm.o 4598f389cc63d95c
470 4365 1588096485473128196 .dragon/build/armv7/Kai.xm.mm.o 4fe1c0d4e01f824e
471 4384 1588096485504619175 .dragon/build/arm64/Kai.xm.mm.o 3d92451607ba4d79
4384 5351 1588096486472065729 .dragon/build/kai.arm64 4a5a6d812e458df
4353 5351 1588096486472664804 .dragon/build/kai.arm64e 3f60e77356505eb3
4365 5372 1588096486496346374 .dragon/build/kai.armv7 28dc0376c3d0fbcc
5372 5405 1588096486532842072 .dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib.unsym 9605f646a2b06131
5405 5545 1588096486672362798 .dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib.unsigned 30304c6c682e6c6d
5545 5622 1588096486749126354 .dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib d998911fb5a4bb3c
5622 5652 0 .dragon/build/trash/stage 4e5b61207c82583b

+ 0
- 180
.dragon/build/logos/Kai.xm.mm View File

@@ -1,180 +0,0 @@
#line 1 "Kai.xm"
#include <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#include <stdio.h>
#import <objc/runtime.h>
#import <UIKit/UIKit.h>

#import "KAIBattery.mm"
BOOL setFrame = NO;
KAIBattery *batteryWidget;
CGRect original;








@interface UIApplication (Kai)
+(id)sharedApplication;
-(BOOL)launchApplicationWithIdentifier:(id)arg1 suspended:(BOOL)arg2;
@end

@interface CSMainPageView : UIView
@property (nonatomic, strong) KAIBattery *battery;
-(void)updateForPresentation:(id)arg1;
@end




















#include <substrate.h>
#if defined(__clang__)
#if __has_feature(objc_arc)
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
#define _LOGOS_SELF_CONST const
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
#else
#define _LOGOS_SELF_TYPE_NORMAL
#define _LOGOS_SELF_TYPE_INIT
#define _LOGOS_SELF_CONST
#define _LOGOS_RETURN_RETAINED
#endif
#else
#define _LOGOS_SELF_TYPE_NORMAL
#define _LOGOS_SELF_TYPE_INIT
#define _LOGOS_SELF_CONST
#define _LOGOS_RETURN_RETAINED
#endif

@class SBCoverSheetPrimarySlidingViewController; @class CSMainPageView;
static void (*_logos_orig$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$)(_LOGOS_SELF_TYPE_NORMAL SBCoverSheetPrimarySlidingViewController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$(_LOGOS_SELF_TYPE_NORMAL SBCoverSheetPrimarySlidingViewController* _LOGOS_SELF_CONST, SEL, BOOL); static void (*_logos_orig$_ungrouped$CSMainPageView$updateForPresentation$)(_LOGOS_SELF_TYPE_NORMAL CSMainPageView* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$CSMainPageView$updateForPresentation$(_LOGOS_SELF_TYPE_NORMAL CSMainPageView* _LOGOS_SELF_CONST, SEL, id);

#line 47 "Kai.xm"

static void _logos_method$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$(_LOGOS_SELF_TYPE_NORMAL SBCoverSheetPrimarySlidingViewController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) {
_logos_orig$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$(self, _cmd, arg1);
[batteryWidget updateBattery];
}





__attribute__((used)) static KAIBattery * _logos_method$_ungrouped$CSMainPageView$battery(CSMainPageView * __unused self, SEL __unused _cmd) { return (KAIBattery *)objc_getAssociatedObject(self, (void *)_logos_method$_ungrouped$CSMainPageView$battery); }; __attribute__((used)) static void _logos_method$_ungrouped$CSMainPageView$setBattery(CSMainPageView * __unused self, SEL __unused _cmd, KAIBattery * rawValue) { objc_setAssociatedObject(self, (void *)_logos_method$_ungrouped$CSMainPageView$battery, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }

static void _logos_method$_ungrouped$CSMainPageView$updateForPresentation$(_LOGOS_SELF_TYPE_NORMAL CSMainPageView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) {
_logos_orig$_ungrouped$CSMainPageView$updateForPresentation$(self, _cmd, arg1);
UIView *object = self;
if(!setFrame) {
original = self.frame;

self.battery = [[KAIBattery alloc] initWithFrame:CGRectMake(8, 155, object.frame.size.width - 16, object.frame.size.height)];
[self addSubview:self.battery];
setFrame = YES;
batteryWidget = self.battery;
[self.battery updateBattery];
}

object.bounds = CGRectMake(
original.origin.x,
original.origin.y + (self.battery.number * 90),
original.size.width,
original.size.height
);






































































}

static __attribute__((constructor)) void _logosLocalInit() {
{Class _logos_class$_ungrouped$SBCoverSheetPrimarySlidingViewController = objc_getClass("SBCoverSheetPrimarySlidingViewController"); MSHookMessageEx(_logos_class$_ungrouped$SBCoverSheetPrimarySlidingViewController, @selector(viewWillAppear:), (IMP)&_logos_method$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$, (IMP*)&_logos_orig$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$);Class _logos_class$_ungrouped$CSMainPageView = objc_getClass("CSMainPageView"); MSHookMessageEx(_logos_class$_ungrouped$CSMainPageView, @selector(updateForPresentation:), (IMP)&_logos_method$_ungrouped$CSMainPageView$updateForPresentation$, (IMP*)&_logos_orig$_ungrouped$CSMainPageView$updateForPresentation$);{ char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(KAIBattery *)); class_addMethod(_logos_class$_ungrouped$CSMainPageView, @selector(battery), (IMP)&_logos_method$_ungrouped$CSMainPageView$battery, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(KAIBattery *)); class_addMethod(_logos_class$_ungrouped$CSMainPageView, @selector(setBattery:), (IMP)&_logos_method$_ungrouped$CSMainPageView$setBattery, _typeEncoding); } } }
#line 152 "Kai.xm"

+ 0
- 1
.dragon/last_package View File

@@ -1 +0,0 @@
com.burritoz.kai_0.0.1_iphoneos-arm.deb

Loading…
Cancel
Save