binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
Country
United States
This video shows how to use IDA Pro 7.6 as a debugger for Nintendo Switch games in order to create ASM Cheats, even if the MAIN file of the game is completely unlabeled. The video also goes over Zero-Level Pointers, a concept I forgot to go over in Part 3 of the Video Series. Finally, this video also makes some corrections to Part 4 of the Video Series, as the MOV instruction was misrepresented.
Thanks to @Eiffel2018 for his posts. I used his posts from here and here in order to make this video.

My god…there‘s hours and hours of content here.

Thanks for putting it all together!

Down the rabbit hole I go.
 

absso

Member
Newcomer
Joined
Jul 21, 2022
Messages
18
Trophies
0
Age
26
Location
quebec
XP
88
Country
Canada
I must start by saying that I work with the game [Pokemon Legends, Arceus v1.1.1(v262144) TID=01001F5010DFA000].

first question: how to find the master code of a game and more specifically in the pokemon arceus game?

second question:

(trying to figure out how to do a 1hit kill ) AND GOD mod
Here are the steps I take to achieve my manipulation:

1. Hp search (address **64 BIT **) with Edizion SE in a battle, performs a search each time my pokemon is hit.

2. Once an address is found, press the right stick to display in memory and take note of the numbers between the brackets.


3.disconnect Edizion SE and connect IDA Pro 7.6

4. set the parameters as follows: *see image 1-2*

5.search with ladress find on Edizon SE (memory).(see screenshoot *3*)

6.put a breakpoint on the address.(screenshoot *4*)

7. Press play and trigger the breaking point upon enemy attack.

8. got the instruction (*picture 5*)

9. type get info and subtract Main - Address
(*picture 6*)

10. open a second IDA PRO and open the Main file. (*PICTURE 7*)
set to ARM

problem: when i try to jump to my adress in my second IDA PRO i got no results... (*PICTURE 8*)

maybe its because my value is in 32 bit not 64 bit?

also can someone tell me what i should do after Step 8 (i try to NOP the instruction but nothing happend...so i was like oh maybe its a multiple pointer but when try the same breakepoint with the NOP active i got nothing. It Says : breakingPoint Hit but i got the same adress. If Anyone want to help me on the forum or teach me i have discord : Absso#9992. Thank you :)
 

Attachments

  • 1.PNG
    1.PNG
    77.4 KB · Views: 118
  • 8.PNG
    8.PNG
    141.1 KB · Views: 114
  • 7.PNG
    7.PNG
    75.4 KB · Views: 109
  • 6.PNG
    6.PNG
    272 KB · Views: 110
  • 5.PNG
    5.PNG
    126.8 KB · Views: 108
  • 4.PNG
    4.PNG
    141.6 KB · Views: 106
  • 3.PNG
    3.PNG
    134.1 KB · Views: 99
  • Memory Edizon.jpg
    Memory Edizon.jpg
    327.3 KB · Views: 81
  • Search Edizon.jpg
    Search Edizon.jpg
    317.8 KB · Views: 101
  • 2.PNG
    2.PNG
    70.7 KB · Views: 100
  • Like
Reactions: Hmed

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,297
Trophies
3
XP
12,074
Country
Poland
problem: when i try to jump to my adress in my second IDA PRO i got no results... (*PICTURE 8*)
This is because you're pasting ASLRed address while IDA has fixed start address at 0x7100000000.
You need to subtract ASLR main start address from the address you have and add result to 0x7100000000.
And since you closed the game, those addresses will be now different. You must to do it in one session.
 

absso

Member
Newcomer
Joined
Jul 21, 2022
Messages
18
Trophies
0
Age
26
Location
quebec
XP
88
Country
Canada
This is because you're pasting ASLRed address while IDA has fixed start address at 0x7100000000.
You need to subtract ASLR main start address from the address you have and add result to 0x7100000000.
And since you closed the game, those addresses will be now different. You must to do it in one session.
Are you talking about screenshot 6? Because I subtract the value ?
 
  • Like
Reactions: Hmed

absso

Member
Newcomer
Joined
Jul 21, 2022
Messages
18
Trophies
0
Age
26
Location
quebec
XP
88
Country
Canada
This is because you're pasting ASLRed address while IDA has fixed start address at 0x7100000000.
You need to subtract ASLR main start address from the address you have and add result to 0x7100000000.
And since you closed the game, those addresses will be now different. You must to do it in one session.
Also the game is still open so it's never too late :)
 
  • Like
Reactions: Hmed

absso

Member
Newcomer
Joined
Jul 21, 2022
Messages
18
Trophies
0
Age
26
Location
quebec
XP
88
Country
Canada
This is because you're pasting ASLRed address while IDA has fixed start address at 0x7100000000.
You need to subtract ASLR main start address from the address you have and add result to 0x7100000000.
And since you closed the game, those addresses will be now different. You must to do it in one session.
Fix it! but now im here(picture) what is the next step? because its not like the video..,so what should i do? please?
 

Attachments

  • Capture.PNG
    Capture.PNG
    130.4 KB · Views: 104
  • Like
Reactions: Hmed

absso

Member
Newcomer
Joined
Jul 21, 2022
Messages
18
Trophies
0
Age
26
Location
quebec
XP
88
Country
Canada
This is because you're pasting ASLRed address while IDA has fixed start address at 0x7100000000.
You need to subtract ASLR main start address from the address you have and add result to 0x7100000000.
And since you closed the game, those addresses will be now different. You must to do it in one session.
Do you have discord?
 
  • Like
Reactions: Hmed

absso

Member
Newcomer
Joined
Jul 21, 2022
Messages
18
Trophies
0
Age
26
Location
quebec
XP
88
Country
Canada
You don't have room to put a custom value in, but you could always NOP the STR instruction you got and see what happens. Maybe it makes both you and the opponent invincible? Maybe it insta-kills both of you? If you find it effects both you and your opponent, which it likely will, give it a button activator so you can turn it off/on at your turn and then toggle it at your opponent's turn.

This way, if it's a god mode code, it only makes you invincible. Or, if it's an insta-kill code, only insta-kills your opponent.
Thanks man thats exactly what I did! Nice work and thank you for your awnser
 
  • Like
Reactions: Hmed

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol