Skip to content

Instantly share code, notes, and snippets.

@notwa
Last active July 25, 2017 00:29
Show Gist options
  • Save notwa/985b3a986c9489d22f9bfd938c5b5b0c to your computer and use it in GitHub Desktop.
Save notwa/985b3a986c9489d22f9bfd938c5b5b0c to your computer and use it in GitHub Desktop.
MM default save file copies
(J 1.0)
here's all the calls to 801008C0 when creating a save file,
which in turn calls memcpy at 80092260:
to: 801EF484; from: 801C1510; size: 00000028
to: 801EF4AC; from: 801C1538; size: 00000022
to: 801EF4D0; from: 801C155C; size: 00000088
to: 801F07EE; from: 801C15E4; size: 00000002 # checksum
to: 80506D30; from: 801EF460; size: 00003F50 # copy to buffer to write to SRAM
same thing but with save context offsets and decompressed rom addresses:
to: ctxt+0x24; from: 0x119E70; size: 0x28
to: ctxt+0x4C; from: 0x119E98; size: 0x22
to: ctxt+0x70; from: 0x119EBC; size: 0x88
to: ctxt+0x138E; from: 0x119F44; size: 0x02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment