#development

1 messages · Page 123 of 1

indigo peak
#

learn smth new every day

#

learned more from 10 min here than in my 1hr comp sci class today 😭

radiant idol
#

lmfao

indigo peak
#

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

radiant idol
#

i dont think any programmers actually plan things out properly

#

i cant stand planning

indigo peak
#

@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

radiant idol
#

looks good

#

do this tho

indigo peak
#

:how:

#

i wanted to figure out constraints before i did that lmao

radiant idol
#

i think its like this

#
label.layer.shadowColor = [[UIColor whiteColor] CGColor];
label.layer.shadowOpacity = 1.0;
indigo peak
#

how do i do it in swift

#

IM KIDDING

radiant idol
#

son of a

indigo peak
#

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)

radiant idol
#

white text black shadow

#

remove the red bg for now

indigo peak
radiant idol
#

make it a little less harsh

indigo peak
#

i got zero idea if this is the same or not

#

lmao

radiant idol
# indigo peak
[[[UIColor blackColor] colorWithAlphaComponent:0.5f] CGColor]
indigo peak
#

there aint no shadow anymore

#

lol

radiant idol
indigo peak
radiant idol
#

show it in the context of the whole screen

indigo peak
#

i can barely notice this lmao

radiant idol
#

thats the point

indigo peak
radiant idol
#

yes looks good to me

indigo peak
#

(little do you know thats not 0.7f)

radiant idol
#

idc

#

it looks good to me

indigo peak
#

🤝

#

why is discord defaulting to non apple emojis on mac

#

bruh

visual meadow
#

it always does that

#

idk

#

why they thought it would be good

faint stag
indigo peak
#

hooray

#

constraints

#

👍

radiant idol
#

yay

indigo peak
#

hide elements until its your turn

#

(no im not making them fade in 💀)

#

which one are we feeling for prefs

#

dot right?

radiant idol
#

yes

#

definitely

indigo peak
#

bruh

#

its 17.0+

#

kms

#

welp

#

scope without a dot it is

radiant idol
#

rip

indigo peak
#

i was like

#

when the icon ddint apply

radiant idol
#

lmafao

#

lmfao

indigo peak
#

so wait

#

@radiant idol

radiant idol
#

yes

indigo peak
#

using my knowledge

#

from our lesson earlier

#

about null messages

radiant idol
#

yes

indigo peak
#
- (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?

radiant idol
#

ok valueForKey is a little weird so make sure it doesnt crash

indigo peak
#

no thats good

radiant idol
#

ok

indigo peak
#

valueForKey is the actual class

radiant idol
#

so thats fine

indigo peak
#

wait

#

how

#

does that work

#

wtf

radiant idol
#

wym?

indigo peak
#

i discovered something

#

please hold

radiant idol
#

ok hm

indigo peak
#

hm

#

weird

#

ok

#

so my logic was right

#

weird

radiant idol
#

what was your logic

indigo peak
#

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

radiant idol
#

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

placid kraken
#

or is that for nsdictionaries only

#

because objectForKey returns an id __nullable

torn cloud
#

alr thanks

serene hawk
#

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?

hasty ruin
#

@radiant idol probably maybe

serene hawk
#

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

radiant idol
radiant idol
acoustic imp
turbid fjord
drifting heron
#

pls fix serotonin for MDC devices @crisp frost

#

wow finally

#

it worked

serene hawk
spare stone
#
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?

brazen timber
#

zefram

faint stag
#

real

spare stone
#

thank you

faint stag
indigo peak
spare stone
#

what is the difference?

faint stag
faint stag
spare stone
#

oh ok

#

if my project is in C++ and its purpose is to inject into macOS programs only, shoul I use libhooker then?

faint stag
spare stone
#

oh ok

faint stag
#

does it really matter if it works faster than your brain does?

spare stone
#

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

faint stag
#

i mean, the scheme is there

primal perch
#

does ellekit have stability bugs tho

faint stag
#

cause it works for me

#

i'm just missing the simulator stuff tho

spare stone
#

i did git clone

#

im trying -scheme instead of -target, its doing something now

#

build succeeded

#

pog

faint stag
#

readme needs a slight fix ig

spare stone
#

oh i think that made a debug build

#

how can i make a release build

faint stag
#

appearently you're supposed to use the makefile

#

so just make MAC=1

#

lol

spare stone
#

oh lol ok

#

thanks

faint stag
#

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

faint stag
#

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 fr

spare stone
faint stag
spare stone
#

thank u

topaz yew
#

@spare stone what are you trying to do?

spare stone
#

hook function in a game on macOS

#

also are there any tweaks for macOS? since this ellekit says it loads tweaks

#

how would i inject this?

topaz yew
#

the dylib?

spare stone
#

how do i load that tweak as an example

#

ive never done it

topaz yew
#

you could try using ellekit

#

me personally, i just built my own thing to load tweaks

#

but thats a whole thing

topaz yew
faint timber
#

you need the boot arg and you run the loader command

faint stag
#

^

faint stag
#

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)

