#development
1 messages · Page 436 of 1

:shepbelike:
packix kinda do be a joke
i never said there was a problem
i just said the first thing that came to mind when i thought of packix
i forget he’s on there
have never seen it and said “oh i care about this enough to remember it”
uint64_t
what are you doing
hook function
hookf

with logos

gos
apparently it sucks in tweaks but it would be cool to see it used somehow
yep
yep
im not using hookf
from a dev or user stance
whatever ur trying to do now is worse than hookf
i doubt it’s that bad if you’re targeting 14+
gib example
when you want to modify the behavior of a function without completely reimplementing it
and theres no symbol
where raw memory hooking is the best solution, not the most brainless way to do it
should i?
its the exact same as hookf
portability kinda goes out the window but yea you can
theres not always a better solution
hookf uses MSHookFunction 
we know
never had issues with the 3 places i’ve used hookf
why
i dont like hookf idk why
just feels more crusty tbh
true
less intuitive
does anyone have an actual reason
it feels better to use MSHookFunction since the arguments tend to require some setup
so i do it in ctor
do we ever
i don’t like the syntax but it’s a pain to set up manually and requires a lot more messier code
@primal perch does he die at the end

true now my springboard is bootlooping
shouldnt have installed sex
Bootloop culprit: Weed.dylib
would honestly listen to about anyone else on the topic
why cant my code ever just not fucking crash tho
old sex tho 
removing the substrate shim in libhooker is absurd and horribly inefficient and it’s a joke if they think logos should implement it
send full code 
i dont use logos if i can help it


ok i will
this means over 100 tweaks running on a users device will now be running the exact same repeated set of instructions that used to be relegated to a single section of functions in libhooker
_dyld_get_image_name btw
cs power trips every time they think they have full control over the scene
Me when segfault
@primal perch what u think of rammstein
who that
adr_aslr is 0x3c3a4240 for image name /System/Library/PrivateFrameworks/ScreenReaderCore.framework/ScreenReaderCore nfr
wtf

they a band
so this type of dumb complaint regarding hookf is disingenuous and silly
highly disagree, are you using VIM?
What is the size of the cheesy gordita crunch
How many baja blasts are there
@lethal ice
the whole point of logos is making readable code

time to get drunk again 
who doesn’t use 4 spaces or tabs
🤤
or an editor that standardizes it like, most of the ones i know of
#SwiftForDeprecation
objective c 3 when

no?
false
%hook more like %killmyself
that’s objc standard syntax?
%hook Cock
-(void)theTrueWay
{
//
}
%end```
by literally every known objc syntax standard released?
ok but like why should logos have a standard for indentation, basically nothing has a hardcoded standard (except python where its literally the language)
%hook Cock
- (void)theTrueWay {
//
}
%end
true
it shouldn’t bc it’s just hooking logic designed to be written and laid out like regular objc
that’s the point
that is proper
an objc dev can look at it and instantly get it
%hook DeezNuts
- (void)setCock:(Cock *)cock {
%orig([Cock new]);
}
%end```
ok
[[[[[[[[[[]]]]]]]]]
nfr
unless u autorelease
and not using logos fixes someone refusing to use variables or shorthand?
objc syntax isn’t gorgeous but it’s pretty damn good imo
true
arc = big cock and nothing can change that
better than any other C derivative language i know of
objc is a whole different animal
true
finally a hashtag i can get behind
c++ be like
good but not
use a #define
_ _
rip
swift has that
odds are you can rewrite the code to not need it tho
true
lots of complaints about programming languages are actually just complaints about bad code
goto is fast and cracked
while (doing shit) {
SDL_Event event;
if (SDL_PollEvent(&event)) {
if (event.type == SDL_QUIT) {
system_running = false;
goto cleanup;
}
}
cleanup:
// ...
return 0;
}```
true
perfect use of goto
goto can improve readability in procedural scripts
yea goto is litearlly just a jump
heavily improve readability

yea but ARM is the dumbass who had to name everything with a dumbass name just to be different
"eor"
true
what the fucks an eor
cock: for cum in cums {
for mom in moms {
break cock
}
}
probably nuked the spelling
bash script that lets you skip some steps if needed
arm is still my true love though
using functions for this would be dumb
goto is perfect
i prefer the future of arm if we get apple's industry leading performance per watt on desktop
with all platforms

sure but like qualcomm's offerings cant compete well is what i mean
wen eta Windows 2
they can compete tho
okay but wen eta F[redacted]i
wen eta c[redacted]ck
my m1 mac is gonna arrive on tuesday
true
got the pro
ida is so crusty
yea it kinda is
risc v is nice until everyone implements their own vendor specific instructions
u can tell it does a lot on the main thread
what are you using then
because window gets choppy
people only use ida because it has the most features but ida is a terrible program
it isnt ghidra tho
your mom
shit is typically crusty when ur running it in wine
its way more usable and readable
you disassemble using my mom?
bc u didnt pay
does she provide arm64e disassembler?
g hidruh
its crusty on windows too homie
true
yes.
windows do be crusty in general
overall yea
does ghidra run on mac
windows 10 be clean
i have some words about ida but idk if crusty is one of them
windows > * just for the fact that games only run on windows
i'm comfortable with its current performance as it stands
hopper might be faster but if you want crusty, click decompile in hopper
just you wait
mfw ida hex view is still more useful than hopper decomp
hopper nice if u need to check something rq
Knights of Cydonia
hopper decomp is like they mixed psuedocode with assembly but only the assembly that's completely meaningless in the context of psuedocode
decompilers are hard to write
straight up cant read it half the time
and it screws things up and leaves out massive chunks of really important things constantly
i've never had ida reasonably bork psuedocode
whole different puppy tho
Wow the whole gang of hotties is here huh
Sup big man
"random variable that doesn't exist in psuedocode" vs "i was able to decompile 2 out of the 200 instructions you're welcome"
is radare any good
ida just the best out there right now
is nano any good?

ok point made
your answer to that is your answer to radare
so its worthless got it
dont have much of an opinion myself
yo this bottle of vanilla smirnoff is going quickk
but yeah
YESSIR
if you dont like terminal ui in 2020 radare not for u
I had a chocolate cherry smirnoff shake the other day and that shit SLAPPED
yeah georgia
I have not
southerner spotted
ok and?
chocolate cherry sounds bomb though
or 2 shots of 40% bacardi or vodka in some strong coffee
same
who needs beer
Im a straight clear tequila man myself
who needs black tar heroin
u wont like beer till ur 30
u will try it and say 'this tastes like piss'
beer is hard to get
cap dos equis tastes like gold
i think its probably just experience
oh I thought it would be easier the younger you get
if only

they always sayin grow up so i grew down
goo goo ga ga motherfucker
@wicked summit stfu
dont let society live your life for you
a discord mod said age is just a number so i set mine to 0
oh
true
killing self now
/age set 0
goo goo ga ga mf
%hookf(int, age) {
return 0LL;
}
hookf 

please batch

%hook NSCock
-(unsigned int)size
{
return 0;
}
%end
what does men inherit from

burns like HELL tastes like HEAVEN
😩
wtf
if my coffee tastes too good i drink too much
ok child
sugar
drink soda if you want useless calories
correct
true
Nobody fucking drinks liquor for the taste wtf
exactly
what the hell
i do but that’s one of the least insane things about me
diet soda is a joke
i should just switch to drinking only water and liquor 
not being quirky i’m just fucking weird
how
quirky
quirky
I don't understand that, but I drink to be in a inebriated state not for taste
yall play rocket league?
don’t wanna be the “omG iM sO crAzy n dIFferEent ”
sometimes
woe
That is just mental instability plus more mental instability
life moment
what's that
assuming h+ generates at least this much in sales by late may i'm set to move across the country so
east or west coast?
my friend goes to purdue
same
@half walrus where you moving
not attending just getting an apartment in the same complex as them
glhf see u there
dont you live in the middle of the country rn
middle of nowhere kansas yes
purdue is #2 on my list
im moving to germany for school 
number 1 is hard set between UCBerkeley or UCLA
you'll find me in the coffee shop
greyhouse
you'll know it when you see it
i've been there before
will be sitting in the back corner with a coffee (spiked as mentioned earlier) and a yoga laptop
spiked coffee
sleep deprived person
doesnt that kinda ruin the purpose of coffee
yoga laptop true
alcohol is a stimulant at that dose
true
i've never drank more than 4 shots of 40 in my life so i honestly wouldn't know
6 is the min for drunk
2 shots of everclear straight up put me out though
period
ive never been blackout drunk or anything like that but ive been wasted to the point where i just collapsed on the floor and woke up not remembering much
very good thanks 
i guess thats close

4 got me at a very nice drunk
yea honestly 4 is a good number
burrit0z voice training who
we still have time
bro i have an exam tomorrow
but why settle for 4 when you could settle for 6
ok?
ok fine
give me 5
if u wanna hop on hypixel lmk but ill only be on for an hour and a half
mentally unstable impulsive chick w/ unhealthy + addictive-tendencies
are you dating one?


@half walrus wait does transitioning make you lesbian technically?

oh are you trans krit??
scoob its been
yeah krit is a female
like 3 months dude
dumbass
it was this huge thing on new years on twitter
i dont use twitter
krit face reveal too
for like a week and then i realized "oh i have to put that back away till may"
weren't people sexualizing your face somehow?
i now have 8.5k people to hold me accountable for something i had previously put off for 5 years so
mental breakdown late november through new years was pain but its nice to be moving forward in life thanks to it
_ _
yes it was great

i'm in this wonderful period where when ppl say sexist shit to me it just puts me in a better mood
OwO pls sexualize me~
which game
RIP
sucks butt
skill ceiling?
i feel like im hitting a skill ceiling in rocket league but its not stopping me from playing
within a minute i was votekicked by a bot that stole my name
and they updated mannpower
which was
idk it used to be like
a comfy place i could hang out with people i'd known for a long time, know literally all of the regulars personally and we all still have a discord
got updated
@half walrus lmk whenever u want to hop on btw
im already on
i invited u but u didn't accept it 
so i did casual for quite a while but
i pissed off a lot of the hacker circles with some work i did on TC2
so i got targeted quite a bit by aimbotters while trying to play
when it wasnt them it was regular bots
what do normal people do in their free time
watch tv probably
true but thats boring
fair enough
normal people probably go on walks too
ive been hiking two miles every day for the past couple weeks
i think the mountain is also like 2k feet of elevation
nice
guess i have no life bc i can only think of 2 things normal people do for fun

Shit you got me beat, I can only thing of 1.
@primal perch gme bro
its a great stock
bro
imma put my 1400 from the government into stock
lmao
i just like the stock bro
same

sndl needs to fly
for the love of god
100 share pls god
i need to make a few grand

loss

meanwhile me on "unstable" windows




more ram bro
ngl havent ever had a problem with it

and new cpu then
nfr

@rain falcon ULTRA
@lethal kayak JYNX

@eternal crater AARON
didn’t ask
true
same
ping in development wtf do u orange names want
respectable reason
go make tweaks
green name is cringe stfu
true
mf remove activator dependancy
whats the license
MIT
oh pog
I give permission to you
thanks
this kinda boring so im gonna send assembly
Start:
sei ;pretty standard 6502 type init here
cld
lda #%00010000 ;init PPU control register 1
sta PPU_CTRL_REG1
ldx #$ff ;reset stack pointer
txs
VBlank1: lda PPU_STATUS ;wait two frames
bpl VBlank1
VBlank2: lda PPU_STATUS

PP STATUS
;reset stack pointer
how about you stack some bread?
crust
shlorp
toilet gir


he do have the drip
fr
tuxedo cat

how
@tepid olive this u?
no
wtf
just drink vodka bro not that hrd
no bro, not anymore
Guys I might be fucked
My phone decided to reboot for no reason
So I lost jailbreak
And checkra1n doesn't work on my macOS

@rain falcon ULTRA
this shit bout made me cry laughing and i dont know why thank you




stfg my phone just panicked again

its just ur fault bro obviously
when the estimated time of arrival odyssey fourteen? brother please respond


the odyssey dot developer
I am the new developer of Odyssey14
I am rewriting everything everything in Swift and Rust
Exploit is being rewritten in Go++
support 14.4 ? 🙏
Mashallah dog !! coolflare 

I am dancing circle around iOS 14 with my SEP bootROM exploit which support all chipsets including x86_64
_ _
@wicked summit if you do suicide you don't have to ever do math hw
you bring up a good point
ok I finished my math hw
alas I shall live another day
nice
senioritis is kicking in hard for me rn
rip
well fr*ck now I wanna know
why did your hs suck
ah okay
damn
ok
i sell whales
i club seals
.
same
nothing wrong with this make sure to cut their fins off when you sell em alright
I’ll trade you New South Wales
Captain James Cook, 200 years ago: hmm and I call this place Wales 2
its funny because wales 1 sucks
I’ll sell you wales 2 for two fiddy
It is British so therefore any value it had is now diminished
Hey, I have a problem understanding some semantics about NSDictionary.
My prefs look like this:
- Root
- NSDictionary (moduleList)
- NSDictionary (uniqueModuleID1)
- NSDictionary (uniqueModuleID2)
- NSDictionary (uniqueModuleID3)
And I want to use this method inside CCSupport (I don't call this method myself, CCSupport handle it)
- (NSString*)identifierForModuleAtIndex:(NSUInteger)index {
//return a unique identifier for every module provided by this provider here
return [NSString stringWithFormat:uniqueModuleIDX;
}
My problem is that the given index can't be used with my prefs model, since NSDictionary doesn't use indexes. I know I can convert it to a NSArray to solve my problem, but I've read that it may cause issue:
You can get an NSArray of keys from the dictionary, and apply indexing to it:
NSArray *keys = [myDict allKeys];
// Warning: this order may change.However, this indexing scheme would remain consistent only as long as the dictionary remains unchanged: for example, if you use NSMutableDictionary, adding an extra key may change the ordering of the existing keys. This leads to extremely hard-to-debug problems.
If anyone have a solution or explanation on how to achieve that, I'm listening
Big ass question sorry
Yo where can i find the source for ninja-build?
nfr
@proud geyser https://google.com
How does your prefs relate to CCSupport? Are your prefs inside CC settings page (which is what CCSupport uses)?
Im on live usb ubuntu so I thought maybe thats the problem so im installing ubuntu
They are (or at least I want them there). Im trying to allow user to create multiple CC module with one tweak using last CCSupport ModuleProvider. So from my tweaks prefs, user set a NSDictionary where key is UUID and object another NSDictionary with all customization settled by the user (like the module name, the module type (AppLauncher, Toggle, Content)). Then inside CC settings page, each module will have his own customization.
loss
not false
So is there not an API to add modules dynamically? pretty sure that was a recent addition. Why are you having to modify identifierForModuleAtIndex: (CCSupport code)?
I don't modify it, that's the API to use haha. CCSupport need me to implement this method to assign unique ID to each module.
Yup it wasn't clear from me that that was the API, mb
Ah, I haven't looked much into the new API yet. Sorry. So the API requires you to implement that method?
LOL this idiot didnt replace armor
if you want to "sort" your dictionary, you should use a separate array that defines the sort order
likely as an array of keys
Though it sounds like the API heavily relies on indexing which would break if the data is dynamic.

Yeah exactly, let me give you a quick overview of what I've understand:
First, I have to implement this method:
- (NSUInteger)numberOfProvidedModules {
//return the number of modules provided by this provider here
return [[prefs objectForKey:@"moduleList"] count];
}
then
- (NSString*)identifierForModuleAtIndex:(NSUInteger)index {
//return a unique identifier for every module provided by this provider here
// I can't use objectAtIndex in a NSDictionnary 
return [[prefs objectAtIndex:@"moduleList"] objectForKey:@"moduleUUID"];
}
where index is 0 to what I return in numberOfProvidedModules
I am guessing thats part of a specific class that needs to be inherited or an implementation of a protocol? How does it know when you have provided a different set of modules?

// 
A protocol @interface MyClass : NSObject <CCSModuleProvider> then I have to implement those method in MyClass
Something like this ?
NSArray *keySorted = [moduleList allKeys];
[moduleList objectForKey:keySorted[index]];
That would work I believe 
wait.. I've read that online, it say it may change order
You can get an NSArray of keys from the dictionary, and apply indexing to it:
NSArray *keys = [myDict allKeys];
// Warning: this order may change.However, this indexing scheme would remain consistent only as long as the dictionary remains unchanged: for example, if you use NSMutableDictionary, adding an extra key may change the ordering of the existing keys. This leads to extremely hard-to-debug problems.
Yeah that would work until your data changes and CCSupport wouldn't know that unless I am missing something.
I guess CCSupport load everything before my prefs can be edited anyway, so there shouldn't be a problem unless I reload modules without respring ?
Cr4shed will tell me 🤷
Third protocol method
- (id)moduleInstanceForModuleIdentifier:(NSString*)identifier {
//return the module instance (the object that conforms to CCUIContentModule)
//best practice: store the instance inside an NSMutableDictionary after creating it and return it from there if it already exists
NSNumber *modulePreset = [[prefs objectForKey:@"moduleList"] objectForKey:@"modulePreset"];
CCUIAppLauncherModule *launcherModule = [[CCUIAppLauncherModule alloc] init];
// CCUIContentModule *contentModule = [[CCUIContentModule alloc] init];
CCUIToggleModule *toggleModule = [[CCUIToggleModule alloc] init];
return ([modulePreset isEqual:@0] ? launcherModule : toggleModule);
}
Oh you mean provider, not module
Yeah provider
I guess it look for every class that extend the CCSModuleProvider protocol ? idk
I... dunno
You can always create a new class at runtime that conforms to CCSModuleProvider /s
From the doc
When the modules provided by your module provider change, you can post a com.opa334.ccsupport/ReloadProviders notification on the darwin notification center, which will cause CCSupport to reload all providers (e.g. numberOfProvidedModules, moduleInstanceForModuleIdentifier, etc. will be called again).
Oh right, identifierForModuleAtIndex will be called again, so index don't really matter I guess
not that, because dictionaries are unsorted, what you get back from -allKeys is not guaranteed to be in any order
you need to make a new array that needs to go in the prefs plist as well, defining the order
are these your preferences or someone else's you're trying to read?
Mine but I do try to read them 
you could also make a method that sorts an array and use that on allkeys to sort them whenever you need to see it sorted
obviously slower but then you only have the information once
Thx you all for all the help ! Ima try
gm
don't u absolutely hate it when all of your services suddenly go down with absolutely no explanation
i do not understand how a single node has not preserved a log file
and the control plane just doesn't respond to api anymore
web moment
and this is why u don't accidentally mix kubernetes versions
tho like i said i'm not even sure if that's the cause
how could I do something like this? (for testing purposes)```yaml
{ Filter = { Bundles = ( "*" ); }; }
you could make it com.apple.UIKit (this is usually a bad idea to ship in an actual tweak though)
Isn’t this limited to the ui, I need to hook into some deep Bluetooth functions, but I seem to capture only a part when I hook into external Accessory
you really should not do this except for testing of course, but com.apple.Security is the absolute bare minimum that will inject into everything Subst{rate,itute} is capable of injecting into
I sorta don't mind the last login thing
it used to be slow af but, I mean
this computer can extract xcode in 4 minutes
skip verifying

there is literally a skip button under cancel
one sec
im gonna download an xip just to prove this
yeah ik
oh damn
so the skip button is on xcode 11.7
but not 12.5

pp emote
ppCrazy
when hayden is sus
Hey, i wanna start with iOS Tweak development, but don't have a Mac/Macbook and no machine capable of running Hackintosh. Can i still develop tweaks or is it not possible?
Yes, just grab THEOS and Google a bunch of tutorials and enjoy the rabbit hole
Then i still don't get why there's no such thing on Windows 
Because bloat takes lot of effort

M1 
I bought M1 as my first laptop and it’s fine but then I have nothing to compare it too
¯_(ツ)_/¯
M1 has issues
Ik
gonna be upgrading in 2024
I needed a PC for online school ply
Plus my VM sucked
For Xcode
I’ve not had any issues on M1 tho apart from kernel_task doing 60gb of writes per 24 hours

i got a gt 710 + 16gb of ram, now my vm runs faster than an intel mac lol
Bruh
I was intel i5 6400T and the VM had 2 cores and 4gb ram running Catalina off a external HDD

oh, i already had a good cpu so it wasn't really a big upgrade for me but if I didn't already have good specs on my pc I would have just gotten an m1 too
Yeah
@grave sparrow .
do you though?

Heyy what is $(THEOS_STAGING_DIR) for??
Ahhhh
So im guessing this just copies the dylib to the theos lib folder?
Ahhhh
I think i got it
Thanks
did i not install theos correctly ?
So i dont wanna use ()
?
I did in ~/.profile
But do you actually have theos installed to where you specified it?
the operating system
Wait question
So when i close my terminal i have to source ~/.profile everytime
Thats the problem
I manully havr to run source ~/.profile
Thats the thing when I reopen the terminal its back to normal
And i have to manually source it
Its bash
HI @gentle grove
That seems like a better solution
Other programs source .profile so
They are stupid /s
I made .profile a symlink to .zprofile
But my .zprofile is POSIX compliant so we're good
ok
then you get handcuffed
I have a car
CAR NOT CAT
I DONT HAVE A CAT
I DONT HAVE A CAR EITHER BUT STILL
I just make the latter source the former IIRC
I have /usr/bin/cat
.bashrc is a different thing
But bash_profile didnt work
ik
it only works when i manully source it
but stops working after i exit out of terminal
nope i did a clean ubuntu install yesterday
maybe its a bug in operating system
that’s cute
nvm
as a primarily front end vue dev your words are beyond my abilities
thx
alr thanks
don't think windows hase fuse tho
dokany
im constantly getting this error 
add export THEOS=~/theos in your ~/.zprofile
no need to reinstall tho
this i meant
ah yes linux moment
nfr
goji pro
ahh
it’s nice. pls don’t mind empty widgets i’m rewriting that part of the tweak
question the widgets your rewriting are the in swift ui or storyboard
if thats what its called
then?
objc
Issue # 528 on theos github
velox api
I have been looking at that issue for the past 3 days
velox api so we can register widgets without actual apps




















steal that from the server you are in
