Skip to content

util: Add type for RelocationTable::Entry - #71

Open
MonsterDruide1 wants to merge 1 commit into
open-ead:masterfrom
MonsterDruide1:binary-relocation-entry
Open

util: Add type for RelocationTable::Entry#71
MonsterDruide1 wants to merge 1 commit into
open-ead:masterfrom
MonsterDruide1:binary-relocation-entry

Conversation

@MonsterDruide1

@MonsterDruide1 MonsterDruide1 commented Jul 20, 2026

Copy link
Copy Markdown

There is no trace of this type existing as a type/class in the game's binary or SDK, but it greatly simplifies code around relocations.

Names for the offsets have been taken from https://nintendo-formats.com/libs/switch/binary.html#relocation-entry, and independently verified to be correct by looking into nn::util::RelocationTable::Relocate(void) (from the SDK).


This change is Reviewable

@MonsterDruide1 MonsterDruide1 self-assigned this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant