Toot

Written by Foone🏳️‍⚧️ on 2025-01-02 at 13:23

so the game uses a pattern like this:

char * RANKS="Rookie\0Sleuth\0Private Eye\0Investigator\0Ace Detective\0"

and then latter they do:

char* your_rank = select_string(RANKS, player->rank);

and select_string is a confusing function to reverse engineer, but knowing the name I gave it gives it away: it advances through the list until it's on the nth string and returns it

=> More informations about this toot | View the thread | More toots from foone@digipres.club

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113758976704675815
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
221.487874 milliseconds
Gemini-to-HTML Time
0.586538 milliseconds

This content has been proxied by September (3851b).