From 8a752c04771b28d82dce988849cad84ddaf3ea2c Mon Sep 17 00:00:00 2001 From: FivePixels Date: Fri, 17 Jul 2020 10:06:30 -0500 Subject: Initial Commit --- .../armv7/FCLRootListController.m.1fec4894.Td | 22 +++++++ .../armv7/Finical.dylib.dSYM/Contents/Info.plist | 20 ++++++ .../Contents/Resources/DWARF/Finical.dylib | Bin 0 -> 31067 bytes .../debug/armv7/FinicalPrefs.bundle/FinicalPrefs | Bin 0 -> 36236 bytes .../FinicalPrefs.dSYM/Contents/Info.plist | 20 ++++++ .../Contents/Resources/DWARF/FinicalPrefs | Bin 0 -> 54949 bytes .theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td | 20 ++++++ .theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td | 26 ++++++++ .theos/obj/debug/armv7/Tweak.x.fcdb2fda.o | Bin 0 -> 29668 bytes .theos/obj/debug/armv7/Tweak.x.m | 68 +++++++++++++++++++++ 10 files changed, 176 insertions(+) create mode 100644 .theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td create mode 100644 .theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist create mode 100644 .theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib create mode 100755 .theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs create mode 100644 .theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist create mode 100644 .theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs create mode 100644 .theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td create mode 100644 .theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td create mode 100644 .theos/obj/debug/armv7/Tweak.x.fcdb2fda.o create mode 100644 .theos/obj/debug/armv7/Tweak.x.m (limited to '.theos/obj/debug/armv7') diff --git a/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td b/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td new file mode 100644 index 0000000..3fbadc5 --- /dev/null +++ b/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.o: \ + FCLRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..61ddda7 --- /dev/null +++ b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.Finical.dylib + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib new file mode 100644 index 0000000..2344c69 Binary files /dev/null and b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib differ diff --git a/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs new file mode 100755 index 0000000..4304bda Binary files /dev/null and b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs differ diff --git a/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ee46ec0 --- /dev/null +++ b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.FinicalPrefs + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs new file mode 100644 index 0000000..9477520 Binary files /dev/null and b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs differ diff --git a/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td b/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td new file mode 100644 index 0000000..ced86a7 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td new file mode 100644 index 0000000..c4009e5 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td @@ -0,0 +1,26 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o new file mode 100644 index 0000000..2d9b16d Binary files /dev/null and b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o differ diff --git a/.theos/obj/debug/armv7/Tweak.x.m b/.theos/obj/debug/armv7/Tweak.x.m new file mode 100644 index 0000000..11bb908 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.m @@ -0,0 +1,68 @@ +#line 1 "Tweak.x" +#import + + +#include +#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 SBLockScreenManager; @class SBMediaController; @class CSMediaControlsView; +static CSAdjunctListItem * _logos_method$_ungrouped$CSMediaControlsView$getPlayerItem(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$playbackStateChanged(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); +static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBMediaController(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBMediaController"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBLockScreenManager(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBLockScreenManager"); } return _klass; } +#line 3 "Tweak.x" + +SBLockScreenManager *manager; +CSNotificationAdjunctListViewController *vc; + + +static CSAdjunctListItem * _logos_method$_ungrouped$CSMediaControlsView$getPlayerItem(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + CSAdjunctListItem *item = [vc.identifiersToItems objectForKey:@"SBDashBoardNowPlayingAssertionIdentifier"]; + return item; +} + +static void _logos_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + CSAdjunctListItem *item = [self getPlayerItem]; + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + if ([[_logos_static_class_lookup$SBMediaController() sharedInstance] isPaused]) { + [vc _removeItem:(id)item animated:(BOOL)YES]; + } + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playbackStateChanged) name:(__bridge NSString *)kMRMediaRemoteNowPlayingInfoDidChangeNotification object:nil]; +} + + +static void _logos_method$_ungrouped$CSMediaControlsView$playbackStateChanged(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + CSAdjunctListItem *item = [self getPlayerItem]; + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + [vc _insertItem:(id)item animated:(BOOL)YES]; +} +static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + UISwipeGestureRecognizer *swipeleft = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(removePlayer)]; + swipeleft.direction=UISwipeGestureRecognizerDirectionLeft; + [self addGestureRecognizer:swipeleft]; +} + +static __attribute__((constructor)) void _logosLocalInit() { +{Class _logos_class$_ungrouped$CSMediaControlsView = objc_getClass("CSMediaControlsView"); { char _typeEncoding[1024]; unsigned int i = 0; memcpy(_typeEncoding + i, @encode(CSAdjunctListItem *), strlen(@encode(CSAdjunctListItem *))); i += strlen(@encode(CSAdjunctListItem *)); _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$CSMediaControlsView, @selector(getPlayerItem), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$getPlayerItem, _typeEncoding); }{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$CSMediaControlsView, @selector(removePlayer), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$removePlayer, _typeEncoding); }{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$CSMediaControlsView, @selector(playbackStateChanged), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$playbackStateChanged, _typeEncoding); }MSHookMessageEx(_logos_class$_ungrouped$CSMediaControlsView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews);} } +#line 40 "Tweak.x" -- cgit v1.2.3