Posted: Thu Mar 07, 2024 7:33 am Post subject: Granblue Fantasy: Relink - Finding Session ID in memory
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 `####`
Code that calls the swap function
String display memory
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?[/img] _________________
Code that swaps between `****` and `####` - that's just a memcpy routine, or something analogous to it.
Code that calls the swap function - not enough information to figure out what's going on. Maybe that `test r12b,r12b` instruction checks if it's displayed as `****` or `####`, but that's naively hopeful. Everything below that in the image is just string / vector operations. Everything above that... no idea. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum