
int setup_nested_archive(archive_info *nested_arch,char *member_file_name)

{
  int iVar1;
  FILE *file;
  
  if ((nested_arch->file_name != (char *)0x0) &&
     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {
    return 0;
  }
  if (nested_arch->file != (FILE *)0x0) {
    (*(code *)PTR_fclose_000822a4)();
  }
  release_archive(nested_arch);
  file = (FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4);
  if (file != (FILE *)0x0) {
    iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);
    return iVar1;
  }
  return 1;
}



undefined4 setup_nested_archive(int *param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {
    return 0;
  }
  if (param_1[1] != 0) {
    (*(code *)PTR_fclose_000822a4)();
  }
  release_archive(param_1);
  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);
  if (iVar1 != 0) {
    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);
    return uVar2;
  }
  return 1;
}


lui gp,0x3
addiu gp,gp,-0x45c
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x24(sp)
or s0,a0,zero
sw gp,0x18(sp)
sw s1,0x28(sp)
sw ra,0x2c(sp)
lw a0,0x0(a0)
beq a0,zero,0x0005a410
_or s1,a1,zero
lw t9,-0x7b18(gp)
jalr t9
_nop
beq v0,zero,0x0005a470
_lw gp,0x18(sp)
lw a0,0x4(s0)
beq a0,zero,0x0005a428
_lw t9,-0x7ccc(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw t9,-0x7d84(gp)
bal 0x0005a33c
_or a0,s0,zero
or a0,s1,zero
lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
lw t9,-0x7cdc(gp)
jalr t9
_addiu a1,a1,0x2ab4
beq v0,zero,0x0005a484
_lw gp,0x18(sp)
lw t9,-0x7d80(gp)
or a3,zero,zero
sw zero,0x10(sp)
or a2,v0,zero
or a1,s1,zero
bal 0x00059f94
_or a0,s0,zero
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
li v0,0x1
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "undefined4 setup_nested_archive(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 setup_nested_archive(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}" type_identifier (function_declarator "setup_nested_archive(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }" if (parenthesized_expression "((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0))" ( (binary_expression "(*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_00082458)()" identifier = (call_expression "(*(code *)PTR_strcmp_00082458)()" (parenthesized_expression "(*(code *)PTR_strcmp_00082458)" ( (pointer_expression "*(code *)PTR_strcmp_00082458" * (cast_expression "(code *)PTR_strcmp_00082458" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_fclose_000822a4)();\n  }" { (expression_statement "(*(code *)PTR_fclose_000822a4)();" (call_expression "(*(code *)PTR_fclose_000822a4)()" (parenthesized_expression "(*(code *)PTR_fclose_000822a4)" ( (pointer_expression "*(code *)PTR_fclose_000822a4" * (cast_expression "(code *)PTR_fclose_000822a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "release_archive(param_1);" (call_expression "release_archive(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);" (assignment_expression "iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4)" identifier = (call_expression "(*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4)" (parenthesized_expression "(*(code *)PTR_fopen64_00082294)" ( (pointer_expression "*(code *)PTR_fopen64_00082294" * (cast_expression "(code *)PTR_fopen64_00082294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_LAB_00081fa8 + 0x2ab4)" ( identifier , (binary_expression "PTR_LAB_00081fa8 + 0x2ab4" identifier + number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }" { (expression_statement "uVar2 = setup_archive(param_1,param_2,iVar1,0,0);" (assignment_expression "uVar2 = setup_archive(param_1,param_2,iVar1,0,0)" identifier = (call_expression "setup_archive(param_1,param_2,iVar1,0,0)" identifier (argument_list "(param_1,param_2,iVar1,0,0)" ( identifier , identifier , identifier , number_literal , number_literal )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int setup_nested_archive(archive_info *nested_arch,char *member_file_name)\n\n{\n  int iVar1;\n  FILE *file;\n  \n  if ((nested_arch->file_name != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (nested_arch->file != (FILE *)0x0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(nested_arch);\n  file = (FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4);\n  if (file != (FILE *)0x0) {\n    iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);\n    return iVar1;\n  }\n  return 1;\n}\n\n" (function_definition "int setup_nested_archive(archive_info *nested_arch,char *member_file_name)\n\n{\n  int iVar1;\n  FILE *file;\n  \n  if ((nested_arch->file_name != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (nested_arch->file != (FILE *)0x0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(nested_arch);\n  file = (FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4);\n  if (file != (FILE *)0x0) {\n    iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);\n    return iVar1;\n  }\n  return 1;\n}" primitive_type (function_declarator "setup_nested_archive(archive_info *nested_arch,char *member_file_name)" identifier (parameter_list "(archive_info *nested_arch,char *member_file_name)" ( (parameter_declaration "archive_info *nested_arch" type_identifier (pointer_declarator "*nested_arch" * identifier)) , (parameter_declaration "char *member_file_name" primitive_type (pointer_declarator "*member_file_name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  FILE *file;\n  \n  if ((nested_arch->file_name != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (nested_arch->file != (FILE *)0x0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(nested_arch);\n  file = (FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4);\n  if (file != (FILE *)0x0) {\n    iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);\n    return iVar1;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "FILE *file;" type_identifier (pointer_declarator "*file" * identifier) ;) (if_statement "if ((nested_arch->file_name != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }" if (parenthesized_expression "((nested_arch->file_name != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0))" ( (binary_expression "(nested_arch->file_name != (char *)0x0) &&\n     (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" (parenthesized_expression "(nested_arch->file_name != (char *)0x0)" ( (binary_expression "nested_arch->file_name != (char *)0x0" (field_expression "nested_arch->file_name" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_00082458)()" identifier = (call_expression "(*(code *)PTR_strcmp_00082458)()" (parenthesized_expression "(*(code *)PTR_strcmp_00082458)" ( (pointer_expression "*(code *)PTR_strcmp_00082458" * (cast_expression "(code *)PTR_strcmp_00082458" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (nested_arch->file != (FILE *)0x0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }" if (parenthesized_expression "(nested_arch->file != (FILE *)0x0)" ( (binary_expression "nested_arch->file != (FILE *)0x0" (field_expression "nested_arch->file" identifier -> field_identifier) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_fclose_000822a4)();\n  }" { (expression_statement "(*(code *)PTR_fclose_000822a4)();" (call_expression "(*(code *)PTR_fclose_000822a4)()" (parenthesized_expression "(*(code *)PTR_fclose_000822a4)" ( (pointer_expression "*(code *)PTR_fclose_000822a4" * (cast_expression "(code *)PTR_fclose_000822a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "release_archive(nested_arch);" (call_expression "release_archive(nested_arch)" identifier (argument_list "(nested_arch)" ( identifier ))) ;) (expression_statement "file = (FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4);" (assignment_expression "file = (FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4)" identifier = (cast_expression "(FILE *)(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fopen64_00082294)(member_file_name,PTR_LAB_00081fa8 + 0x2ab4)" (parenthesized_expression "(*(code *)PTR_fopen64_00082294)" ( (pointer_expression "*(code *)PTR_fopen64_00082294" * (cast_expression "(code *)PTR_fopen64_00082294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(member_file_name,PTR_LAB_00081fa8 + 0x2ab4)" ( identifier , (binary_expression "PTR_LAB_00081fa8 + 0x2ab4" identifier + number_literal) ))))) ;) (if_statement "if (file != (FILE *)0x0) {\n    iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);\n    return iVar1;\n  }" if (parenthesized_expression "(file != (FILE *)0x0)" ( (binary_expression "file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);\n    return iVar1;\n  }" { (expression_statement "iVar1 = setup_archive(nested_arch,member_file_name,file,0,0);" (assignment_expression "iVar1 = setup_archive(nested_arch,member_file_name,file,0,0)" identifier = (call_expression "setup_archive(nested_arch,member_file_name,file,0,0)" identifier (argument_list "(nested_arch,member_file_name,file,0,0)" ( identifier , identifier , identifier , number_literal , number_literal )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 setup_nested_archive(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 setup_nested_archive(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}" type_identifier (function_declarator "setup_nested_archive(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }" if (parenthesized_expression "((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0))" ( (binary_expression "(*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_00082458)()" identifier = (call_expression "(*(code *)PTR_strcmp_00082458)()" (parenthesized_expression "(*(code *)PTR_strcmp_00082458)" ( (pointer_expression "*(code *)PTR_strcmp_00082458" * (cast_expression "(code *)PTR_strcmp_00082458" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_fclose_000822a4)();\n  }" { (expression_statement "(*(code *)PTR_fclose_000822a4)();" (call_expression "(*(code *)PTR_fclose_000822a4)()" (parenthesized_expression "(*(code *)PTR_fclose_000822a4)" ( (pointer_expression "*(code *)PTR_fclose_000822a4" * (cast_expression "(code *)PTR_fclose_000822a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "release_archive(param_1);" (call_expression "release_archive(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);" (assignment_expression "iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4)" identifier = (call_expression "(*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4)" (parenthesized_expression "(*(code *)PTR_fopen64_00082294)" ( (pointer_expression "*(code *)PTR_fopen64_00082294" * (cast_expression "(code *)PTR_fopen64_00082294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_LAB_00081fa8 + 0x2ab4)" ( identifier , (binary_expression "PTR_LAB_00081fa8 + 0x2ab4" identifier + number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }" { (expression_statement "uVar2 = setup_archive(param_1,param_2,iVar1,0,0);" (assignment_expression "uVar2 = setup_archive(param_1,param_2,iVar1,0,0)" identifier = (call_expression "setup_archive(param_1,param_2,iVar1,0,0)" identifier (argument_list "(param_1,param_2,iVar1,0,0)" ( identifier , identifier , identifier , number_literal , number_literal )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , LIT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 setup_nested_archive(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "setup_nested_archive(int *param_1,undefined4 param_2)" (identifier "setup_nested_archive") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }\n  if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }\n  release_archive(param_1);\n  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);\n  if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0))" (( "(") (binary_expression "(*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_00082458)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_00082458)()" (parenthesized_expression "(*(code *)PTR_strcmp_00082458)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00082458" (* "*") (cast_expression "(code *)PTR_strcmp_00082458" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00082458"))) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_1[1] != 0) {\n    (*(code *)PTR_fclose_000822a4)();\n  }" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_fclose_000822a4)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_fclose_000822a4)();" (call_expression "(*(code *)PTR_fclose_000822a4)()" (parenthesized_expression "(*(code *)PTR_fclose_000822a4)" (( "(") (pointer_expression "*(code *)PTR_fclose_000822a4" (* "*") (cast_expression "(code *)PTR_fclose_000822a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_000822a4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "release_archive(param_1);" (call_expression "release_archive(param_1)" (identifier "release_archive") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);" (assignment_expression "iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4)" (parenthesized_expression "(*(code *)PTR_fopen64_00082294)" (( "(") (pointer_expression "*(code *)PTR_fopen64_00082294" (* "*") (cast_expression "(code *)PTR_fopen64_00082294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fopen64_00082294"))) () ")")) (argument_list "(param_2,PTR_LAB_00081fa8 + 0x2ab4)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_LAB_00081fa8 + 0x2ab4" (identifier "PTR_LAB_00081fa8") (+ "+") (number_literal "0x2ab4")) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = setup_archive(param_1,param_2,iVar1,0,0);" (assignment_expression "uVar2 = setup_archive(param_1,param_2,iVar1,0,0)" (identifier "uVar2") (= "=") (call_expression "setup_archive(param_1,param_2,iVar1,0,0)" (identifier "setup_archive") (argument_list "(param_1,param_2,iVar1,0,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (number_literal))))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  if ((*param_1 != 0) && (iVar1 = (*(code *)PTR_strcmp_00082458)(), iVar1 == 0)) {
    return 0;
  }
  if (param_1[1] != 0) {
    (*(code *)PTR_fclose_000822a4)();
  }
  release_archive(param_1);
  iVar1 = (*(code *)PTR_fopen64_00082294)(param_2,PTR_LAB_00081fa8 + 0x2ab4);
  if (iVar1 != 0) {
    uVar2 = setup_archive(param_1,param_2,iVar1,0,0);
    return uVar2;
  }
  return 1;
}

