Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
How do I disassemble 3ds games with Ghidra
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BinaryGears" data-source="post: 9697663" data-attributes="member: 577080"><p>It looks like there is a loader, an open-source one, that is supposed to work for 3ds that is located on github; I have not used the loader or have any experience in reverse engineering 3ds games so I am not sure if it really does work. I have not done much with ARM assembly but a quick search turns up that the 3ds uses an ARM11 or some variation of it. I know Ghidra has some ARM support but I don't know how well it supports that version of ARM processor. </p><p></p><p>Have you tried opening up your binary with Ghidra to see what happens? </p><p></p><p>Assuming you open it up and can get some form of disassembly, you would have to know more about the internals of a 3ds I would assume. The function calls and various other parts of the code will be hard to read as it especially without knowing much about the 3ds OS and hardware. I would look to the homebrew scene for this console, as well as reverse engineering docs or any docs in general that might lend to a better understanding of how the console works. You could possibly find some homebrew game that is open source, this would be a pretty big win because you could compare the source to the de-compiled code and also learn more about the internals of the system at the same time.</p><p></p><p>It depends on what you want to do with the disassembly what you will do from there, look to the disassembly of OOT for the N64. I am not sure how many people worked on it but it took a while and a lot of tools to accomplish porting the code to a readable and ready to compile version of C.</p></blockquote><p></p>
[QUOTE="BinaryGears, post: 9697663, member: 577080"] It looks like there is a loader, an open-source one, that is supposed to work for 3ds that is located on github; I have not used the loader or have any experience in reverse engineering 3ds games so I am not sure if it really does work. I have not done much with ARM assembly but a quick search turns up that the 3ds uses an ARM11 or some variation of it. I know Ghidra has some ARM support but I don't know how well it supports that version of ARM processor. Have you tried opening up your binary with Ghidra to see what happens? Assuming you open it up and can get some form of disassembly, you would have to know more about the internals of a 3ds I would assume. The function calls and various other parts of the code will be hard to read as it especially without knowing much about the 3ds OS and hardware. I would look to the homebrew scene for this console, as well as reverse engineering docs or any docs in general that might lend to a better understanding of how the console works. You could possibly find some homebrew game that is open source, this would be a pretty big win because you could compare the source to the de-compiled code and also learn more about the internals of the system at the same time. It depends on what you want to do with the disassembly what you will do from there, look to the disassembly of OOT for the N64. I am not sure how many people worked on it but it took a while and a lot of tools to accomplish porting the code to a readable and ready to compile version of C. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
How do I disassemble 3ds games with Ghidra
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
a_username_that_is_cool
Loading…
what aren't you looking at, Xdqwerty?
Xdqwerty
Loading…
what are you looking at?
Sonic Angel Knight
Loading…
PandaPandel
Loading…
NinStar
Loading…
Sicklyboy
Loading…
@
Sicklyboy
:
This used to be called the shoutbox
32 minutes ago
@
Sicklyboy
:
Chat
32 minutes ago
@
Xdqwerty
:
@Sicklyboy
, when?
31 minutes ago
@
Sicklyboy
:
Couple years at least
30 minutes ago
tempBOT:
a_username_that_is_cool
rolls 1d6 and gets 5 (5).
30 minutes ago
tempBOT:
@
a_username_that_is_cool
has failed the roll
30 minutes ago
tempBOT:
@
a_username_that_is_cool
will not be recieving brain treatment
30 minutes ago
@
a_username_that_is_cool
:
What's a "tempbot"?
29 minutes ago
tempBOT:
Xdqwerty
rolls 1d6 and gets 3 (3).
29 minutes ago
tempBOT:
Sicklyboy
rolls 1d6 and gets 3 (3).
29 minutes ago
@
Xdqwerty
:
@a_username_that_is_cool
, no more fire in the hole
29 minutes ago
@
Sicklyboy
:
Man we were gonna have a game night at my buddy's house but he wasn't feeling great so he canceled, which throws my dinner plans up into the air, so I guess it's time to order a pizza or something
27 minutes ago
@
Sicklyboy
:
Biiiiiig thunder
22 minutes ago
@
a_username_that_is_cool
:
What's a "fire in the hole"?
22 minutes ago
@
a_username_that_is_cool
:
Someone help me
22 minutes ago
@
Sicklyboy
:
Can't wait for power to go out for just a few minutes longer than my UPSes las
22 minutes ago
@
Xdqwerty
:
@a_username_that_is_cool
,
https://gbatemp.net/threads/geometry-dash-2-2-be-like.646329/
20 minutes ago
@
a_username_that_is_cool
:
Thank you for ending my head trauma
+1
18 minutes ago
tempBOT:
@
a_username_that_is_cool
has been completely healed! Somehow...
18 minutes ago
@
NinStar
:
who the fuck killed the chat history
17 minutes ago
@
PandaPandel
:
some gamer gaming
+2
16 minutes ago
@
Sonic Angel Knight
:
15 minutes ago
@
Sonic Angel Knight
:
There is a panda in chat.
15 minutes ago
@
Xdqwerty
:
@a_username_that_is_cool
, cuz you got lobotomized?
11 minutes ago
@
a_username_that_is_cool
:
Idk
11 minutes ago
Submit
@
a_username_that_is_cool
:
Idk
11 minutes ago
Chat
6