#development
1 messages · Page 123 of 1
lmfao
im telling you, my professor doesnt have an actual plan
he went from
how to redirect inputs & outputs to a file
to how to run background processes
and then how to use vim
in that order
i dont think any programmers actually plan things out properly
i cant stand planning
@radiant idol
made it so when you have the button enabled you can make a selection
if you have the multiplier set to 1 you can do bullseye or the ring around bullseye
if you have one of those 2 selected when you choose a multiplier thats not 1, it changes it to 20
i think its like this
label.layer.shadowColor = [[UIColor whiteColor] CGColor];
label.layer.shadowOpacity = 1.0;
son of a
LOL
black text white shadow
white text black shadow
white text white shadow
black text black shadow
which one
(obv the red bg isnt gonna be in release)
make it a little less harsh
[[[UIColor blackColor] colorWithAlphaComponent:0.5f] CGColor]
try 0.7f
show it in the context of the whole screen
i can barely notice this lmao
thats the point
yes looks good to me
(little do you know thats not 0.7f)
ye it's always does that
(typing from my m1 mac)
yay
@radiant idol
hide elements until its your turn
(no im not making them fade in 💀)
which one are we feeling for prefs
dot right?
rip
yes
yes
- (void)update:(double)arg1 {
%orig;
if (!self.menuButton.hidden) return;
if ([[self valueForKey:@"state"] intValue] == 1) {
self.menuButton.hidden = false;
self.aimbotStatusView.hidden = false;
} else {
self.menuButton.hidden = true;
self.aimbotStatusView.hidden = true;
}
}
this should be good
if both views are nil?
button and view?
ok valueForKey is a little weird so make sure it doesnt crash
no thats good
ok
valueForKey is the actual class
so thats fine
wym?
ok 
what was your logic
i tried something earlier
vlaueForkey:state
and it didnt work
and then i tried
game_state
but that shouldve worked
according to me disassembly
but then it didnt
but it did???
confused
btw I always use -[NSObject safeValueForKey:] instead
its a private method so you have to declare it, but it wont crash the app if the ivar is not found
may or may not be what you want, but just notifying you that that is an option
cant you also use objectForKey and then check if its nil or not then boolValue/doubleValue etc
or is that for nsdictionaries only
because objectForKey returns an id __nullable
alr thanks
i'm currently trying to display the progress of a song using these two values received from MRMediaRemoteGetNowPlayingInfo (i hate this api): ```NSNumber *elapsedTime = [(__bridge NSDictionary *)result objectForKey:@"kMRMediaRemoteNowPlayingInfoElapsedTime"];
NSNumber *totalTime = [(__bridge NSDictionary *)result objectForKey:@"kMRMediaRemoteNowPlayingInfoDuration"];Now i'm NSLogging both values and the totalTime is ok, however the elapsedTime just stays at some value and does not change, e.g: totalTime:156.800000elapsedTime:0.757496``` does anyone know a fix for this?
@radiant idol probably maybe
huh it decided to work now
... sometimes
ok, so apparently it doesnt update automatically but when i drag the slider in the app itself (spotify for example) then my uislider also updates, but not continuously, it only updates the elapsedTime value
Why is this private
Only for NSDict
Yea idk, typical MediaRemote moment
What method did you put this in ?
DN
MRMediaRemoteGetNowPlayingInfo
ld: Undefined symbols:
__sigtramp
anyone know how I can link with _sigtramp function?
or does anyone know a good function hooking library for macOS arm64?
zefram
ellekit
real
thank you
zfhook so real
manually swizzling with objc functions
wait i see it says to use libhooker api
what is the difference?
ellekit attempts to mantain compatibility with other apis
it's supposed to provide (and replace) substitute/substrate/libhooker
oh ok
if my project is in C++ and its purpose is to inject into macOS programs only, shoul I use libhooker then?
no
i mean libhooker (usage) itself is documented but i believe it's intended for iphoneos devices only
(and linux apparently)
oh ok
does it really matter if it works faster than your brain does?
when i do xcodebuild -target ellekit-mac i get the error xcodebuild: error: The project 'ellekit.xcodeproj' does not contain a target named 'ellekit-mac'
i was following these instructions
i mean, the scheme is there
did you clone the repo
cause it works for me
i'm just missing the simulator stuff tho
i did git clone
im trying -scheme instead of -target, its doing something now
build succeeded
pog
readme needs a slight fix ig
scheme isn't actually building the entire thing
appearently you're supposed to use the makefile
so just make MAC=1
lol
yeah reading a closed issue here
seems alright so far
that's literally output from tar
it's archiving
smh
why would anything else use loader
just rename it
how
why would it be calling it
???
the only thing that would call it is launchd
but even then just edit the plist

anyway yeah it'll work
reasons why sip needs to be off and you need the arm64e abi
those would be:
sudo nvram boot-args=-arm64e_preview_abi
csrutil disable from recovery
i think there was a nvram one that boots into recovery on next boot when set
but i don't know if it works on apple silicon
wait, apple silicon has auto-boot 
wait what is the tar file i have to extract?
once the build finishes it'll be in the packages directory
thank u
@spare stone what are you trying to do?
hook function in a game on macOS
also are there any tweaks for macOS? since this ellekit says it loads tweaks
oh i found these #1053113386101129266 message
how would i inject this?
the dylib?
you could try using ellekit
me personally, i just built my own thing to load tweaks
but thats a whole thing
im pretty sure it has some instructions
you need the boot arg and you run the loader command
^
place the library in /Library/TweakInject as you would on ios, with a filter plist if needed
and then run loader
if it gets killed or runs into an error, ensure you added the boot arg and disabled SIP (as mentioned before)
yeah i did all that and it wasnt really working, i guess that tweak just doesnt work
however im doing what i actually wanted to do with ellekit now which was hooking functions and its working
thank u for the help @faint stag
in an ideal world yes
current instructions are a bit dated tho

it won't work without the bootarg
yeah that detail isn't even on the readme
had to look at an issue mentioning sonoma lol
All of that stuff is very outdated because barely anyone uses the macOS support
i stopped using it once i ended up needing C hooks on x86
yeah, what a great world it would be if we had people making tweaks for mac
but like, you can run ios apps on mac now so 
I remember updating to sonoma from 13.4.1 and the entire macbook bootlooped
had to enter recovery to remove the launchdaemon plist

only practical use would be for ricing
would be sweet to make Snowboard for macOS
and cracking Crossover ig
don't really need to crack it
i don't they fixed the infinite trial

Would be very useful if i could get an infinite trial
it makes a hidden file in each bottle i believe
and it's contents determine wether to show the expiration dialog i think
though, editing the file just has it get reset
so deleting it is what works
if you're lazy enough, you can just make a script to watch the fs and delete lol
rather then run find on loop
(requires fswatch or similar tho)
Can’t you shell script that
Oh wait
what did you use, im looking to get off frida gum
couldnt you always
like, with playcover
too bad its not open to the public so noone can use it
too bad it’s not real
any way to execute lua on ios
lua is on procursus
yea but i need to execute it within an application and idk how to do that
NewTerm
i knew this already, i'm just referring to other people wanting to use it
no i just meant since apple silicon in general
more reasons to run tweaks
@primal perch were you the one who wrote cup pong hacks for birdpoop
or was that scoob
bc i was wondering why/what this does
ChangeMethodOffset(cls, sel, branchOffset, 0x1400003D); // replace b.le with unconditional branch
GenerateMethodOffsetFloatLoad(cls, sel, xLoadOffset, &x_vel, 8); // generate x_vel load into s8
GenerateMethodOffsetFloatLoad(cls, sel, yLoadOffset, &z_vel, 9); // generate y_vel load into s9
mostly scoop
damn
i did some iirc but kinda gave up
the comment says it all
basketball doesnt need any of that
i mean, yeah the comments say shit but like
why
bc basketball dont need that
but cup pong does?

real
@radiant idol @hasty ruin can you check my code for me please
fileprivate enum DragState {
case inactive, dragging(translation: CGSize)
var translation: CGSize {
switch self {
case .inactive: return .zero
case .dragging(let translation): return translation
}
}
var isDragging: Bool {
switch self {
case .inactive: return false
case .dragging: return true
}
}
}```
It's Swift by the way
Swift, the programming language developed by Apple
The greatest language of them all
smh no highligting
Can you even do that on Discord
WOAHHH
this also works with files
even if the extension isn't actually used for the language
What's the syntax for that though lol
the extension lol
Oh
yes you can do stuff like this
is what i'm referring to
nope
it's objc

but i just took a snippet from the first result
which happens to be electron
you’re a menace you know
Wen Jade Swift rewrite
Never
Make a hack where they always hit the rim and never get it in
make a hack where it goes backwards
that’s just called playing normally
that would be actually funny lol
not as funny as the code for my keyboard tweak 
i have a very odd issue i need help with
@indigo peak i wont check on this until the morning but would libsandy even fix this
because its not like its not being themed at all
its just.. partially themed??
I’m very tired so if it’s beyond 2 lines of simple code, no
oh no its ios being wierd
whats your favourite 2 lines of simple code?
acutlly
mf what did I read
anyone here know how to hook into a game, specifically geometry dash (it uses AVAudioSessionCategorySoloAmbient) to make it play auto even when the mute switch is muted
k dorky know
these 2 lines are nice ```js
bracketContent: /^([([{])(.+)([)]}])$/,
simpleExpression: /^(~(?:[A-Z]|\d+))\s(?:([·∨⊃≡])\s*(~*(?:[A-Z]|\d+)))?$/,
stop
theres more
question
how much work do package managers do?
like are they just calling apt?
or do they do more than that?
@torn oriole
I can't do anything lmao
did someone send something bad?
curnetly sill in themes
Bot fail
🐜
alright ill drop the command I ran and the error again
you're writing to a rootful directory on rootless, you'd have to change the directory it installs in to something different
right so I would run sudo dpkg -b /var/mobile/Documents/Srn to install
where would I move that to?
no, the directory you need to place the theme in must be where SnowBoard or other theme managers will look in
%hook AVAudioSession
- (BOOL)setActive:(BOOL)active withOptions:(AVAudioSessionSetActiveOptions)options error:(NSError **)outError{
NSString *category = [self category];
if([category isEqualToString:@"AVAudioSessionCategorySoloAmbient"]) {
[self setCategory:AVAudioSessionCategoryPlayback withOptions:0 error:outError];
}
return %orig;
}
%end```
thanks alfie for help
and thanks https://github.com/brendonjkding/VolumeMixer/blob/master/Tweak.xm for the code i borrowed
yeah i understand that, should i go looking for it or do you have a path for me?
it would likely be in /var/jb, I don't have a rootless device so I can't look for it myself
somewhere in that folder
yeah so i can drop my theme here and then compile it?
likely, just make sure everything is in the right place
@hasty ruin question about nexus, is there any [UIScreen mainScreen].nativeBounds.size.width things in it? bc i might have found the issue where nexus drm causes a like respring hang
are you trying to paste something int var/jb?
i already got that far, but im trying to compile a deb into it, now trying /private/preboot/CEBC3ACD2B4FB269225F7963662A8B12AB2D24C47B34055531B997CA9DF50BB10BD61DACBB4113FCD7F15A591ABB4233/jb-oQLAV6EN/procursus/var/mobile/Documents and hopefully its the right place
Answer: just use rootful!!

r00t d3d
JOKING !
pull up with help!!1!1!1
One time before everything TrollStore i came into this server (or maybe the palera1n one?) and got BULLIED for recommending someone switch to rootless
relatable 
you got any ideas where my theme files should be dropped?
/var/jb/…
Idk what’s after that
same
got that far 🧏🏼♂️
Check where Snowboard looks for them
oh nah wrong emoji 
there was some reddit post i saw a while ago on that
/var/jb/Library/Themes ig?
so it would be in there? along with each other theme?
apt-file list theme.bundle.id
idk i don’t use snowboard
/private/preboot/CEBC3ACD2B4FB269225F7963662A8B12AB2D24C47B34055531B997CA9DF50BB10BD61DACBB4113FCD7F15A591ABB4233/jb-oQLAV6EN/procursus/Library/Themes
so yeah its right
prob what cryptic said
what path would that be?
Have you considered maybe people just like bullying you?
bro this lists the path
what are you even trying to achieve? have you placed a deb into the path or what
you prob have to unpack the deb containing the theme then take the themes folder and place it into Themes following the other themes folder structure ig
just placing the deb won’t work
also: why don’t you just install it through sileo?
didnt work via sileo for some reason
what’s the theme called, i will look into it
Literally just pulled it together myself
Ill get a zip
I think the theme is alright, control may be a little off but I think its what I am doing with the deb is what I am doing wrong
What i do not
That’s not true
I have a paid Binja license
Oh that was because Binja was giving me disgusting disasm for sepOS
Made me SICK
Felt like i was seeing Nexus DRM
Nah
It wasn’t picking up any instructions
Literally giving me different output if i restarted the app
fr
Library/Themes
its ok guys we got it!
place the unzipped .theme file into there
ok it doesn’t matter
so derootifier
just unpack it manually and do it
nah its alr its a WIP
havoc.app s0n
can i just add a new CGRect proporty to a view and like do what ever i want with it ?
ik, it would just be to store the frame like data
also/or can i have variable that only exist inside the hooked view/object, so every instance of the view/object i hook would have its own diferent variable?
instance variable
ivar/property
you can define new properties like this
for example
is there a like %new thing i need to do?
@interface UIView : UIResponder
@property(nonatomic, getter=isHidden) BOOL hidden; // this is a property that exists on the stock UIView
@property (nonatomic, assign) bool customProperty; // based on the name, this is a custom property of type boolean
@end
%hook UIView
%property (nonatomic, assign) bool customProperty; // this is the equivelent of %new but for properties
// your hooked methods here
%end```
is this needed ?
yes
🙈 im blind
Can you make swift apps in vscode?
yes 😭
vscode is just a glorified text editor
you wont have the fancy UI Builder that xcode provides
but its good enough
Interface Builder or Storyboard or Previews
depends on what Xcode ver
¯_(ツ)_/¯
Cunnilingus

trying to make auto cup pong bc i dont wanna copy the code scoob wrote but im like looking at how he did it
and im like
so lost
I'm thinking about saving up for Binja
how is it?
woooo
@radiant idol r u tired still?
ngl i doubt most people legitimately own the paid disassemblers
brother what is it that you need help with
again if its too much brainpower im not awake enough for that
ok nvm then
well idk
idk how to explain
wait i have one more thing i can try before i need night big brain
if YOU dont know how to explain, then we're in trouble
usually you say you know how to explain, but then you spew out some confusing message
but now you dont know how to explain at all
im scared
i dont
i might need to send a screen recording
nvm i cant call methods w flex while doing it
do screen recoring end and save when u safe mode ?
try it
dam gir slow
they do save 👍
@radiant idol this os what happens but the odd thing is, I have an If to see if the views there but like it still safemodes
I tried a mshookivar and regular self.view thing
Both safe mode
whast he crashlog
fr
I mean I'm using Ghidra atm
no way
this is the casue
lmao
i wouldnt go that far
be more consistend with your if statements
if (condition)
NOT
self.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview
if (coversheetview && [coversheetview isKindOfClass:%c(CSCoverSheetView)])
this odly not the issue
he is being consistent
bninja is cheap-ish with a student discount
(compared to everything else)
cover shet view

mf what is on line 17
[[[[[[[self superview] superview] superview] superview] superview] superview] superview] superview];

