Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RSO FILE HEADER:
- - Size: 0x90 (144 bytes)
- //--------------------- HEADER ---------------------//
- file = getFile;
- file.seek(pos);
- /*0x00 (uint32)*/ unknown0x00 = file.readUint32();
- /*0x04 (uint32)*/ unknown0x04 = file.readUint32();
- /*0x08 (uint32)*/ sectionNumber = file.readUint32();
- /*0x0C (uint32)*/ identifier = file.readUint32();
- /*0x10 (uint32)*/ nameOffset = file.readUint32();
- /*0x14 (uint32)*/ nameSize = file.readUint32();
- /*0x18 (uint32)*/ version = file.readUint32();
- /*0x1C (uint32)*/ unknown0x1C = file.readUint32();
- //--- Line 0x20 could be empty
- // I don't know what they do
- /*0x20 (uint32)*/ unknown0x20 = file.readUint32();
- /*0x24 (uint32)*/ unknown0x24 = file.readUint32();
- /*0x28 (uint32)*/ unknown0x28 = file.readUint32();
- /*0x2C (uint32)*/ unknown0x2C = file.readUint32();
- //--- Internals/Externals relocation table (irt/ert)
- /*0x30 (uint32)*/ irtOffset = file.readUint32();
- /*0x34 (uint32)*/ irtSize = file.readUint32();
- /*0x38 (uint32)*/ ertOffset = file.readUint32();
- /*0x3C (uint32)*/ ertSize = file.readUint32();
- /*0x40 (uint32)*/ exportsOffset = file.readUint32();
- /*0x44 (uint32)*/ exportsSize = file.readUint32();
- /*0x48 (uint32)*/ exportsName = file.readUint32(); // I don't find the correct name order :v/
- /*0x4C (uint32)*/ importsOffset = file.readUint32();
- /*0x50 (uint32)*/ importsSize = file.readUint32();
- /*0x54 (uint32)*/ importsName = file.readUint32();
- /*0x58 (uint32)*/ unknown0x58 = file.readUint32();
- /*0x5C (uint32)*/ unknown0x5C = file.readUint32();
- //--- Data
- /*0x60 (uint32)*/ block01Offset = file.readUint32();
- /*0x64 (uint32)*/ block01Size = file.readUint32();
- /*0x68 (uint32)*/ block02Offset = file.readUint32();
- /*0x6C (uint32)*/ block02Size = file.readUint32();
- /*0x70 (uint32)*/ block03Offset = file.readUint32();
- /*0x74 (uint32)*/ block03Size = file.readUint32();
- /*0x78 (uint32)*/ block04Offset = file.readUint32();
- /*0x7C (uint32)*/ block04Size = file.readUint32();
- /*0x80 (uint32)*/ block05Offset = file.readUint32();
- /*0x84 (uint32)*/ block05Size = file.readUint32();
- /*0x88 (uint32)*/ block06Offset = file.readUint32();
- /*0x8C (uint32)*/ block06Size = file.readUint32();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement