
/* WARNING: Unknown calling convention */

void walk_wild_section_specs1_wild1
               (lang_wild_statement_type *ptr,lang_input_statement_type *file,callback_t callback,
               void *data)

{
  wildcard_list *sec;
  bfd_boolean bVar1;
  bfd_section *s;
  
  sec = ptr->handler_data[0];
  s = file->the_bfd->sections;
  do {
    if (s == (bfd_section *)0x0) {
      return;
    }
    while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {
      walk_wild_consider_section(ptr,file,s,sec,callback,data);
      s = s->next;
      if (s == (bfd_section *)0x0) {
        return;
      }
    }
    s = s->next;
  } while( true );
}



void FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  
  uVar1 = *(undefined4 *)(param_1 + 0x28);
  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);
  do {
    if (iVar3 == 0) {
      return;
    }
    while (iVar2 = FUN_0001f010(), iVar2 != 0) {
      FUN_00020b50(uVar1,param_3,param_4);
      iVar3 = *(int *)(iVar3 + 0xc);
      if (iVar3 == 0) {
        return;
      }
    }
    iVar3 = *(int *)(iVar3 + 0xc);
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EDI + 0x10]
MOV ESI,dword ptr [EBP + 0x28]
MOV EBX,dword ptr [EAX + 0x60]
TEST EBX,EBX
JNZ 0x00020bb7
JMP 0x00020be6
MOV EBX,dword ptr [EBX + 0xc]
TEST EBX,EBX
JZ 0x00020be6
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [EBX]
CALL 0x0001f010
TEST EAX,EAX
JZ 0x00020bb0
SUB ESP,0x4
MOV ECX,EBX
MOV EDX,EDI
MOV EAX,EBP
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH ESI
CALL 0x00020b50
MOV EBX,dword ptr [EBX + 0xc]
ADD ESP,0x10
TEST EBX,EBX
JNZ 0x00020bb7
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}\n\n" (function_definition "void FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00020b90(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  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x28)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 0x10) + 0x60)" * (cast_expression "(int *)(*(int *)(param_2 + 0x10) + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x10) + 0x60)" ( (binary_expression "*(int *)(param_2 + 0x10) + 0x60" (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) ))))) ;) (do_statement "do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );" do (compound_statement "{\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  }" { (if_statement "if (iVar3 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }" while (parenthesized_expression "(iVar2 = FUN_0001f010(), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_0001f010(), iVar2 != 0" (assignment_expression "iVar2 = FUN_0001f010()" identifier = (call_expression "FUN_0001f010()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }" { (expression_statement "FUN_00020b50(uVar1,param_3,param_4);" (call_expression "FUN_00020b50(uVar1,param_3,param_4)" identifier (argument_list "(uVar1,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n        return;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid walk_wild_section_specs1_wild1\n               (lang_wild_statement_type *ptr,lang_input_statement_type *file,callback_t callback,\n               void *data)\n\n{\n  wildcard_list *sec;\n  bfd_boolean bVar1;\n  bfd_section *s;\n  \n  sec = ptr->handler_data[0];\n  s = file->the_bfd->sections;\n  do {\n    if (s == (bfd_section *)0x0) {\n      return;\n    }\n    while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }\n    s = s->next;\n  } while( true );\n}\n\n" comment (function_definition "void walk_wild_section_specs1_wild1\n               (lang_wild_statement_type *ptr,lang_input_statement_type *file,callback_t callback,\n               void *data)\n\n{\n  wildcard_list *sec;\n  bfd_boolean bVar1;\n  bfd_section *s;\n  \n  sec = ptr->handler_data[0];\n  s = file->the_bfd->sections;\n  do {\n    if (s == (bfd_section *)0x0) {\n      return;\n    }\n    while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }\n    s = s->next;\n  } while( true );\n}" primitive_type (function_declarator "walk_wild_section_specs1_wild1\n               (lang_wild_statement_type *ptr,lang_input_statement_type *file,callback_t callback,\n               void *data)" identifier (parameter_list "(lang_wild_statement_type *ptr,lang_input_statement_type *file,callback_t callback,\n               void *data)" ( (parameter_declaration "lang_wild_statement_type *ptr" type_identifier (pointer_declarator "*ptr" * identifier)) , (parameter_declaration "lang_input_statement_type *file" type_identifier (pointer_declarator "*file" * identifier)) , (parameter_declaration "callback_t callback" type_identifier identifier) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  wildcard_list *sec;\n  bfd_boolean bVar1;\n  bfd_section *s;\n  \n  sec = ptr->handler_data[0];\n  s = file->the_bfd->sections;\n  do {\n    if (s == (bfd_section *)0x0) {\n      return;\n    }\n    while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }\n    s = s->next;\n  } while( true );\n}" { (declaration "wildcard_list *sec;" type_identifier (pointer_declarator "*sec" * identifier) ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "bfd_section *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (expression_statement "sec = ptr->handler_data[0];" (assignment_expression "sec = ptr->handler_data[0]" identifier = (subscript_expression "ptr->handler_data[0]" (field_expression "ptr->handler_data" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "s = file->the_bfd->sections;" (assignment_expression "s = file->the_bfd->sections" identifier = (field_expression "file->the_bfd->sections" (field_expression "file->the_bfd" identifier -> field_identifier) -> field_identifier)) ;) (do_statement "do {\n    if (s == (bfd_section *)0x0) {\n      return;\n    }\n    while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }\n    s = s->next;\n  } while( true );" do (compound_statement "{\n    if (s == (bfd_section *)0x0) {\n      return;\n    }\n    while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }\n    s = s->next;\n  }" { (if_statement "if (s == (bfd_section *)0x0) {\n      return;\n    }" if (parenthesized_expression "(s == (bfd_section *)0x0)" ( (binary_expression "s == (bfd_section *)0x0" identifier == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while (bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0) {\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }" while (parenthesized_expression "(bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0)" ( (comma_expression "bVar1 = match_simple_wild((sec->spec).name,s->name), bVar1 != 0" (assignment_expression "bVar1 = match_simple_wild((sec->spec).name,s->name)" identifier = (call_expression "match_simple_wild((sec->spec).name,s->name)" identifier (argument_list "((sec->spec).name,s->name)" ( (field_expression "(sec->spec).name" (parenthesized_expression "(sec->spec)" ( (field_expression "sec->spec" identifier -> field_identifier) )) . field_identifier) , (field_expression "s->name" identifier -> field_identifier) )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      walk_wild_consider_section(ptr,file,s,sec,callback,data);\n      s = s->next;\n      if (s == (bfd_section *)0x0) {\n        return;\n      }\n    }" { (expression_statement "walk_wild_consider_section(ptr,file,s,sec,callback,data);" (call_expression "walk_wild_consider_section(ptr,file,s,sec,callback,data)" identifier (argument_list "(ptr,file,s,sec,callback,data)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "s = s->next;" (assignment_expression "s = s->next" identifier = (field_expression "s->next" identifier -> field_identifier)) ;) (if_statement "if (s == (bfd_section *)0x0) {\n        return;\n      }" if (parenthesized_expression "(s == (bfd_section *)0x0)" ( (binary_expression "s == (bfd_section *)0x0" identifier == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "s = s->next;" (assignment_expression "s = s->next" identifier = (field_expression "s->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}\n\n" (function_definition "void FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00020b90(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  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x28)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 0x10) + 0x60)" * (cast_expression "(int *)(*(int *)(param_2 + 0x10) + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x10) + 0x60)" ( (binary_expression "*(int *)(param_2 + 0x10) + 0x60" (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) ))))) ;) (do_statement "do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );" do (compound_statement "{\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  }" { (if_statement "if (iVar3 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }" while (parenthesized_expression "(iVar2 = FUN_0001f010(), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_0001f010(), iVar2 != 0" (assignment_expression "iVar2 = FUN_0001f010()" identifier = (call_expression "FUN_0001f010()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }" { (expression_statement "FUN_00020b50(uVar1,param_3,param_4);" (call_expression "FUN_00020b50(uVar1,param_3,param_4)" identifier (argument_list "(uVar1,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n        return;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (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 IDENT == LIT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00020b90(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00020b90") (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  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x28);\n  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);\n  do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x28)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*(int *)(param_2 + 0x10) + 0x60)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 0x10) + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x10) + 0x60)" (( "(") (binary_expression "*(int *)(param_2 + 0x10) + 0x60" (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 "0x60")) () ")"))))) (; ";")) (do_statement "do {\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  } while( true );" (do "do") (compound_statement "{\n    if (iVar3 == 0) {\n      return;\n    }\n    while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }\n    iVar3 = *(int *)(iVar3 + 0xc);\n  }" ({ "{") (if_statement "if (iVar3 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (while_statement "while (iVar2 = FUN_0001f010(), iVar2 != 0) {\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "(iVar2 = FUN_0001f010(), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_0001f010(), iVar2 != 0" (assignment_expression "iVar2 = FUN_0001f010()" (identifier "iVar2") (= "=") (call_expression "FUN_0001f010()" (identifier "FUN_0001f010") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      FUN_00020b50(uVar1,param_3,param_4);\n      iVar3 = *(int *)(iVar3 + 0xc);\n      if (iVar3 == 0) {\n        return;\n      }\n    }" ({ "{") (expression_statement "FUN_00020b50(uVar1,param_3,param_4);" (call_expression "FUN_00020b50(uVar1,param_3,param_4)" (identifier "FUN_00020b50") (argument_list "(uVar1,param_3,param_4)" (( "(") (identifier "uVar1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1
               (type_1 *ptr,type_2 *file,type_3 callback,
               void *data)

{
  type_4 *sec;
  type_5 var_3;
  type_6 *var_1;
  
  sec = ptr->handler_data[0];
  var_1 = file->the_bfd->sections;
  do {
    if (var_1 == (type_6 *)0x0) {
      return;
    }
    while (var_3 = var_2((sec->spec).name,var_1->name), var_3 != 0) {
      var_4(ptr,file,var_1,sec,callback,data);
      var_1 = var_1->next;
      if (var_1 == (type_6 *)0x0) {
        return;
      }
    }
    var_1 = var_1->next;
  } while( true );
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (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: (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))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (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: (identifier) right: (number_literal))) consequence: (compound_statement (return_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)))))))) condition: (parenthesized_expression (true))))))

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

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  
  uVar1 = *(undefined4 *)(param_1 + 0x28);
  iVar3 = *(int *)(*(int *)(param_2 + 0x10) + 0x60);
  do {
    if (iVar3 == 0) {
      return;
    }
    while (iVar2 = FUN_0001f010(), iVar2 != 0) {
      FUN_00020b50(uVar1,param_3,param_4);
      iVar3 = *(int *)(iVar3 + 0xc);
      if (iVar3 == 0) {
        return;
      }
    }
    iVar3 = *(int *)(iVar3 + 0xc);
  } while( true );
}