ok in all fairness the lockscreen is cursed
but theres 100% a better way to do this
u have yet to tell me, unless u mean get the reference and store it what ever
but idk how to do that
refarance
gracias
how'd you know this was the issue?
magicks
(so i can learn)
idk what the means
this means that you were trying to call a method on a class that doesnt work with that method
i get it alot
i bet you do
wdym "that doesnt work with that method" or that doesnt have it ?
wit dat self.superview.superview.superview shit
one sec
it works tho
, but i have yet to have an issue with this specific part, its ually bc i cant read or dont/didn't know oop
i wonder how difficult it would be to backport interactive widgets from ios 17
prolly very
yes
?
it would be difficult
ok i would have said min then
another questuon (for anyone) is it a bad idea to hook layoutsubview but put like setting proporties about/to view in it ?
@acoustic imp
And it crashed because the superview-spam-chain changed when opening the camera
So the class was different
And you were trying to call a nonexistent method on that new class
oh, you could have just said the class got chnaged
bc this make no sesne to me, ofc
why not
just looks like a bunhc of thing i kinda get but dont understand what the whole trying to show me
ok do you get the top part
not rly
ik that the + means its the class and the like insatnce didnt chnage anyhting about it
(right?)
'-' means chnaged
ok one sec
i need to like "run this in my head"
ok, i get the bottom part now i just dont see how this connects to my issue
how did you get this far making a tweak
lmfao
so you have UIView, it has
+ (instancetype)alloc;
- (instancetype)init;
- (void)didMoveToWindow;
and then you have UIViewController, it has
+ (instancetype)alloc;
- (instancetype)init;
- (void)viewDidLoad;
in their "pools" of available methods
examples
got it
k
UIViewController *viewController = [[UIViewController alloc] init];
This is how you make a new UIViewController instance. You can do the same with a UILabel, for example:
UILabel *label = [[UILabel alloc] init];
yea i got that
ok cool
now if you try and call
[viewController viewDidLoad];
it will let you
because UIViewController has - (void)viewDidLoad; in its "pool" of methods
yes
i see
now what you should do is this
under where you have:
CSCoverSheetView *coversheetview = (CSCoverSheetView *)self.superview...;
NSLog(@"[YOURTWEAK] coversheetview class -> %@", NSStringFromClass([coversheetview class]));
and then check what your class is
if (coversheetview && [coversheetview isKindOfClass:%c(CSCoverSheetView)])
what I sent here basically does this:
- If
coversheetviewis actually aCSCoverSheetViewclass and not some other one, then continue
yea, i understood that
ok cool, I think you mostly got it then
yea, the thing with like the class chnaging is what like made it make sense
since you're casting it (via (CSCoverSheetView *)self.superview...), you make the compiler think that the chain of self.superview... will always be a CSCoverSheetView when in fact it may not always be
bc, im hooking/mods the class. and if the class gets changed, my mods no longer exist on that view/object
ohh
thats why this isnt good
but is fine for like 1-4 superviews
so i should also add [coversheetview isKindOfClass:%c(CSCoverSheetView)] to any other places i do the super view mess
yes but make sure to change the class to whatever you need it to be
i hate 16player so much
take a break from it
brother how many GD's do you need
ignore that
Can you give me a template for a button in objective-c?
[[CGRect alloc] init] >>>
Onb
i hate my blindness so much*
which one
[self.view addConstraint:[NSLayoutConstraint constraintWithItem:layer attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeCenterX multiplier:1.0 constant:0.0]];
[self.view addConstraint:[NSLayoutConstraint constraintWithItem:layer attribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeCenterY multiplier:1.0 constant:0.0]];
// OR
[NSLayoutConstraint activateConstraints:@[
[layer.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor],
[layer.centerYAnchor constraintEqualToAnchor:self.view.centerYAnchor]
]];
W
@radiant idol is it bad if i do the thing where i set the x/y of those two UILabels in a layoutsubview method, but also do all the calculating for the position for the UILabels aswell?
? ? ?
doing lots of math a bunch of times persecond VS not (but for positioning views)
or this
[layer.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor].active = YES;
[layer.centerYAnchor constraintEqualToAnchor:self.view.centerYAnchor].active = YES;
i have no idea what you're doing im confused
activateConstraints is better
lmao
well youre also the one who prefers THEOS_PACKAGE_SCHEME in the command and not the makefile
💀
idk what to do now
darts is finished
v c a m
i had someoen beta test and he said it works well
You know you can add code highlighting right
Also this
you havent seen the darts code
Not visible on mobile.
:D
yrs
That’s stoobid
@radiant idol thats all the green is new
aaaaaaa
Is it closed source
killl it
rn yes, soon no
👍
Good
i gotta push the code
If it is free there is no reason to be closed source
gameseagull has been and will always will be open sourced
im surprised apple doesnt have sf symbol overlays
like
the ability to overlay that over any other sf symbol
do i do basketball hack
like birdpoop
BOOL didOpen = [[LSApplicationWorkspace defaultWorkspace] openApplicationWithBundleID:@"com.robtop.geometryjump"];
if(!didOpen) {
exit(1);
}```
I have this code right
it works
but I have to swipe out of the app for it to work?
why does that happen and why tf does it not happen to trollstore
entitlements?
<key>com.apple.springboard.launchapplications</key>
<true/>
I just added that, same thing
entitlements dont affect tweaks
the entitlement is on the app?
yes
oh ok
thought you had a tweak in the app
that app injects a tweak into gd itself
it has to open up gd first though
try vim
just trolling
anything in syslog
how big are the 2x & 3x logos/image for tweaks?
for which image
that could mean any number of things
@visual meadow try this:
execvp("uiopen", {"uiopen", "-b", bundleID, NULL});

(dont do that)
burh
will it delete his discord account
the preferences?
yea
uhhh
wont work on rootless
im gonna bundle it into the app
cause PATH
@acoustic imp ```
29x29 icon
58x58 icon@2x
87x87 icon@3x
oh...
thank you
its for my own purposes lol
Next-gen uikittools for iOS 11+ (though probably will work on 9+) - ProcursusTeam/uikittools-ng
you also need to mask the icon yourself
like the shape
if its a square, it will come up in your settings as a square
@radiant idolprofessional fiore code
HAHAHA
@visual meadow try the other way of opening apps
as in
NSClassFromString(@"LearnToCode")
yeah
FBSOpenApplicationService *openService = [[NSClassFromString((@"FBSOpenApplicationService")) alloc] init];
right
i hope so
if i didnt know better i would think youre a real developer
same thing
s
the
ZCORREFCT
!
!
!
wait
maybe not
maybe im reatardasre
nah
it
does
the
same
thing
Spam :/
bro its just so annoying ive tried 3 ways and they've all done the same t hing
also openApplication takes way to long
it doesn't inject my tweak into it
@ocean raptor Ok so
the app exits when I run that
why
no
fire in the hole
how do i do this with views?
so like my new view shows up
i mean
i have zero idea what youre asking
you have to actually set it to sometihng
how
playerLSbgimage = sm view
self.playerLSbgimage = ...;
ok
safe mode 🥲
did you do the %property
and this si fine right?
I think you should add it to CSCoverSheetView
i did originally but think i had sm issue
i fg
so i can add a subview to the UIImageView later
retain is deprecated, use strong instead
dojnt use this
UIImageView *playerLSbgimage = ...;
[self addSubview:playerLSbgimage];
self.p16_playerLSBackgroundImage = playerLSbgimage;```
do this instead
```objc
self.p16_playerLSBackgroundImage = ...;
[self addSubview:self.p16_playerLSBackgroundImage];
psh same shit
psh
you could just
psh
@property UIView *p16_playerLSBackgroundImage;

