# config/data_members.pal.txt -- the ICO PAL retail ELF's data-only ico2000.a members.
#
# One row per (member, section) for every member that MAIN.MAP lists with
# .data/.rodata/.sdata but no .text, plus three runs in the same data-only
# territory that MAIN.MAP does not list (member name unmapped_<VMA>).
# Each member, typed by config/data_schema.pal.txt, is written as one C
# translation unit by tools/gen_data_c.py (build/pal/data/<member>.c, its rows the
# sections of that one object), which reads this table and the user's own
# baserom/pal/baseelf.elf; the bytes are never committed.
#
# Columns: <section> <member> <rom_lo> <rom_hi> <symbol>@<offset>,...
#   section   the section the bytes occupy in the retail ELF
#   rom_lo/hi VMA range [lo, hi) in baserom/pal/baseelf.elf (rom offset + 0x100000)
#   symbols   MAIN.MAP's names for the member, offset from rom_lo; "-" for none.
#             The three unmapped runs carry the derived name their C reader uses.
#
# Derivation. MAIN.MAP is a DIFFERENT, older link: no address below comes from
# it. It gives each member's order, size and symbols. The retail link loads the
# data-only members in the same passes and in the same (alphabetical, archive)
# order, so each run of them lies between two code-owning members whose ROM
# runs are fixed (the "group" comments). Inside a run every start is pinned by
# the matched C that reads the table from its base (an extern D_<VMA> or a
# symbol_addrs name, "C:"), by pointer words that target it, or by the chain
# (previous start + MAIN.MAP size, aligned, landing on the next pinned start).
# rom_hi is the next start, or the MAIN.MAP end when the ROM confirms that size
# with only zero alignment fill before the next start. Where the retail table
# is larger or smaller than MAIN.MAP's the row says so: those tables changed
# after the January link, and their exact end inside trailing zero fill is not
# recoverable (the bytes are identical either way).