spare stone
#

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

faint stag
faint timber
#

it won't work without the bootarg

faint stag
#

yeah that detail isn't even on the readme
had to look at an issue mentioning sonoma lol

timid furnace
#

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

faint stag
#

but like, you can run ios apps on mac now so troll

granite frigate
#

had to enter recovery to remove the launchdaemon plist

timid furnace
granite frigate
#

would be sweet to make Snowboard for macOS

#

and cracking Crossover ig

faint stag
#

i don't they fixed the infinite trial

timid furnace
#

i'll maybe look at things in a few months

#

extremely low on the priority list

sonic totem
#

Would be very useful if i could get an infinite trial

faint stag
#

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

sonic totem
#

Interesting

#

I will try it

faint stag
#

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)

harsh junco
#

Oh wait

topaz yew
timid furnace
#

substitute

topaz yew
#

i.. didnt think of that

placid kraken
#

like, with playcover

cloud yacht
#

too bad its not open to the public so noone can use it

hasty ruin
#

too bad it’s not real

bright lance
#

any way to execute lua on ios

hasty ruin
#

lua is on procursus

bright lance
hasty ruin
#

NewTerm

bright lance
#

idk how to tho

#

ima jus cjat gpt it

faint stag
#

i knew this already, i'm just referring to other people wanting to use it

faint stag
indigo peak
#

@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

indigo peak
#

damn

primal perch
#

i did some iirc but kinda gave up

indigo peak
#

rip

#

bc like

primal perch
#

the comment says it all

indigo peak
#

basketball doesnt need any of that

indigo peak
#

why

#

bc basketball dont need that

#

but cup pong does?

primal perch
hasty ruin
#

bird poop devs leaked

indigo peak
sonic totem
#

@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

faint stag
#

smh no highligting

sonic totem
#

Can you even do that on Discord

faint stag
#

yes

#

put language name after the first 3 backticks

#

lol

sonic totem
#

WOAHHH

faint stag
#

this also works with files

#

even if the extension isn't actually used for the language

sonic totem
#

What's the syntax for that though lol

faint stag
sonic totem
#

Oh

faint stag
sonic totem
#

Woah cool

#

Java 🤢

faint stag
#

nope

#

it's objc

#

but i just took a snippet from the first result

#

which happens to be electron

indigo peak
#

@primal perch I can see why now lol

radiant idol
sonic totem
radiant idol
#

Never

sonic totem
#

Sad

civic granite
#

me when armenia

#

kim kardashian fr

cloud yacht
# indigo peak

Make a hack where they always hit the rim and never get it in

hasty ruin
#

make a hack where it goes backwards

indigo peak
visual meadow
hasty ruin
#

not as funny as the code for my keyboard tweak hm

acoustic imp
#

i have a very odd issue i need help with

placid kraken
#

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

acoustic imp
#

@radiant idol can you help me with somthing?

#

acutlly in a bit, gtg atm

radiant idol
#

I’m very tired so if it’s beyond 2 lines of simple code, no

acoustic imp
#

oh no its ios being wierd

cloud yacht
hasty ruin
#

acutlly

visual meadow
#

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

radiant idol
cloud yacht
#

