Browse Source

Initial commit

master
Jamie Berghmans 4 years ago
commit
6ecc4aff1c
56 changed files with 460 additions and 0 deletions
  1. BIN
      .DS_Store
  2. +10
    -0
      .theos/_/DEBIAN/control
  3. BIN
      .theos/_/Library/MobileSubstrate/DynamicLibraries/HideYTOverlay.dylib
  4. +1
    -0
      .theos/_/Library/MobileSubstrate/DynamicLibraries/HideYTOverlay.plist
  5. +0
    -0
      .theos/build_session
  6. +0
    -0
      .theos/fakeroot
  7. +1
    -0
      .theos/last_package
  8. +0
    -0
      .theos/obj/.stamp
  9. BIN
      .theos/obj/HideYTOverlay.dylib
  10. BIN
      .theos/obj/arm64/HideYTOverlay.dylib
  11. +20
    -0
      .theos/obj/arm64/HideYTOverlay.dylib.dSYM/Contents/Info.plist
  12. BIN
      .theos/obj/arm64/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib
  13. +23
    -0
      .theos/obj/arm64/Tweak.xm.4ff4ecce.Td
  14. BIN
      .theos/obj/arm64/Tweak.xm.4ff4ecce.o
  15. BIN
      .theos/obj/arm64e/HideYTOverlay.dylib
  16. +20
    -0
      .theos/obj/arm64e/HideYTOverlay.dylib.dSYM/Contents/Info.plist
  17. BIN
      .theos/obj/arm64e/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib
  18. +23
    -0
      .theos/obj/arm64e/Tweak.xm.af39814f.Td
  19. BIN
      .theos/obj/arm64e/Tweak.xm.af39814f.o
  20. BIN
      .theos/obj/armv7/HideYTOverlay.dylib
  21. +20
    -0
      .theos/obj/armv7/HideYTOverlay.dylib.dSYM/Contents/Info.plist
  22. BIN
      .theos/obj/armv7/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib
  23. +23
    -0
      .theos/obj/armv7/Tweak.xm.44682a10.Td
  24. BIN
      .theos/obj/armv7/Tweak.xm.44682a10.o
  25. +0
    -0
      .theos/obj/debug/.stamp
  26. BIN
      .theos/obj/debug/HideYTOverlay.dylib
  27. BIN
      .theos/obj/debug/arm64/HideYTOverlay.dylib
  28. +20
    -0
      .theos/obj/debug/arm64/HideYTOverlay.dylib.dSYM/Contents/Info.plist
  29. BIN
      .theos/obj/debug/arm64/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib
  30. +23
    -0
      .theos/obj/debug/arm64/Tweak.xm.9bc2e148.Td
  31. BIN
      .theos/obj/debug/arm64/Tweak.xm.9bc2e148.o
  32. +45
    -0
      .theos/obj/debug/arm64/Tweak.xm.mm
  33. BIN
      .theos/obj/debug/arm64e/HideYTOverlay.dylib
  34. +20
    -0
      .theos/obj/debug/arm64e/HideYTOverlay.dylib.dSYM/Contents/Info.plist
  35. BIN
      .theos/obj/debug/arm64e/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib
  36. +23
    -0
      .theos/obj/debug/arm64e/Tweak.xm.aa9d1243.Td
  37. BIN
      .theos/obj/debug/arm64e/Tweak.xm.aa9d1243.o
  38. +45
    -0
      .theos/obj/debug/arm64e/Tweak.xm.mm
  39. BIN
      .theos/obj/debug/armv7/HideYTOverlay.dylib
  40. +20
    -0
      .theos/obj/debug/armv7/HideYTOverlay.dylib.dSYM/Contents/Info.plist
  41. BIN
      .theos/obj/debug/armv7/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib
  42. +23
    -0
      .theos/obj/debug/armv7/Tweak.xm.e873fb03.Td
  43. BIN
      .theos/obj/debug/armv7/Tweak.xm.e873fb03.o
  44. +45
    -0
      .theos/obj/debug/armv7/Tweak.xm.mm
  45. +1
    -0
      .theos/packages/com.devvix.hideytoverlay-0.0.1
  46. +1
    -0
      .theos/packages/com.devvix.hideytoverlay-1.0.0
  47. +1
    -0
      HideYTOverlay.plist
  48. +9
    -0
      Makefile
  49. +9
    -0
      Tweak.h
  50. +25
    -0
      Tweak.xm
  51. +9
    -0
      control
  52. BIN
      packages/.DS_Store
  53. BIN
      packages/HideYTOverlay.deb
  54. BIN
      packages/com.devvix.hideytoverlay_1.0.0-1+debug_iphoneos-arm.deb
  55. BIN
      packages/com.devvix.hideytoverlay_1.0.0-2+debug_iphoneos-arm.deb
  56. BIN
      packages/com.devvix.hideytoverlay_1.0.0-3+debug_iphoneos-arm.deb

