Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- offset_psar (pbp_buf+0x24) <-offset for np_header
- LBA start (np_header+0x54)
- LBA end (np_header+0x64)
- block_size (np_header+0x0c)
- lba_size (end-start+1)
- total_blocks (lba_size+block_size-1)/block_size
- offset_table (np_header+0x6c) <-offset for np_table
- tp (np_table+block*32)
- everything in big endian, read it backwards
- tp[4] is block offset relative to np_header
- tp[5] is block size in bytes
- block_locat (offset_psar+tp[4]) <- location of block X where X is block number in tp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement