Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Granblue Fantasy: Relink - Finding Session ID in memory

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
kamiknx
Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 35

PostPosted: Thu Mar 07, 2024 7:33 am    Post subject: Granblue Fantasy: Relink - Finding Session ID in memory Reply with quote

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]

_________________
神 Knx
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4307

PostPosted: Thu Mar 07, 2024 1:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
kamiknx
Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 35

PostPosted: Sun Mar 10, 2024 10:04 am    Post subject: Reply with quote

I guess I don't really know what I'm doing.

I managed to get a pointer



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.

_________________
神 Knx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites