// config/symbols.resident.txt — blob-LOCAL symbols for the resident engine blob
// (MAIN.CD/FILE_010/1.1, vram 0x800CEDF8-0x80128154), the project's SECOND binary.
// PROVENANCE (R13/R15): these names come from the resident blob's OWN Ghidra program
//   (Phase 10 T4) — provenance-tagged, blob-region ONLY, build-valid identifiers. They
//   are stacked UNDER config/symbols.us.txt at build time (which supplies the 27 shared
//   engine globals the blob references). NEVER merge these into config/symbols.us.txt.
// Seeded in T4 from the resident Ghidra program (raw-binary import @0x800CEDF8 + splat's 143
// boundaries defined via DefineFunctions.java). The resident is engine code (PsyQ 4.7 — see
// PhaseEnd Notes), so PsyQ-signature names are sparse; the bulk are auto func_* (splat). Engine
// functions get named in Phase 12.
// count=1
//
// [PROTO-of-self / PsyQ-sig CANDIDATE, R13 — UNVERIFIED]: matched by ghidra_psx_ldr's PsyQ
// signature analyzer against the 4.0 DB; the resident detects as 4.7, so confirm when the real
// 4.7 libsnd links byte-identical in Phase 11. Plausible (resident holds the sound driver; addr is
// a splat function boundary). Name is version-stable even if the bytes differ slightly across 4.0/4.7.
DsMix                            = 0x800D1BD8; // func
// Phase-24: memcpy at 0x8005C324 (libc2 MEMCPY.o; proto-sep8 + main map confirmed). Resolves the
// whale func_80144B9C's -O0 struct-assign block-move (gcc emits `jal memcpy`), in ALL overlays.
// Placed here (overlays + resident stack this; main does NOT) so main — where 0x8005C324 is DEFINED
// by MEMCPY.o — is untouched (no multiple-definition). func_8005C324 aliases the SAME address: the
// engine_core.h block-copy macro's variable-size calls keep the NON-builtin C name func_8005C324
// (naming them `memcpy` triggers gcc-2.7.2 built-in codegen → byte mismatch) but get an
// __asm__("memcpy") label so they emit this same 0x8005C324 call. One symbol resolves both.
memcpy                           = 0x8005C324; // func (whale -O0 block-move + engine_core.h block-copy via __asm__ label)
