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

int rpl_ioctl(int fd,int request,...)

{
  int iVar1;
  undefined4 in_stack_0000000c;
  
  iVar1 = ioctl(fd,request,in_stack_0000000c);
  return iVar1;
}



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

void FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)

{
  ioctl(param_1,param_2,param_3);
  return;
}


PUSH EBX
CALL 0x00019070
ADD EBX,0x425ca
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x00016740
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)\n\n{\n  ioctl(param_1,param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)\n\n{\n  ioctl(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,ulong param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  ioctl(param_1,param_2,param_3);\n  return;\n}" { (expression_statement "ioctl(param_1,param_2,param_3);" (call_expression "ioctl(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , 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 rpl_ioctl(int fd,int request,...)\n\n{\n  int iVar1;\n  undefined4 in_stack_0000000c;\n  \n  iVar1 = ioctl(fd,request,in_stack_0000000c);\n  return iVar1;\n}\n\n" comment comment (function_definition "int rpl_ioctl(int fd,int request,...)\n\n{\n  int iVar1;\n  undefined4 in_stack_0000000c;\n  \n  iVar1 = ioctl(fd,request,in_stack_0000000c);\n  return iVar1;\n}" primitive_type (function_declarator "rpl_ioctl(int fd,int request,...)" identifier (parameter_list "(int fd,int request,...)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "int request" primitive_type identifier) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  int iVar1;\n  undefined4 in_stack_0000000c;\n  \n  iVar1 = ioctl(fd,request,in_stack_0000000c);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 in_stack_0000000c;" type_identifier identifier ;) (expression_statement "iVar1 = ioctl(fd,request,in_stack_0000000c);" (assignment_expression "iVar1 = ioctl(fd,request,in_stack_0000000c)" identifier = (call_expression "ioctl(fd,request,in_stack_0000000c)" identifier (argument_list "(fd,request,in_stack_0000000c)" ( identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)\n\n{\n  ioctl(param_1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)\n\n{\n  ioctl(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,ulong param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  ioctl(param_1,param_2,param_3);\n  return;\n}" { (expression_statement "ioctl(param_1,param_2,param_3);" (call_expression "ioctl(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)\n\n{\n  ioctl(param_1,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005e600(int param_1,ulong param_2,undefined4 param_3)" (identifier "FUN_0005e600") (parameter_list "(int param_1,ulong param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  ioctl(param_1,param_2,param_3);\n  return;\n}" ({ "{") (expression_statement "ioctl(param_1,param_2,param_3);" (call_expression "ioctl(param_1,param_2,param_3)" (identifier "ioctl") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (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,int request,...)

{
  int iVar1;
  type_1 in_stack_0000000c;
  
  iVar1 = var_1(fd,request,in_stack_0000000c);
  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: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

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

void MASKED(int param_1,ulong param_2,undefined4 param_3)

{
  ioctl(param_1,param_2,param_3);
  return;
}

