− | | GetRomId. This reads 0x40-bytes from a gamecard command, and returns the first 0x10-bytes from that since the rest of the command reply is invalid. | + | | GetRomId. This reads 0x40-bytes from a gamecard command, and returns the first 0x10-bytes from that since the rest of the command reply is all 0xFF-bytes. |
− | | GetRomId2. The first u8 this returns is from GetRomMakerCode, the following 0x10-bytes are from [[AES|encrypting]] the 0x10-bytes which GetRomId returns. | + | | GetRomId2. The first u8 this returns is from GetRomMakerCode, the following 0x10-bytes are from [[AES|encrypting]] the 0x10-bytes which GetRomId also returns. This is encrypted with AES-CBC, the regular normal-key and IV set by [[FIRM|Process9]] for this are loaded from the Process9 .rodata section. |