Initial commit
This commit is contained in:
10
.theos/_/DEBIAN/control
Normal file
10
.theos/_/DEBIAN/control
Normal file
@ -0,0 +1,10 @@
|
||||
Package: com.devvix.hideytoverlay
|
||||
Name: HideYTOverlay
|
||||
Depends: mobilesubstrate
|
||||
Architecture: iphoneos-arm
|
||||
Description: Hide the background behind the YouTube overlay!
|
||||
Maintainer: Devvix
|
||||
Author: Devvix
|
||||
Section: Tweaks
|
||||
Version: 1.0.0-3+debug
|
||||
Installed-Size: 200
|
BIN
.theos/_/Library/MobileSubstrate/DynamicLibraries/HideYTOverlay.dylib
Executable file
BIN
.theos/_/Library/MobileSubstrate/DynamicLibraries/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1 @@
|
||||
{ Filter = { Bundles = ( "com.google.ios.youtube" ); }; }
|
0
.theos/build_session
Normal file
0
.theos/build_session
Normal file
0
.theos/fakeroot
Normal file
0
.theos/fakeroot
Normal file
1
.theos/last_package
Normal file
1
.theos/last_package
Normal file
@ -0,0 +1 @@
|
||||
./packages/com.devvix.hideytoverlay_1.0.0-3+debug_iphoneos-arm.deb
|
0
.theos/obj/.stamp
Normal file
0
.theos/obj/.stamp
Normal file
BIN
.theos/obj/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/HideYTOverlay.dylib
Executable file
Binary file not shown.
BIN
.theos/obj/arm64/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/arm64/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.HideYTOverlay.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
23
.theos/obj/arm64/Tweak.xm.4ff4ecce.Td
Normal file
23
.theos/obj/arm64/Tweak.xm.4ff4ecce.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/arm64/Tweak.xm.4ff4ecce.o: \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/arm64/Tweak.xm.mm \
|
||||
/Users/jamieberghmans/theos/Prefix.pch \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h \
|
||||
/Users/jamieberghmans/theos/include/substrate.h
|
||||
|
||||
/Users/jamieberghmans/theos/Prefix.pch:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h:
|
||||
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h:
|
||||
|
||||
/Users/jamieberghmans/theos/include/substrate.h:
|
BIN
.theos/obj/arm64/Tweak.xm.4ff4ecce.o
Normal file
BIN
.theos/obj/arm64/Tweak.xm.4ff4ecce.o
Normal file
Binary file not shown.
BIN
.theos/obj/arm64e/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/arm64e/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.HideYTOverlay.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
23
.theos/obj/arm64e/Tweak.xm.af39814f.Td
Normal file
23
.theos/obj/arm64e/Tweak.xm.af39814f.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/arm64e/Tweak.xm.af39814f.o: \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/arm64e/Tweak.xm.mm \
|
||||
/Users/jamieberghmans/theos/Prefix.pch \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h \
|
||||
/Users/jamieberghmans/theos/include/substrate.h
|
||||
|
||||
/Users/jamieberghmans/theos/Prefix.pch:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h:
|
||||
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h:
|
||||
|
||||
/Users/jamieberghmans/theos/include/substrate.h:
|
BIN
.theos/obj/arm64e/Tweak.xm.af39814f.o
Normal file
BIN
.theos/obj/arm64e/Tweak.xm.af39814f.o
Normal file
Binary file not shown.
BIN
.theos/obj/armv7/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/armv7/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.HideYTOverlay.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
23
.theos/obj/armv7/Tweak.xm.44682a10.Td
Normal file
23
.theos/obj/armv7/Tweak.xm.44682a10.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/armv7/Tweak.xm.44682a10.o: \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/armv7/Tweak.xm.mm \
|
||||
/Users/jamieberghmans/theos/Prefix.pch \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h \
|
||||
/Users/jamieberghmans/theos/include/substrate.h
|
||||
|
||||
/Users/jamieberghmans/theos/Prefix.pch:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h:
|
||||
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h:
|
||||
|
||||
/Users/jamieberghmans/theos/include/substrate.h:
|
BIN
.theos/obj/armv7/Tweak.xm.44682a10.o
Normal file
BIN
.theos/obj/armv7/Tweak.xm.44682a10.o
Normal file
Binary file not shown.
0
.theos/obj/debug/.stamp
Normal file
0
.theos/obj/debug/.stamp
Normal file
BIN
.theos/obj/debug/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/debug/HideYTOverlay.dylib
Executable file
Binary file not shown.
BIN
.theos/obj/debug/arm64/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/debug/arm64/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.HideYTOverlay.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
23
.theos/obj/debug/arm64/Tweak.xm.9bc2e148.Td
Normal file
23
.theos/obj/debug/arm64/Tweak.xm.9bc2e148.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/debug/arm64/Tweak.xm.9bc2e148.o: \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/debug/arm64/Tweak.xm.mm \
|
||||
/Users/jamieberghmans/theos/Prefix.pch \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h \
|
||||
/Users/jamieberghmans/theos/include/substrate.h
|
||||
|
||||
/Users/jamieberghmans/theos/Prefix.pch:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h:
|
||||
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h:
|
||||
|
||||
/Users/jamieberghmans/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.xm.9bc2e148.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.xm.9bc2e148.o
Normal file
Binary file not shown.
45
.theos/obj/debug/arm64/Tweak.xm.mm
Normal file
45
.theos/obj/debug/arm64/Tweak.xm.mm
Normal file
@ -0,0 +1,45 @@
|
||||
#line 1 "Tweak.xm"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#import "Tweak.h"
|
||||
|
||||
|
||||
#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 YTMainAppVideoPlayerOverlayView;
|
||||
static void (*_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$)(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST, SEL, BOOL);
|
||||
|
||||
#line 10 "Tweak.xm"
|
||||
|
||||
static void _logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) {
|
||||
UIView * background = (UIView *) [self backgroundView];
|
||||
[background setAlpha:(CGFloat)0];
|
||||
_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(self, _cmd, arg1);
|
||||
}
|
||||
|
||||
static __attribute__((constructor)) void _logosLocalInit() {
|
||||
{Class _logos_class$_ungrouped$YTMainAppVideoPlayerOverlayView = objc_getClass("YTMainAppVideoPlayerOverlayView"); MSHookMessageEx(_logos_class$_ungrouped$YTMainAppVideoPlayerOverlayView, @selector(setControlsOverlayVisible:), (IMP)&_logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$, (IMP*)&_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$);} }
|
||||
#line 17 "Tweak.xm"
|
BIN
.theos/obj/debug/arm64e/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/debug/arm64e/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.HideYTOverlay.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
23
.theos/obj/debug/arm64e/Tweak.xm.aa9d1243.Td
Normal file
23
.theos/obj/debug/arm64e/Tweak.xm.aa9d1243.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/debug/arm64e/Tweak.xm.aa9d1243.o: \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/debug/arm64e/Tweak.xm.mm \
|
||||
/Users/jamieberghmans/theos/Prefix.pch \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h \
|
||||
/Users/jamieberghmans/theos/include/substrate.h
|
||||
|
||||
/Users/jamieberghmans/theos/Prefix.pch:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h:
|
||||
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h:
|
||||
|
||||
/Users/jamieberghmans/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64e/Tweak.xm.aa9d1243.o
Normal file
BIN
.theos/obj/debug/arm64e/Tweak.xm.aa9d1243.o
Normal file
Binary file not shown.
45
.theos/obj/debug/arm64e/Tweak.xm.mm
Normal file
45
.theos/obj/debug/arm64e/Tweak.xm.mm
Normal file
@ -0,0 +1,45 @@
|
||||
#line 1 "Tweak.xm"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#import "Tweak.h"
|
||||
|
||||
|
||||
#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 YTMainAppVideoPlayerOverlayView;
|
||||
static void (*_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$)(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST, SEL, BOOL);
|
||||
|
||||
#line 10 "Tweak.xm"
|
||||
|
||||
static void _logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) {
|
||||
UIView * background = (UIView *) [self backgroundView];
|
||||
[background setAlpha:(CGFloat)0];
|
||||
_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(self, _cmd, arg1);
|
||||
}
|
||||
|
||||
static __attribute__((constructor)) void _logosLocalInit() {
|
||||
{Class _logos_class$_ungrouped$YTMainAppVideoPlayerOverlayView = objc_getClass("YTMainAppVideoPlayerOverlayView"); MSHookMessageEx(_logos_class$_ungrouped$YTMainAppVideoPlayerOverlayView, @selector(setControlsOverlayVisible:), (IMP)&_logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$, (IMP*)&_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$);} }
|
||||
#line 17 "Tweak.xm"
|
BIN
.theos/obj/debug/armv7/HideYTOverlay.dylib
Executable file
BIN
.theos/obj/debug/armv7/HideYTOverlay.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.HideYTOverlay.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
23
.theos/obj/debug/armv7/Tweak.xm.e873fb03.Td
Normal file
23
.theos/obj/debug/armv7/Tweak.xm.e873fb03.Td
Normal file
@ -0,0 +1,23 @@
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/debug/armv7/Tweak.xm.e873fb03.o: \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/.theos/obj/debug/armv7/Tweak.xm.mm \
|
||||
/Users/jamieberghmans/theos/Prefix.pch \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h \
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h \
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h \
|
||||
/Users/jamieberghmans/theos/include/substrate.h
|
||||
|
||||
/Users/jamieberghmans/theos/Prefix.pch:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/jamieberghmans/theos/vendor/include/CoreFoundation/CFLogUtilities.h:
|
||||
|
||||
/Users/jamieberghmans/theos-projects/hideytoverlay/Tweak.h:
|
||||
|
||||
/Users/jamieberghmans/theos/include/substrate.h:
|
BIN
.theos/obj/debug/armv7/Tweak.xm.e873fb03.o
Normal file
BIN
.theos/obj/debug/armv7/Tweak.xm.e873fb03.o
Normal file
Binary file not shown.
45
.theos/obj/debug/armv7/Tweak.xm.mm
Normal file
45
.theos/obj/debug/armv7/Tweak.xm.mm
Normal file
@ -0,0 +1,45 @@
|
||||
#line 1 "Tweak.xm"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#import "Tweak.h"
|
||||
|
||||
|
||||
#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 YTMainAppVideoPlayerOverlayView;
|
||||
static void (*_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$)(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST, SEL, BOOL);
|
||||
|
||||
#line 10 "Tweak.xm"
|
||||
|
||||
static void _logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(_LOGOS_SELF_TYPE_NORMAL YTMainAppVideoPlayerOverlayView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) {
|
||||
UIView * background = (UIView *) [self backgroundView];
|
||||
[background setAlpha:(CGFloat)0];
|
||||
_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$(self, _cmd, arg1);
|
||||
}
|
||||
|
||||
static __attribute__((constructor)) void _logosLocalInit() {
|
||||
{Class _logos_class$_ungrouped$YTMainAppVideoPlayerOverlayView = objc_getClass("YTMainAppVideoPlayerOverlayView"); MSHookMessageEx(_logos_class$_ungrouped$YTMainAppVideoPlayerOverlayView, @selector(setControlsOverlayVisible:), (IMP)&_logos_method$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$, (IMP*)&_logos_orig$_ungrouped$YTMainAppVideoPlayerOverlayView$setControlsOverlayVisible$);} }
|
||||
#line 17 "Tweak.xm"
|
1
.theos/packages/com.devvix.hideytoverlay-0.0.1
Normal file
1
.theos/packages/com.devvix.hideytoverlay-0.0.1
Normal file
@ -0,0 +1 @@
|
||||
11
|
1
.theos/packages/com.devvix.hideytoverlay-1.0.0
Normal file
1
.theos/packages/com.devvix.hideytoverlay-1.0.0
Normal file
@ -0,0 +1 @@
|
||||
3
|
1
HideYTOverlay.plist
Normal file
1
HideYTOverlay.plist
Normal file
@ -0,0 +1 @@
|
||||
{ Filter = { Bundles = ( "com.google.ios.youtube" ); }; }
|
9
Makefile
Normal file
9
Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
TWEAK_NAME = HideYTOverlay
|
||||
HideYTOverlay_FILES = Tweak.xm
|
||||
|
||||
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||
|
||||
after-install::
|
||||
install.exec "killall -9 YouTube"
|
9
Tweak.h
Normal file
9
Tweak.h
Normal file
@ -0,0 +1,9 @@
|
||||
//
|
||||
// Header file, shows all methods, classes, property's, and ivars hooked
|
||||
// Only 1 class, 1 property, and 1 method needed here
|
||||
//
|
||||
|
||||
@interface YTMainAppVideoPlayerOverlayView //The class hooked
|
||||
@property (nonatomic, retain) UIView * backgroundView; //The property from the actual class needed
|
||||
-(void)setControlsOverlayVisible:(BOOL)arg1; //The method hooked
|
||||
@end
|
25
Tweak.xm
Normal file
25
Tweak.xm
Normal file
@ -0,0 +1,25 @@
|
||||
//
|
||||
// Implementation file, shows all methods, classes, property's, and ivars implemented in code
|
||||
//
|
||||
|
||||
//Linking the header file.
|
||||
//It is possible to put all the headers in here,
|
||||
//but that will get real messy real soon on a bigger tweak.
|
||||
#import "Tweak.h"
|
||||
|
||||
%hook YTMainAppVideoPlayerOverlayView //The class I am hooking.
|
||||
-(void)setControlsOverlayVisible:(BOOL)arg1 { //The method I am hooking.
|
||||
|
||||
//Obtaining the background from property's.
|
||||
//You could leave this method out but it helps with readability
|
||||
//because the original header is in another file.
|
||||
//The reason I'm doing this every single time and not only
|
||||
//one per view initialization is because I noticed that
|
||||
//youtube resets this value sometimes so this is just in case.
|
||||
UIView * background = (UIView *) [self backgroundView];
|
||||
|
||||
[background setAlpha:(CGFloat)0]; //Calling the method to set the alpha to 0
|
||||
%orig(arg1); //Invoking the original setControlsOverlayVisible method with the original value
|
||||
}
|
||||
%end
|
||||
|
9
control
Normal file
9
control
Normal file
@ -0,0 +1,9 @@
|
||||
Package: com.devvix.hideytoverlay
|
||||
Name: HideYTOverlay
|
||||
Depends: mobilesubstrate
|
||||
Version: 1.0.0
|
||||
Architecture: iphoneos-arm
|
||||
Description: Hide the background behind the YouTube overlay!
|
||||
Maintainer: Devvix
|
||||
Author: Devvix
|
||||
Section: Tweaks
|
BIN
packages/.DS_Store
vendored
Normal file
BIN
packages/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
packages/HideYTOverlay.deb
Normal file
BIN
packages/HideYTOverlay.deb
Normal file
Binary file not shown.
BIN
packages/com.devvix.hideytoverlay_1.0.0-1+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.devvix.hideytoverlay_1.0.0-1+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.devvix.hideytoverlay_1.0.0-2+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.devvix.hideytoverlay_1.0.0-2+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.devvix.hideytoverlay_1.0.0-3+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.devvix.hideytoverlay_1.0.0-3+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
Reference in New Issue
Block a user