
bfd_byte * read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  bfd_byte *pbVar7;
  bfd_byte *contents;
  
  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();
  if (iVar2 == 0) {
    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);
    (*(code *)PTR_printf_00082448)(uVar4,sect_name);
    pbVar7 = (bfd_byte *)0x0;
  }
  else {
    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);
    if (iVar3 == 0) {
      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);
      pcVar6 = abfd->filename;
      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();
      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);
      pbVar7 = (bfd_byte *)0x0;
      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);
      puVar1 = PTR_free_00082428;
      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;
      (*(code *)puVar1)(contents);
    }
    else {
      uVar4 = *(undefined4 *)(iVar2 + 0x30);
      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);
      *(undefined4 *)size_ptr = uVar4;
      pbVar7 = contents;
    }
  }
  return pbVar7;
}



undefined4 FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 local_20 [3];
  
  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();
  if (iVar2 == 0) {
    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);
    (*(code *)PTR_printf_00082448)(uVar4,param_2);
    uVar4 = 0;
  }
  else {
    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);
    if (iVar3 == 0) {
      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);
      uVar7 = *param_1;
      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();
      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);
      uVar4 = 0;
      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);
      puVar1 = PTR_free_00082428;
      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;
      (*(code *)puVar1)(local_20[0]);
    }
    else {
      uVar4 = *(undefined4 *)(iVar2 + 0x30);
      param_3[1] = *(undefined4 *)(iVar2 + 0x34);
      *param_3 = uVar4;
      uVar4 = local_20[0];
    }
  }
  return uVar4;
}