# ---- .data: after 0x2a79b8, before 0x319020 (DObj.o .data (C))
# accessary: C:box.c D_002A79B8 (row base); pool/cage/puddle geo inits. ROM span 0x410 != MAIN.MAP 0x348 (+200 B); the last 16 B are zero (fill or table tail)
data accessary 0x2a79b8 0x2a7dc8 accessary@0x0
# act-data-tbl: C:commonact.c IdleRangeRec D_002A7DC8. size = MAIN.MAP 0x3c + 4 B fill before next
data act-data-tbl 0x2a7dc8 0x2a7e04 actDataTbl@0x0
# act-intrlist: C:act.c IntrMail D_002A7E08 (indexed from 0); IntrMail rows run unbroken to 0x2ad010. ROM span 0x5208 != MAIN.MAP 0x4b00 (+1800 B)
data act-intrlist 0x2a7e08 0x2ad010 actIntrList@0x0
# camera-set: C:camera-editor.c/camera-ico2.c D_002AD010. size = MAIN.MAP 0xae0
data camera-set 0x2ad010 0x2adaf0 cameraSetList@0x0
# game-param: C:act-game.c float D_002ADAF0[] (_ACTGame_GetParamF). ROM span 0xb0 != MAIN.MAP 0x90 (+32 B)
data game-param 0x2adaf0 0x2adba0 gameParam@0x0
# unmapped_002ADBA0: C:lws_kyomi.c struct HintDef D_002ADBA0; no MAIN.MAP member; float run of game-param ends at 0x2adba0. not in MAIN.MAP; span 0x1c0
# the label is hintTable, lws_kyomi.c's derived name for it (MAIN.MAP has no name for this run)
data unmapped_002ADBA0 0x2adba0 0x2add60 hintTable@0x0
# motion-orient: C:commonact.c/motionOrientManager.c D_002ADD60. ROM span 0xe760 != MAIN.MAP 0xc8d0 (+7824 B)
data motion-orient 0x2add60 0x2bc4c0 motionOrient@0x0
# node-fix-ofs: C:commonact.c ClingRec D_002BC4C0 (clingData). size = MAIN.MAP 0x21c + 4 B fill before next
data node-fix-ofs 0x2bc4c0 0x2bc6dc clingData@0x0
# obj-action: C:objact.c/girlForceField.c OaRecB D_002BC6E0; chain from node-fix-ofs map size. ROM span 0x4b90 != MAIN.MAP 0x3e94 (+3324 B); the last 10 B are zero (fill or table tail)
data obj-action 0x2bc6e0 0x2c1270 objAction@0x0
# obj-kind-data: C:debug.c/gamesys.c ObjKindEnt D_002C1270. ROM span 0x1b58 != MAIN.MAP 0x1a2c (+300 B); the last 9 B are zero (fill or table tail)
data obj-kind-data 0x2c1270 0x2c2dc8 objKindData@0x0
# obj-layout: C:generator.c/ebrain.c/box.c D_002C2DC8. ROM span 0x45bf8 != MAIN.MAP 0x3f458 (+26528 B)
data obj-layout 0x2c2dc8 0x3089c0 objLayout@0x0
# parallel-motion-tbl: C:act-parallel-control.c D_003089C0. ROM span 0x3b20 != MAIN.MAP 0x290c (+4628 B)
data parallel-motion-tbl 0x3089c0 0x30c4e0 parallelMotionTbl@0x0
# sekind: C:s_init.c/debug.c unsigned short D_0030C4E0. ROM span 0xb18 != MAIN.MAP 0xada (+62 B); the last 2840 B are zero (the whole span)
data sekind 0x30c4e0 0x30cff8 seKind@0x0
# tex-property: C:jimaku.c JimakuLayout D_0030CFF8, layout_texture.c LtProperty D_0030CFF8. ROM span 0xbec0 != MAIN.MAP 0xa200 (+7360 B)
data tex-property 0x30cff8 0x318eb8 texProperty@0x0
# weapon-def: C:attackhit.c WeaponKindEntry D_00318EB8 (0x24 rows x10 end exactly at DObj); MAP puts weapon-def in .rodata. ROM span 0x168 != MAIN.MAP 0x120 (+72 B); MAIN.MAP section .rodata
data weapon-def 0x318eb8 0x319020 weaponKind@0x0

# ---- .data: after 0x4e4610, before 0x4e5520 (a_p_1 .data (C))
# staffroll_dat: C:staffroll.c staffRollNameData (symbol_addrs); a_p_1 .data = its map size 0x510 back from act_a_p_1 0x4e5a30. ROM span 0xf10 != MAIN.MAP 0x10c8 (-440 B); the last 9 B are zero (fill or table tail)
data staffroll_dat 0x4e4610 0x4e5520 staffRollNameData@0x0

# ---- .data: after 0x4fb970, before 0x54a240 (vobj.o .data (C))
# item-kind-def: C:item.c itemKind (symbol_addrs). ROM span 0xe0 != MAIN.MAP 0x8c (+84 B); the last 10 B are zero (fill or table tail)
data item-kind-def 0x4fb970 0x4fba50 itemKind@0x0
# mirror-motion-def: C:motionOrientManager.c MotOriAlt D_004FBA50; -1-terminated lists end 0x4fba80. ROM span 0x30 != MAIN.MAP 0x18 (+24 B)
data mirror-motion-def 0x4fba50 0x4fba80 mirrorMotionTable@0x0
# model-path: C:PObj.c PObjMdl D_004FBA80, charFileManager.c SkelEnt D_004FBA80. ROM span 0x37f40 != MAIN.MAP 0x65be4 (-187556 B)
data model-path 0x4fba80 0x5339c0 modelData@0x0
# prog-se-link: C:frameDependSequence.c SePackage D_005339C0. ROM span 0x600 != MAIN.MAP 0x5c4 (+60 B)
data prog-se-link 0x5339c0 0x533fc0 progSELink@0x0
# unmapped_00533FC0: C:boy.c MotSyncPair D_00533FC0; no MAIN.MAP member; progSELink's -1 terminator ends at 0x533fc0. not in MAIN.MAP; span 0x28
# the label is motSyncPairs, boy.c's derived name for it (MAIN.MAP has no name for this run)
data unmapped_00533FC0 0x533fc0 0x533fe8 motSyncPairs@0x0
# texture-layout: C:layout_texture.c LtProp D_00533FE8. ROM span 0x1180 != MAIN.MAP 0x1068 (+280 B)
data texture-layout 0x533fe8 0x535168 texLayout@0x0
# texture-path: C:layout_texture.c char D_00535168[][0x34] (kanban, charFileManager ReadTextureFile); MAP puts texture-path in .rodata. ROM span 0xf08 != MAIN.MAP 0x680 (+2184 B); MAIN.MAP section .rodata; the last 35 B are zero (fill or table tail)
data texture-path 0x535168 0x536070 texFile@0x0
# way-point: C:way_tool.c wayPointSheet (symbol_addrs). ROM span 0x13fd0 != MAIN.MAP 0x12f84 (+4172 B); the last 16 B are zero (fill or table tail)
data way-point 0x536070 0x54a040 wayPointSheet@0x0
# weapon-fumble-def: C:weapon.c FumbleRow D_0054A040. size = MAIN.MAP 0x1f8 + 8 B fill before next
data weapon-fumble-def 0x54a040 0x54a238 weaponFumbleGeo@0x0

