mirror of
https://github.com/pret/pmd-sky.git
synced 2026-10-02 07:08:09 -05:00
363d3edb859b1f57e1a285086b9a338a181e9ce8
Decompile from asm: GetAdvancedMenuCurrentOption 0x0202BCFC GetWindowIdSelectedMenuItemIdx 0x0202C748 IsDialogueBoxActive 0x0202F180 GetWindowIdPageStart 0x02030A18 GetAdvancedTextBoxFlags2 0x02030A40 GetSelectedMenuItemIdx 0x02032578 GetSelectedMenuItemIdx computes the absolute item index from the paging struct added in the previous commit, current page times items per page plus the selection within the page, which the target folds into one mla. GetWindowIdPageStart, GetWindowIdSelectedMenuItemIdx and GetAdvancedMenuCurrentOption resolve a window and forward to the paging functions at offset 4 of its contents. The last two have identical bodies and are decompiled as written rather than one calling the other, since that is what the target does. struct unk_0202AAA8 gains two fields the other two functions read: a byte at 0x8 and a word at 0x1B0. The filler before 0x198 is split to expose the first without moving anything after it. No comments are added to any pmd-sky file. Authored by Claude (Opus 5) under human direction. Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…
…
…
…
…
…
Pokémon Mystery Dungeon: Explorers of Sky
This is a WIP disassembly of Pokémon Mystery Dungeon: Explorers of Sky. For instructions on how to set up the repository, please read INSTALL.md. For information on how to contribute changes, see CONTRIBUTING.md.
This repository builds the following ROMs:
- pmdsky.us.nds
sha1: 5fa96ca8d8dd6405d6cd2bad73ed68bc73a9d152 - pmdsky.eu.nds
sha1: c838a5adf1ed32d2da8454976e5b1a1aa189c139 - pmdsky.jp.nds
sha1: 7785138dd343b6f2d0f2c9cadc26b4aa927161d7
For contacts and other pret projects, see pret.github.io.
Description
Languages
Assembly
66.3%
C
18%
C++
7.1%
Boogie
4.3%
sed
1.5%
Other
2.8%