Editing SELF - SPRX
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 372: | Line 372: | ||
} | } | ||
</source> | </source> | ||
The struct is the base or head of the actual struct used. The above fields are always present and their offsets do not change between versions. | The struct is the base or head of the actual struct used. The above fields are | ||
always present and their offsets do not change between versions. | |||
Fields whose name are of the form: unk_0x[0-9 aA-fF], are unknown fields whose offset is in the name, e.g. unk_0x18 is at offset 0x18.<source lang="c"> | Fields whose name are of the form: unk_0x[0-9 aA-fF], are unknown fields whose | ||
// | offset is in the name, e.g. unk_0x18 is at offset 0x18. | ||
struct | Examples for 6.20 and 8.03: | ||
<source lang="c"> | |||
// used at 6.20 | |||
struct SceModuleParamV1_620 { | |||
uint64_t size; // 0x18 | uint64_t size; // 0x18 | ||
uint32_t magic; // 0x3c13f4bf | uint32_t magic; // 0x3c13f4bf | ||
uint32_t version; // 1 for V1 | uint32_t version; // 1 for V1 | ||
uint32_t sdk_version; | uint32_t sdk_version; // 0x0620_0011 | ||
} | } | ||
// | // used at 8.03 | ||
struct | struct SceModuleParamV2_803 { | ||
uint64_t size; // 0x20 | uint64_t size; // 0x20 | ||
uint32_t magic; // 0x3c13f4bf | uint32_t magic; // 0x3c13f4bf | ||
uint32_t version; // 2 for V2 | uint32_t version; // 2 for V2 | ||
uint32_t sdk_version; | uint32_t sdk_version; // 0x0803_0001 | ||
uint64_t unk_0x18; | uint64_t unk_0x18; | ||
} | } |