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

Eiffel2018

Well-Known Member
OP
Member
Joined
Aug 23, 2020
Messages
1,524
Trophies
3
Age
23
XP
9,054
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?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
5,785
Trophies
3
XP
10,827
Country
Poland
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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: Lol +1