these 2 lines are nice ```js
bracketContent: /^([([{])(.+)([)]}])$/,
simpleExpression: /^(~(?:[A-Z]|\d+))\s(?:([·∨⊃≡])\s*(~*(?:[A-Z]|\d+)))?$/,

radiant idol
#

stop

cloud yacht
#

theres more

#

question

#

how much work do package managers do?

#

like are they just calling apt?

#

or do they do more than that?

indigo peak
#

came a long way since 2021 😭

acoustic imp
#

@torn oriole

torn oriole
#

I can't do anything lmao

acoustic imp
#

oh oops

#

i thouhgt u were mod?

cloud yacht
#

did someone send something bad?

acoustic imp
#

curnetly sill in themes

cloud yacht
#

yay bots

#

somehow more reliable than gir

torn oriole
kind herald
#

🐜

odd ridge
#

alright ill drop the command I ran and the error again

kind herald
#

you're writing to a rootful directory on rootless, you'd have to change the directory it installs in to something different

odd ridge
#

right so I would run sudo dpkg -b /var/mobile/Documents/Srn to install

#

where would I move that to?

kind herald
#

no, the directory you need to place the theme in must be where SnowBoard or other theme managers will look in

visual meadow
odd ridge
kind herald
#

it would likely be in /var/jb, I don't have a rootless device so I can't look for it myself

odd ridge
#

ah ok hold on

#

just var/jb?

kind herald
#

somewhere in that folder

odd ridge
#

yeah so i can drop my theme here and then compile it?

kind herald
#

likely, just make sure everything is in the right place

odd ridge
#

alright i will give it a shot

#

permission denied

acoustic imp
#

@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

odd ridge
#

ill try switch it up

#

made it 775

#

permission denied again

#

made it 777

#

same again

serene hawk
#

are you trying to paste something int var/jb?

odd ridge
# serene hawk 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

sonic totem
serene hawk
odd ridge
sonic totem
#

JOKING !

odd ridge
#

pull up with help!!1!1!1

sonic totem
#

One time before everything TrollStore i came into this server (or maybe the palera1n one?) and got BULLIED for recommending someone switch to rootless

serene hawk
#

relatable troll

odd ridge
#

you got any ideas where my theme files should be dropped?

sonic totem
#

Idk what’s after that

serene hawk
#

same

odd ridge
sonic totem
#

Check where Snowboard looks for them

odd ridge
#

oh nah wrong emoji fr

serene hawk
#

there was some reddit post i saw a while ago on that

odd ridge
#

I GOT IT

serene hawk
#

/var/jb/Library/Themes ig?

odd ridge
#

so it would be in there? along with each other theme?

faint timber
serene hawk
#

idk i don’t use snowboard

odd ridge
#

/private/preboot/CEBC3ACD2B4FB269225F7963662A8B12AB2D24C47B34055531B997CA9DF50BB10BD61DACBB4113FCD7F15A591ABB4233/jb-oQLAV6EN/procursus/Library/Themes

odd ridge
serene hawk
#

prob what cryptic said

odd ridge
#

permission denied

#

man

odd ridge
cloud yacht
faint timber
#

bro this lists the path

odd ridge
#

lol the filza did it

#

so it packaged the deb but it does not show up in snowboard

serene hawk
#

what are you even trying to achieve? have you placed a deb into the path or what

odd ridge
#

i put the deb into /var/jb/Library/Themes

#

What else am I missing?

serene hawk
#

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?

odd ridge
serene hawk
#

what’s the theme called, i will look into it

odd ridge
#

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

sonic totem
#

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

odd ridge
brazen timber
#

fr

granite frigate
odd ridge
#

its ok guys we got it!

granite frigate
#

place the unzipped .theme file into there

odd ridge
#

i was asking the wrong questions

#

it was a rootful deb

#

and i am rootless

granite frigate
#

ok it doesn’t matter

odd ridge
#

so derootifier

granite frigate
#

just unpack it manually and do it

odd ridge
granite frigate
#

ok

#

bet

odd ridge
#

havoc.app s0n

acoustic imp
#

can i just add a new CGRect proporty to a view and like do what ever i want with it ?

hasty ruin
#

I mean

#

You can

#

It just won’t change anything

#

Unless you call setFrame:

acoustic imp
#

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?

hasty ruin
#

yes

#

@radiant idol holy shit he’s learning oop

granite frigate
#

instance variable

indigo peak
#

you can define new properties like this

#

for example

acoustic imp
#

is there a like %new thing i need to do?

indigo peak
#
@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```
acoustic imp
#

is this needed ?

indigo peak
#

yes

acoustic imp
#

🙈 im blind

tough shadow
#

Can you make swift apps in vscode?

indigo peak
#

yes 😭

#

vscode is just a glorified text editor

#

you wont have the fancy UI Builder that xcode provides

#

but its good enough

frail cedar
#

depends on what Xcode ver

indigo peak
#

¯_(ツ)_/¯

frail cedar
#

Interface Builder is like xcode 4 to 6 i think

#

idk

hexed knot
#

Cunnilingus

hasty ruin
indigo peak
#

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

tepid olive
#

how is it?

indigo peak
#

like how the fuck

acoustic imp
#

@radiant idol r u tired still?

granite frigate
radiant idol
#

again if its too much brainpower im not awake enough for that

acoustic imp
#

ok nvm then

#

well idk

#

idk how to explain

#

wait i have one more thing i can try before i need night big brain

radiant idol
#

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

acoustic imp
#

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 ?

serene hawk
#

try it

acoustic imp
#

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

radiant idol
#

whast he crashlog

tepid olive
#

I mean I'm using Ghidra atm

indigo peak
#

no way

acoustic imp
#

this is the casue

indigo peak
#

semi competent dev

#

knows how to get crash logs

#

wtf

tepid olive
#

lmao

hexed knot
acoustic imp
indigo peak
#

be more consistend with your if statements

if (condition)

NOT

hexed knot
#

self.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview.superview

radiant idol
elfin quarry
#

(compared to everything else)

radiant idol
#

sorry

#

i just woke up

tepid olive
indigo peak
indigo peak
#
[[[[[[[self superview] superview] superview] superview] superview] superview] superview] superview];
radiant idol
#

ok in all fairness the lockscreen is cursed
but theres 100% a better way to do this

acoustic imp
#

u have yet to tell me, unless u mean get the reference and store it what ever

#

but idk how to do that

tepid olive
#

refarance

acoustic imp
#

how'd you know this was the issue?

tepid olive
#

magicks

acoustic imp
#

(so i can learn)

radiant idol
acoustic imp
#

idk what the means

radiant idol
#

this means that you were trying to call a method on a class that doesnt work with that method

acoustic imp
#

i get it alot

hexed knot
#

i bet you do

acoustic imp
hexed knot
#

wit dat self.superview.superview.superview shit

acoustic imp
lean ermine
#

i wonder how difficult it would be to backport interactive widgets from ios 17

#

prolly very

radiant idol
#

yes

lean ermine
#

any thoughts hivemind

#

lol

acoustic imp
hexed knot
#

it would be difficult

radiant idol
#

i dont mean like an actual second

acoustic imp
#

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 ?

radiant idol
#

@acoustic imp

hasty ruin
#

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

acoustic imp
#

oh, you could have just said the class got chnaged

acoustic imp
radiant idol
#

why not

acoustic imp
#

just looks like a bunhc of thing i kinda get but dont understand what the whole trying to show me

radiant idol
#

ok do you get the top part

acoustic imp
#

not rly

#

ik that the + means its the class and the like insatnce didnt chnage anyhting about it

#

(right?)

#

'-' means chnaged

radiant idol
#

no

#

dont worry about that yet, i was just showing various methods

acoustic imp
#

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

hexed knot
#

how did you get this far making a tweak

tepid olive
#

lmfao

radiant idol
#

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

acoustic imp
radiant idol
#

ok

#

now lets say you make a new UIViewController instance

acoustic imp
#

k

radiant idol
#
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];
acoustic imp
#

yea i got that

radiant idol
#

ok cool

#

now if you try and call

[viewController viewDidLoad];

it will let you

#

because UIViewController has - (void)viewDidLoad; in its "pool" of methods

acoustic imp
#

ok

#

ohh

#

my method is not in the "pool of methods"

radiant idol
#

yes

acoustic imp
#

i see

radiant idol
#

now what you should do is this

acoustic imp
#

go fix the rest of my code

#

so this doesnt happen

radiant idol
#

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 coversheetview is actually a CSCoverSheetView class and not some other one, then continue
acoustic imp
#

yea, i understood that

