
void png_destroy_write_struct(png_structpp png_ptr_ptr,png_infopp info_ptr_ptr)

{
  undefined *puVar1;
  uint uVar2;
  png_structrp png_ptr;
  
  if (png_ptr_ptr == (png_structpp)0x0) {
    return;
  }
  png_ptr = *png_ptr_ptr;
  if (png_ptr != (png_structrp)0x0) {
    (*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);
    uVar2 = png_ptr->flags;
    *png_ptr_ptr = (png_struct *)0x0;
    if ((uVar2 & 2) != 0) {
      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);
    }
    png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);
    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);
    puVar1 = PTR_png_free_00053324;
    png_ptr->row_buf = (png_bytep)0x0;
    (*(code *)puVar1)(png_ptr,png_ptr->prev_row);
    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);
    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);
    png_ptr->prev_row = (png_bytep)0x0;
    png_ptr->try_row = (png_bytep)0x0;
    puVar1 = PTR_png_free_00053324;
    png_ptr->tst_row = (png_bytep)0x0;
    (*(code *)puVar1)(png_ptr,png_ptr->chunk_list);
    png_ptr->chunk_list = (png_bytep)0x0;
    png_destroy_png_struct(png_ptr);
    return;
  }
  return;
}



void png_destroy_write_struct(int *param_1)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  
  if (param_1 == (int *)0x0) {
    return;
  }
  iVar3 = *param_1;
  if (iVar3 != 0) {
    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);
    uVar2 = *(uint *)(iVar3 + 0x128);
    *param_1 = 0;
    if ((uVar2 & 2) != 0) {
      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);
    }
    FUN_00039dec(iVar3,iVar3 + 0x16c);
    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));
    puVar1 = PTR_png_free_00053324;
    *(undefined4 *)(iVar3 + 0x1d4) = 0;
    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));
    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));
    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));
    *(undefined4 *)(iVar3 + 0x1d0) = 0;
    *(undefined4 *)(iVar3 + 0x1d8) = 0;
    puVar1 = PTR_png_free_00053324;
    *(undefined4 *)(iVar3 + 0x1dc) = 0;
    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));
    *(undefined4 *)(iVar3 + 0x2f4) = 0;
    FUN_0001c628(iVar3);
    return;
  }
  return;
}


lui gp,0x2
addiu gp,gp,0x3e18
addu gp,gp,t9
beq a0,zero,0x000372e8
_nop
addiu sp,sp,-0x28
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
lw s0,0x0(a0)
beq s0,zero,0x000372d4
_lw t9,-0x7c3c(gp)
or s1,a0,zero
jalr t9
_or a0,s0,zero
lw v0,0x128(s0)
lw gp,0x10(sp)
andi v0,v0,0x2
bne v0,zero,0x000372f0
_sw zero,0x0(s1)
lw t9,-0x7dd0(gp)
addiu a1,s0,0x16c
bal 0x00039dec
_or a0,s0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7ccc(gp)
jalr t9
_lw a1,0x1d4(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw a1,0x1d0(s0)
lw t9,-0x7ccc(gp)
jalr t9
_sw zero,0x1d4(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7ccc(gp)
jalr t9
_lw a1,0x1d8(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7ccc(gp)
jalr t9
_lw a1,0x1dc(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw a1,0x2f4(s0)
sw zero,0x1d0(s0)
sw zero,0x1d8(s0)
lw t9,-0x7ccc(gp)
jalr t9
_sw zero,0x1dc(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
sw zero,0x2f4(s0)
lw t9,-0x7e50(gp)
lw s0,0x1c(sp)
b 0x0001c628
_addiu sp,sp,0x28
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_nop
lw t9,-0x7c7c(gp)
jalr t9
_addiu a0,s0,0x134
b 0x0003722c
_lw gp,0x10(sp)
(translation_unit "void png_destroy_write_struct(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void png_destroy_write_struct(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_destroy_write_struct(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }" { (expression_statement "(*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);" (call_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3)" (parenthesized_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)" ( (pointer_expression "*(code *)PTR_png_destroy_info_struct_000533b4" * (cast_expression "(code *)PTR_png_destroy_info_struct_000533b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "uVar2 = *(uint *)(iVar3 + 0x128);" (assignment_expression "uVar2 = *(uint *)(iVar3 + 0x128)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x128)" * (cast_expression "(uint *)(iVar3 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x128)" ( (binary_expression "iVar3 + 0x128" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (if_statement "if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }" if (parenthesized_expression "((uVar2 & 2) != 0)" ( (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }" { (expression_statement "(*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);" (call_expression "(*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134)" (parenthesized_expression "(*(code *)PTR_deflateEnd_00053374)" ( (pointer_expression "*(code *)PTR_deflateEnd_00053374" * (cast_expression "(code *)PTR_deflateEnd_00053374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 0x134)" ( (binary_expression "iVar3 + 0x134" identifier + number_literal) ))) ;) })) (expression_statement "FUN_00039dec(iVar3,iVar3 + 0x16c);" (call_expression "FUN_00039dec(iVar3,iVar3 + 0x16c)" identifier (argument_list "(iVar3,iVar3 + 0x16c)" ( identifier , (binary_expression "iVar3 + 0x16c" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d4))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1d4)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d4)" ( (binary_expression "iVar3 + 0x1d4" identifier + number_literal) )))) ))) ;) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1d4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d4)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d4)" ( (binary_expression "iVar3 + 0x1d4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));" (call_expression "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d0))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1d0)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d0)" ( (binary_expression "iVar3 + 0x1d0" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d8))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1d8)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d8)" ( (binary_expression "iVar3 + 0x1d8" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1dc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1dc)" * (cast_expression "(undefined4 *)(iVar3 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1dc)" ( (binary_expression "iVar3 + 0x1dc" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1d0) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d0) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d0)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d0)" ( (binary_expression "iVar3 + 0x1d0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1d8) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d8) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d8)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d8)" ( (binary_expression "iVar3 + 0x1d8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1dc) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1dc) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1dc)" * (cast_expression "(undefined4 *)(iVar3 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1dc)" ( (binary_expression "iVar3 + 0x1dc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));" (call_expression "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x2f4))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x2f4)" * (cast_expression "(undefined4 *)(iVar3 + 0x2f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2f4)" ( (binary_expression "iVar3 + 0x2f4" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x2f4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x2f4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x2f4)" * (cast_expression "(undefined4 *)(iVar3 + 0x2f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2f4)" ( (binary_expression "iVar3 + 0x2f4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001c628(iVar3);" (call_expression "FUN_0001c628(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void png_destroy_write_struct(png_structpp png_ptr_ptr,png_infopp info_ptr_ptr)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  png_structrp png_ptr;\n  \n  if (png_ptr_ptr == (png_structpp)0x0) {\n    return;\n  }\n  png_ptr = *png_ptr_ptr;\n  if (png_ptr != (png_structrp)0x0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);\n    uVar2 = png_ptr->flags;\n    *png_ptr_ptr = (png_struct *)0x0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }\n    png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->row_buf = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->prev_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);\n    png_ptr->prev_row = (png_bytep)0x0;\n    png_ptr->try_row = (png_bytep)0x0;\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->tst_row = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->chunk_list);\n    png_ptr->chunk_list = (png_bytep)0x0;\n    png_destroy_png_struct(png_ptr);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void png_destroy_write_struct(png_structpp png_ptr_ptr,png_infopp info_ptr_ptr)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  png_structrp png_ptr;\n  \n  if (png_ptr_ptr == (png_structpp)0x0) {\n    return;\n  }\n  png_ptr = *png_ptr_ptr;\n  if (png_ptr != (png_structrp)0x0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);\n    uVar2 = png_ptr->flags;\n    *png_ptr_ptr = (png_struct *)0x0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }\n    png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->row_buf = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->prev_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);\n    png_ptr->prev_row = (png_bytep)0x0;\n    png_ptr->try_row = (png_bytep)0x0;\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->tst_row = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->chunk_list);\n    png_ptr->chunk_list = (png_bytep)0x0;\n    png_destroy_png_struct(png_ptr);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_destroy_write_struct(png_structpp png_ptr_ptr,png_infopp info_ptr_ptr)" identifier (parameter_list "(png_structpp png_ptr_ptr,png_infopp info_ptr_ptr)" ( (parameter_declaration "png_structpp png_ptr_ptr" type_identifier identifier) , (parameter_declaration "png_infopp info_ptr_ptr" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  png_structrp png_ptr;\n  \n  if (png_ptr_ptr == (png_structpp)0x0) {\n    return;\n  }\n  png_ptr = *png_ptr_ptr;\n  if (png_ptr != (png_structrp)0x0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);\n    uVar2 = png_ptr->flags;\n    *png_ptr_ptr = (png_struct *)0x0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }\n    png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->row_buf = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->prev_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);\n    png_ptr->prev_row = (png_bytep)0x0;\n    png_ptr->try_row = (png_bytep)0x0;\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->tst_row = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->chunk_list);\n    png_ptr->chunk_list = (png_bytep)0x0;\n    png_destroy_png_struct(png_ptr);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "png_structrp png_ptr;" type_identifier identifier ;) (if_statement "if (png_ptr_ptr == (png_structpp)0x0) {\n    return;\n  }" if (parenthesized_expression "(png_ptr_ptr == (png_structpp)0x0)" ( (binary_expression "png_ptr_ptr == (png_structpp)0x0" identifier == (cast_expression "(png_structpp)0x0" ( (type_descriptor "png_structpp" type_identifier) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "png_ptr = *png_ptr_ptr;" (assignment_expression "png_ptr = *png_ptr_ptr" identifier = (pointer_expression "*png_ptr_ptr" * identifier)) ;) (if_statement "if (png_ptr != (png_structrp)0x0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);\n    uVar2 = png_ptr->flags;\n    *png_ptr_ptr = (png_struct *)0x0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }\n    png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->row_buf = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->prev_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);\n    png_ptr->prev_row = (png_bytep)0x0;\n    png_ptr->try_row = (png_bytep)0x0;\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->tst_row = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->chunk_list);\n    png_ptr->chunk_list = (png_bytep)0x0;\n    png_destroy_png_struct(png_ptr);\n    return;\n  }" if (parenthesized_expression "(png_ptr != (png_structrp)0x0)" ( (binary_expression "png_ptr != (png_structrp)0x0" identifier != (cast_expression "(png_structrp)0x0" ( (type_descriptor "png_structrp" type_identifier) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);\n    uVar2 = png_ptr->flags;\n    *png_ptr_ptr = (png_struct *)0x0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }\n    png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->row_buf = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->prev_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);\n    (*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);\n    png_ptr->prev_row = (png_bytep)0x0;\n    png_ptr->try_row = (png_bytep)0x0;\n    puVar1 = PTR_png_free_00053324;\n    png_ptr->tst_row = (png_bytep)0x0;\n    (*(code *)puVar1)(png_ptr,png_ptr->chunk_list);\n    png_ptr->chunk_list = (png_bytep)0x0;\n    png_destroy_png_struct(png_ptr);\n    return;\n  }" { (expression_statement "(*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr);" (call_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)(png_ptr)" (parenthesized_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)" ( (pointer_expression "*(code *)PTR_png_destroy_info_struct_000533b4" * (cast_expression "(code *)PTR_png_destroy_info_struct_000533b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr)" ( identifier ))) ;) (expression_statement "uVar2 = png_ptr->flags;" (assignment_expression "uVar2 = png_ptr->flags" identifier = (field_expression "png_ptr->flags" identifier -> field_identifier)) ;) (expression_statement "*png_ptr_ptr = (png_struct *)0x0;" (assignment_expression "*png_ptr_ptr = (png_struct *)0x0" (pointer_expression "*png_ptr_ptr" * identifier) = (cast_expression "(png_struct *)0x0" ( (type_descriptor "png_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }" if (parenthesized_expression "((uVar2 & 2) != 0)" ( (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);\n    }" { (expression_statement "(*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream);" (call_expression "(*(code *)PTR_deflateEnd_00053374)(&png_ptr->zstream)" (parenthesized_expression "(*(code *)PTR_deflateEnd_00053374)" ( (pointer_expression "*(code *)PTR_deflateEnd_00053374" * (cast_expression "(code *)PTR_deflateEnd_00053374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&png_ptr->zstream)" ( (pointer_expression "&png_ptr->zstream" & (field_expression "png_ptr->zstream" identifier -> field_identifier)) ))) ;) })) (expression_statement "png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list);" (call_expression "png_free_buffer_list(png_ptr,&png_ptr->zbuffer_list)" identifier (argument_list "(png_ptr,&png_ptr->zbuffer_list)" ( identifier , (pointer_expression "&png_ptr->zbuffer_list" & (field_expression "png_ptr->zbuffer_list" identifier -> field_identifier)) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf);" (call_expression "(*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->row_buf)" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,png_ptr->row_buf)" ( identifier , (field_expression "png_ptr->row_buf" identifier -> field_identifier) ))) ;) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" identifier = identifier) ;) (expression_statement "png_ptr->row_buf = (png_bytep)0x0;" (assignment_expression "png_ptr->row_buf = (png_bytep)0x0" (field_expression "png_ptr->row_buf" identifier -> field_identifier) = (cast_expression "(png_bytep)0x0" ( (type_descriptor "png_bytep" type_identifier) ) number_literal)) ;) (expression_statement "(*(code *)puVar1)(png_ptr,png_ptr->prev_row);" (call_expression "(*(code *)puVar1)(png_ptr,png_ptr->prev_row)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,png_ptr->prev_row)" ( identifier , (field_expression "png_ptr->prev_row" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row);" (call_expression "(*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->try_row)" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,png_ptr->try_row)" ( identifier , (field_expression "png_ptr->try_row" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row);" (call_expression "(*(code *)PTR_png_free_00053324)(png_ptr,png_ptr->tst_row)" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,png_ptr->tst_row)" ( identifier , (field_expression "png_ptr->tst_row" identifier -> field_identifier) ))) ;) (expression_statement "png_ptr->prev_row = (png_bytep)0x0;" (assignment_expression "png_ptr->prev_row = (png_bytep)0x0" (field_expression "png_ptr->prev_row" identifier -> field_identifier) = (cast_expression "(png_bytep)0x0" ( (type_descriptor "png_bytep" type_identifier) ) number_literal)) ;) (expression_statement "png_ptr->try_row = (png_bytep)0x0;" (assignment_expression "png_ptr->try_row = (png_bytep)0x0" (field_expression "png_ptr->try_row" identifier -> field_identifier) = (cast_expression "(png_bytep)0x0" ( (type_descriptor "png_bytep" type_identifier) ) number_literal)) ;) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" identifier = identifier) ;) (expression_statement "png_ptr->tst_row = (png_bytep)0x0;" (assignment_expression "png_ptr->tst_row = (png_bytep)0x0" (field_expression "png_ptr->tst_row" identifier -> field_identifier) = (cast_expression "(png_bytep)0x0" ( (type_descriptor "png_bytep" type_identifier) ) number_literal)) ;) (expression_statement "(*(code *)puVar1)(png_ptr,png_ptr->chunk_list);" (call_expression "(*(code *)puVar1)(png_ptr,png_ptr->chunk_list)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,png_ptr->chunk_list)" ( identifier , (field_expression "png_ptr->chunk_list" identifier -> field_identifier) ))) ;) (expression_statement "png_ptr->chunk_list = (png_bytep)0x0;" (assignment_expression "png_ptr->chunk_list = (png_bytep)0x0" (field_expression "png_ptr->chunk_list" identifier -> field_identifier) = (cast_expression "(png_bytep)0x0" ( (type_descriptor "png_bytep" type_identifier) ) number_literal)) ;) (expression_statement "png_destroy_png_struct(png_ptr);" (call_expression "png_destroy_png_struct(png_ptr)" identifier (argument_list "(png_ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void png_destroy_write_struct(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void png_destroy_write_struct(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_destroy_write_struct(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }" { (expression_statement "(*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);" (call_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3)" (parenthesized_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)" ( (pointer_expression "*(code *)PTR_png_destroy_info_struct_000533b4" * (cast_expression "(code *)PTR_png_destroy_info_struct_000533b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "uVar2 = *(uint *)(iVar3 + 0x128);" (assignment_expression "uVar2 = *(uint *)(iVar3 + 0x128)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x128)" * (cast_expression "(uint *)(iVar3 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x128)" ( (binary_expression "iVar3 + 0x128" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (if_statement "if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }" if (parenthesized_expression "((uVar2 & 2) != 0)" ( (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }" { (expression_statement "(*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);" (call_expression "(*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134)" (parenthesized_expression "(*(code *)PTR_deflateEnd_00053374)" ( (pointer_expression "*(code *)PTR_deflateEnd_00053374" * (cast_expression "(code *)PTR_deflateEnd_00053374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 0x134)" ( (binary_expression "iVar3 + 0x134" identifier + number_literal) ))) ;) })) (expression_statement "FUN_00039dec(iVar3,iVar3 + 0x16c);" (call_expression "FUN_00039dec(iVar3,iVar3 + 0x16c)" identifier (argument_list "(iVar3,iVar3 + 0x16c)" ( identifier , (binary_expression "iVar3 + 0x16c" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d4))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1d4)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d4)" ( (binary_expression "iVar3 + 0x1d4" identifier + number_literal) )))) ))) ;) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1d4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d4)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d4)" ( (binary_expression "iVar3 + 0x1d4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));" (call_expression "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d0))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1d0)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d0)" ( (binary_expression "iVar3 + 0x1d0" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d8))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1d8)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d8)" ( (binary_expression "iVar3 + 0x1d8" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" ( (pointer_expression "*(code *)PTR_png_free_00053324" * (cast_expression "(code *)PTR_png_free_00053324" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1dc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1dc)" * (cast_expression "(undefined4 *)(iVar3 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1dc)" ( (binary_expression "iVar3 + 0x1dc" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1d0) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d0) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d0)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d0)" ( (binary_expression "iVar3 + 0x1d0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1d8) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d8) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d8)" * (cast_expression "(undefined4 *)(iVar3 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1d8)" ( (binary_expression "iVar3 + 0x1d8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x1dc) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1dc) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1dc)" * (cast_expression "(undefined4 *)(iVar3 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1dc)" ( (binary_expression "iVar3 + 0x1dc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));" (call_expression "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x2f4))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x2f4)" * (cast_expression "(undefined4 *)(iVar3 + 0x2f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2f4)" ( (binary_expression "iVar3 + 0x2f4" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x2f4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x2f4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x2f4)" * (cast_expression "(undefined4 *)(iVar3 + 0x2f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2f4)" ( (binary_expression "iVar3 + 0x2f4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001c628(iVar3);" (call_expression "FUN_0001c628(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_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 ( (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (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 ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (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 IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void png_destroy_write_struct(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "png_destroy_write_struct(int *param_1)" (identifier "png_destroy_write_struct") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar3 = *param_1;\n  if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);\n    uVar2 = *(uint *)(iVar3 + 0x128);\n    *param_1 = 0;\n    if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }\n    FUN_00039dec(iVar3,iVar3 + 0x16c);\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1d4) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));\n    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));\n    *(undefined4 *)(iVar3 + 0x1d0) = 0;\n    *(undefined4 *)(iVar3 + 0x1d8) = 0;\n    puVar1 = PTR_png_free_00053324;\n    *(undefined4 *)(iVar3 + 0x1dc) = 0;\n    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));\n    *(undefined4 *)(iVar3 + 0x2f4) = 0;\n    FUN_0001c628(iVar3);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);" (call_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3)" (parenthesized_expression "(*(code *)PTR_png_destroy_info_struct_000533b4)" (( "(") (pointer_expression "*(code *)PTR_png_destroy_info_struct_000533b4" (* "*") (cast_expression "(code *)PTR_png_destroy_info_struct_000533b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_png_destroy_info_struct_000533b4"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar3 + 0x128);" (assignment_expression "uVar2 = *(uint *)(iVar3 + 0x128)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x128)" (* "*") (cast_expression "(uint *)(iVar3 + 0x128)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x128)" (( "(") (binary_expression "iVar3 + 0x128" (identifier "iVar3") (+ "+") (number_literal "0x128")) () ")"))))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((uVar2 & 2) != 0) {\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }" (if "if") (parenthesized_expression "((uVar2 & 2) != 0)" (( "(") (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" (( "(") (binary_expression "uVar2 & 2" (identifier "uVar2") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);\n    }" ({ "{") (expression_statement "(*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);" (call_expression "(*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134)" (parenthesized_expression "(*(code *)PTR_deflateEnd_00053374)" (( "(") (pointer_expression "*(code *)PTR_deflateEnd_00053374" (* "*") (cast_expression "(code *)PTR_deflateEnd_00053374" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_deflateEnd_00053374"))) () ")")) (argument_list "(iVar3 + 0x134)" (( "(") (binary_expression "iVar3 + 0x134" (identifier "iVar3") (+ "+") (number_literal "0x134")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00039dec(iVar3,iVar3 + 0x16c);" (call_expression "FUN_00039dec(iVar3,iVar3 + 0x16c)" (identifier "FUN_00039dec") (argument_list "(iVar3,iVar3 + 0x16c)" (( "(") (identifier "iVar3") (, ",") (binary_expression "iVar3 + 0x16c" (identifier "iVar3") (+ "+") (number_literal "0x16c")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" (( "(") (pointer_expression "*(code *)PTR_png_free_00053324" (* "*") (cast_expression "(code *)PTR_png_free_00053324" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_png_free_00053324"))) () ")")) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d4))" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1d4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1d4)" (( "(") (binary_expression "iVar3 + 0x1d4" (identifier "iVar3") (+ "+") (number_literal "0x1d4")) () ")")))) () ")"))) (; ";")) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" (identifier "puVar1") (= "=") (identifier "PTR_png_free_00053324")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x1d4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1d4)" (( "(") (binary_expression "iVar3 + 0x1d4" (identifier "iVar3") (+ "+") (number_literal "0x1d4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));" (call_expression "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0))" (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 "(iVar3,*(undefined4 *)(iVar3 + 0x1d0))" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1d0)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1d0)" (( "(") (binary_expression "iVar3 + 0x1d0" (identifier "iVar3") (+ "+") (number_literal "0x1d0")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" (( "(") (pointer_expression "*(code *)PTR_png_free_00053324" (* "*") (cast_expression "(code *)PTR_png_free_00053324" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_png_free_00053324"))) () ")")) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1d8))" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1d8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1d8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1d8)" (( "(") (binary_expression "iVar3 + 0x1d8" (identifier "iVar3") (+ "+") (number_literal "0x1d8")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));" (call_expression "(*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc))" (parenthesized_expression "(*(code *)PTR_png_free_00053324)" (( "(") (pointer_expression "*(code *)PTR_png_free_00053324" (* "*") (cast_expression "(code *)PTR_png_free_00053324" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_png_free_00053324"))) () ")")) (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x1dc))" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1dc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1dc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1dc)" (( "(") (binary_expression "iVar3 + 0x1dc" (identifier "iVar3") (+ "+") (number_literal "0x1dc")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x1d0) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d0) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d0)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1d0)" (( "(") (binary_expression "iVar3 + 0x1d0" (identifier "iVar3") (+ "+") (number_literal "0x1d0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x1d8) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1d8) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1d8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1d8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1d8)" (( "(") (binary_expression "iVar3 + 0x1d8" (identifier "iVar3") (+ "+") (number_literal "0x1d8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = PTR_png_free_00053324;" (assignment_expression "puVar1 = PTR_png_free_00053324" (identifier "puVar1") (= "=") (identifier "PTR_png_free_00053324")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x1dc) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1dc) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x1dc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1dc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1dc)" (( "(") (binary_expression "iVar3 + 0x1dc" (identifier "iVar3") (+ "+") (number_literal "0x1dc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));" (call_expression "(*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4))" (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 "(iVar3,*(undefined4 *)(iVar3 + 0x2f4))" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x2f4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x2f4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2f4)" (( "(") (binary_expression "iVar3 + 0x2f4" (identifier "iVar3") (+ "+") (number_literal "0x2f4")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x2f4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x2f4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x2f4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x2f4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2f4)" (( "(") (binary_expression "iVar3 + 0x2f4" (identifier "iVar3") (+ "+") (number_literal "0x2f4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001c628(iVar3);" (call_expression "FUN_0001c628(iVar3)" (identifier "FUN_0001c628") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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 (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (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 (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_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) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier) (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 (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) (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 (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) (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: (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 (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 (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 (identifier) (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: (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: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

void MASKED(int *param_1)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  
  if (param_1 == (int *)0x0) {
    return;
  }
  iVar3 = *param_1;
  if (iVar3 != 0) {
    (*(code *)PTR_png_destroy_info_struct_000533b4)(iVar3);
    uVar2 = *(uint *)(iVar3 + 0x128);
    *param_1 = 0;
    if ((uVar2 & 2) != 0) {
      (*(code *)PTR_deflateEnd_00053374)(iVar3 + 0x134);
    }
    FUN_00039dec(iVar3,iVar3 + 0x16c);
    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d4));
    puVar1 = PTR_png_free_00053324;
    *(undefined4 *)(iVar3 + 0x1d4) = 0;
    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x1d0));
    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1d8));
    (*(code *)PTR_png_free_00053324)(iVar3,*(undefined4 *)(iVar3 + 0x1dc));
    *(undefined4 *)(iVar3 + 0x1d0) = 0;
    *(undefined4 *)(iVar3 + 0x1d8) = 0;
    puVar1 = PTR_png_free_00053324;
    *(undefined4 *)(iVar3 + 0x1dc) = 0;
    (*(code *)puVar1)(iVar3,*(undefined4 *)(iVar3 + 0x2f4));
    *(undefined4 *)(iVar3 + 0x2f4) = 0;
    FUN_0001c628(iVar3);
    return;
  }
  return;
}