# ---- .rodata: after 0x5577ca, before 0x5d3b58 (act-parallel-control.o .rodata (C, holds motion-random-def's bytes))
# act-mode-def: C:act.c/act-game.c D_005577D0. ROM span 0x2580 != MAIN.MAP 0x2490 (+240 B)
rodata act-mode-def 0x5577d0 0x559d50 actModeTbl@0x0
# adpcmfile: C:adpcm_init.c/debug.c D_00559D50; MAP places adpcmfile after mv_vibuf, the ROM in alphabetical position of this pass. ROM span 0x1a40 != MAIN.MAP 0x1800 (+576 B)
rodata adpcmfile 0x559d50 0x55b790 adpcmFile@0x0
# attack-def: C:attackhit.c attackData (symbol_addrs). ROM span 0x2d0 != MAIN.MAP 0x2ac (+36 B)
rodata attack-def 0x55b790 0x55ba60 attackData@0x0
# auto-escort: C:girl_act.c EscortPoint D_0055BA60[98]. ROM span 0xab8 != MAIN.MAP 0xa10 (+168 B)
rodata auto-escort 0x55ba60 0x55c518 autoEscortData@0x0
# exit-data: C:act-game.c ExitData D_0055C518, StageManager.c StgEntry. ROM span 0x28c8 != MAIN.MAP 0x2828 (+160 B)
rodata exit-data 0x55c518 0x55ede0 exitData@0x0
# generator-sub-position: C:generator.c generatorSubPosition (symbol_addrs). ROM span 0x70 != MAIN.MAP 0x60 (+16 B)
rodata generator-sub-position 0x55ede0 0x55ee50 generatorSubPosition@0x0
# girl-warp-list: C:warpGirl.c girlWarpList (symbol_addrs). size = MAIN.MAP 0x898
rodata girl-warp-list 0x55ee50 0x55f6e8 girlWarpList@0x0
# iconfile: chain: girl-warp-list + map 0x898 = 0x55f6e8, + map 0xb4 aligned 8 = idle-mot-def; bytes: "NULL", "icon/icon.sys" entries. size = MAIN.MAP 0xb4 + 4 B fill before next
rodata iconfile 0x55f6e8 0x55f79c iconFile@0x0
# idle-mot-def: C:commonact.c int D_0055F7A0[][3]. size = MAIN.MAP 0x84 + 4 B fill before next
rodata idle-mot-def 0x55f7a0 0x55f824 idlingDef@0x0
# init-func: C:cdvd.c PackKind D_0055F828, debug.c. size = MAIN.MAP 0x3a8
rodata init-func 0x55f828 0x55fbd0 initFunc@0x0
# unmapped_0055FBD0: C:jimaku.c char D_0055FBD0[][32] (text/data_EG01.jim ...); no MAIN.MAP member. not in MAIN.MAP; span 0x140
# the label is jimakuFileName, jimaku.c's derived name for it (MAIN.MAP has no name for this run)
rodata unmapped_0055FBD0 0x55fbd0 0x55fd10 jimakuFileName@0x0
# look-target-data: C:act-game.c int D_0055FD10[][3]. ROM span 0x148 != MAIN.MAP 0x12c (+28 B); the last 27 B are zero (fill or table tail)
rodata look-target-data 0x55fd10 0x55fe58 lookTargetData@0x0
# motion-def: C:act-game.c MotionRec D_0055FE58 (motionOrientManager.c too). ROM span 0x713b0 != MAIN.MAP 0x6bd00 (+22192 B)
rodata motion-def 0x55fe58 0x5d1208 motionKind@0x0
# motion-ik-eff-def: C:act-game.c/handManager.c HandModeRow D_005D1208. size = MAIN.MAP 0x70
rodata motion-ik-eff-def 0x5d1208 0x5d1278 motionIKEffKind@0x0
# motion-orient-def: C:commonact.c/motionViewer.c D_005D1278. ROM span 0x28e0 != MAIN.MAP 0x24a0 (+1088 B); the last 18 B are zero (fill or table tail)
rodata motion-orient-def 0x5d1278 0x5d3b58 motionOriKind@0x0