radiant idol
#

ok cool, I think you mostly got it then

acoustic imp
#

yea, the thing with like the class chnaging is what like made it make sense

radiant idol
acoustic imp
#

bc, im hooking/mods the class. and if the class gets changed, my mods no longer exist on that view/object

acoustic imp
#

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

radiant idol
#

yes but make sure to change the class to whatever you need it to be

acoustic imp
#

obv

#

that would be correct 🙈

acoustic imp
#

i hate 16player so much

radiant idol
#

take a break from it

visual meadow
#

sound on

radiant idol
#

brother how many GD's do you need

visual meadow
#

ignore that

indigo peak
#

ok yeah i think i need to give up on cup pong for now

#

:/

tough shadow
#

Can you give me a template for a button in objective-c?

hexed knot
#

Uibutton alloc initwithframe:cgrectmake(x,y,otherx,othery);

#

Yea

radiant idol
hexed knot
#

Onb

acoustic imp
indigo peak
#

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

acoustic imp
#

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

radiant idol
#

? ? ?

acoustic imp
#

doing lots of math a bunch of times persecond VS not (but for positioning views)

radiant idol
radiant idol
indigo peak
#

lmao

radiant idol
#

eh I dont like it personally but your call

#

personal preference there

indigo peak
#

well youre also the one who prefers THEOS_PACKAGE_SCHEME in the command and not the makefile

#

💀

radiant idol
#

ok buddy go make your little imessage games again

#

shoo

indigo peak
#

darts is finished

radiant idol
#

v c a m

indigo peak
#

i had someoen beta test and he said it works well

indigo peak
#

its on the list

radiant idol
#

brother

#

this is called unreadable code

tepid olive
#

You know you can add code highlighting right

radiant idol
#

he did

#

it's just

tepid olive
indigo peak
tepid olive
indigo peak
#

:D

radiant idol
tepid olive
#

That’s stoobid

indigo peak
#

@radiant idol thats all the green is new

radiant idol
#

aaaaaaa

indigo peak
#

wait

#

no theres more

#

hang on

tepid olive
#

Is it closed source

indigo peak
#

green on the left not on the right

#

lmao

radiant idol
#

killl it

indigo peak
acoustic imp
tepid olive
#

Good

indigo peak
#

i gotta push the code

tepid olive
#

If it is free there is no reason to be closed source

indigo peak
#

gameseagull has been and will always will be open sourced

acoustic imp
#

night, nvm

#

il jus see if it kills battery

#

jus rip to the stuff i did today

indigo peak
#

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

kind herald
#

yes

#

🙏

visual meadow
#
    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

ocean raptor
#
    <key>com.apple.springboard.launchapplications</key>
    <true/>
visual meadow
#

I just added that, same thing

visual meadow
#

see how it opens the app right after i swipe out

ocean raptor
#

entitlements dont affect tweaks

visual meadow
#

thats an app?

#

lol

#

ok so that app opens the real app

ocean raptor
#

the entitlement is on the app?

visual meadow
#

yes

ocean raptor
#

oh ok

visual meadow
ocean raptor
#

thought you had a tweak in the app

visual meadow
#

it has to open up gd first though

ocean raptor
#

try vim

visual meadow
#

why

#

i like nano better

#

but please

ocean raptor
#

just trolling

visual meadow
#

why is this happening

#

lol

ocean raptor
#

anything in syslog

acoustic imp
#

how big are the 2x & 3x logos/image for tweaks?

ocean raptor
#

that could mean any number of things

acoustic imp
#

idk fi that helps

ocean raptor
#

@visual meadow try this:

#
execvp("uiopen", {"uiopen", "-b", bundleID, NULL});
#

(dont do that)

visual meadow
#

burh

indigo peak
#

will it delete his discord account

indigo peak
acoustic imp
indigo peak
#

uhhh

visual meadow
#

i might actually do that

#

lol

ocean raptor
#

wont work on rootless

visual meadow
#

im gonna bundle it into the app

ocean raptor
#

cause PATH

indigo peak
#

