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

bfd_boolean
ar_emul_default_append
          (bfd **after_bfd,char *file_name,char *target,bfd_boolean verbose,bfd_boolean flatten)

{
  bfd *new_bfd;
  bfd_boolean bVar1;
  
  new_bfd = (bfd *)bfd_openr(file_name,target);
  if (new_bfd != (bfd *)0x0) {
    bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);
    return bVar1;
  }
                    /* WARNING: Subroutine does not return */
  bfd_fatal(file_name);
}



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

undefined4 FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = bfd_openr(param_2,param_3);
  if (iVar1 != 0) {
    uVar2 = FUN_000178d0();
    return uVar2;
  }
  FUN_00017e60(param_2);
  if (PTR_FUN_00021218 != (undefined *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (*(code *)PTR_FUN_00021218)();
    return uVar2;
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013710
ADD EBX,0x9637
SUB ESP,0x24
MOV EAX,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x3c]
MOV EDI,dword ptr [ESP + 0x44]
MOV EBP,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x14],EAX
PUSH dword ptr [ESP + 0x40]
PUSH ESI
CALL 0x00012160
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00017a21
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[EBX + 0xffff6810]
MOV dword ptr [ESP + 0x3c],EBP
MOV dword ptr [ESP + 0x38],EDI
MOV dword ptr [ESP + 0x40],EDX
MOV dword ptr [ESP + 0x30],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000178d0
SUB ESP,0xc
PUSH ESI
CALL 0x00017e60
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}\n\n" comment comment (function_definition "undefined4 FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_openr(param_2,param_3);" (assignment_expression "iVar1 = bfd_openr(param_2,param_3)" identifier = (call_expression "bfd_openr(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }" { (expression_statement "uVar2 = FUN_000178d0();" (assignment_expression "uVar2 = FUN_000178d0()" identifier = (call_expression "FUN_000178d0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_00017e60(param_2);" (call_expression "FUN_00017e60(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (if_statement "if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }" if (parenthesized_expression "(PTR_FUN_00021218 != (undefined *)0x0)" ( (binary_expression "PTR_FUN_00021218 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }" { comment comment (expression_statement "uVar2 = (*(code *)PTR_FUN_00021218)();" (assignment_expression "uVar2 = (*(code *)PTR_FUN_00021218)()" identifier = (call_expression "(*(code *)PTR_FUN_00021218)()" (parenthesized_expression "(*(code *)PTR_FUN_00021218)" ( (pointer_expression "*(code *)PTR_FUN_00021218" * (cast_expression "(code *)PTR_FUN_00021218" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean\nar_emul_default_append\n          (bfd **after_bfd,char *file_name,char *target,bfd_boolean verbose,bfd_boolean flatten)\n\n{\n  bfd *new_bfd;\n  bfd_boolean bVar1;\n  \n  new_bfd = (bfd *)bfd_openr(file_name,target);\n  if (new_bfd != (bfd *)0x0) {\n    bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);\n    return bVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  bfd_fatal(file_name);\n}\n\n" comment (function_definition "bfd_boolean\nar_emul_default_append\n          (bfd **after_bfd,char *file_name,char *target,bfd_boolean verbose,bfd_boolean flatten)\n\n{\n  bfd *new_bfd;\n  bfd_boolean bVar1;\n  \n  new_bfd = (bfd *)bfd_openr(file_name,target);\n  if (new_bfd != (bfd *)0x0) {\n    bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);\n    return bVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  bfd_fatal(file_name);\n}" type_identifier (function_declarator "ar_emul_default_append\n          (bfd **after_bfd,char *file_name,char *target,bfd_boolean verbose,bfd_boolean flatten)" identifier (parameter_list "(bfd **after_bfd,char *file_name,char *target,bfd_boolean verbose,bfd_boolean flatten)" ( (parameter_declaration "bfd **after_bfd" type_identifier (pointer_declarator "**after_bfd" * (pointer_declarator "*after_bfd" * identifier))) , (parameter_declaration "char *file_name" primitive_type (pointer_declarator "*file_name" * identifier)) , (parameter_declaration "char *target" primitive_type (pointer_declarator "*target" * identifier)) , (parameter_declaration "bfd_boolean verbose" type_identifier identifier) , (parameter_declaration "bfd_boolean flatten" type_identifier identifier) ))) (compound_statement "{\n  bfd *new_bfd;\n  bfd_boolean bVar1;\n  \n  new_bfd = (bfd *)bfd_openr(file_name,target);\n  if (new_bfd != (bfd *)0x0) {\n    bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);\n    return bVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  bfd_fatal(file_name);\n}" { (declaration "bfd *new_bfd;" type_identifier (pointer_declarator "*new_bfd" * identifier) ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (expression_statement "new_bfd = (bfd *)bfd_openr(file_name,target);" (assignment_expression "new_bfd = (bfd *)bfd_openr(file_name,target)" identifier = (cast_expression "(bfd *)bfd_openr(file_name,target)" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr(file_name,target)" identifier (argument_list "(file_name,target)" ( identifier , identifier ))))) ;) (if_statement "if (new_bfd != (bfd *)0x0) {\n    bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);\n    return bVar1;\n  }" if (parenthesized_expression "(new_bfd != (bfd *)0x0)" ( (binary_expression "new_bfd != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);\n    return bVar1;\n  }" { (expression_statement "bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok);" (assignment_expression "bVar1 = do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok)" identifier = (call_expression "do_ar_emul_append(after_bfd,new_bfd,verbose,flatten,any_ok)" identifier (argument_list "(after_bfd,new_bfd,verbose,flatten,any_ok)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return bVar1;" return identifier ;) })) comment (expression_statement "bfd_fatal(file_name);" (call_expression "bfd_fatal(file_name)" identifier (argument_list "(file_name)" ( identifier ))) ;) })))
(translation_unit "undefined4 FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_openr(param_2,param_3);" (assignment_expression "iVar1 = bfd_openr(param_2,param_3)" identifier = (call_expression "bfd_openr(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }" { (expression_statement "uVar2 = FUN_000178d0();" (assignment_expression "uVar2 = FUN_000178d0()" identifier = (call_expression "FUN_000178d0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_00017e60(param_2);" (call_expression "FUN_00017e60(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (if_statement "if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }" if (parenthesized_expression "(PTR_FUN_00021218 != (undefined *)0x0)" ( (binary_expression "PTR_FUN_00021218 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_FUN_00021218)();" (assignment_expression "uVar2 = (*(code *)PTR_FUN_00021218)()" identifier = (call_expression "(*(code *)PTR_FUN_00021218)()" (parenthesized_expression "(*(code *)PTR_FUN_00021218)" ( (pointer_expression "*(code *)PTR_FUN_00021218" * (cast_expression "(code *)PTR_FUN_00021218" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000179c0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_000179c0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = bfd_openr(param_2,param_3);\n  if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }\n  FUN_00017e60(param_2);\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = bfd_openr(param_2,param_3);" (assignment_expression "iVar1 = bfd_openr(param_2,param_3)" (identifier "iVar1") (= "=") (call_expression "bfd_openr(param_2,param_3)" (identifier "bfd_openr") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = FUN_000178d0();\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = FUN_000178d0();" (assignment_expression "uVar2 = FUN_000178d0()" (identifier "uVar2") (= "=") (call_expression "FUN_000178d0()" (identifier "FUN_000178d0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "FUN_00017e60(param_2);" (call_expression "FUN_00017e60(param_2)" (identifier "FUN_00017e60") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(PTR_FUN_00021218 != (undefined *)0x0)" (( "(") (binary_expression "PTR_FUN_00021218 != (undefined *)0x0" (identifier "PTR_FUN_00021218") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    uVar2 = (*(code *)PTR_FUN_00021218)();\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_FUN_00021218)();" (assignment_expression "uVar2 = (*(code *)PTR_FUN_00021218)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_FUN_00021218)()" (parenthesized_expression "(*(code *)PTR_FUN_00021218)" (( "(") (pointer_expression "*(code *)PTR_FUN_00021218" (* "*") (cast_expression "(code *)PTR_FUN_00021218" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00021218"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1
function_1
          (type_2 **after_bfd,char *file_name,char *target,type_1 verbose,type_1 flatten)

{
  type_2 *var_2;
  type_1 bVar1;
  
  var_2 = (type_2 *)var_1(file_name,target);
  if (var_2 != (type_2 *)0x0) {
    bVar1 = var_3(after_bfd,var_2,verbose,flatten,any_ok);
    return bVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_4(file_name);
}


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

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

undefined4 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = bfd_openr(param_2,param_3);
  if (iVar1 != 0) {
    uVar2 = FUN_000178d0();
    return uVar2;
  }
  FUN_00017e60(param_2);
  if (PTR_FUN_00021218 != (undefined *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017a47. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (*(code *)PTR_FUN_00021218)();
    return uVar2;
  }
  return 0;
}

