Can we get a specified section address in the cheat code?

  • Thread starter Thread starter Eiffel2018
  • Start date Start date
  • Views Views 2,212
  • Replies Replies 4

Eiffel2018

Well-Known Member
Member
Joined
Aug 23, 2020
Messages
1,582
Reaction score
8,412
Trophies
3
Age
26
XP
10,632
Country
Hong Kong
I want to modify an extend NSO loaded in the game
e.g.
MarioSunshine.nrs.elf: 00000000008085E4 MOV W10, #0x2710 ; it gives infinite water

i.e. I want to change the content of address 0x6378690000 + 0x8085E4 to 5284E20A

However the Main NSO (Hagi.nss) section does not store any address relative to MarioSunshine.nrs.elf
1636284166374.png


I've search 6378690000 in the memory between all Main and Heap sections, but failed.
Only 2 results found, they are in AliasCodeData Segment, and it is not fixed address I believe, so I cannot use Main+xxxxx to locate it.
1636284941597.png


(I don't want to accomplish it by Mod)
Is there any way to get a specify segment address (other NSO beside Main MSO) by Cheat code?

According to https://github.com/Atmosphere-NX/Atmosphere/blob/master/docs/features/cheats.md
The memory type include (0 = Main NSO, 1 = Heap, 2 = Alias, 3 = Aslr).
1636286643343.png

For type 3, it is so powerful I believe, it can be outside Main and Heap.
Is there any hidden value store in there that I can access and get use with it?
 
If it's always a start of alias, then i think this should be enough

Code:
04200000 008085E4 5284E20A

Ofc if ELF file matches 1:1 with what is loaded to RAM.
 

Site & Scene News

Popular threads in this forum