funai_upg: add support for decryption + keys & add funai_upg_phl extractor for them

This commit is contained in:
theubusu
2026-02-20 20:10:03 +01:00
parent 04215b98d8
commit d825a9339f
8 changed files with 221 additions and 17 deletions
+16
View File
@@ -0,0 +1,16 @@
use binrw::BinRead;
#[derive(BinRead)]
pub struct Header {
_magic_bytes: [u8; 6],
pub entries: [BodyHeader; 8],
_unk: u16,
_data_checksum: u32,
_unk2: u32,
}
#[derive(BinRead)]
pub struct BodyHeader {
pub body_type: u16,
pub size: u32,
}