Files
cecilarmitais bed65c1f3c Correct 44 mislabelled library symbols; name 742 NitroSDK functions
Two changes, of which the first is the one that matters.

CORRECTIONS -- 44 names already in the tree that the machine code
contradicts. Most are off-by-one slides through a contiguous run, where
each function carries its neighbour's name and every one looks locally
plausible:

  - os_printf, 3 functions: OS_VsPrintf is byte-identical to OS_SPrintf,
    and its stmdb sp!,{r0,r1,r2,r3} prologue is a variadic home-area
    spill, which a va_list entry point does not emit.
  - the DWC settings chain, 4 functions: SetIp -> SetNetMask ->
    SetGateway -> SetDnsP -> SetDnsS.
  - two snd chains and two swapped pairs, 2 functions each.
  - the BSD socket block, 9 functions at 0x022CF1AC-0x022CF338: the
    bodies are NitroWiFi's SOC_* API, not BSD sockets. SocketBind and
    SocketSendTo are the real bind and sendto, so two targets are names
    the other rows vacate; the group is applied as one simultaneous
    substitution rather than a sequence.

  Singletons include TP_CheckBusy -> TP_CheckError (the busy name is
  already held by the TP_WaitBusy immediately before it, reading a
  different field) and SbServerSetPublicAddr -> SBServerSetPrivateAddr
  (it writes the offsets this tree's own getters define as the private
  pair -- no external reference needed).

IDENTIFICATIONS -- 742 sub_<addr> placeholders given their real NitroSDK
names, 729 ARM7 and 13 ARM9, 132 KB of code. Largest groups: wl_arm7
318, wm 111, os 85, snd 78, spi 53, card 37, rtc 29.

Seven proposed names appear twice; each is one ARM9 and one ARM7
function of the same SDK code, linked into both processors as separate
images. They are not duplicates.

Every row is byte-identical machine code against a locally built
pokeplatinum (sbins_shared.sha1 122/122). Weaker evidence tiers are
excluded. Measured precision for this tier is 0 contradicted of 275
decidable rows, 95% CI upper bound 1.4% -- a ceiling of roughly 0-22
wrong of 742, and optimistic by construction, because it was measured
against a pool of existing names that this commit shows contains errors.

No byte changes: 42 files, equal insertions and deletions, no line
added or removed.

Authored by Claude (Opus 5) under human direction. Confirmed by a
matching build in all three regions: build/pmdsky.us/pmdsky.us.nds: OK,
build/pmdsky.eu/pmdsky.eu.nds: OK, build/pmdsky.jp/pmdsky.jp.nds: OK.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-02 08:09:52 -07:00
..
2026-05-26 13:24:25 -07:00
2026-08-22 20:45:50 -04:00
2026-07-16 07:36:58 -07:00
2026-07-31 18:03:24 -04:00