# ---- .rodata: after 0x5d3b58, before 0x5d3ce8 (motion-random-def bytes are C today)
# motion-random-def: C:act-parallel-control.c static actPara_MakeTblTbl[100]; ends where movieFile starts. ROM span 0x190 != MAIN.MAP 0x128 (+104 B)
rodata motion-random-def 0x5d3b58 0x5d3ce8 randomMotionKind@0x0

# ---- .rodata: after 0x5d3ce8, before 0x618f30 (DObj.o .rodata (C))
# moviefile: C:main.c D_005D3CE8; bytes: 0x20-byte path rows from "NULL". ROM span 0xe0 != MAIN.MAP 0xa0 (+64 B); the last 12 B are zero (fill or table tail)
rodata moviefile 0x5d3ce8 0x5d3dc8 movieFile@0x0
# obj-light: C:Light.c float D_005D3DC8[][4]. size = MAIN.MAP 0x30
rodata obj-light 0x5d3dc8 0x5d3df8 objectLight@0x0
# pair-motion: C:commonact.c BecPair D_005D3DF8. ROM span 0xf8 != MAIN.MAP 0x108 (-16 B)
rodata pair-motion 0x5d3df8 0x5d3ef0 pairMotion@0x0
# param-escape-run: C:girl_act.c D_005D3EF0; + map 0x40 = se-env. size = MAIN.MAP 0x40
rodata param-escape-run 0x5d3ef0 0x5d3f30 paramEscapeRun@0x0
# se-env: C:s_init.c D_005D3F30. size = MAIN.MAP 0x2e7c + 4 B fill before next
rodata se-env 0x5d3f30 0x5d6dac seEnv@0x0
# sedef: C:s_init.c/seMail.c/debug.c/frameDependSequence.c D_005D6DB0. ROM span 0x14e38 != MAIN.MAP 0x1458c (+2220 B); the last 20 B are zero (fill or table tail)
rodata sedef 0x5d6db0 0x5ebbe8 seDef@0x0
# sefile: C:s_init.c SeBank D_005EBBE8, charFileManager.c. size = MAIN.MAP 0x28a0
rodata sefile 0x5ebbe8 0x5ee488 seFile@0x0
# selist: C:s_init.c SeKind D_005EE488; sefile + map 0x28a0 lands here exactly. ROM span 0x77e8 != MAIN.MAP 0x76f0 (+248 B)
rodata selist 0x5ee488 0x5f5c70 seList@0x0
# shocklist: C:pad.c PadActDef D_005F5C70, s_init.c. ROM span 0xe0 != MAIN.MAP 0xb8 (+40 B)
rodata shocklist 0x5f5c70 0x5f5d50 shockList@0x0
# stage-all: C:StageManager.c/sceneManager.c/layout_texture.c StgPre D_005F5D50 (106 rows of 0x194 end at 0x600498). ROM span 0xa748 != MAIN.MAP 0xa280 (+1224 B)
rodata stage-all 0x5f5d50 0x600498 stageData@0x0
# stage-anim-model: C:StageAnimation.c StgObjDat D_00600498. ROM span 0x2b08 != MAIN.MAP 0x28d0 (+568 B)
rodata stage-anim-model 0x600498 0x602fa0 objTableScene@0x0
# stage-anim: C:StageAnimation.c StageAnim D_00602FA0 (id * 0x5C); 973 rows of 0x5C, the last a "NULL" row with no -1, end at 0x618d4c. ROM span 0x15dac != MAIN.MAP 0x12204 (+15272 B); 4 B fill before next
rodata stage-anim 0x602fa0 0x618d4c stageTable@0x0
# stream-motion-def: C:st04a.c/st25a.c/e3.c StandbyStreamMotion's file rows (st04a.c streamMotion + 48, D_00618DB0, D_00618DE0; st25a.c D_00618E70, D_00618ED0; e3.c D_00618F00). size = MAIN.MAP 0x1e0: 10 rows of 0x30 from a "NULL" row at 0x618d50, e3.c's D_00618F00 being row 9, end at DObj's "src/DObj.c"
rodata stream-motion-def 0x618d50 0x618f30 streamMotion@0x0

