type materialargumentdef [display="Material Argument Def"] { // MaterialArgumentDef is a 4-byte union on PC: // - float* literalConst (pointer) // - MaterialArgumentCodeConst codeConst (u16 index + u16 firstRow) // - u32 codeSampler // - u32 nameHash // We just read it as raw bytes since interpretation depends on arg type value = read(4) [ui, readonly, display="Value"]; }