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

Add topics here with methods, analysis, code snippets, mods etc. for a certain game that normally won't make it in the Tables or Requests sections.
Post Reply
brunolm
Noobzor
Noobzor
Posts: 8
Joined: Sun Sep 15, 2019 2:11 am
Reputation: 0

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

Post 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?

brunolm
Noobzor
Noobzor
Posts: 8
Joined: Sun Sep 15, 2019 2:11 am
Reputation: 0

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

Post 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.

Post Reply

Who is online

Users browsing this forum: elfwong