BIN
.DS_Store View File


+ 10
- 0
.theos/_/DEBIAN/control View 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 View File


+ 1
- 0
.theos/_/Library/MobileSubstrate/DynamicLibraries/HideYTOverlay.plist View File

@@ -0,0 +1 @@
{ Filter = { Bundles = ( "com.google.ios.youtube" ); }; }

+ 0
- 0
.theos/build_session View File


+ 0
- 0
.theos/fakeroot View File


+ 1
- 0
.theos/last_package View File

@@ -0,0 +1 @@
./packages/com.devvix.hideytoverlay_1.0.0-3+debug_iphoneos-arm.deb

+ 0
- 0
.theos/obj/.stamp View File


BIN
.theos/obj/HideYTOverlay.dylib View File


BIN
.theos/obj/arm64/HideYTOverlay.dylib View File


+ 20
- 0
.theos/obj/arm64/HideYTOverlay.dylib.dSYM/Contents/Info.plist View File

@@ -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>

BIN
.theos/obj/arm64/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib View File


+ 23
- 0
.theos/obj/arm64/Tweak.xm.4ff4ecce.Td View 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 View File


BIN
.theos/obj/arm64e/HideYTOverlay.dylib View File


+ 20
- 0
.theos/obj/arm64e/HideYTOverlay.dylib.dSYM/Contents/Info.plist View File

@@ -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>

BIN
.theos/obj/arm64e/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib View File


+ 23
- 0
.theos/obj/arm64e/Tweak.xm.af39814f.Td View 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 View File


BIN
.theos/obj/armv7/HideYTOverlay.dylib View File


+ 20
- 0
.theos/obj/armv7/HideYTOverlay.dylib.dSYM/Contents/Info.plist View File

@@ -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>

BIN
.theos/obj/armv7/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib View File


+ 23
- 0
.theos/obj/armv7/Tweak.xm.44682a10.Td View 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 View File


+ 0
- 0
.theos/obj/debug/.stamp View File


BIN
.theos/obj/debug/HideYTOverlay.dylib View File


BIN
.theos/obj/debug/arm64/HideYTOverlay.dylib View File


+ 20
- 0
.theos/obj/debug/arm64/HideYTOverlay.dylib.dSYM/Contents/Info.plist View File

@@ -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>

BIN
.theos/obj/debug/arm64/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib View File


+ 23
- 0
.theos/obj/debug/arm64/Tweak.xm.9bc2e148.Td View 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 View File


+ 45
- 0
.theos/obj/debug/arm64/Tweak.xm.mm View 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 View File


+ 20
- 0
.theos/obj/debug/arm64e/HideYTOverlay.dylib.dSYM/Contents/Info.plist View File

@@ -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>

BIN
.theos/obj/debug/arm64e/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib View File


+ 23
- 0
.theos/obj/debug/arm64e/Tweak.xm.aa9d1243.Td View 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 View File


+ 45
- 0
.theos/obj/debug/arm64e/Tweak.xm.mm View 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 View File


+ 20
- 0
.theos/obj/debug/armv7/HideYTOverlay.dylib.dSYM/Contents/Info.plist View File

@@ -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>

BIN
.theos/obj/debug/armv7/HideYTOverlay.dylib.dSYM/Contents/Resources/DWARF/HideYTOverlay.dylib View File


+ 23
- 0
.theos/obj/debug/armv7/Tweak.xm.e873fb03.Td View 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 View File


+ 45
- 0
.theos/obj/debug/armv7/Tweak.xm.mm View 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
- 0
.theos/packages/com.devvix.hideytoverlay-0.0.1 View File

@@ -0,0 +1 @@
11

+ 1
- 0
.theos/packages/com.devvix.hideytoverlay-1.0.0 View File

@@ -0,0 +1 @@
3

+ 1
- 0
HideYTOverlay.plist View File

@@ -0,0 +1 @@
{ Filter = { Bundles = ( "com.google.ios.youtube" ); }; }

+ 9
- 0
Makefile View 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
- 0
Tweak.h View 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
- 0
Tweak.xm View 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
- 0
control View 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 View File


BIN
packages/HideYTOverlay.deb View File


BIN
packages/com.devvix.hideytoverlay_1.0.0-1+debug_iphoneos-arm.deb View File


BIN
packages/com.devvix.hideytoverlay_1.0.0-2+debug_iphoneos-arm.deb View File


BIN
packages/com.devvix.hideytoverlay_1.0.0-3+debug_iphoneos-arm.deb View File


Loading…
Cancel
Save