# ---- .rodata: after 0x61df5c, before 0x61ee30 (a_p_1.o .rodata (C))
# staffroll_dat: pointer targets: staffRollNameData's 182 .rodata pointers span 0x61df60..0x61ee08. ROM span 0xed0 != MAIN.MAP 0x10ba (-490 B); the last 14 B are zero (fill or table tail)
rodata staffroll_dat 0x61df60 0x61ee30 -

# ---- .rodata: after 0x62346c, before 0x629d08 (objact.o .rodata (C, holds obj-trigger-def and obj-trigger bytes))
# blend-motion-def: C:motionOrientManager.c blendMotionKind (symbol_addrs); rows end with the 0x47b terminator at 0x624880. ROM span 0x1410 != MAIN.MAP 0xe50 (+1472 B)
rodata blend-motion-def 0x623470 0x624880 blendMotionKind@0x0
# enemy-def: C:enemy.c EnemyDef D_00624880. ROM span 0x4f0 != MAIN.MAP 0x384 (+364 B)
# enemy-def is committed source since 2026-10-24, ico2/sugipon/src/enemyKind.c (the one exception to the data-member rule, docs/LEGAL.md); its run is 0x624880..0x624d70.
# enemy-model-grp: C:sceneManager.c EnemyMdlRec D_00624D70. size = MAIN.MAP 0x190
rodata enemy-model-grp 0x624d70 0x624f00 enemymodelGroup@0x0
# enemy-model-tbl: C:sceneManager.c int D_00624F00; + map 0x64 aligned 8 = enemy-random-def. size = MAIN.MAP 0x64 + 4 B fill before next
rodata enemy-model-tbl 0x624f00 0x624f64 enemymodelTable@0x0
# enemy-random-def: C:enemy.c EnemyKindRange D_00624F68. ROM span 0xb0 != MAIN.MAP 0xa8 (+8 B)
rodata enemy-random-def 0x624f68 0x625018 randomEnemyKind@0x0
# enemy-random-variation-def: C:enemy.c int D_00625018. ROM span 0x158 != MAIN.MAP 0x14c (+12 B)
rodata enemy-random-variation-def 0x625018 0x625170 randomEnemyVariationKind@0x0
# layout-cloth-def: C:attackCheckBoundary.c/flag.c layoutClothDef (symbol_addrs). ROM span 0xea0 != MAIN.MAP 0x9b0 (+1264 B)
rodata layout-cloth-def 0x625170 0x626010 layoutClothDef@0x0
# motion-eff-condition-def: C:frameDependSequence.c VibCondEntry D_00626010. ROM span 0x268 != MAIN.MAP 0xa8 (+448 B)
rodata motion-eff-condition-def 0x626010 0x626278 motEffCondKind@0x0
# motion-eff-def: C:frameDependSequence.c EffEntry D_00626278, icoMisc.c. ROM span 0x388 != MAIN.MAP 0x2d0 (+184 B); the last 8 B are zero (fill or table tail)
rodata motion-eff-def 0x626278 0x626600 motionEffKind@0x0
# motion-eff-random-def: C:frameDependSequence.c int D_00626600. ROM span 0x28 != MAIN.MAP 0x14 (+20 B)
rodata motion-eff-random-def 0x626600 0x626628 randomEffKind@0x0
# motion-limit-def: C:motionOrientManager.c motionLimitDef (symbol_addrs). size = MAIN.MAP 0x900
rodata motion-limit-def 0x626628 0x626f28 motionLimitDef@0x0
# motion-se-condition-def: C:frameDependSequence.c SECondEntry D_00626F28. ROM span 0x9e8 != MAIN.MAP 0x978 (+112 B); the last 8 B are zero (fill or table tail)
rodata motion-se-condition-def 0x626f28 0x627910 motSECondKind@0x0
# motion-se-random-def: C:frameDependSequence.c SERandEntry D_00627910. ROM span 0x23f8 != MAIN.MAP 0x22e8 (+272 B); the last 8 B are zero (fill or table tail)
rodata motion-se-random-def 0x627910 0x629d08 randomSEKind@0x0

