Doubt on pointer searching

Fehniix

Member
OP
Newcomer
Joined
Aug 22, 2019
Messages
18
Trophies
0
Age
28
XP
104
Country
Australia
Hello guys!

I've been attempting to develop a little trade bot for S/V and found difficult to get ahold of a couple, very particular addresses, along with their pointers.

One of these could be the trade partner's status (or the offered Pokemon): it's a 32-bit unsigned value that is equal to 2 when the partner is currently in the process of choosing a Pokemon to trade, and 3 when chosen. This value gets allocated dynamically at the start of each trade session.
Figuring out the address on the heap is easy enough through Noexs (albeit very slow), but finding out pointers is a bit a of a different story.
I would like to use PointerSearcher SE to search for pointers, but the dumps generated by Noexs could not be read by PointerSearcher SE, being different formats (has anyone ever wrote a converter?). I could definitely generate a dump via PointerSearcher SE... but it would freeze the game whilst dumping the heap & main (unpausing the game first doesn't help unfortunately). If the game gets frozen, the trade comes to an end because one of the two Switches times out.

Thus, question: does the game being frozen somehow impact on the dump being pulled from the Switch? Better yet, if the game is frozen, are the heap & main going to remain unchanged?
Post automatically merged:

Update!
I'll be answering my own question for whomever might be interested!

It's likely that the game being frozen means HEAP and MAIN are as well! I'll be testing this further to know for certain, and look through JNoexs's sysmodule code, but I'm pretty confident PointerSearcher's RAM dumps to be an accurate snapshot of the instant in which the dump was requested. :)
 
Last edited by Fehniix,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    D @ dadadad: блядь