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

void __regparm3
walk_wild_file(lang_wild_statement_type *s,lang_input_statement_type *f,callback_t callback,
              void *data)

{
  lang_input_statement_type *plVar1;
  bfd_boolean bVar2;
  int iVar3;
  
  bVar2 = walk_wild_file_in_exclude_list(s->exclude_name_list,f);
  if (bVar2 == 0) {
    if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {
      iVar3 = 0;
      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {
        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);
        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)
           ) {
          (*s->walk_wild_section_handler)(s,plVar1,callback,data);
        }
      }
      return;
    }
    if (((ulonglong)f->flags & 0x10) == 0) {
      (*s->walk_wild_section_handler)(s,f,callback,data);
    }
  }
  return;
}



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

void __regparm3 FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  int iVar2;
  
  iVar2 = FUN_00022c00();
  if (iVar2 == 0) {
    if ((*(int *)(param_2 + 0x10) != 0) &&
       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {
      iVar2 = 0;
      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0
            ) {
        iVar1 = *(int *)(iVar2 + 0xa4);
        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {
          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);
        }
      }
      return;
    }
    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {
      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);
    }
  }
  return;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00017b80
ADD EBX,0x1ab8e1
SUB ESP,0x1c
MOV EAX,dword ptr [EAX + 0x20]
CALL 0x00022c00
TEST EAX,EAX
JNZ 0x00023760
MOV EAX,dword ptr [ESI + 0x10]
TEST EAX,EAX
JZ 0x0002374d
SUB ESP,0x8
PUSH 0x2
PUSH EAX
CALL 0x00016ba0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00023770
TEST byte ptr [ESI + 0x24],0x10
JNZ 0x00023760
PUSH dword ptr [ESP + 0x30]
PUSH EBP
PUSH ESI
PUSH EDI
CALL dword ptr [EDI + 0x24]
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH 0x0
JMP 0x000237a9
MOV EDX,dword ptr [EAX + 0xa4]
TEST EDX,EDX
JZ 0x000237a5
TEST byte ptr [EDX + 0x24],0x10
JNZ 0x000237a5
MOV dword ptr [ESP + 0xc],EAX
PUSH dword ptr [ESP + 0x30]
PUSH EBP
PUSH EDX
PUSH EDI
CALL dword ptr [EDI + 0x24]
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESI + 0x10]
CALL 0x00016bb0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00023780
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = FUN_00022c00();" (assignment_expression "iVar2 = FUN_00022c00()" identifier = (call_expression "FUN_00022c00()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }" { (if_statement "if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }" if (parenthesized_expression "((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0))" ( (binary_expression "(*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x10) != 0)" ( (binary_expression "*(int *)(param_2 + 0x10) != 0" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)" ( (comma_expression "iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0" (assignment_expression "iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2)" identifier = (call_expression "bfd_check_format(*(int *)(param_2 + 0x10),2)" identifier (argument_list "(*(int *)(param_2 + 0x10),2)" ( (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) , number_literal )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (while_statement "while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }" while (parenthesized_expression "(iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            )" ( (comma_expression "iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0" (assignment_expression "iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2)" identifier = (call_expression "bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2)" identifier (argument_list "(*(undefined4 *)(param_2 + 0x10),iVar2)" ( (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }" { (expression_statement "iVar1 = *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xa4)" identifier = (pointer_expression "*(int *)(iVar2 + 0xa4)" * (cast_expression "(int *)(iVar2 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa4)" ( (binary_expression "iVar2 + 0xa4" identifier + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }" if (parenthesized_expression "((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0))" ( (binary_expression "(iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)(iVar1 + 0x24) & 0x10) == 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x24) & 0x10)" ( (binary_expression "*(byte *)(iVar1 + 0x24) & 0x10" (pointer_expression "*(byte *)(iVar1 + 0x24)" * (cast_expression "(byte *)(iVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }" { (expression_statement "(**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);" (call_expression "(**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" ( (pointer_expression "**(code **)(param_1 + 0x24)" * (pointer_expression "*(code **)(param_1 + 0x24)" * (cast_expression "(code **)(param_1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (argument_list "(param_1,iVar1,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) })) })) (return_statement "return;" return ;) })) (if_statement "if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }" if (parenthesized_expression "((*(byte *)(param_2 + 0x24) & 0x10) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x24) & 0x10)" ( (binary_expression "*(byte *)(param_2 + 0x24) & 0x10" (pointer_expression "*(byte *)(param_2 + 0x24)" * (cast_expression "(byte *)(param_2 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }" { (expression_statement "(**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);" (call_expression "(**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" ( (pointer_expression "**(code **)(param_1 + 0x24)" * (pointer_expression "*(code **)(param_1 + 0x24)" * (cast_expression "(code **)(param_1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nwalk_wild_file(lang_wild_statement_type *s,lang_input_statement_type *f,callback_t callback,\n              void *data)\n\n{\n  lang_input_statement_type *plVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  \n  bVar2 = walk_wild_file_in_exclude_list(s->exclude_name_list,f);\n  if (bVar2 == 0) {\n    if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }\n    if (((ulonglong)f->flags & 0x10) == 0) {\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3\nwalk_wild_file(lang_wild_statement_type *s,lang_input_statement_type *f,callback_t callback,\n              void *data)\n\n{\n  lang_input_statement_type *plVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  \n  bVar2 = walk_wild_file_in_exclude_list(s->exclude_name_list,f);\n  if (bVar2 == 0) {\n    if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }\n    if (((ulonglong)f->flags & 0x10) == 0) {\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "walk_wild_file(lang_wild_statement_type *s,lang_input_statement_type *f,callback_t callback,\n              void *data)" identifier (parameter_list "(lang_wild_statement_type *s,lang_input_statement_type *f,callback_t callback,\n              void *data)" ( (parameter_declaration "lang_wild_statement_type *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "lang_input_statement_type *f" type_identifier (pointer_declarator "*f" * identifier)) , (parameter_declaration "callback_t callback" type_identifier identifier) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  lang_input_statement_type *plVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  \n  bVar2 = walk_wild_file_in_exclude_list(s->exclude_name_list,f);\n  if (bVar2 == 0) {\n    if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }\n    if (((ulonglong)f->flags & 0x10) == 0) {\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }\n  }\n  return;\n}" { (declaration "lang_input_statement_type *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "bVar2 = walk_wild_file_in_exclude_list(s->exclude_name_list,f);" (assignment_expression "bVar2 = walk_wild_file_in_exclude_list(s->exclude_name_list,f)" identifier = (call_expression "walk_wild_file_in_exclude_list(s->exclude_name_list,f)" identifier (argument_list "(s->exclude_name_list,f)" ( (field_expression "s->exclude_name_list" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (bVar2 == 0) {\n    if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }\n    if (((ulonglong)f->flags & 0x10) == 0) {\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }\n  }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }\n    if (((ulonglong)f->flags & 0x10) == 0) {\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }\n  }" { (if_statement "if ((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)) {\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }" if (parenthesized_expression "((f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0))" ( (binary_expression "(f->the_bfd != (bfd *)0x0) && (iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)" (parenthesized_expression "(f->the_bfd != (bfd *)0x0)" ( (binary_expression "f->the_bfd != (bfd *)0x0" (field_expression "f->the_bfd" identifier -> field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0)" ( (comma_expression "iVar3 = bfd_check_format(f->the_bfd,2), iVar3 != 0" (assignment_expression "iVar3 = bfd_check_format(f->the_bfd,2)" identifier = (call_expression "bfd_check_format(f->the_bfd,2)" identifier (argument_list "(f->the_bfd,2)" ( (field_expression "f->the_bfd" identifier -> field_identifier) , number_literal )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      iVar3 = 0;\n      while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }\n      return;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (while_statement "while (iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0) {\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }" while (parenthesized_expression "(iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0)" ( (comma_expression "iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3), iVar3 != 0" (assignment_expression "iVar3 = bfd_openr_next_archived_file(f->the_bfd,iVar3)" identifier = (call_expression "bfd_openr_next_archived_file(f->the_bfd,iVar3)" identifier (argument_list "(f->the_bfd,iVar3)" ( (field_expression "f->the_bfd" identifier -> field_identifier) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n        plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);\n        if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }\n      }" { (expression_statement "plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4);" (assignment_expression "plVar1 = *(lang_input_statement_type **)(iVar3 + 0xa4)" identifier = (pointer_expression "*(lang_input_statement_type **)(iVar3 + 0xa4)" * (cast_expression "(lang_input_statement_type **)(iVar3 + 0xa4)" ( (type_descriptor "lang_input_statement_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) ))))) ;) (if_statement "if ((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           ) {\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }" if (parenthesized_expression "((plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)\n           )" ( (binary_expression "(plVar1 != (lang_input_statement_type *)0x0) && (((ulonglong)plVar1->flags & 0x10) == 0)" (parenthesized_expression "(plVar1 != (lang_input_statement_type *)0x0)" ( (binary_expression "plVar1 != (lang_input_statement_type *)0x0" identifier != (cast_expression "(lang_input_statement_type *)0x0" ( (type_descriptor "lang_input_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(((ulonglong)plVar1->flags & 0x10) == 0)" ( (binary_expression "((ulonglong)plVar1->flags & 0x10) == 0" (parenthesized_expression "((ulonglong)plVar1->flags & 0x10)" ( (binary_expression "(ulonglong)plVar1->flags & 0x10" (cast_expression "(ulonglong)plVar1->flags" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "plVar1->flags" identifier -> field_identifier)) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          (*s->walk_wild_section_handler)(s,plVar1,callback,data);\n        }" { (expression_statement "(*s->walk_wild_section_handler)(s,plVar1,callback,data);" (call_expression "(*s->walk_wild_section_handler)(s,plVar1,callback,data)" (parenthesized_expression "(*s->walk_wild_section_handler)" ( (pointer_expression "*s->walk_wild_section_handler" * (field_expression "s->walk_wild_section_handler" identifier -> field_identifier)) )) (argument_list "(s,plVar1,callback,data)" ( identifier , identifier , identifier , identifier ))) ;) })) })) (return_statement "return;" return ;) })) (if_statement "if (((ulonglong)f->flags & 0x10) == 0) {\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }" if (parenthesized_expression "(((ulonglong)f->flags & 0x10) == 0)" ( (binary_expression "((ulonglong)f->flags & 0x10) == 0" (parenthesized_expression "((ulonglong)f->flags & 0x10)" ( (binary_expression "(ulonglong)f->flags & 0x10" (cast_expression "(ulonglong)f->flags" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "f->flags" identifier -> field_identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n      (*s->walk_wild_section_handler)(s,f,callback,data);\n    }" { (expression_statement "(*s->walk_wild_section_handler)(s,f,callback,data);" (call_expression "(*s->walk_wild_section_handler)(s,f,callback,data)" (parenthesized_expression "(*s->walk_wild_section_handler)" ( (pointer_expression "*s->walk_wild_section_handler" * (field_expression "s->walk_wild_section_handler" identifier -> field_identifier)) )) (argument_list "(s,f,callback,data)" ( identifier , identifier , identifier , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = FUN_00022c00();" (assignment_expression "iVar2 = FUN_00022c00()" identifier = (call_expression "FUN_00022c00()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }" { (if_statement "if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }" if (parenthesized_expression "((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0))" ( (binary_expression "(*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x10) != 0)" ( (binary_expression "*(int *)(param_2 + 0x10) != 0" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)" ( (comma_expression "iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0" (assignment_expression "iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2)" identifier = (call_expression "bfd_check_format(*(int *)(param_2 + 0x10),2)" identifier (argument_list "(*(int *)(param_2 + 0x10),2)" ( (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) , number_literal )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (while_statement "while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }" while (parenthesized_expression "(iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            )" ( (comma_expression "iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0" (assignment_expression "iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2)" identifier = (call_expression "bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2)" identifier (argument_list "(*(undefined4 *)(param_2 + 0x10),iVar2)" ( (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }" { (expression_statement "iVar1 = *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xa4)" identifier = (pointer_expression "*(int *)(iVar2 + 0xa4)" * (cast_expression "(int *)(iVar2 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa4)" ( (binary_expression "iVar2 + 0xa4" identifier + number_literal) ))))) ;) (if_statement "if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }" if (parenthesized_expression "((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0))" ( (binary_expression "(iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)(iVar1 + 0x24) & 0x10) == 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x24) & 0x10)" ( (binary_expression "*(byte *)(iVar1 + 0x24) & 0x10" (pointer_expression "*(byte *)(iVar1 + 0x24)" * (cast_expression "(byte *)(iVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }" { (expression_statement "(**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);" (call_expression "(**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" ( (pointer_expression "**(code **)(param_1 + 0x24)" * (pointer_expression "*(code **)(param_1 + 0x24)" * (cast_expression "(code **)(param_1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (argument_list "(param_1,iVar1,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) })) })) (return_statement "return;" return ;) })) (if_statement "if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }" if (parenthesized_expression "((*(byte *)(param_2 + 0x24) & 0x10) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x24) & 0x10)" ( (binary_expression "*(byte *)(param_2 + 0x24) & 0x10" (pointer_expression "*(byte *)(param_2 + 0x24)" * (cast_expression "(byte *)(param_2 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }" { (expression_statement "(**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);" (call_expression "(**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" ( (pointer_expression "**(code **)(param_1 + 0x24)" * (pointer_expression "*(code **)(param_1 + 0x24)" * (cast_expression "(code **)(param_1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (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 ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) })) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00023710(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00023710") (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = FUN_00022c00();\n  if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = FUN_00022c00();" (assignment_expression "iVar2 = FUN_00022c00()" (identifier "iVar2") (= "=") (call_expression "FUN_00022c00()" (identifier "FUN_00022c00") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }\n    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }\n  }" ({ "{") (if_statement "if ((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0))" (( "(") (binary_expression "(*(int *)(param_2 + 0x10) != 0) &&\n       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x10) != 0" (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)" (( "(") (comma_expression "iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0" (assignment_expression "iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2)" (identifier "iVar2") (= "=") (call_expression "bfd_check_format(*(int *)(param_2 + 0x10),2)" (identifier "bfd_check_format") (argument_list "(*(int *)(param_2 + 0x10),2)" (( "(") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "2") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      iVar2 = 0;\n      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }\n      return;\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (while_statement "while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            ) {\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }" (while "while") (parenthesized_expression "(iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0\n            )" (( "(") (comma_expression "iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0" (assignment_expression "iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2)" (identifier "iVar2") (= "=") (call_expression "bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2)" (identifier "bfd_openr_next_archived_file") (argument_list "(*(undefined4 *)(param_2 + 0x10),iVar2)" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "iVar2") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        iVar1 = *(int *)(iVar2 + 0xa4);\n        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }\n      }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar2 + 0xa4);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xa4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 0xa4)" (* "*") (cast_expression "(int *)(iVar2 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xa4)" (( "(") (binary_expression "iVar2 + 0xa4" (identifier "iVar2") (+ "+") (number_literal "0xa4")) () ")"))))) (; ";")) (if_statement "if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }" (if "if") (parenthesized_expression "((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0))" (( "(") (binary_expression "(iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(iVar1 + 0x24) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)(iVar1 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x24) & 0x10)" (( "(") (binary_expression "*(byte *)(iVar1 + 0x24) & 0x10" (pointer_expression "*(byte *)(iVar1 + 0x24)" (* "*") (cast_expression "(byte *)(iVar1 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);\n        }" ({ "{") (expression_statement "(**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);" (call_expression "(**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" (( "(") (pointer_expression "**(code **)(param_1 + 0x24)" (* "*") (pointer_expression "*(code **)(param_1 + 0x24)" (* "*") (cast_expression "(code **)(param_1 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_1,iVar1,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x24) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x24) & 0x10)" (( "(") (binary_expression "*(byte *)(param_2 + 0x24) & 0x10" (pointer_expression "*(byte *)(param_2 + 0x24)" (* "*") (cast_expression "(byte *)(param_2 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);\n    }" ({ "{") (expression_statement "(**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);" (call_expression "(**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" (( "(") (pointer_expression "**(code **)(param_1 + 0x24)" (* "*") (pointer_expression "*(code **)(param_1 + 0x24)" (* "*") (cast_expression "(code **)(param_1 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3
function_1(type_1 *s,type_2 *f,type_3 callback,
              void *data)

{
  type_2 *var_6;
  type_4 var_2;
  int var_4;
  
  var_2 = var_1(s->exclude_name_list,f);
  if (var_2 == 0) {
    if ((f->the_bfd != (type_5 *)0x0) && (var_4 = var_3(f->the_bfd,2), var_4 != 0)) {
      var_4 = 0;
      while (var_4 = var_5(f->the_bfd,var_4), var_4 != 0) {
        var_6 = *(type_2 **)(var_4 + 0xa4);
        if ((var_6 != (type_2 *)0x0) && (((type_6)var_6->flags & 0x10) == 0)
           ) {
          (*s->walk_wild_section_handler)(s,var_6,callback,data);
        }
      }
      return;
    }
    if (((type_6)f->flags & 0x10) == 0) {
      (*s->walk_wild_section_handler)(s,f,callback,data);
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) 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: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))))))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))))))) (return_statement))))

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

void __regparm3 MASKED(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  int iVar2;
  
  iVar2 = FUN_00022c00();
  if (iVar2 == 0) {
    if ((*(int *)(param_2 + 0x10) != 0) &&
       (iVar2 = bfd_check_format(*(int *)(param_2 + 0x10),2), iVar2 != 0)) {
      iVar2 = 0;
      while (iVar2 = bfd_openr_next_archived_file(*(undefined4 *)(param_2 + 0x10),iVar2), iVar2 != 0
            ) {
        iVar1 = *(int *)(iVar2 + 0xa4);
        if ((iVar1 != 0) && ((*(byte *)(iVar1 + 0x24) & 0x10) == 0)) {
          (**(code **)(param_1 + 0x24))(param_1,iVar1,param_3,param_4);
        }
      }
      return;
    }
    if ((*(byte *)(param_2 + 0x24) & 0x10) == 0) {
      (**(code **)(param_1 + 0x24))(param_1,param_2,param_3,param_4);
    }
  }
  return;
}