"cLeAn CoDe"

youre not one to talk
done
you spelt current wrong
curentArtwork -> currentArtwork
cmd + f:
it actually does look nice
you sent the most useless part of the crashlog
it takes like 20 seconds for share sheet to open onesec
probably because of the 29038475289038547 tweaks you have installed
Por favor y gracias
thats a nexus crash
??
uh
wait im confused why not just send it through KrashKop?
you have to open the sharesheet either way
😭 u can do it that way
is that a question
yes you can send stuff through KrashKop lol
ok, its sill not the right log tho
¯_(ツ)_/¯
you can manually refresh KrashKop
ik, aslo krashkop like copy pastes which discord doeant like
yea idk
oh welp time to disbale every tweak
Looks so out of place lol
@radiant idol try this one
still no 16player
ughghghhg
ik what it is
...well?
UIImageView *playerLSbgimage = [[UIImageView alloc] initWithFrame:CGRectMake((self.frame.size.width - (self.frame.size.width + artworkfulllsbackgroundatrechfactor))/2 ,0,self.frame.size.width + artworkfulllsbackgroundatrechfactor,self.frame.size.height)];
playerLSbgimage.alpha = artworkfulllsbackgroundAlpha;
playerLSbgimage.tag = 9409;
playerLSbgimage.image = currentArtwork;
playerLSbgimage.layer.is_blurRadius = 20;
playerLSbgimage.clipsToBounds = YES;
self.p16_playerLSBackgroundImage = playerLSbgimage;
[self addSubview:self.p16_playerLSBackgroundImage];```
what are you doin bruh just do
self.p16_playerLSBackgroundImage = [UIImageView new];
self.p16_playerLSBackgroundImage.frame = CGRectMake((self.frame.size.width - (self.frame.size.width + artworkfulllsbackgroundatrechfactor)) / 2, 0, self.frame.size.width + artworkfulllsbackgroundatrechfactor,self.frame.size.height);
self.p16_playerLSBackgroundImage.alpha = artworkfulllsbackgroundAlpha;
self.p16_playerLSBackgroundImage.tag = 9409;
self.p16_playerLSBackgroundImage.image = currentArtwork;
self.p16_playerLSBackgroundImage.layer.is_blurRadius = 20;
self.p16_playerLSBackgroundImage.clipsToBounds = YES;
[self addSubview:self.p16_playerLSBackgroundImage];
oh yea that makes more sense
artworkfulllsbackgroundAlpha and artworkfulllsbackgroundatrechfactor are waaaaayyy too long of a variable name
yea ik, but like does it act matter?
af_backgroundAlpha and af_backgroundRectFactor
no but when you ask people to help with code, they have to be able to read it somewhat
this is unreadable
artworkfulllsbackgroundatrechfactor idk what this one even is
show me the @interface in the header file
wait i fg to chnage to ^
@class SBUIBackgroundView;
@interface CSCoverSheetView : UIView
@property (strong) SBUIBackgroundView *backgroundView;
@end
@interface SBUIBackgroundView : UIView
@property UIImageView *p16_playerLSBackgroundImage;
-(void)hidetheBGimgview:(CGFloat)arg0;
-(void)inittheplayerbgimage;
@end```
@property (nonatomic, strong) UIImageView *p16_playerLSBackgroundImage;
doubt it'll change it but
ye
ok
it worked
add a
@try {
// code ...
} @catch (NSException *exception) {
NSLog(@"[16player] exception -> %@", exception);
}
around it. it'll attempt to perform the unsafe code anyway and catch the error
oh
does that still crash
no and ti work kinda
but u can retire for the night
lol
the layout subview thing is called like 60 sm times a second 
Not that u care but this was what I was trying to fix/do. Add a like shade
nice
also why are there no caps or anything to distinglish words?
¯_(ツ)_/¯
i already recommended using camel case
this is just how he does things
you said libsandy would fix it not working in apps, but it seems like thats not whats actually needed
But can a process with JIT do a dlopen of an unsigned dlyb?
Or should I always sign the dlyb with fastpathsign?
Because I remember on the old iOS there was an entitlements, skip-library-validation. But now it exists are dynamic-codesign. And I can't figure out if that is enough to load an unsigned dlyb.
Yes but you need to hook some functions in dyld; mapping TEXT region to executable requires mmap anon, which consumes memory
Can you recommend me an online example that I can use as a cue to make a test
You could check LiveContainer or the blog post linked to it for example
Ok thanks, so I have to do it without dlopen but mapping everything by hand
nope, you bypass some checks in dyld then you can do dlopen
Ok thanks , So if I didn't want to use dlopen because maybe I can't do hooking I would have to redo the mapping logic of dlopen excluding patches. Correct?
hello can someone help me?
when i build instaspring it just crashes but the ipa provided with it says "fix"
what did they do to it
You can hook whatever you want in a JIT-enabled process
How?
To hook are something I have to execute my own code within it, how do I execute it?
In a JIT enabled process you can do stuff as overwrite instruction, that’s what the dyld bypass does and some tweak injection frameworks
what are you trying to do?
If you meant to load unsigned dylib in stock,encrypted AppStore app then nope
But for example in the one you shot me you have to define the functions. and then you change the address. But you can do that because the defined function is in the same process. But if I'm working on a jit process that's not mine this I can't do. Unless I load a code of my own first. Or am I wrong?
Is the app still encrypted or decrypted and ct_bypass signed?
I would like to enable tweaks directly on a remote process without necessarily having to sign with fastpathsign. I was thinking for example of APPstore that by taking its taskport I could somehow load a dlyb


