
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int ttgetattr(int fd,termios *ttp)

{
  int iVar1;
  
  iVar1 = tcgetattr(fd,(termios *)ttp);
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void ttgetattr(int param_1,termios *param_2)

{
  tcgetattr(param_1,param_2);
  return;
}


PUSH EBX
CALL 0x000312b0
ADD EBX,0x9cb1a
SUB ESP,0x10
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0002ec60
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid ttgetattr(int param_1,termios *param_2)\n\n{\n  tcgetattr(param_1,param_2);\n  return;\n}\n\n" comment (function_definition "void ttgetattr(int param_1,termios *param_2)\n\n{\n  tcgetattr(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "ttgetattr(int param_1,termios *param_2)" identifier (parameter_list "(int param_1,termios *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "termios *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  tcgetattr(param_1,param_2);\n  return;\n}" { (expression_statement "tcgetattr(param_1,param_2);" (call_expression "tcgetattr(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint ttgetattr(int fd,termios *ttp)\n\n{\n  int iVar1;\n  \n  iVar1 = tcgetattr(fd,(termios *)ttp);\n  return iVar1;\n}\n\n" comment comment (function_definition "int ttgetattr(int fd,termios *ttp)\n\n{\n  int iVar1;\n  \n  iVar1 = tcgetattr(fd,(termios *)ttp);\n  return iVar1;\n}" primitive_type (function_declarator "ttgetattr(int fd,termios *ttp)" identifier (parameter_list "(int fd,termios *ttp)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "termios *ttp" type_identifier (pointer_declarator "*ttp" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = tcgetattr(fd,(termios *)ttp);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = tcgetattr(fd,(termios *)ttp);" (assignment_expression "iVar1 = tcgetattr(fd,(termios *)ttp)" identifier = (call_expression "tcgetattr(fd,(termios *)ttp)" identifier (argument_list "(fd,(termios *)ttp)" ( identifier , (cast_expression "(termios *)ttp" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void ttgetattr(int param_1,termios *param_2)\n\n{\n  tcgetattr(param_1,param_2);\n  return;\n}\n\n" (function_definition "void ttgetattr(int param_1,termios *param_2)\n\n{\n  tcgetattr(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "ttgetattr(int param_1,termios *param_2)" identifier (parameter_list "(int param_1,termios *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "termios *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  tcgetattr(param_1,param_2);\n  return;\n}" { (expression_statement "tcgetattr(param_1,param_2);" (call_expression "tcgetattr(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void ttgetattr(int param_1,termios *param_2)\n\n{\n  tcgetattr(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "ttgetattr(int param_1,termios *param_2)" (identifier "ttgetattr") (parameter_list "(int param_1,termios *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "termios *param_2" (type_identifier "termios") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  tcgetattr(param_1,param_2);\n  return;\n}" ({ "{") (expression_statement "tcgetattr(param_1,param_2);" (call_expression "tcgetattr(param_1,param_2)" (identifier "tcgetattr") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(int fd,type_1 *ttp)

{
  int iVar1;
  
  iVar1 = var_1(fd,(type_1 *)ttp);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1,termios *param_2)

{
  tcgetattr(param_1,param_2);
  return;
}