@acoustic imp ```
29x29 icon
58x58 icon@2x
87x87 icon@3x

ocean raptor
#

oh...

visual meadow
#

im not distributing it

#

dw

visual meadow
#

its for my own purposes lol

ocean raptor
indigo peak
#

like the shape

#

if its a square, it will come up in your settings as a square

acoustic imp
#

yea, i got that alr

#

thx

indigo peak
#

@radiant idolprofessional fiore code

visual meadow
#

Are You Fucking Serious

#

@ocean raptor dude

#

the same thing happens

ocean raptor
#

HAHAHA

visual meadow
#

im still bundling it in i dont feel like re adding the other code whetever

ocean raptor
#

@visual meadow try the other way of opening apps

visual meadow
#

as in

ocean raptor
#

one sec

visual meadow
#

What would I replace %c with

#

dumb question

indigo peak
#

NSClassFromString(@"LearnToCode")

ocean raptor
#

yeah

visual meadow
#

right

#

i hope so

ocean raptor
#

if i didnt know better i would think youre a real developer

visual meadow
#

i

#

ok

#

im deathing mysef

#

guys

#

guess what

#

it

#

doe

ocean raptor
#

same thing

visual meadow
#

s

#

the

#

ZCORREFCT
!
!
!

#

wait

#

maybe not

#

maybe im reatardasre

#

nah

#

it

#

does

#

the

#

same

#

thing

kind herald
#

Spam :/

visual meadow
#

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

radiant idol
indigo peak
#

this was

#

2021 fiore

#

please ignore

radiant idol
#

no

primal perch
#

geometry dahs

tepid olive
#

fire in the hole

visual meadow
#

Finally

#

@ocean raptor it was a little havky

#

Hacky

#

Got rid of uiopen now

indigo peak
#

wdym

#

like

#

prexisting apple views?

#

or like a view property

acoustic imp
#

so like my new view shows up

indigo peak
#

i mean

acoustic imp
#

Like this but idk

indigo peak
#

i have zero idea what youre asking

radiant idol
acoustic imp
#

playerLSbgimage = sm view

radiant idol
#

self.playerLSbgimage = ...;

acoustic imp
#

ok

radiant idol
#

also thats not a good name

#

do something like

#

16p_playerLSBackgroundImage

acoustic imp
#

safe mode 🥲

indigo peak
#

did you do the %property

acoustic imp
#

yes

indigo peak
#

dont make it assign

#

make it retain

acoustic imp
#

k

#

is that the issue?

indigo peak
#

no idea

#

but

acoustic imp
#

and this si fine right?

paper kiln
#

I think you should add it to CSCoverSheetView

indigo peak
#

why are you

#

why would you do that

#

why

acoustic imp
#

i fg

acoustic imp
radiant idol
indigo peak
#

dojnt use this

UIImageView *playerLSbgimage = ...;
[self addSubview:playerLSbgimage];
self.p16_playerLSBackgroundImage = playerLSbgimage;```

do this instead
```objc
self.p16_playerLSBackgroundImage = ...;
[self addSubview:self.p16_playerLSBackgroundImage];
indigo peak
radiant idol
#

also strong and nonatomic are default i think

#

so if you really wanted to

indigo peak
#

psh

radiant idol
#

you could just

indigo peak
#

psh

radiant idol
#

@property UIView *p16_playerLSBackgroundImage;

acoustic imp
radiant idol
#

"cLeAn CoDe"

acoustic imp
radiant idol
#

youre not one to talk

acoustic imp
#

done

radiant idol
#

curentArtwork -> currentArtwork

acoustic imp
#

eh what ever

#

id have to chnage everything

#

well

radiant idol
#

cmd + f:

acoustic imp
#

tru

#

Before I safe mode, isn’t this just beautiful

#

safe mode... completelydistraught

radiant idol
acoustic imp
#

thanks 👍

#

Why didn’t I call it with flex smh

radiant idol
#

you sent the most useless part of the crashlog

acoustic imp
#

takes to long to settings send it

#

flex method failed uhh

radiant idol
acoustic imp
#

it takes like 20 seconds for share sheet to open onesec

radiant idol
#

probably because of the 29038475289038547 tweaks you have installed

acoustic imp
radiant idol
#

thats a nexus crash

acoustic imp
#

omg

#

no

#

i clciked

#

oh wait

radiant idol
#

??

acoustic imp
#

wrong log

#

ok how do i read the date

radiant idol
#

uh

acoustic imp
#

nvm

#

im jus acustic

radiant idol
#

wait im confused why not just send it through KrashKop?
you have to open the sharesheet either way

acoustic imp
#

😭 u can do it that way

radiant idol
#

is that a question

acoustic imp
#

no

#

iv been going thru settings everytime

radiant idol
#

yes you can send stuff through KrashKop lol

acoustic imp
#

ok, its sill not the right log tho

radiant idol
#

¯_(ツ)_/¯

acoustic imp
#

one moment plz

#

ssh for the win

#

OMG krashkop refreshed now

radiant idol
#

you can manually refresh KrashKop

acoustic imp
#

ik, aslo krashkop like copy pastes which discord doeant like

radiant idol
#

I like it

#

it's annoying to save the file every time

acoustic imp
#

I jus use ssh, copy paste form var logs or where ever it is

#

wheres 16player?

radiant idol
#

yea idk

acoustic imp
#

oh welp time to disbale every tweak

#

Looks so out of place lol

#

still no 16player

#

ughghghhg

radiant idol
#

comment out code

#

see when it stops crashing

acoustic imp
#

ik what it is

radiant idol
#

...well?

acoustic imp
#
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];```
radiant idol
#

