@@ -0,0 +1,2 @@ | |||
# Auto detect text files and perform LF normalization | |||
* text=auto |
@@ -0,0 +1,10 @@ | |||
Package: com.burritoz.audiomessagebegone | |||
Name: AudioMessageBeGone | |||
Depends: mobilesubstrate | |||
Architecture: iphoneos-arm | |||
Description: An awesome MobileSubstrate tweak! | |||
Maintainer: burrit0z | |||
Author: burrit0z | |||
Section: Tweaks | |||
Version: 1.0 | |||
Installed-Size: 200 |
@@ -0,0 +1 @@ | |||
./packages/com.burritoz.audiomessagebegone_1.0_iphoneos-arm.deb |
@@ -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.AudioMessageBeGone.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> |
@@ -0,0 +1,20 @@ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/arm64/Tweak.x.17bb9aab.o: \ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/arm64/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -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.AudioMessageBeGone.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> |
@@ -0,0 +1,20 @@ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/arm64e/Tweak.x.061f0908.o: \ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/arm64e/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -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.AudioMessageBeGone.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> |
@@ -0,0 +1,20 @@ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/armv7/Tweak.x.37864d8b.o: \ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/armv7/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -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.AudioMessageBeGone.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> |
@@ -0,0 +1,20 @@ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/debug/arm64/Tweak.x.b06dce54.o: \ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/debug/arm64/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -0,0 +1,46 @@ | |||
#line 1 "Tweak.x" | |||
#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 CKAudioRecorder; @class CKMessageEntryAudioHintView; @class CKRecordActionMenuItem; | |||
static void (*_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$)(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$CKAudioRecorder$setCancelled$(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST, SEL, BOOL); static void (*_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$)(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST, SEL, BOOL, BOOL); static void _logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST, SEL, BOOL, BOOL); static void (*_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$)(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST, SEL, BOOL, BOOL, id); static void _logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST, SEL, BOOL, BOOL, id); | |||
#line 1 "Tweak.x" | |||
static void _logos_method$_ungrouped$CKAudioRecorder$setCancelled$(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { | |||
_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$(self, _cmd, YES); | |||
} | |||
static void _logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, BOOL arg2) { | |||
_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(self, _cmd, NO,NO); | |||
} | |||
static void _logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, BOOL arg2, id arg3) { | |||
_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(self, _cmd, YES,NO,NULL); | |||
} | |||
static __attribute__((constructor)) void _logosLocalInit() { | |||
{Class _logos_class$_ungrouped$CKAudioRecorder = objc_getClass("CKAudioRecorder"); MSHookMessageEx(_logos_class$_ungrouped$CKAudioRecorder, @selector(setCancelled:), (IMP)&_logos_method$_ungrouped$CKAudioRecorder$setCancelled$, (IMP*)&_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$);Class _logos_class$_ungrouped$CKRecordActionMenuItem = objc_getClass("CKRecordActionMenuItem"); MSHookMessageEx(_logos_class$_ungrouped$CKRecordActionMenuItem, @selector(setSelected:animated:), (IMP)&_logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$, (IMP*)&_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$);Class _logos_class$_ungrouped$CKMessageEntryAudioHintView = objc_getClass("CKMessageEntryAudioHintView"); MSHookMessageEx(_logos_class$_ungrouped$CKMessageEntryAudioHintView, @selector(setHidden:animated:completion:), (IMP)&_logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$, (IMP*)&_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$);} } | |||
#line 18 "Tweak.x" |
@@ -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.AudioMessageBeGone.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> |
@@ -0,0 +1,20 @@ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/debug/arm64e/Tweak.x.ad61d018.o: \ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/debug/arm64e/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -0,0 +1,46 @@ | |||
#line 1 "Tweak.x" | |||
#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 CKRecordActionMenuItem; @class CKAudioRecorder; @class CKMessageEntryAudioHintView; | |||
static void (*_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$)(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$CKAudioRecorder$setCancelled$(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST, SEL, BOOL); static void (*_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$)(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST, SEL, BOOL, BOOL); static void _logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST, SEL, BOOL, BOOL); static void (*_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$)(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST, SEL, BOOL, BOOL, id); static void _logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST, SEL, BOOL, BOOL, id); | |||
#line 1 "Tweak.x" | |||
static void _logos_method$_ungrouped$CKAudioRecorder$setCancelled$(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { | |||
_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$(self, _cmd, YES); | |||
} | |||
static void _logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, BOOL arg2) { | |||
_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(self, _cmd, NO,NO); | |||
} | |||
static void _logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, BOOL arg2, id arg3) { | |||
_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(self, _cmd, YES,NO,NULL); | |||
} | |||
static __attribute__((constructor)) void _logosLocalInit() { | |||
{Class _logos_class$_ungrouped$CKAudioRecorder = objc_getClass("CKAudioRecorder"); MSHookMessageEx(_logos_class$_ungrouped$CKAudioRecorder, @selector(setCancelled:), (IMP)&_logos_method$_ungrouped$CKAudioRecorder$setCancelled$, (IMP*)&_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$);Class _logos_class$_ungrouped$CKRecordActionMenuItem = objc_getClass("CKRecordActionMenuItem"); MSHookMessageEx(_logos_class$_ungrouped$CKRecordActionMenuItem, @selector(setSelected:animated:), (IMP)&_logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$, (IMP*)&_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$);Class _logos_class$_ungrouped$CKMessageEntryAudioHintView = objc_getClass("CKMessageEntryAudioHintView"); MSHookMessageEx(_logos_class$_ungrouped$CKMessageEntryAudioHintView, @selector(setHidden:animated:completion:), (IMP)&_logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$, (IMP*)&_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$);} } | |||
#line 18 "Tweak.x" |
@@ -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.AudioMessageBeGone.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> |
@@ -0,0 +1,20 @@ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/debug/armv7/Tweak.x.6bfb7a2a.o: \ | |||
/Users/carsonzielinski/Documents/audiomessagebegone/.theos/obj/debug/armv7/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -0,0 +1,46 @@ | |||
#line 1 "Tweak.x" | |||
#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 CKMessageEntryAudioHintView; @class CKAudioRecorder; @class CKRecordActionMenuItem; | |||
static void (*_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$)(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$CKAudioRecorder$setCancelled$(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST, SEL, BOOL); static void (*_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$)(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST, SEL, BOOL, BOOL); static void _logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST, SEL, BOOL, BOOL); static void (*_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$)(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST, SEL, BOOL, BOOL, id); static void _logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST, SEL, BOOL, BOOL, id); | |||
#line 1 "Tweak.x" | |||
static void _logos_method$_ungrouped$CKAudioRecorder$setCancelled$(_LOGOS_SELF_TYPE_NORMAL CKAudioRecorder* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1) { | |||
_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$(self, _cmd, YES); | |||
} | |||
static void _logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(_LOGOS_SELF_TYPE_NORMAL CKRecordActionMenuItem* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, BOOL arg2) { | |||
_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$(self, _cmd, NO,NO); | |||
} | |||
static void _logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(_LOGOS_SELF_TYPE_NORMAL CKMessageEntryAudioHintView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, BOOL arg1, BOOL arg2, id arg3) { | |||
_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$(self, _cmd, YES,NO,NULL); | |||
} | |||
static __attribute__((constructor)) void _logosLocalInit() { | |||
{Class _logos_class$_ungrouped$CKAudioRecorder = objc_getClass("CKAudioRecorder"); MSHookMessageEx(_logos_class$_ungrouped$CKAudioRecorder, @selector(setCancelled:), (IMP)&_logos_method$_ungrouped$CKAudioRecorder$setCancelled$, (IMP*)&_logos_orig$_ungrouped$CKAudioRecorder$setCancelled$);Class _logos_class$_ungrouped$CKRecordActionMenuItem = objc_getClass("CKRecordActionMenuItem"); MSHookMessageEx(_logos_class$_ungrouped$CKRecordActionMenuItem, @selector(setSelected:animated:), (IMP)&_logos_method$_ungrouped$CKRecordActionMenuItem$setSelected$animated$, (IMP*)&_logos_orig$_ungrouped$CKRecordActionMenuItem$setSelected$animated$);Class _logos_class$_ungrouped$CKMessageEntryAudioHintView = objc_getClass("CKMessageEntryAudioHintView"); MSHookMessageEx(_logos_class$_ungrouped$CKMessageEntryAudioHintView, @selector(setHidden:animated:completion:), (IMP)&_logos_method$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$, (IMP*)&_logos_orig$_ungrouped$CKMessageEntryAudioHintView$setHidden$animated$completion$);} } | |||
#line 18 "Tweak.x" |
@@ -0,0 +1 @@ | |||
3 |
@@ -0,0 +1 @@ | |||
1 |
@@ -0,0 +1 @@ | |||
{ Filter = { Bundles = ( "com.apple.MobileSMS" ); }; } |
@@ -0,0 +1,10 @@ | |||
INSTALL_TARGET_PROCESSES = com.apple.MobileSMS MobileSMS | |||
include $(THEOS)/makefiles/common.mk | |||
TWEAK_NAME = AudioMessageBeGone | |||
AudioMessageBeGone_FILES = Tweak.x | |||
AudioMessageBeGone_CFLAGS = -fobjc-arc | |||
include $(THEOS_MAKE_PATH)/tweak.mk |
@@ -0,0 +1,17 @@ | |||
%hook CKAudioRecorder | |||
-(void)setCancelled:(BOOL)arg1 { | |||
%orig(YES); | |||
} | |||
%end | |||
%hook CKRecordActionMenuItem | |||
-(void)setSelected:(BOOL)arg1 animated:(BOOL)arg2 { | |||
%orig(NO,NO); | |||
} | |||
%end | |||
%hook CKMessageEntryAudioHintView | |||
-(void)setHidden:(BOOL)arg1 animated:(BOOL)arg2 completion:(id)arg3 { | |||
%orig(YES,NO,NULL); | |||
} | |||
%end |
@@ -0,0 +1,9 @@ | |||
Package: com.burritoz.audiomessagebegone | |||
Name: AudioMessageBeGone | |||
Depends: mobilesubstrate | |||
Version: 1.0 | |||
Architecture: iphoneos-arm | |||
Description: An awesome MobileSubstrate tweak! | |||
Maintainer: burrit0z | |||
Author: burrit0z | |||
Section: Tweaks |