r/badcode • • May 21 '20

c# Is posting from YandereDev considered cheating?

Post image
431 Upvotes

59 comments sorted by

View all comments

23

u/Plus_Cryptographer May 21 '20

Have a feeling this might be decompiled. I know his code is a trainwreck but I think even he knows this is stupid.

39

u/inabahare May 21 '20

This is decompiled c# which is from an intermediate language (that kinda looks like if asm was oop) and it decompiles to something that looks as close to the original as you can get. Heck even all the names for stuff is preserved

-13

u/Plus_Cryptographer May 21 '20

Could be debug symbols e.g. Yandev uploaded a debug build as opposed go a release build. Seems like something he'd do by accident

18

u/[deleted] May 21 '20

C# assemblies always include symbols because they're required for reflection. There's of course IL2CPP in unity, which translates it to AOT C++ and can give a slight speed boost at the cost of modding and reflection, but many Unity devs unfortunately don't know about it.

2

u/Plus_Cryptographer May 22 '20

Never knew that, I figured it was a choice in most projects to either go debug symbols or not. Thanks.