CAN YOU FIX YOUR INDENTATION 😭

#

This is genuinely unreadable

acoustic imp
#

fine here ?

#

?

radiant idol
#

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];
acoustic imp
#

oh yea that makes more sense

radiant idol
#

artworkfulllsbackgroundAlpha and artworkfulllsbackgroundatrechfactor are waaaaayyy too long of a variable name

acoustic imp
#

yea ik, but like does it act matter?

radiant idol
#

af_backgroundAlpha and af_backgroundRectFactor

radiant idol
radiant idol
#

artworkfulllsbackgroundatrechfactor idk what this one even is

acoustic imp
#

a should be an s

#

oops

#

strech*

radiant idol
#

ok makes sense then

#

do af_backgroundAlpha and af_backgroundStretch

acoustic imp
#

i am

#

done but it stll safemode

radiant idol
#

show me the @interface in the header file

acoustic imp
# radiant idol show me the `@interface` in the header file
@class SBUIBackgroundView;

@interface CSCoverSheetView : UIView
@property (strong) SBUIBackgroundView *backgroundView;
@end

@interface SBUIBackgroundView : UIView
@property UIImageView *p16_playerLSBackgroundImage;
-(void)hidetheBGimgview:(CGFloat)arg0;
-(void)inittheplayerbgimage;
@end```
radiant idol
#
@property (nonatomic, strong) UIImageView *p16_playerLSBackgroundImage;

doubt it'll change it but

acoustic imp
radiant idol
#

¯_(ツ)_/¯

#

is your NSLog stuff working

acoustic imp
#

ye

radiant idol
#

ok

acoustic imp
#

it worked

radiant idol
#

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

acoustic imp
#

but

#

one sec i need to check for the subview

#

nope

radiant idol
#

does that still crash

acoustic imp
#

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 dead

#

Not that u care but this was what I was trying to fix/do. Add a like shade

radiant idol
#

nice

cloud yacht
radiant idol
#

¯_(ツ)_/¯

faint stag
placid kraken
fluid lintel
#

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.

frank fossil
fluid lintel
#

Can you recommend me an online example that I can use as a cue to make a test

frank fossil
#

You could check LiveContainer or the blog post linked to it for example

fluid lintel
#

Ok thanks, so I have to do it without dlopen but mapping everything by hand

fluid lintel
#

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?

worldly ether
#

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

frank fossil
fluid lintel
#

How?

#

To hook are something I have to execute my own code within it, how do I execute it?

frank fossil
#

In a JIT enabled process you can do stuff as overwrite instruction, that’s what the dyld bypass does and some tweak injection frameworks

frank fossil
#

If you meant to load unsigned dylib in stock,encrypted AppStore app then nope

fluid lintel
frank fossil
#

Is the app still encrypted or decrypted and ct_bypass signed?

fluid lintel
#

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

frank fossil
#

well in such case you need to sign dylib with same team ID

#

no get-task-allow aka no JIT is allowed in encrypted apps