# ---- .rodata: after 0x629d08, before 0x629e40 (obj-trigger-def and obj-trigger bytes are C today)
# obj-trigger-def: C:objact.c static objActMailId[12]. size = MAIN.MAP 0x2c + 4 B fill before next
rodata obj-trigger-def 0x629d08 0x629d34 objTriggerDef@0x0
# obj-trigger: C:objact.c static objActMailTable[33]. ROM span 0x108 != MAIN.MAP 0xf8 (+16 B)
rodata obj-trigger 0x629d38 0x629e40 objTrigger@0x0

# ---- .rodata: after 0x629e40, before 0x635fc0 (PObj.o .rodata (C))
# parallel-motion-orient: C:motionOrientManager.c MotOriParallelEnt D_00629E40 (54 rows of 20 B end at 0x62a278). ROM span 0x438 != MAIN.MAP 0x334 (+260 B)
rodata parallel-motion-orient 0x629e40 0x62a278 parallelMotionOrient@0x0
# particle-effect: C:icoMisc.c/effectTool.c/particleEffect.c D_0062A278. ROM span 0x1310 != MAIN.MAP 0x1090 (+640 B); the last 22 B are zero (fill or table tail)
rodata particle-effect 0x62a278 0x62b588 particleEffectFile@0x0
# spider-def: C:spider.c SpiderKindRec D_0062B588, a_p_1.c; + map 0xc0 = way-group. size = MAIN.MAP 0xc0
rodata spider-def 0x62b588 0x62b648 spiderDef@0x0
# way-group: C:way_tool.c wayGroupSheet (symbol_addrs). ROM span 0xa978 != MAIN.MAP 0xa1f4 (+1924 B)
rodata way-group 0x62b648 0x635fc0 wayGroupSheet@0x0

# ---- .sdata: after 0x63b670, before 0x63b678 (a_p_1 .sdata (C))
# staffroll_dat: pointer targets: 780 staffRollNameData words point at 0x63b670; a_p_1's .data points at 0x63b678; staffRollNameOut's gp load at 0x63b674. ROM span 0x8 != MAIN.MAP 0x10 (-8 B); staffRollNameDataNum: MAIN.MAP offset 0xc, ROM 0x4 (staffRollNameOut gp load at 0x63b674)
# +0 is the pool's one short literal (" ", 2 B and 2 B fill); +4 is staffRollNameDataNum, which the generated C computes from the table (count-of in config/data_schema.pal.txt); the row stays for the check
sdata staffroll_dat 0x63b670 0x63b678 staffRollNameDataNum@0x4
