
/* WARNING: Unknown calling convention */

int get_pt_file_handle(sg_pt_base *vp)

{
  sg_pt_linux_scsi *ptp;
  
  return (vp->impl).dev_fd;
}



undefined4 get_pt_file_handle(int param_1)

{
  return *(undefined4 *)(param_1 + 0xa8);
}


jr ra
_lw v0,0xa8(a0)
(translation_unit "undefined4 get_pt_file_handle(int param_1)\n\n{\n  return *(undefined4 *)(param_1 + 0xa8);\n}\n\n" (function_definition "undefined4 get_pt_file_handle(int param_1)\n\n{\n  return *(undefined4 *)(param_1 + 0xa8);\n}" type_identifier (function_declarator "get_pt_file_handle(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return *(undefined4 *)(param_1 + 0xa8);\n}" { (return_statement "return *(undefined4 *)(param_1 + 0xa8);" return (pointer_expression "*(undefined4 *)(param_1 + 0xa8)" * (cast_expression "(undefined4 *)(param_1 + 0xa8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa8)" ( (binary_expression "param_1 + 0xa8" identifier + number_literal) )))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint get_pt_file_handle(sg_pt_base *vp)\n\n{\n  sg_pt_linux_scsi *ptp;\n  \n  return (vp->impl).dev_fd;\n}\n\n" comment (function_definition "int get_pt_file_handle(sg_pt_base *vp)\n\n{\n  sg_pt_linux_scsi *ptp;\n  \n  return (vp->impl).dev_fd;\n}" primitive_type (function_declarator "get_pt_file_handle(sg_pt_base *vp)" identifier (parameter_list "(sg_pt_base *vp)" ( (parameter_declaration "sg_pt_base *vp" type_identifier (pointer_declarator "*vp" * identifier)) ))) (compound_statement "{\n  sg_pt_linux_scsi *ptp;\n  \n  return (vp->impl).dev_fd;\n}" { (declaration "sg_pt_linux_scsi *ptp;" type_identifier (pointer_declarator "*ptp" * identifier) ;) (return_statement "return (vp->impl).dev_fd;" return (field_expression "(vp->impl).dev_fd" (parenthesized_expression "(vp->impl)" ( (field_expression "vp->impl" identifier -> field_identifier) )) . field_identifier) ;) })))
(translation_unit "undefined4 get_pt_file_handle(int param_1)\n\n{\n  return *(undefined4 *)(param_1 + 0xa8);\n}\n\n" (function_definition "undefined4 get_pt_file_handle(int param_1)\n\n{\n  return *(undefined4 *)(param_1 + 0xa8);\n}" type_identifier (function_declarator "get_pt_file_handle(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return *(undefined4 *)(param_1 + 0xa8);\n}" { (return_statement "return *(undefined4 *)(param_1 + 0xa8);" return (pointer_expression "*(undefined4 *)(param_1 + 0xa8)" * (cast_expression "(undefined4 *)(param_1 + 0xa8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa8)" ( (binary_expression "param_1 + 0xa8" identifier + number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })))
(function_definition "undefined4 get_pt_file_handle(int param_1)\n\n{\n  return *(undefined4 *)(param_1 + 0xa8);\n}" (type_identifier "undefined4") (function_declarator "get_pt_file_handle(int param_1)" (identifier "get_pt_file_handle") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  return *(undefined4 *)(param_1 + 0xa8);\n}" ({ "{") (return_statement "return *(undefined4 *)(param_1 + 0xa8);" (return "return") (pointer_expression "*(undefined4 *)(param_1 + 0xa8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xa8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa8)" (( "(") (binary_expression "param_1 + 0xa8" (identifier "param_1") (+ "+") (number_literal "0xa8")) () ")")))) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))

undefined4 MASKED(int param_1)

{
  return *(undefined4 *)(param_1 + 0xa8);
}

