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

Eiffel2018

Well-Known Member
OP
Member
Joined
Aug 23, 2020
Messages
1,582
Trophies
3
Age
24
XP
10,237
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
6,351
Trophies
3
XP
12,219
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Good for you