Page 1 of 1

Granblue Fantasy: Relink need helping finding the Session ID in memory

Posted: Thu Mar 07, 2024 1:32 pm
by brunolm
To create a game where others can join you have to create a session. When you create a session, a code is generated and displayed as `#### #### #### ####` where `#` is hex numbers.

There's an option in-game to show/hide the information, which makes the string swap to `**** **** **** ****` instead.

It's easy to find the string as it's very unique, however, every time I restart the game the address changes. And the value I'm finding is only the display value, if it's hidden, I cannot find the session id.

My end goal is to find the session id in memory without having to talk to the NPC so I can display it to the user and allow them to copy & paste the code without the need to use OCR.

Relevant findings:

Code that swaps between `****` and `####`
Image

Code that calls the swap function
Image

String display memory
Image

Any ideas on how I can find the session code before it's displayed? How is it stored in memory? Concatenated? Different format? Can I find it every time the game restarts?

Re: Granblue Fantasy: Relink need helping finding the Session ID in memory

Posted: Sun Mar 10, 2024 4:03 pm
by brunolm
I managed to get a pointer

Image

But this only shows the value if I talk to the NPC and unhide the info. I wish I could get the value that's stored somewhere else.