elekk.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.

Server stats:

75
active users

as a result of the class-that-holds-two-hundred-and-forty-eight-function-pointers-that-could've-been-a-static-link IDA's decompilation looks like this

Quiet public
Quiet public

@nightshade never has a diagonal line been more threatening

Public

@nightshade That looks almost as awful as the MOVuscator

Public
@nightshade lol i wonder why didnt it see a jumptable then, i wonder how the assembly looks like
Public

@gorplop it certainly looks.

Public

@gorplop it didn't see a jumptable because there is no jumptable, the function is genuinely written like this and i think that is horrifying

Quiet public

@nightshade @gorplop there's a good chance this is just generated code, or rather, a result of some sort of sloppy metaprogramming, though this may have been solveable via imports(?) It looks fine, generally speaking.
At least you'd have a easy time writing a script to map out a struct containing all the imports for you :)

Quiet public

@laurie @gorplop 🐺 100% this is not metaprogramming this game is from 2006 and took the path of least resistance on everything, including serving its netcode via HTTP (yes, plaintext!!!) including unencrypted passwords. it also does not validate that replays make sense