- Introduced a new command 'annotate-usecode' to import USECODE IR JSON annotation hints as Ghidra comments on compiled anchors. - Added argument parsing for multiple IR JSON files, comment type selection, and a dry-run option. - Implemented logic to read annotation records from the provided IR files and set comments on the corresponding addresses in Ghidra. - Enhanced JSON schema to include response structure for the new command.
2.1 KiB
2.1 KiB
| 1 | entry_index | class_name | slot | event_name_hint | body_start | body_end | body_length | le16_0410_count | le16_0410_offsets | le32_00000410_count | le32_00000410_offsets | le16_1004_count | le16_1004_offsets | body_prefix_hex | body_suffix_hex |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 190 | EVENT | 0x0A | equip | 0x00D4 | 0x20AA | 8150 | 0 | 0 | 0 | 5a2f5cf51e4556454e54000000000b11 | 4869000024d102666c69634d616e007a | |||
| 3 | 191 | NPCTRIG | 0x0A | equip | 0x00DA | 0x024F | 373 | 0 | 0 | 0 | 5a065c3e014e50435452494700000b11 | 24fc026974656d32000024fa026e007a | |||
| 4 | 191 | NPCTRIG | 0x20 | 0x024F | 0x03A8 | 345 | 0 | 0 | 0 | 5a065c20014e50435452494700000b01 | 6974656d000024fa026974656d32007a | ||||
| 5 | 189 | COR_BOOT | 0x0A | equip | 0x00D4 | 0x02FB | 551 | 0 | 0 | 0 | 5a025cfd01434f525f424f4f54000b11 | 6e74000069fe00636f756e746572007a | |||
| 6 | 189 | COR_BOOT | 0x0F | enterFastArea | 0x02FB | 0x052F | 564 | 0 | 0 | 0 | 5a045c0b02434f525f424f4f54000b1b | 656d000069fc00636f756e746572007a | |||
| 7 | 189 | COR_BOOT | 0x10 | leaveFastArea | 0x052F | 0x056A | 59 | 0 | 0 | 0 | 5a005c2700434f525f424f4f54000b1c | 5001016900007265666572656e74007a | |||
| 8 | 283 | REE_BOOT | 0x0A | equip | 0x00D4 | 0x041F | 843 | 0 | 0 | 0 | 5a025c21035245455f424f4f54000b11 | 6e74000069fe00636f756e746572007a | |||
| 9 | 283 | REE_BOOT | 0x0F | enterFastArea | 0x041F | 0x067B | 604 | 0 | 0 | 0 | 5a045c33025245455f424f4f54000b1b | 656d000069fc00636f756e746572007a | |||
| 10 | 283 | REE_BOOT | 0x10 | leaveFastArea | 0x067B | 0x06B6 | 59 | 0 | 0 | 0 | 5a005c27005245455f424f4f54000b1c | 5001016900007265666572656e74007a | |||
| 11 | 285 | SFXTRIG | 0x0A | equip | 0x00D4 | 0x018C | 184 | 0 | 0 | 0 | 5a005c9a005346585452494700000b11 | 72656e740000690a006576656e74007a | |||
| 12 | 272 | SPECIAL | 0x0A | equip | 0x00E0 | 0x0146 | 102 | 0 | 0 | 0 | 5a005c4a005350454349414c00000b11 | 666572656e740000690a00766172007a | |||
| 13 | 272 | SPECIAL | 0x0F | enterFastArea | 0x0616 | 0x075B | 325 | 0 | 0 | 0 | 5a045c1b015350454349414c00000b1b | 4e756d000069fc006e70634e756d007a | |||
| 14 | 272 | SPECIAL | 0x10 | leaveFastArea | 0x075B | 0x080E | 179 | 0 | 0 | 0 | 5a005c9f005350454349414c00000b1c | 5001016900007265666572656e74007a | |||
| 15 | 272 | SPECIAL | 0x20 | 0x0146 | 0x04DC | 918 | 0 | 0 | 0 | 5a065c5c035350454349414c00005b26 | 000024fc026e7063000069fa0071007a | ||||
| 16 | 272 | SPECIAL | 0x21 | 0x04DC | 0x0616 | 314 | 0 | 0 | 0 | 5a085cfb005350454349414c00005b82 | 736531000069f800706861736532007a | ||||
| 17 | 273 | TRIGPAD | 0x06 | gotHit | 0x00D4 | 0x035C | 648 | 0 | 0 | 0 | 5a065c4c025452494750414400000b0c | 026974656d000024fa02656c6576007a |