#development

1 messages · Page 257 of 1

lethal ice
#

We do drugs

narrow mason
#

Kill everyone with drugs

lethal ice
#

:E_FeelsCringeMan:
@vivid dew

narrow mason
#

Just like in Uprising

tepid olive
#

ok

lethal ice
#

we will be victorious bro

tepid olive
#

imma go to bed now

#

gn

lethal ice
#

wtf

#

imagine

narrow mason
#

Gn

lethal ice
#

gn

primal perch
#

:gn:

lethal ice
#

gn dont let the meth bugs bite

tepid olive
#

true

#

ok byeee

primal perch
#

:oomf:

narrow mason
#

this eating soap

narrow mason
#

why doesn’t he eat regular people food

#

Bruh OxyContin

lethal ice
#

fuck oxy

#

fuck oxy

#

although it do really disintegrate pain

primal perch
#

yea true gimme drugs br o

narrow mason
#

Ye

#

It’s addictive tho

#

And makes you feel like shit tbh

#

Idk I don’t like

primal perch
#

cetirizine and ibuprofen are the real Gs

azure sail
#

hello shep

primal perch
#

you dont have to do anything @cold urchin

#

it works

lethal ice
#

i was given morphine at the hospital once my pain instantly disappeared, i can see why people use it

primal perch
#

gm @azure sail

lethal ice
#

gm alpher

azure sail
#

Gm scoob

lethal ice
#

but fr fuck opiods

#

they destroy lives

azure sail
#

opium war flashbacks

lethal ice
narrow mason
#

M

lethal ice
#

M

narrow mason
#

Bruh

#

How

primal perch
#

:letsfuckingfish:

narrow mason
#

mono

lethal ice
#

i am also a white 17-year-old male

#

looking to consume opium

primal perch
#

i am not a white 17 year old male

lethal ice
narrow mason
#

@vivid dew do you raid your grandparents drug cabinets

primal perch
#

@vivid dew do you raid your grandparents drug cabinets
@narrow mason

narrow mason
primal perch
#

is this really what i waste my time doing all day

lethal ice
#

okay so my mom didnt know what a 40 was

#

how

narrow mason
#

Yes

primal perch
#

posting yellow face emotes and saying true

#

and quoting message

narrow mason
#

Yes

#

It’s the life

primal perch
lethal ice
#

posting yello face emotes and saying true
@primal perch

primal perch
#

le fr

lethal ice
#

posting yellow face emotes and saying true: 90% of us

primal perch
#

the other 10% of us

#

weeb

lethal ice
#

them*

primal perch
#

us and them

lethal ice
#

yeah stfu anime pic

#

charmander ass

primal perch
#

ok anime girl profile picture

#

and poorly drawn shaggy

lethal ice
#

POORLY WTF

#

I DREW THAT

primal perch
#

ye

#

ye true

lethal ice
#

oh my god

#

im gonna eat

#

a nutella sandwich

lethal ice
#

dude stfu

#

so good

lethal ice
#

im just sad i have no weed or else it would be better

primal perch
#

bruh

lethal ice
#

weed makes every food taste better its fact

#

well actually i still have but i just cant consume it

#

need clean pee bro

primal perch
#

true

#

hydrohomies

lethal ice
#

speaking of

#

time to take the first alcohol piss of hte night

primal perch
#

true i gotta piss

#

@here piss break

lethal ice
#

piss break complete

primal perch
#

true

lethal ice
#

when uroboro reads this hes gonna be annoyed that he wasted so much time reading the retards talking about drugs

primal perch
#

shlorp go to invisible

#

i think he gave up a while ago

cold urchin
#

So does anyone know if itspossible ?

lethal ice
#

yeah true

#

@primal perch he used the yes emote

#

he is one of us now

primal perch
#

true

lethal ice
#

we have converted the frenchman

#

@ uroboro fr

primal perch
#

true

lethal ice
#

ok the shots kicking in now bro

#

the drunk is starting

#

and now im cold wtf

#

and everyone is leaving so rip

#

fun convo boys but its dead now

primal perch
#

fr

#

:julesgone:

#

wtf

#

fake jule

lethal ice
#

uhh

primal perch
#

there

#

ultra ghost ping

#

yea jules died

narrow mason
primal perch
#

wtf nvm

lethal ice
#

JULES

#

WTF

#

HES AWAKE

glacial matrix
#

when uroboro reads this hes gonna be annoyed that he wasted so much time reading the retards talking about drugs
@lethal ice yes 🦀

lethal ice
#

hi

primal perch
glacial matrix
#

Hi

primal perch
#

gm

lethal ice
#

was there any part you enjoyed reading?

glacial matrix
#

No

lethal ice
#

great!

primal perch
#

ye true

lethal ice
#

dont worry

#

i see through you

primal perch
#

i dont think we enjoyed reading most of that either

glacial matrix
#

2k messages in like 2h

lethal ice
#

meth man

glacial matrix
#

“Y’all need Jesus”

primal perch
#

true

lethal ice
#

lol

#

it was a fun conversation though

#

you are just collateral uhh

glacial matrix
#

Hmm

dusk river
#

hey everyone, is there a mini tutorial or something for Dragon?

tardy narwhal
#

check the dragon wiki if it exists, else just use theos

tepid olive
#

You did it! Congratulations on submitting four (or more) pull requests and contributing to open source projects this month. Each of your contributions has passed the 14-day review period which means you have earned a reward! You can either choose to receive a limited edition tee or donate the proceeds to plant a tree.

grim sparrow
#

Dang I’ve still got 2 days before all of mine clear

faint timber
#

2017

#

What a fucking era

#

2016 and 2017 jailbreak era

misty cradle
#

2378 messages later

#

“Y’all need Jesus”
@ uroboro#4324 fr

#

@vivid dew true

misty cradle
#

@glacial matrix Hi, are you there?

glacial matrix
#

What do you need from me?

misty cradle
#

Some wisdom

#

ObjC pointer members are currently not allowed in unions in either C or C++ mode. Do you know why this is the case?

glacial matrix
#

Ohboy

misty cradle
#

I can't find much about it, only 1 thread which patches LLVM and allows you to do it

glacial matrix
#

I do not know why, sorry

misty cradle
#

Ah ok, no problem

grim sparrow
glacial matrix
#

Did toilet cat 1 get flushed down?

misty cradle
#

yes :((

#

Wait they got him back out, @tepid olive

#

I hope DGh0st or Muirey knows why this is the case with unions intjsad

#

The ObjC pointer member causes all of the defaulted special functions of the union that directly contains the member to be defined as deleted, except when the member has an in-class initializer, the default constructor isn't defined as deleted.

glacial matrix
#

I prefer not to work with C++ because of all the lack of knowledge about implementation details I have

misty cradle
#

lol

nimble parcel
#

ObjC pointer members are currently not allowed in unions in either C or C++ mode. Do you know why this is the case?
@misty cradle possibly because it isnt compatible with arc since it would have to know whether the union is the object or not in order to figure out whether to retain/release it

misty cradle
nimble parcel
#

although if that were the case then theoretically __unsafe_unretained objects would work fine

misty cradle
#

I’m just tryna have an Union with a UIImage * and NSArray *

glacial matrix
#

ew

#

why?

tepid olive
#

oop

nimble parcel
#

oh no

misty cradle
#

Well uh I’m returning pics from the photos and instead of having an extra argument, I could easily just return an image or just an array of pictures in the union

#

through my callback

glacial matrix
#

an imageview can do that :P

nimble parcel
#

polymorphism exists, make use of it

#

you can return an id and check the class at runtime

#

or use a protocol

glacial matrix
#

or an array of 1

nimble parcel
#

or that

misty cradle
glacial matrix
nimble parcel
#

a union wouldn’t have worked for this anyway

misty cradle
#

And why’s that monka

nimble parcel
#

because it doesn’t contain any information about which member the union represents

misty cradle
#

can you ELI5 that kek

tepid olive
#

kek

surreal mountain
#

g

tepid olive
#

yes i wanna know too

#

why

#

maybe i understand

#

after reading more on unions

#

yeah this makes sense

#

WOW

#

or an array of 1

#

@misty cradle yes my opinion does not matter but i suggest you just send it in an array anways, even if its just one image

misty cradle
#

@tepid olive ye that’s the plan

tepid olive
#

:frpensive:

#

i am late

#

lol

#

unions are cool tho

misty cradle
#

Also don’t ever say your opinion does not matter, bc it does

tepid olive
surreal mountain
#

Also don’t ever say your opinion does not matter, bc it does
@misty cradle truetrue

turbid fjord
#

any good python guides

tepid olive
#

also wondering

turbid fjord
#

@tepid olive

#

join

#

i guess

#

time to be a headass

tepid olive
#

wtf

turbid fjord
restive ether
#

rip

#

.gg/Python

turbid fjord
#

bad server

#

not even been in there 2 mins

tepid olive
#

lmao

turbid fjord
tepid olive
#

woe

turbid fjord
#

mf already asking me questions

tepid olive
#

IT’S A THING

restive ether
#

@tepid olive i hope you know

tepid olive
#

huzzah

restive ether
#

you’ve pinged me

#

3 times

tepid olive
#

oop

#

lmao

inner quail
restive ether
#

and the staff

tepid olive
#

i didn’t know it pinged you guys

eternal crater
tepid olive
#

sorry lmao

restive ether
#

ily though

turbid fjord
#

lol

tepid olive
#

aww

turbid fjord
#

such a bad server

#

too many channels

restive ether
#

more than here? impressive

tepid olive
#

true

#

superbro

#

we should make a python server

#

that like

#

wrecks theirs

#

lmao

turbid fjord
#

can the video actually show up

tepid olive
#

true

turbid fjord
#

ben

#

ben

#

ben

#

brb

tepid olive
#

true

turbid fjord
#

DAMN

#

discord cdn down

#

?

#

oh well

#

yea we should make a better python server

tepid olive
#

or

#

maybe a better programming help server in general

turbid fjord
#

trueeeeee

tepid olive
#

i could write a bot for it

turbid fjord
#

@restive ether they have 86 channels including VC uhh

tepid olive
turbid fjord
#

only the ones i can see

#

god

#

they just have a hundered

tepid olive
#

ok

#

who makes the server

turbid fjord
#

how we gonna get people to join tho

tepid olive
#

hmm

#

i could figure smth out

#

disboard and stuff

turbid fjord
#

cos why would people not have a reason to go to the official server

tepid olive
#

well

#

i’ve been in the official server

#

ngl some of the people there are just head-up-asses

turbid fjord
#

true

#

all python channels have slow mode on it woeis

tepid olive
#

lmao

turbid fjord
#

also i know absolutely nothing about coding

tepid olive
#

lmao

turbid fjord
#

bruhhhh
the guide the python server told me sucks uhh

#
#

there literally nothing remotely decent on the internet

eternal crater
#

What are you trying to do

turbid fjord
#

not much just trying to find an online python guide that isn’t youtube

valid venture
#

don’t diss my man Indian tutorial man

turbid fjord
#

bruh

valid venture
#

Anything with a price tag is BS, don’t pay for it

#

py TLDR: change your indents to 4 spaces if you use a editor like nano or atom

modern tapir
#

lmao
@tepid olive do I know U

tepid olive
#

no

modern tapir
#

I-

#

Ok

nocturne yacht
#

Bruh lmao

tepid olive
#

oop

#

i need a new pfp

#

animoji is almost as cring

lethal ice
tepid olive
#

i get it woeis

#

i never wanted it this way

lethal ice
#

@valid venture hey do you still compile things?

#

cc @tepid olive

tepid olive
#

hm

#

whats up

lethal ice
#

hi

#

do you compile things

#

tr1 told me u do

#

@tepid olive

#

namely SDL2

#

for ios

misty cradle
#

SDL2 on Procursus wen

primal perch
#

True

valid venture
#

@lethal ice SDL2 should have compile scripts for iOS apps

primal perch
#

At true

valid venture
#

static lib tho

lethal ice
#

needs xcode woeis

primal perch
valid venture
#

yeah that

#

clone the repo, should be there

lethal ice
#

my hackintosh dead

#

uefi fucked

valid venture
#

I don’t got a box hook up for compiling shit

lethal ice
#

too lazy to fix

primal perch
#

L

valid venture
#

so @tepid olive you’re our last hope

lethal ice
#

lmao

primal perch
#

@tepid olive true

lethal ice
#

@tepid olive true

valid venture
#

! false

primal perch
#

&main

lethal ice
#

&main

primal perch
#

Bro sdl

lethal ice
#

sdl2 is good

primal perch
lethal ice
#

lightweight and has everythign u need

primal perch
#

This is me using sdl

lethal ice
#

but actually now that i think about it objc is probably fine for games lol

primal perch
#

Wtf runtime cost

#

Dynamic dispatch

lethal ice
valid venture
#

damn I need to hurry up and 1 v 1 hayden on compiles/repo

primal perch
#

Literally unusable

#

What how

valid venture
#

magic school bus

valid venture
lethal ice
#

MS FRIZZLE

#

WTF

valid venture
#

steal her look

lethal ice
#

she stole mine bro

#

i wear planets on my head

primal perch
#

Mrs frizzle lookin kinda thick

tepid olive
#

google is good

primal perch
#

Leviathan

lethal ice
tepid olive
#

it's better than a memoji

#

i just don't like that it has two ms lol

lethal ice
#

@tepid olive yeah that

tepid olive
#

do you want to dynamic link it or static link it

#

because i can add it to the repo rq or just give u a static lib

#

ok i did it

#

helo good sirs

lethal ice
#

can i get a static lib?

tepid olive
#

sure

lethal ice
#

just arm64

tepid olive
#

ill do both. why not.

lethal ice
#

lol okay thanks

upper wigeon
#

sdl2 is hot as fuck

lethal ice
#

ye

upper wigeon
#

i love it

lethal ice
#

ye

#

sdl2 on ios

#

Kanye West Saying "WTF"

upper wigeon
#

what will he say next

lethal ice
#

poop

tardy narwhal
#

“brenbreak fake”

lethal ice
#

scoop

upper wigeon
#

brenfake

primal perch
#

sdl2 is hot as fuck
@upper wigeon true true

tardy narwhal
#

damn, you’re ahead of the curve

primal perch
upper wigeon
#

wrote an class in c++ that manages sdl windows, i really wanna make a game that uses multiple windows to render itself 👀

#

nobody does that :(

lethal ice
#

c++

#

🗿

upper wigeon
#

go ahead, write a window manager in c

tepid olive
#

🗿
@lethal ice

upper wigeon
#

trust me i hated doing c++ too

tepid olive
#

bren has the advanced dev role but not the dev role

upper wigeon
#

what can i say

#

i like pink

tepid olive
#

true

#

yeah that's a really nice shade

#

i might do the same when i get edition

#

idk

upper wigeon
#

i preferred the og edition green

#

but meh

tepid olive
#

but edition is far away from me lmao

#

i still don't even have pro

#

:when:

upper wigeon
#

you must waste a lot of your life here to do it

primal perch
#

Same

#

I actually have legit edition unlike most green name

tepid olive
#

wdym?

#

most green names have fake edition?

primal perch
#

Yea

tepid olive
#

omg eckspozed

#

i kinda wanna be a greenname now KEKW

tardy narwhal
#

edition is given to geniuses

primal perch
tepid olive
#

lmao i've been here for like 2 months

#

and i still don't have pro

primal perch
#

Although I lost my xp but i was top 10 before account loss

#

No life

tardy narwhal
#

bren said it pretty much, you gotta waste a good chunk of your life for the roles

tepid olive
#

woe

primal perch
#

Last night probably got you halfway alone tho

#

That was a lot of messages

tepid olive
#

oh yeah

#

i'm on 24

#

6 more until pro

#

but it takes a long time to level up ngl

#

it might be like a week before it happens

tepid olive
#

@lethal ice min ios v?

misty cradle
#

10/11 best

#

@tepid olive true

lethal ice
#

@tepid olive 11 prob

tepid olive
#

ok

lethal ice
#

i'd say 10 but nah

tepid olive
#

this should hopefully do the trick for u @lethal ice sorry it took so long im just busy

primal perch
#

true thanks SDL time on ios

faint timber
#

Damn imagine imgui on iOS using framebuffer as a directx alternative

lethal ice
#

@tepid olive thank u

#

does it have sdl2main also?

faint timber
#

Imagine not compiling body dynamic and static for production build

tepid olive
#

@lethal ice the xcode proj only compiled that

#

I didnt bother doing a whole procursus makefile doing the configure script and all

faint timber
#

Yah fuck that

lethal ice
#

oh okay

#

it should work then thanks

tepid olive
#

No problem. If it doesnt just tell me and ill work somethin out

upper wigeon
#

imgui but opengles

tepid olive
#

gm

primal perch
tepid olive
#

Has anyone else ever had a conversation with someone that literally made yourself loose all hope you had for humanity?

twilit jungle
tepid olive
#

Omg yes

#

K just making sure it’s not just me

misty cradle
#

~~everyday in #development ~~
@twilit jungle you everyday with @misty cradle

primal perch
#

you guys check genius bar?

tepid olive
#

@everyone
@vivid dew

#

@tepid olive
@vivid dew

glacial matrix
#

peepoBrokenHeart java
peepoLove python

eternal crater
#

Has anyone else ever had a conversation with someone that literally made yourself loose all hope you had for humanity?
@tepid olive yeah I’m here pretty often

glacial matrix
#

python pays my bills pepSip

tepid olive
#

true

#

python does my laundry!

primal perch
#

python is my homework

tepid olive
#

i wish

#

python does my math hw
@grave sparrow believable

#

it’s funny how possible that is lol

grim sparrow
#

I like making small things in Python

#

Like something to do homework

#

Or a small discord bot to control your hue lights

tepid olive
#

i use js for discord bots

#

idk why

#

it’s just more comfortable for me

grim sparrow
#

I just use Python because I know it well

tepid olive
#

yeah true

grim sparrow
#

Well yeah, use what you know best

tardy narwhal
#

praise

glacial matrix
tepid olive
#

:frstache:

primal perch
#

true do it

glacial matrix
#

🇫🇷

primal perch
#

the yellow face meme

#

true

tardy narwhal
#

no way it’s happening

primal perch
#

he did it

tepid olive
#

true

tardy narwhal
#

anxiously waiting

glacial matrix
#

:​f​r​:

tardy narwhal
primal perch
#

nice meme

restive ether
#

how are you feeling on a scale of 1-5

primal perch
#

2

restive ether
glacial matrix
#

🅱️

grim sparrow
#

how are you feeling on a scale of 1-5
@restive ether 1

primal perch
grim sparrow
primal perch
#

desperate times call for inspect element

glacial matrix
#

lmao

grim sparrow
lethal ice
#

nfr

runic aurora
#

What’s the best guide to start getting into tweaks

tardy narwhal
#

learning objc

runic aurora
#

Isn’t objc basically c#

primal perch
#

very different

#

C# is basically microsoft's equivalent though i guess compared to apple

runic aurora
#

So objc vs swift?

tardy narwhal
#

wouldn’t compare the two either

#

peek over there & check raywenderlich in general for objc

#

get a grip on it & come back then

runic aurora
#

Will check it out. I appreciate it. Want to get into tweaks. Loved making android apps but fk Android phones

tardy narwhal
#

Np, it’ll take some time since imo the learning curve is a bit more crude. on droids you’re well on your way with regular basic Java/ Kotlin skills whereas it’s not that analogous for iOS

#

if you got a good grip over objc you’ll enjoy making tweaks + have a better understanding, else if you just need some clout & faster entry, just look at open source projects and copy/paste code together that works

runic aurora
#

I’ll get into it and find out more. I find it crazy that tweaks can use system functions and stuff so I need to look into if that’s actually modifying base iOS or something else

tardy narwhal
#

rebrand as female for more positive input from the subreddit, top tier tip

runic aurora
#

All my tweaks would be personal use. No clout or $$

#

I have a day job lol

lethal ice
#

rebrand as female for more positive input from the subreddit, top tier tip
@tardy narwhal

tardy narwhal
#

that’s good for you but yeah, idc if you make stuff paid or free, important to me would be that you genuinely learn objc

#

too many skiddies join this discord and think we got a one click solution to making tweaks in no time

#

for them to get a bit more pocket money but yeah, world don’t work like that

lethal ice
runic aurora
#

Lol I know it’s more in depth than that but everyone wants to be rich and famous

lethal ice
#

fuck fame

#

i want money

#

im not gonna turn down an opportunity to pay for college

tardy narwhal
#

well bless you good sir, if you got questions surrounding objc just shoot them in here. People are more than willing to help serious learners

runic aurora
#

Talk about college. I’m still paying mine off so I feels

tardy narwhal
#

for top tier objc tips ping this sir @twilit jungle

#

he does objc for breakfast and dinner

faint timber
primal perch
#

bruh he literally may as well have written springboard @tardy narwhal

tardy narwhal
#

underrated comment

primal perch
#

i dont think anyone in this server knows more about springboard ngl

#

good knowledge which has helped me

#

:intjpray:

twilit jungle
tepid olive
#

too many skiddies join this discord and think we got a one click solution to making tweaks in no time
@tardy narwhal ik this is targeted at me fr

tardy narwhal
#

I didn’t mention you in particular though but if you feel addressed then i guess🤷🏽‍♀️

eternal crater
#

Hey @tardy narwhal do you have the link to that website that instantly creates tweaks for me

tepid olive
#

uhm

#

i’m not mass1ve

#

but here’s the link

#

there

#

also

#

pro tip

tardy narwhal
eternal crater
#

Perfect thanks guys!

tepid olive
#

epic tip

primal perch
#

true

#

thanks

#

wtf

eternal crater
#

Rule 2 😳

tepid olive
#

omg

#

sorreee

#

i mean at least i didn’t send pics lmao

runic aurora
#

for cute pics of hamsters, go to xhamster.com
@tepid olive how do I access that? It says I have 12 viruses

tepid olive
#

ok

#

so here’s whatcha do

#

install miniviruscleaner™️ confirmed working 2010

#

and

#

click the big red “clean” button

runic aurora
#

Pls hurry I only have 5 minutes before my phone turns off forever

tepid olive
#

if your computer’s screen goes black and won’t turn on, it worked right

tepid olive
#

true

runic aurora
#

Sorry if repost

#

i'm going to need to see your meme license grandpa
@vivid dew I lost it in the war

faint timber
primal perch
lethal ice
primal perch
tepid olive
#

true

#

kekw

restive ether
#

i funny is trash

primal perch
#

🪳

runic aurora
#

I get all my memes off tiktok. Stupid boomers

primal perch
#

dead channel

lethal kayak
runic aurora
tepid olive
primal perch
#

true

cinder island
#

for cute pics of hamsters, go to xhamster.com
@tepid olive uh

cinder island
#

nice

#

@grave sparrow what assembly you using

#

doesn't look like what i used

#

ah

#

yeah i did different i think

primal perch
#

true now try this

#
mov rax, 0x2000089
mov rdi, bruh
syscall

bruh: db "~", 0```
cinder island
#

lol

#

gonna break it

primal perch
#

i would tell you but ill let you figure it out

#

note: possibly destructive

cinder island
#

hehehe

primal perch
#

arg1

#

for syscalls

cinder island
#

remove directory?

primal perch
#

path of ~

cinder island
#

so he's just

#

removing everything

#

?

#

cause

#

yes

primal perch
cinder island
#

lol

surreal mountain
#

false

primal perch
#

idk

surreal mountain
#

go find out

primal perch
#

true

cinder island
#

lmfao

#

do it

primal perch
#

If the directory is not an empty directory, rmdir() shall fail and set errno to [EEXIST] or [ENOTEMPTY].

#

F

cinder island
#

rip

#

where are you getting this documentation

primal perch
#

idfk its the same for *nix based baically

#

this would be the most accurate

cinder island
#

nice

#

i loved learning assembly

#

there's something so cool about it

#

lmfao

#

1001010100101010110101

#

i'm sure there's a binary translator

#

online

primal perch
#

just objdump the object file

cinder island
#

i'm too tired

#

to do

surreal mountain
#

someone teach me arm assembly

#

please

primal perch
#

10$ an hour

cinder island
#

that's what i did

#

arm

surreal mountain
#

is it worth?

cinder island
#

it was fun

primal perch
#

you tell me

cinder island
#

i mean

surreal mountain
#

shep goober is troll

#

idk if thats worth

primal perch
#

no ill do it for 10$ an hour deadass

surreal mountain
cinder island
#

are you gonna do something with it?

#

lmfao

primal perch
surreal mountain
#

yes

cinder island
#

i think it's just for fun

#

to see how the computer manages memory

#

and shit

surreal mountain
#

no

cinder island
#

but i don't think i hate myself enough to write a whole sophisticated program in assembly

primal perch
#

objdump -d <binary>

#

but the gas syntax is default its ass

#

and the macos objdump has weird args

surreal mountain
#

what does any of this shit mean

primal perch
#

-masm=intel i think

cinder island
#

what does any of this shit mean
@surreal mountain you need the documentation to see what the left part means

#

but musically

#

like MOV

#

means you're moving what's in

#

w10

#

to that stress

#

address

surreal mountain
#

this is notatio dylib

#

idk what any of this means

primal perch
#

assembly requires you to think very different from how you used to write a higher level language so you wont learn it overnight

cinder island
#

0x

surreal mountain
#

assembly requires you to think very different from how you used to write a higher level language so you wont learn it overnight
@primal perch yeah ive noticed

primal perch
#

its not that bad though

surreal mountain
#

its not easy to grasp i dont think

cinder island
#

it's a lot of logic

primal perch
#

its only logic

lethal ice
#

@grave sparrow i would be proud it if wasnt x64...

primal perch
#

literally the silicon is nothing but logic gates

lethal ice
#

arm wtf

#

arm

surreal mountain
#

i literally put it in pseudocode mode
@grave sparrow how

lethal ice
#

arm sixty four

cinder island
#

i can't believe i'm in dev channel

lethal ice
#

yes it can

#

lol

cinder island
#

and actually know what i'm talking g about

#

lol

lethal ice
#

arm macs can

#

also ur phone can

primal perch
#

or just use qemu

surreal mountain
lethal ice
#

wtf

#

ok

#

gn

cinder island
#

i've done arm

#

in mac

rancid summitBOT
#

You do not have permission to use this command.

cinder island
#

capt

#

lol

primal perch
#

!slowmode 5

lethal ice
primal perch
#

wtf calm down

surreal mountain
#

how do i put ida in pseudocode mode

primal perch
#

SYS_WRITE equ 0x2000004

surreal mountain
#

wtf does that mean

primal perch
#

since you're using nasm

#

it returns the value at 0x13148

surreal mountain
#

WAIT

primal perch
#

8 bytes wide

surreal mountain
#

this is a lot more understandable

#

kinda

#

i know what else if means

#

so

primal perch
#

or just use #define with clang

cinder island
#

i think that makEs it more confusing for me

primal perch
#

clang /gcc both do assembly kek

cinder island
#

you have to switch between thinking in assembly

#

and higher language

#

yeah

primal perch
#

yea ill literally send you it

cinder island
#

it's possible

#

lol

#

yes

#

but

#

yeah

#

i've tried

#

lmfao

#

on paper

#

ducking hell

#

it was

surreal mountain
cinder island
#

for school

surreal mountain
#

NSLOG

#

I FOUND ONE

#

POG

cinder island
#

we did all our code on paper

#

lol

#

like

primal perch
#
const char main[] = { 0x48, 0xC7, 0xC0, 0x04, 0x00, 0x00, 0x02, 0x68, 0x41, 0x42, 0x43, 0x0A, 0x48, 0xC7, 0xC7, 0x01, 0x00, 0x00, 0x00, 0x48, 0x89, 0xE6, 0x48, 0xC7, 0xC2, 0x04, 0x00, 0x00, 0x00, 0x0F, 0x05, 0x58, 0xC3};
``` @grave sparrow go ahead compile it as  C
cinder island
#

quizzes and shit

surreal mountain
#

\x86 \xCE\xCA2i\xEA\x3F\x9E\x84\xFB\x88U\xB5V\x04f{\xF8z\x1E\xEB\x27\x83d\x18}J%\xD4\x31\xA2b\xB5f\x99\x8D&~\xFD\xEF\x2E\x86\x85G\xFE\x8EG\xFA\xBAt,\x05\xA5\xBB\xC3\x3A"`\x13n\xBE\x82P7\xF9\xFA\xA5|\x80\xAB\x84\x01\a4%\a\xA0M=\x1C\xA6q?ǽ\xF9\x13/x\xFE\xAD\xC0\xB7\xEA\x3D\x6B

#

what does this mean

cinder island
#

wtf

#

lmfao

#

@cinder island wtf
@grave sparrow our finals and tests were on paper

#

it was hard

#

cause you're used to typing

#

and the ide helping

primal perch
#

mov rax doesnt do anything except put a value into the register rax

#

the kernel interprets a certain value as write

#

yes

#

all write calls eventually go to that at some level

#

libc is just a wrapper for it

#

yea or jmp printf depending on the location

surreal mountain
#

how do i decode this

#

\x86 \xCE\xCA2i\xEA\x3F\x9E\x84\xFB\x88U\xB5V\x04f{\xF8z\x1E\xEB\x27\x83d\x18}J%\xD4\x31\xA2b\xB5f\x99\x8D&~\xFD\xEF\x2E\x86\x85G\xFE\x8EG\xFA\xBAt,\x05\xA5\xBB\xC3\x3A"`\x13n\xBE\x82P7\xF9\xFA\xA5|\x80\xAB\x84\x01\a4%\a\xA0M=\x1C\xA6q?ǽ\xF9\x13/x\xFE\xAD\xC0\xB7\xEA\x3D\x6B

primal perch
#

and at one point yea

surreal mountain
#

what is that called

primal perch
#

idk where did you get it

surreal mountain
#

fron nslog pseudocode

primal perch
#

ye

#

it wont brick your pc either

#

its fine

#

:trust:

#

gcc file.c

#

go ahead do it

#

executable

#

:nfr:

#

a.out

#

go ahead run a.out

surreal mountain
#

i really want to learn this low level stuff

primal perch
#

thats literally raw machine code

surreal mountain
#

what does that do

primal perch
#

stack

#

it subtracts a value from the stack pointer puts value there

#

stack pointer must be maintained after every subroutine or the program will shit itself

#

same concept yea

#

well most of them arent on the keyboard and are just arbitrary bytes

#

so you wont be able to type them out like that

#

yea

surreal mountain
primal perch
#

L

#

find the 0x4142430A pattern and you can change what it prints

#

you can only modify those 4 bytes though

#

any addition or subtraction of the amount of bytes and the program wont execute because addresses are wrong

#

not necessarily overflows it would just start executing shit that could be data

#

or the wrong opcode order

#

undefined behavior

twilit jungle
#

so overwrite everything and it works

primal perch
#

the exact file yea

#

n

#

oh yeah you cant just copy that ma chine code is that what youre doing

tepid olive
#

true

primal perch
#

that works as an object file but it wont execute

tepid olive
#

when you're sure that your thing is finished and you find a horrible bugAngerycry

primal perch
#

to do that youd have to copy the entire linked file and then its the exact same so yeah itll work

#

not by hand surely

#

yea

#

:frcoal:

#

or just use cp like a normal person

#

yea good

#

doing that all by hand youd need help

rain falcon
primal perch
#

true

#

eh im bored ill walk you through a little experiement

#
#include <stdio.h>

int main(void)
{
    for (int i = 0; i < 8; i++) {
        printf("bruh %i\n", i);
    } 
}
``` compile this rq
#

what do you think the experiment im showing you is going to be

tepid olive
#

shep is just built different

primal perch
#

its an old c standard really you dont need it these days but i like it

#

true

tepid olive
#

() in c also indicates var args

primal perch
#

its so you cant call a function before the args are defined

#

yea

tepid olive
#

(void) indicates no args

primal perch
#

and anyway run it it should give you the expected outcome you know

#

and send me a copy of the compiled because im on windows rn

#

tru

#

ok now load it up into ida and find the main function

#

hopper then

tepid olive
#

Ida does work on mac and it's fantastic

primal perch
#

assembly is all we need anyway

#

no decomp

tepid olive
#

oh sorry forgot you were pirating 😎 can't relate pepe_smirk

primal perch
#

true lmao

#

so now you should see something akin to this

#

and if not it doesnt really matter since you can use that as areference

#

ye

#

yup thats it

#

yea

#

and we're going to make it print it 30 times instead of 8

#

with nothing but a patch

#

because the for loop has to check how many times we want to do it

#

each iteration

#

see if you can find what instruction would need to be patched

#

to do it 30 times

#

1e

#

so we need to change the immediate in the instruction cmp to 0x1e

#

83 7D F8 08

#

thats the whole instruction

#

something something x86 encodings the immediate is at the end

rain falcon
#

nfr

primal perch
#

tru

#

4 bytes vs 8

#

word is 2

tepid olive
#

word is 16 bytes on intel x86

#

bits*

#

God damn. Looking at x86 makes me realize that I really dont know x86

primal perch
#

beginning of subroutine wherever that is

#

push rbp just pushed the stack base pointer onto the stack

tepid olive
#

i mean I can get a sense of what's happening. just looks like a bunch of spam

primal perch
#

no

#

thats the process mapping address

#

well actually i think that can be anything either

#

regardless we only care about the offsets rn

#

anyway the stack pointer is at some undefined value (at static analysis) the OS gives your process anytime it runs

#

well thread more specifically

#

creating a new thread gives you a new stack pointer

#

and new register states

#

anyway

#

yea this is pretty unoptimized assembly since we just used -O0

#

but anyway find the cmp instruction thats where it eventually goes to loc f7f right

#

jge is jump if greater than

#

which checks the processor flags set by cmp or test

#

see the offset for the instruction cmp now

#

0xf56

lethal kayak
#

dickword vs qockword

primal perch
#

true

tepid olive
#

in asm you get global variables as registers have fun 😎

primal perch
#

jge doesnt even check any registers

#

well thats al ie

#

it checks the flag register

#

of which the flags are set by something like cmp

#

anyhoo open hex fiend go to 0xf56 + the immediate offset in the cmp instruction

#

which is like 2 or 3

#

3

#

change the 08 to 1E save it and run

#

no recompiling or any of that

faint timber
#

what I do

primal perch
#

yeah or one of its sibilngs

#

like jump relative jump absoluite but yea just jmp

rain falcon
#

nfr

tepid olive
#

damn. That sucks @grave sparrow can't relate 😎

primal perch
#

i literally forgot how to spell siblings

#

there

#

click the sidebar it shows hex offsets

faint timber
#

@grave sparrow delet ida home

primal perch
#

instead of dec

#

wait hold

#

no thats right

#

continue

#

no

#

at f56 is 83

#

now 3 bytes to the right just change that shit to 1e or anything between 0 and ff

#

doesnt really matter

#

as long as its just the immediate

#

well wherever the 08 is

#

probably 6

#

save and run and enjoy

#

tru

#

most instructions are more than 1 byte

#

in size

#

the immediate needs to be stored somewhere

#

well how is it going to store cmp [rbp - 0x8], 8 in one byte thats a lot right

faint timber
#

name jeff

primal perch
#

one byte of instructions worth is only 256 possible instructions

lethal kayak
#

name jeff
@faint timber

primal perch
#

the amount of possible x86 instruction combinations is massive

faint timber
#

tell that to aarch64

primal perch
#

no

#

nop and ret are 0x90 and 0xc3 accordingly

#

one byte one ins truction

#

it really depends on the instruction

lethal kayak
#

nop is the best instruction

primal perch
#

fr

lethal kayak
#

use a converter

primal perch
#

the 2000 page manual or assembler

#

i like the latter option

faint timber
#

0x1F2003D5

lethal kayak
#

nop

primal perch
#

mov eax 0 stuff like that

faint timber
#

0x000020D4

lethal kayak
#

true

faint timber
#

0x011000D4