
/* DWARF original prototype: uchar * get_view(File_read * this, off_t offset, off_t start,
   section_size_type size, bool aligned, bool cache) */

uchar * __thiscall
gold::File_read::get_view
          (File_read *this,off_t offset,off_t start,section_size_type size,bool aligned,bool cache)

{
  View *pVVar1;
  
  pVVar1 = find_or_make_view(this,offset,start,size,aligned,cache);
  return pVVar1->data_ + ((offset + start) - pVVar1->start_) + (ulong)pVVar1->byteshift_;
}



long FUN_001e43a0(undefined8 param_1,long param_2,long param_3)

{
  long *plVar1;
  
  plVar1 = (long *)FUN_001e4040();
  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];
}


PUSH RBP
MOVZX R9D,R9B
MOVZX R8D,R8B
MOV RBP,RDX
PUSH RBX
MOV RBX,RSI
ADD RBX,RBP
SUB RSP,0x8
CALL 0x001e4040
MOV EDX,dword ptr [RAX + 0x1c]
SUB RBX,qword ptr [RAX]
ADD RBX,RDX
ADD RBX,qword ptr [RAX + 0x10]
ADD RSP,0x8
MOV RAX,RBX
POP RBX
POP RBP
RET
(translation_unit "long FUN_001e43a0(undefined8 param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}\n\n" (function_definition "long FUN_001e43a0(undefined8 param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001e43a0(undefined8 param_1,long param_2,long param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (expression_statement "plVar1 = (long *)FUN_001e4040();" (assignment_expression "plVar1 = (long *)FUN_001e4040()" identifier = (cast_expression "(long *)FUN_001e4040()" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e4040()" identifier (argument_list "()" ( ))))) ;) (return_statement "return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];" return (binary_expression "((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2]" (binary_expression "((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c)" (parenthesized_expression "((param_2 + param_3) - *plVar1)" ( (binary_expression "(param_2 + param_3) - *plVar1" (parenthesized_expression "(param_2 + param_3)" ( (binary_expression "param_2 + param_3" identifier + identifier) )) - (pointer_expression "*plVar1" * identifier)) )) + (binary_expression "(ulong)*(uint *)((long)plVar1 + 0x1c)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)((long)plVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0x1c)" ( (binary_expression "(long)plVar1 + 0x1c" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) + (subscript_expression "plVar1[2]" identifier [ number_literal ])) ;) })))
(translation_unit "/* DWARF original prototype: uchar * get_view(File_read * this, off_t offset, off_t start,\n   section_size_type size, bool aligned, bool cache) */\n\nuchar * __thiscall\ngold::File_read::get_view\n          (File_read *this,off_t offset,off_t start,section_size_type size,bool aligned,bool cache)\n\n{\n  View *pVVar1;\n  \n  pVVar1 = find_or_make_view(this,offset,start,size,aligned,cache);\n  return pVVar1->data_ + ((offset + start) - pVVar1->start_) + (ulong)pVVar1->byteshift_;\n}\n\n" comment (ERROR "uchar * __thiscall\ngold::File_read::get_view\n          (File_read *this,off_t offset,off_t start,section_size_type size,bool aligned,bool cache)" (binary_expression "uchar * __thiscall\ngold::File_read::get_view\n          (File_read *this,off_t offset,off_t start,section_size_type size,bool aligned,bool cache)" identifier * (call_expression "__thiscall\ngold::File_read::get_view\n          (File_read *this,off_t offset,off_t start,section_size_type size,bool aligned,bool cache)" identifier (ERROR "gold::File_read::get_view" identifier : : identifier : : identifier) (argument_list "(File_read *this,off_t offset,off_t start,section_size_type size,bool aligned,bool cache)" ( (binary_expression "File_read *this" identifier * identifier) , (ERROR "off_t" identifier) identifier , identifier (ERROR "start" identifier) , identifier (ERROR "size" identifier) , (ERROR "bool" identifier) identifier , (ERROR "bool" identifier) identifier ))))) (compound_statement "{\n  View *pVVar1;\n  \n  pVVar1 = find_or_make_view(this,offset,start,size,aligned,cache);\n  return pVVar1->data_ + ((offset + start) - pVVar1->start_) + (ulong)pVVar1->byteshift_;\n}" { (declaration "View *pVVar1;" type_identifier (pointer_declarator "*pVVar1" * identifier) ;) (expression_statement "pVVar1 = find_or_make_view(this,offset,start,size,aligned,cache);" (assignment_expression "pVVar1 = find_or_make_view(this,offset,start,size,aligned,cache)" identifier = (call_expression "find_or_make_view(this,offset,start,size,aligned,cache)" identifier (argument_list "(this,offset,start,size,aligned,cache)" ( identifier , identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return pVVar1->data_ + ((offset + start) - pVVar1->start_) + (ulong)pVVar1->byteshift_;" return (binary_expression "pVVar1->data_ + ((offset + start) - pVVar1->start_) + (ulong)pVVar1->byteshift_" (binary_expression "pVVar1->data_ + ((offset + start) - pVVar1->start_)" (field_expression "pVVar1->data_" identifier -> field_identifier) + (parenthesized_expression "((offset + start) - pVVar1->start_)" ( (binary_expression "(offset + start) - pVVar1->start_" (parenthesized_expression "(offset + start)" ( (binary_expression "offset + start" identifier + identifier) )) - (field_expression "pVVar1->start_" identifier -> field_identifier)) ))) + (cast_expression "(ulong)pVVar1->byteshift_" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pVVar1->byteshift_" identifier -> field_identifier))) ;) }))
(translation_unit "long FUN_001e43a0(undefined8 param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}\n\n" (function_definition "long FUN_001e43a0(undefined8 param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001e43a0(undefined8 param_1,long param_2,long param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (expression_statement "plVar1 = (long *)FUN_001e4040();" (assignment_expression "plVar1 = (long *)FUN_001e4040()" identifier = (cast_expression "(long *)FUN_001e4040()" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e4040()" identifier (argument_list "()" ( ))))) ;) (return_statement "return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];" return (binary_expression "((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2]" (binary_expression "((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c)" (parenthesized_expression "((param_2 + param_3) - *plVar1)" ( (binary_expression "(param_2 + param_3) - *plVar1" (parenthesized_expression "(param_2 + param_3)" ( (binary_expression "param_2 + param_3" identifier + identifier) )) - (pointer_expression "*plVar1" * identifier)) )) + (binary_expression "(ulong)*(uint *)((long)plVar1 + 0x1c)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)((long)plVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0x1c)" ( (binary_expression "(long)plVar1 + 0x1c" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) + (subscript_expression "plVar1[2]" identifier [ number_literal ])) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (return_statement return (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) - (pointer_expression * IDENT)) )) + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) + (subscript_expression IDENT [ LIT ])) ;) })))
(function_definition "long FUN_001e43a0(undefined8 param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_001e43a0(undefined8 param_1,long param_2,long param_3)" (identifier "FUN_001e43a0") (parameter_list "(undefined8 param_1,long param_2,long param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  long *plVar1;\n  \n  plVar1 = (long *)FUN_001e4040();\n  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (expression_statement "plVar1 = (long *)FUN_001e4040();" (assignment_expression "plVar1 = (long *)FUN_001e4040()" (identifier "plVar1") (= "=") (cast_expression "(long *)FUN_001e4040()" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e4040()" (identifier "FUN_001e4040") (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];" (return "return") (binary_expression "((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2]" (binary_expression "((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c)" (parenthesized_expression "((param_2 + param_3) - *plVar1)" (( "(") (binary_expression "(param_2 + param_3) - *plVar1" (parenthesized_expression "(param_2 + param_3)" (( "(") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) () ")")) (- "-") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) () ")")) (+ "+") (binary_expression "(ulong)*(uint *)((long)plVar1 + 0x1c)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)((long)plVar1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar1 + 0x1c)" (( "(") (binary_expression "(long)plVar1 + 0x1c" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (+ "+") (number_literal "0x1c")) () ")"))))) (+ "+") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))

/* DWARF original prototype: uchar * get_view(File_read * this, off_t offset, off_t start,
   section_size_type size, bool aligned, bool cache) */

uchar * __thiscall
gold::File_read::get_view
          (File_read *this,off_t var_2,off_t var_3,section_size_type size,bool aligned,bool cache)

{
  type_1 *pVVar1;
  
  pVVar1 = var_1(this,var_2,var_3,size,aligned,cache);
  return pVVar1->data_ + ((var_2 + var_3) - pVVar1->start_) + (type_2)pVVar1->byteshift_;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (pointer_expression argument: (identifier)))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal)))))) right: (subscript_expression argument: (identifier) index: (number_literal)))))))

long MASKED(undefined8 param_1,long param_2,long param_3)

{
  long *plVar1;
  
  plVar1 = (long *)FUN_001e4040();
  return ((param_2 + param_3) - *plVar1) + (ulong)*(uint *)((long)plVar1 + 0x1c) + plVar1[2];
}

