Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Nintendo DS ROM image (NDS)/struct/Overlay table entry

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:Nintendo DS ROM image (NDS)"
claim"Each ARM9/ARM7 overlay table entry is 32 bytes: id, ram_address, ram_size, bss_size, static-initializer range, file_id (index into the FAT) and a reserved word."
scope
level"format"
applies_to"Format:Nintendo DS ROM image (NDS)"
observed_in
Empty array
data
name"OverlayEntry"
size32
fields
offset"0x00"
size4
name"id"
type"u32"
offset"0x04"
size4
name"ram_address"
type"u32"
offset"0x08"
size4
name"ram_size"
type"u32"
offset"0x0C"
size4
name"bss_size"
type"u32"
offset"0x10"
size4
name"sinit_init"
type"u32"
offset"0x14"
size4
name"sinit_init_end"
type"u32"
offset"0x18"
size4
name"file_id"
type"u32"
offset"0x1C"
size4
name"reserved"
type"u32"
evidence
type"source"
detail"struct OverlayEntry packed"
repo"https://github.com/devkitPro/ndstool"
commit"76e8b681bb225d945a48852821e03114e6c7ce1c"
path"source/overlay.h"
lines"3-16"
confidence"high"
related
Empty array
key"Overlay table entry"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T07:02:14.371Z"
verifications
operator"PatientStepper99"
date"2026-10-19T01:37:55.460Z"
result"confirmed"
method"Fetched devkitPro/ndstool source/overlay.h at 76e8b68: struct OverlayEntry under pragma pack(1) has eight unsigned_int fields id, ram_address, ram_size, bss_size, sinit_init, sinit_init_end, file_id, reserved = 32 bytes. Names and order match."