lui gp,0x7
addiu gp,gp,0x3880
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7bcc(gp)
sw gp,0x10(sp)
sw s3,0x30(sp)
or s3,a1,zero
sw s2,0x2c(sp)
or s2,a2,zero
sw s1,0x28(sp)
sw s0,0x24(sp)
sw ra,0x34(sp)
jalr t9
_or s1,a0,zero
lw gp,0x10(sp)
beq v0,zero,0x00016808
_or s0,v0,zero
lw t9,-0x7b60(gp)
addiu a2,sp,0x18
or a1,v0,zero
jalr t9
_or a0,s1,zero
beq v0,zero,0x00016788
_lw gp,0x10(sp)
lw v1,0x34(s0)
lw v0,0x30(s0)
lw s0,0x18(sp)
sw v1,0x4(s2)
sw v0,0x0(s2)
lw ra,0x34(sp)
or v0,s0,zero
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x38
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x1a80
lw gp,0x10(sp)
or s2,v0,zero
lw t9,-0x7ba0(gp)
jalr t9
_lw s0,0x0(s1)
lw gp,0x10(sp)
lw t9,-0x7ce0(gp)
jalr t9
_or a0,v0,zero
or a2,s0,zero
lw gp,0x10(sp)
or a3,v0,zero
or a0,s2,zero
or a1,s3,zero
lw t9,-0x7fb0(gp)
jalr t9
_or s0,zero,zero
li v1,0x1
lw gp,0x10(sp)
lw a0,0x18(sp)
lw v0,-0x7fd8(gp)
lw t9,-0x7b48(gp)
jalr t9
_sw v1,0x25e8(v0)
b 0x0001676c
_lw ra,0x34(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x1a68
or a1,s3,zero
lw gp,0x10(sp)
lw t9,-0x7b28(gp)
jalr t9
_or a0,v0,zero
b 0x0001676c
_lw ra,0x34(sp)
(translation_unit "undefined4 FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (expression_statement "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();" (assignment_expression "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)()" identifier = (call_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)()" (parenthesized_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)" ( (pointer_expression "*(code *)PTR_bfd_get_section_by_name_000823a4" * (cast_expression "(code *)PTR_bfd_get_section_by_name_000823a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a68,5)" ( number_literal , (binary_expression "PTR_LAB_00081fa8 + 0x1a68" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_printf_00082448)(uVar4,param_2);" (call_expression "(*(code *)PTR_printf_00082448)(uVar4,param_2)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" ( (pointer_expression "*(code *)PTR_printf_00082448" * (cast_expression "(code *)PTR_printf_00082448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,param_2)" ( identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" else (compound_statement "{\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);" (assignment_expression "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20)" identifier = (call_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20)" (parenthesized_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)" ( (pointer_expression "*(code *)PTR_bfd_malloc_and_get_section_00082410" * (cast_expression "(code *)PTR_bfd_malloc_and_get_section_00082410" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar2,local_20)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }" { (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a80,5)" ( number_literal , (binary_expression "PTR_LAB_00081fa8 + 0x1a80" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar7 = *param_1;" (assignment_expression "uVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();" (assignment_expression "uVar4 = (*(code *)PTR_bfd_get_error_000823d0)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_000823d0)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_000823d0)" ( (pointer_expression "*(code *)PTR_bfd_get_error_000823d0" * (cast_expression "(code *)PTR_bfd_get_error_000823d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);" (assignment_expression "uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4)" identifier = (call_expression "(*(code *)PTR_bfd_errmsg_00082290)(uVar4)" (parenthesized_expression "(*(code *)PTR_bfd_errmsg_00082290)" ( (pointer_expression "*(code *)PTR_bfd_errmsg_00082290" * (cast_expression "(code *)PTR_bfd_errmsg_00082290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);" (call_expression "(*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6)" (parenthesized_expression "(*(code *)PTR_non_fatal_00081fc0)" ( (pointer_expression "*(code *)PTR_non_fatal_00081fc0" * (cast_expression "(code *)PTR_non_fatal_00081fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,param_2,uVar7,uVar6)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = PTR_free_00082428;" (assignment_expression "puVar1 = PTR_free_00082428" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" * (cast_expression "(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x25e8)" ( (binary_expression "PTR_DAT_00081f98 + 0x25e8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(local_20[0]);" (call_expression "(*(code *)puVar1)(local_20[0])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) }) (else_clause "else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" else (compound_statement "{\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" { (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "param_3[1] = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "param_3[1] = *(undefined4 *)(iVar2 + 0x34)" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = uVar4;" (assignment_expression "*param_3 = uVar4" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "uVar4 = local_20[0];" (assignment_expression "uVar4 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) }))) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "bfd_byte * read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  bfd_byte *pbVar7;\n  bfd_byte *contents;\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,sect_name);\n    pbVar7 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);\n    if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }\n  }\n  return pbVar7;\n}\n\n" (function_definition "bfd_byte * read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  bfd_byte *pbVar7;\n  bfd_byte *contents;\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,sect_name);\n    pbVar7 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);\n    if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }\n  }\n  return pbVar7;\n}" type_identifier (pointer_declarator "* read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)" * (function_declarator "read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)" identifier (parameter_list "(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "char *sect_name" primitive_type (pointer_declarator "*sect_name" * identifier)) , (parameter_declaration "bfd_size_type *size_ptr" type_identifier (pointer_declarator "*size_ptr" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  bfd_byte *pbVar7;\n  bfd_byte *contents;\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,sect_name);\n    pbVar7 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);\n    if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }\n  }\n  return pbVar7;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "bfd_byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bfd_byte *contents;" type_identifier (pointer_declarator "*contents" * identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();" (assignment_expression "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)()" identifier = (call_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)()" (parenthesized_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)" ( (pointer_expression "*(code *)PTR_bfd_get_section_by_name_000823a4" * (cast_expression "(code *)PTR_bfd_get_section_by_name_000823a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,sect_name);\n    pbVar7 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);\n    if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,sect_name);\n    pbVar7 = (bfd_byte *)0x0;\n  }" { (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a68,5)" ( number_literal , (binary_expression "PTR_LAB_00081fa8 + 0x1a68" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_printf_00082448)(uVar4,sect_name);" (call_expression "(*(code *)PTR_printf_00082448)(uVar4,sect_name)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" ( (pointer_expression "*(code *)PTR_printf_00082448" * (cast_expression "(code *)PTR_printf_00082448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,sect_name)" ( identifier , identifier ))) ;) (expression_statement "pbVar7 = (bfd_byte *)0x0;" (assignment_expression "pbVar7 = (bfd_byte *)0x0" identifier = (cast_expression "(bfd_byte *)0x0" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);\n    if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }\n  }" else (compound_statement "{\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);\n    if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents);" (assignment_expression "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents)" identifier = (call_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)(abfd,iVar2,&contents)" (parenthesized_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)" ( (pointer_expression "*(code *)PTR_bfd_malloc_and_get_section_00082410" * (cast_expression "(code *)PTR_bfd_malloc_and_get_section_00082410" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(abfd,iVar2,&contents)" ( identifier , identifier , (pointer_expression "&contents" & identifier) )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      pcVar6 = abfd->filename;\n      uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);\n      pbVar7 = (bfd_byte *)0x0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(contents);\n    }" { (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a80,5)" ( number_literal , (binary_expression "PTR_LAB_00081fa8 + 0x1a80" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar6 = abfd->filename;" (assignment_expression "pcVar6 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "uVar5 = (*(code *)PTR_bfd_get_error_000823d0)();" (assignment_expression "uVar5 = (*(code *)PTR_bfd_get_error_000823d0)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_000823d0)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_000823d0)" ( (pointer_expression "*(code *)PTR_bfd_get_error_000823d0" * (cast_expression "(code *)PTR_bfd_get_error_000823d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5);" (assignment_expression "uVar5 = (*(code *)PTR_bfd_errmsg_00082290)(uVar5)" identifier = (call_expression "(*(code *)PTR_bfd_errmsg_00082290)(uVar5)" (parenthesized_expression "(*(code *)PTR_bfd_errmsg_00082290)" ( (pointer_expression "*(code *)PTR_bfd_errmsg_00082290" * (cast_expression "(code *)PTR_bfd_errmsg_00082290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "pbVar7 = (bfd_byte *)0x0;" (assignment_expression "pbVar7 = (bfd_byte *)0x0" identifier = (cast_expression "(bfd_byte *)0x0" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);" (call_expression "(*(code *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5)" (parenthesized_expression "(*(code *)PTR_non_fatal_00081fc0)" ( (pointer_expression "*(code *)PTR_non_fatal_00081fc0" * (cast_expression "(code *)PTR_non_fatal_00081fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,sect_name,pcVar6,uVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = PTR_free_00082428;" (assignment_expression "puVar1 = PTR_free_00082428" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" * (cast_expression "(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x25e8)" ( (binary_expression "PTR_DAT_00081f98 + 0x25e8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(contents);" (call_expression "(*(code *)puVar1)(contents)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(contents)" ( identifier ))) ;) }) (else_clause "else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }" else (compound_statement "{\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      *(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)size_ptr = uVar4;\n      pbVar7 = contents;\n    }" { (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "*(undefined4 *)((int)size_ptr + 4) = *(undefined4 *)(iVar2 + 0x34)" (pointer_expression "*(undefined4 *)((int)size_ptr + 4)" * (cast_expression "(undefined4 *)((int)size_ptr + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)size_ptr + 4)" ( (binary_expression "(int)size_ptr + 4" (cast_expression "(int)size_ptr" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)size_ptr = uVar4;" (assignment_expression "*(undefined4 *)size_ptr = uVar4" (pointer_expression "*(undefined4 *)size_ptr" * (cast_expression "(undefined4 *)size_ptr" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "pbVar7 = contents;" (assignment_expression "pbVar7 = contents" identifier = identifier) ;) }))) }))) (return_statement "return pbVar7;" return identifier ;) })))
(translation_unit "undefined4 FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (expression_statement "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();" (assignment_expression "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)()" identifier = (call_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)()" (parenthesized_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)" ( (pointer_expression "*(code *)PTR_bfd_get_section_by_name_000823a4" * (cast_expression "(code *)PTR_bfd_get_section_by_name_000823a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a68,5)" ( number_literal , (binary_expression "PTR_LAB_00081fa8 + 0x1a68" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_printf_00082448)(uVar4,param_2);" (call_expression "(*(code *)PTR_printf_00082448)(uVar4,param_2)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" ( (pointer_expression "*(code *)PTR_printf_00082448" * (cast_expression "(code *)PTR_printf_00082448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,param_2)" ( identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" else (compound_statement "{\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);" (assignment_expression "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20)" identifier = (call_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20)" (parenthesized_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)" ( (pointer_expression "*(code *)PTR_bfd_malloc_and_get_section_00082410" * (cast_expression "(code *)PTR_bfd_malloc_and_get_section_00082410" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar2,local_20)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }" { (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a80,5)" ( number_literal , (binary_expression "PTR_LAB_00081fa8 + 0x1a80" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar7 = *param_1;" (assignment_expression "uVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();" (assignment_expression "uVar4 = (*(code *)PTR_bfd_get_error_000823d0)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_000823d0)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_000823d0)" ( (pointer_expression "*(code *)PTR_bfd_get_error_000823d0" * (cast_expression "(code *)PTR_bfd_get_error_000823d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);" (assignment_expression "uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4)" identifier = (call_expression "(*(code *)PTR_bfd_errmsg_00082290)(uVar4)" (parenthesized_expression "(*(code *)PTR_bfd_errmsg_00082290)" ( (pointer_expression "*(code *)PTR_bfd_errmsg_00082290" * (cast_expression "(code *)PTR_bfd_errmsg_00082290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);" (call_expression "(*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6)" (parenthesized_expression "(*(code *)PTR_non_fatal_00081fc0)" ( (pointer_expression "*(code *)PTR_non_fatal_00081fc0" * (cast_expression "(code *)PTR_non_fatal_00081fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,param_2,uVar7,uVar6)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = PTR_free_00082428;" (assignment_expression "puVar1 = PTR_free_00082428" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" * (cast_expression "(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x25e8)" ( (binary_expression "PTR_DAT_00081f98 + 0x25e8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(local_20[0]);" (call_expression "(*(code *)puVar1)(local_20[0])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) }) (else_clause "else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" else (compound_statement "{\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" { (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "param_3[1] = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "param_3[1] = *(undefined4 *)(iVar2 + 0x34)" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = uVar4;" (assignment_expression "*param_3 = uVar4" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "uVar4 = local_20[0];" (assignment_expression "uVar4 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) }))) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) }) (else_clause else (compound_statement { (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 (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_000166f0(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)" (identifier "FUN_000166f0") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_20 [3];\n  \n  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();\n  if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }\n  return uVar4;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();" (assignment_expression "iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)()" (parenthesized_expression "(*(code *)PTR_bfd_get_section_by_name_000823a4)" (( "(") (pointer_expression "*(code *)PTR_bfd_get_section_by_name_000823a4" (* "*") (cast_expression "(code *)PTR_bfd_get_section_by_name_000823a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_get_section_by_name_000823a4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }\n  else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);\n    (*(code *)PTR_printf_00082448)(uVar4,param_2);\n    uVar4 = 0;\n  }" ({ "{") (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a68,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00081fa8 + 0x1a68" (identifier "PTR_LAB_00081fa8") (+ "+") (number_literal "0x1a68")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_printf_00082448)(uVar4,param_2);" (call_expression "(*(code *)PTR_printf_00082448)(uVar4,param_2)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" (( "(") (pointer_expression "*(code *)PTR_printf_00082448" (* "*") (cast_expression "(code *)PTR_printf_00082448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_printf_00082448"))) () ")")) (argument_list "(uVar4,param_2)" (( "(") (identifier "uVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" (else "else") (compound_statement "{\n    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);\n    if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);" (assignment_expression "iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20)" (parenthesized_expression "(*(code *)PTR_bfd_malloc_and_get_section_00082410)" (( "(") (pointer_expression "*(code *)PTR_bfd_malloc_and_get_section_00082410" (* "*") (cast_expression "(code *)PTR_bfd_malloc_and_get_section_00082410" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_malloc_and_get_section_00082410"))) () ")")) (argument_list "(param_1,iVar2,local_20)" (( "(") (identifier "param_1") (, ",") (identifier "iVar2") (, ",") (identifier "local_20") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }\n    else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);\n      uVar7 = *param_1;\n      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();\n      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);\n      uVar4 = 0;\n      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);\n      puVar1 = PTR_free_00082428;\n      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;\n      (*(code *)puVar1)(local_20[0]);\n    }" ({ "{") (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,PTR_LAB_00081fa8 + 0x1a80,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00081fa8 + 0x1a80" (identifier "PTR_LAB_00081fa8") (+ "+") (number_literal "0x1a80")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar7 = *param_1;" (assignment_expression "uVar7 = *param_1" (identifier "uVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();" (assignment_expression "uVar4 = (*(code *)PTR_bfd_get_error_000823d0)()" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_bfd_get_error_000823d0)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_000823d0)" (( "(") (pointer_expression "*(code *)PTR_bfd_get_error_000823d0" (* "*") (cast_expression "(code *)PTR_bfd_get_error_000823d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_get_error_000823d0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);" (assignment_expression "uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_bfd_errmsg_00082290)(uVar4)" (parenthesized_expression "(*(code *)PTR_bfd_errmsg_00082290)" (( "(") (pointer_expression "*(code *)PTR_bfd_errmsg_00082290" (* "*") (cast_expression "(code *)PTR_bfd_errmsg_00082290" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_errmsg_00082290"))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);" (call_expression "(*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6)" (parenthesized_expression "(*(code *)PTR_non_fatal_00081fc0)" (( "(") (pointer_expression "*(code *)PTR_non_fatal_00081fc0" (* "*") (cast_expression "(code *)PTR_non_fatal_00081fc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_non_fatal_00081fc0"))) () ")")) (argument_list "(uVar5,param_2,uVar7,uVar6)" (( "(") (identifier "uVar5") (, ",") (identifier "param_2") (, ",") (identifier "uVar7") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_free_00082428;" (assignment_expression "puVar1 = PTR_free_00082428" (identifier "puVar1") (= "=") (identifier "PTR_free_00082428")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00081f98 + 0x25e8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00081f98 + 0x25e8)" (( "(") (binary_expression "PTR_DAT_00081f98 + 0x25e8" (identifier "PTR_DAT_00081f98") (+ "+") (number_literal "0x25e8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)puVar1)(local_20[0]);" (call_expression "(*(code *)puVar1)(local_20[0])" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(local_20[0])" (( "(") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" (else "else") (compound_statement "{\n      uVar4 = *(undefined4 *)(iVar2 + 0x30);\n      param_3[1] = *(undefined4 *)(iVar2 + 0x34);\n      *param_3 = uVar4;\n      uVar4 = local_20[0];\n    }" ({ "{") (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "param_3[1] = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "param_3[1] = *(undefined4 *)(iVar2 + 0x34)" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*param_3 = uVar4;" (assignment_expression "*param_3 = uVar4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar4 = local_20[0];" (assignment_expression "uVar4 = local_20[0]" (identifier "uVar4") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")))) (} "}")))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

type_1 * function_1(type_2 *abfd,char *sect_name,type_3 *size_ptr)

{
  type_4 *puVar1;
  int var_1;
  int var_3;
  type_5 uVar4;
  type_5 uVar5;
  char *pcVar6;
  type_1 *pbVar7;
  type_1 *contents;
  
  var_1 = (*(type_6 *)PTR_bfd_get_section_by_name_000823a4)();
  if (var_1 == 0) {
    uVar4 = (*(type_6 *)PTR_dcgettext_000823f4)(0,var_2 + 0x1a68,5);
    (*(type_6 *)PTR_printf_00082448)(uVar4,sect_name);
    pbVar7 = (type_1 *)0x0;
  }
  else {
    var_3 = (*(type_6 *)PTR_bfd_malloc_and_get_section_00082410)(abfd,var_1,&contents);
    if (var_3 == 0) {
      uVar4 = (*(type_6 *)PTR_dcgettext_000823f4)(0,var_2 + 0x1a80,5);
      pcVar6 = abfd->filename;
      uVar5 = (*(type_6 *)PTR_bfd_get_error_000823d0)();
      uVar5 = (*(type_6 *)PTR_bfd_errmsg_00082290)(uVar5);
      pbVar7 = (type_1 *)0x0;
      (*(type_6 *)PTR_non_fatal_00081fc0)(uVar4,sect_name,pcVar6,uVar5);
      puVar1 = PTR_free_00082428;
      *(type_5 *)(var_4 + 0x25e8) = 1;
      (*(type_6 *)puVar1)(contents);
    }
    else {
      uVar4 = *(type_5 *)(var_1 + 0x30);
      *(type_5 *)((int)size_ptr + 4) = *(type_5 *)(var_1 + 0x34);
      *(type_5 *)size_ptr = uVar4;
      pbVar7 = contents;
    }
  }
  return pbVar7;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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)))) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (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 (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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)))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_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))) (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 (subscript_expression argument: (identifier) index: (number_literal)))))) alternative: (else_clause (compound_statement (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: (subscript_expression argument: (identifier) index: (number_literal)) 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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))))) (return_statement (identifier)))))

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

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 local_20 [3];
  
  iVar2 = (*(code *)PTR_bfd_get_section_by_name_000823a4)();
  if (iVar2 == 0) {
    uVar4 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a68,5);
    (*(code *)PTR_printf_00082448)(uVar4,param_2);
    uVar4 = 0;
  }
  else {
    iVar3 = (*(code *)PTR_bfd_malloc_and_get_section_00082410)(param_1,iVar2,local_20);
    if (iVar3 == 0) {
      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_LAB_00081fa8 + 0x1a80,5);
      uVar7 = *param_1;
      uVar4 = (*(code *)PTR_bfd_get_error_000823d0)();
      uVar6 = (*(code *)PTR_bfd_errmsg_00082290)(uVar4);
      uVar4 = 0;
      (*(code *)PTR_non_fatal_00081fc0)(uVar5,param_2,uVar7,uVar6);
      puVar1 = PTR_free_00082428;
      *(undefined4 *)(PTR_DAT_00081f98 + 0x25e8) = 1;
      (*(code *)puVar1)(local_20[0]);
    }
    else {
      uVar4 = *(undefined4 *)(iVar2 + 0x30);
      param_3[1] = *(undefined4 *)(iVar2 + 0x34);
      *param_3 = uVar4;
      uVar4 = local_20[0];
    }
  }
  return uVar4;
}

