mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-28 05:07:58 -05:00
75c76fa71feccb144cfb6cba324137a364709863
Decompile from asm: GetSelectedItemOnPage 0x02032558 GetCurrentPage 0x02032560 GetPageStart 0x02032568 GetTotalNumMenuItems 0x0203258C GetNumItemsOnPage 0x02032594 GetMaxItemsOnPage 0x0203259C GetTotalNumPages 0x020325A4 Six read one word each from a struct with no existing type, introduced here as struct unk_02032558 with placeholder fields at 0xBC through 0xD0. GetPageStart multiplies two of them, current page by max items per page, which is consistent with the names but is an observation about the arithmetic rather than something the bytes label. GetSelectedItemOnPage was declared provisionally in include/main_0202AAA8.h last commit, taking void *, because it was still asm. That declaration is removed and its caller now includes the real header. The argument reaching it there is a void * offset by 4 from the window contents, which converts implicitly; the caller's object is rebuilt here and still matches. 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%