
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void ReverseImageList(Image **images)

{
  _Image *p_Var1;
  Image *pIVar2;
  
  if (images == (Image **)0x0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,
               PTR_s_t_to_left_003a88e4 + -0x4700);
    return;
  }
  p_Var1 = *images;
  if (p_Var1 != (Image *)0x0) {
    if (p_Var1->signature != 0xabacadab) {
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,
                 PTR_s_t_to_left_003a88e4 + -0x4700);
      return;
    }
    if (p_Var1->debug == MagickFalse) goto LAB_001079dc;
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,
               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);
    pIVar2 = *images;
    for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {
LAB_001079dc:
      pIVar2 = p_Var1;
    }
    *images = pIVar2;
    do {
      p_Var1 = pIVar2->previous;
      pIVar2->previous = pIVar2->next;
      pIVar2->next = p_Var1;
      pIVar2 = p_Var1;
    } while (p_Var1 != (_Image *)0x0);
  }
  return;
}



void ReverseImageList(int *param_1)

{
  int iVar1;
  int iVar2;
  
  if (param_1 == (int *)0x0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,
               PTR_s_t_to_left_003a88e4 + -0x4700);
    return;
  }
  iVar1 = *param_1;
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,
                 PTR_s_t_to_left_003a88e4 + -0x4700);
      return;
    }
    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,
               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);
    iVar2 = *param_1;
    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {
LAB_001079dc:
      iVar2 = iVar1;
    }
    *param_1 = iVar2;
    do {
      iVar1 = *(int *)(iVar2 + 0x3364);
      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);
      *(int *)(iVar2 + 0x3368) = iVar1;
      iVar2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}


lui gp,0x2b
addiu gp,gp,-0x709c
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x18(sp)
sw ra,0x24(sp)
beq a0,zero,0x00107a34
_sw s0,0x20(sp)
lw v0,0x0(a0)
beq v0,zero,0x00107a04
_or s0,a0,zero
lui v1,0xabac
lw a0,0x336c(v0)
ori v1,v1,0xadab
bne a0,v1,0x00107a14
_lw a3,-0x7fcc(gp)
lw v1,0x3350(v0)
beq v1,zero,0x001079dc
_lw a2,-0x7fcc(gp)
addiu v0,v0,0x340
lw a1,-0x7fcc(gp)
li a3,0x51b
lw t9,-0x76d0(gp)
ori a0,zero,0x8000
sw v0,0x14(sp)
addiu a2,a2,-0x4714
lw v0,-0x7fcc(gp)
addiu a1,a1,-0x4920
addiu v0,v0,-0x62ac
jalr t9
_sw v0,0x10(sp)
lw v0,0x0(s0)
lw v1,0x3368(v0)
beq v1,zero,0x001079e8
_nop
or v0,v1,zero
lw v1,0x3368(v0)
bne v1,zero,0x001079d8
_nop
sw v0,0x0(s0)
lw a0,0x3368(v0)
lw v1,0x3364(v0)
sw a0,0x3364(v0)
sw v1,0x3368(v0)
bne v1,zero,0x001079ec
_or v0,v1,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
li a2,0x519
lw a1,-0x7fcc(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4700
addiu a1,a1,-0x4920
jalr t9
_addiu a0,a0,-0x4d48
lw a3,-0x7fcc(gp)
li a2,0x516
lw a1,-0x7fcc(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x4700
addiu a1,a1,-0x4920
jalr t9
_addiu a0,a0,-0x48f0
(translation_unit "void ReverseImageList(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void ReverseImageList(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "ReverseImageList(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\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    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x48f0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (if_statement "if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x336c) != -0x54535255)" ( (binary_expression "*(int *)(iVar1 + 0x336c) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x336c)" * (cast_expression "(int *)(iVar1 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x336c)" ( (binary_expression "iVar1 + 0x336c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4d48" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;" if (parenthesized_expression "(*(int *)(iVar1 + 0x3350) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x3350) == 0" (pointer_expression "*(int *)(iVar1 + 0x3350)" * (cast_expression "(int *)(iVar1 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3350)" ( (binary_expression "iVar1 + 0x3350" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_001079dc;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4714" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (binary_expression "iVar1 + 0x340" identifier + number_literal) ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (for_statement "for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }" for ( (assignment_expression "iVar1 = *(int *)(*param_1 + 0x3368)" identifier = (pointer_expression "*(int *)(*param_1 + 0x3368)" * (cast_expression "(int *)(*param_1 + 0x3368)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x3368)" ( (binary_expression "*param_1 + 0x3368" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = *(int *)(iVar1 + 0x3368)" identifier = (pointer_expression "*(int *)(iVar1 + 0x3368)" * (cast_expression "(int *)(iVar1 + 0x3368)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3368)" ( (binary_expression "iVar1 + 0x3368" identifier + number_literal) ))))) ) (compound_statement "{\nLAB_001079dc:\n      iVar2 = iVar1;\n    }" { (labeled_statement "LAB_001079dc:\n      iVar2 = iVar1;" statement_identifier : (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;)) })) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (do_statement "do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    }" { (expression_statement "iVar1 = *(int *)(iVar2 + 0x3364);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0x3364)" identifier = (pointer_expression "*(int *)(iVar2 + 0x3364)" * (cast_expression "(int *)(iVar2 + 0x3364)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3364)" ( (binary_expression "iVar2 + 0x3364" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);" (assignment_expression "*(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368)" (pointer_expression "*(undefined4 *)(iVar2 + 0x3364)" * (cast_expression "(undefined4 *)(iVar2 + 0x3364)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3364)" ( (binary_expression "iVar2 + 0x3364" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3368)" * (cast_expression "(undefined4 *)(iVar2 + 0x3368)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3368)" ( (binary_expression "iVar2 + 0x3368" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 0x3368) = iVar1;" (assignment_expression "*(int *)(iVar2 + 0x3368) = iVar1" (pointer_expression "*(int *)(iVar2 + 0x3368)" * (cast_expression "(int *)(iVar2 + 0x3368)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3368)" ( (binary_expression "iVar2 + 0x3368" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nvoid ReverseImageList(Image **images)\n\n{\n  _Image *p_Var1;\n  Image *pIVar2;\n  \n  if (images == (Image **)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  p_Var1 = *images;\n  if (p_Var1 != (Image *)0x0) {\n    if (p_Var1->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (p_Var1->debug == MagickFalse) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);\n    pIVar2 = *images;\n    for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }\n    *images = pIVar2;\n    do {\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    } while (p_Var1 != (_Image *)0x0);\n  }\n  return;\n}\n\n" comment comment comment comment (function_definition "void ReverseImageList(Image **images)\n\n{\n  _Image *p_Var1;\n  Image *pIVar2;\n  \n  if (images == (Image **)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  p_Var1 = *images;\n  if (p_Var1 != (Image *)0x0) {\n    if (p_Var1->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (p_Var1->debug == MagickFalse) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);\n    pIVar2 = *images;\n    for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }\n    *images = pIVar2;\n    do {\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    } while (p_Var1 != (_Image *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "ReverseImageList(Image **images)" identifier (parameter_list "(Image **images)" ( (parameter_declaration "Image **images" type_identifier (pointer_declarator "**images" * (pointer_declarator "*images" * identifier))) ))) (compound_statement "{\n  _Image *p_Var1;\n  Image *pIVar2;\n  \n  if (images == (Image **)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  p_Var1 = *images;\n  if (p_Var1 != (Image *)0x0) {\n    if (p_Var1->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (p_Var1->debug == MagickFalse) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);\n    pIVar2 = *images;\n    for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }\n    *images = pIVar2;\n    do {\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    } while (p_Var1 != (_Image *)0x0);\n  }\n  return;\n}" { (declaration "_Image *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (if_statement "if (images == (Image **)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }" if (parenthesized_expression "(images == (Image **)0x0)" ( (binary_expression "images == (Image **)0x0" identifier == (cast_expression "(Image **)0x0" ( (type_descriptor "Image **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x48f0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "p_Var1 = *images;" (assignment_expression "p_Var1 = *images" identifier = (pointer_expression "*images" * identifier)) ;) (if_statement "if (p_Var1 != (Image *)0x0) {\n    if (p_Var1->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (p_Var1->debug == MagickFalse) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);\n    pIVar2 = *images;\n    for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }\n    *images = pIVar2;\n    do {\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    } while (p_Var1 != (_Image *)0x0);\n  }" if (parenthesized_expression "(p_Var1 != (Image *)0x0)" ( (binary_expression "p_Var1 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (p_Var1->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (p_Var1->debug == MagickFalse) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);\n    pIVar2 = *images;\n    for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }\n    *images = pIVar2;\n    do {\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    } while (p_Var1 != (_Image *)0x0);\n  }" { (if_statement "if (p_Var1->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" if (parenthesized_expression "(p_Var1->signature != 0xabacadab)" ( (binary_expression "p_Var1->signature != 0xabacadab" (field_expression "p_Var1->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4d48" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (p_Var1->debug == MagickFalse) goto LAB_001079dc;" if (parenthesized_expression "(p_Var1->debug == MagickFalse)" ( (binary_expression "p_Var1->debug == MagickFalse" (field_expression "p_Var1->debug" identifier -> field_identifier) == identifier) )) (goto_statement "goto LAB_001079dc;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,p_Var1->filename)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4714" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (field_expression "p_Var1->filename" identifier -> field_identifier) ))) ;) (expression_statement "pIVar2 = *images;" (assignment_expression "pIVar2 = *images" identifier = (pointer_expression "*images" * identifier)) ;) (for_statement "for (p_Var1 = (*images)->next; p_Var1 != (_Image *)0x0; p_Var1 = p_Var1->next) {\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }" for ( (assignment_expression "p_Var1 = (*images)->next" identifier = (field_expression "(*images)->next" (parenthesized_expression "(*images)" ( (pointer_expression "*images" * identifier) )) -> field_identifier)) ; (binary_expression "p_Var1 != (_Image *)0x0" identifier != (cast_expression "(_Image *)0x0" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "p_Var1 = p_Var1->next" identifier = (field_expression "p_Var1->next" identifier -> field_identifier)) ) (compound_statement "{\nLAB_001079dc:\n      pIVar2 = p_Var1;\n    }" { (labeled_statement "LAB_001079dc:\n      pIVar2 = p_Var1;" statement_identifier : (expression_statement "pIVar2 = p_Var1;" (assignment_expression "pIVar2 = p_Var1" identifier = identifier) ;)) })) (expression_statement "*images = pIVar2;" (assignment_expression "*images = pIVar2" (pointer_expression "*images" * identifier) = identifier) ;) (do_statement "do {\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    } while (p_Var1 != (_Image *)0x0);" do (compound_statement "{\n      p_Var1 = pIVar2->previous;\n      pIVar2->previous = pIVar2->next;\n      pIVar2->next = p_Var1;\n      pIVar2 = p_Var1;\n    }" { (expression_statement "p_Var1 = pIVar2->previous;" (assignment_expression "p_Var1 = pIVar2->previous" identifier = (field_expression "pIVar2->previous" identifier -> field_identifier)) ;) (expression_statement "pIVar2->previous = pIVar2->next;" (assignment_expression "pIVar2->previous = pIVar2->next" (field_expression "pIVar2->previous" identifier -> field_identifier) = (field_expression "pIVar2->next" identifier -> field_identifier)) ;) (expression_statement "pIVar2->next = p_Var1;" (assignment_expression "pIVar2->next = p_Var1" (field_expression "pIVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar2 = p_Var1;" (assignment_expression "pIVar2 = p_Var1" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var1 != (_Image *)0x0)" ( (binary_expression "p_Var1 != (_Image *)0x0" identifier != (cast_expression "(_Image *)0x0" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void ReverseImageList(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void ReverseImageList(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "ReverseImageList(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\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    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x48f0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (if_statement "if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x336c) != -0x54535255)" ( (binary_expression "*(int *)(iVar1 + 0x336c) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x336c)" * (cast_expression "(int *)(iVar1 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x336c)" ( (binary_expression "iVar1 + 0x336c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4d48" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;" if (parenthesized_expression "(*(int *)(iVar1 + 0x3350) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x3350) == 0" (pointer_expression "*(int *)(iVar1 + 0x3350)" * (cast_expression "(int *)(iVar1 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3350)" ( (binary_expression "iVar1 + 0x3350" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_001079dc;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4714" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (binary_expression "iVar1 + 0x340" identifier + number_literal) ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (for_statement "for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }" for ( (assignment_expression "iVar1 = *(int *)(*param_1 + 0x3368)" identifier = (pointer_expression "*(int *)(*param_1 + 0x3368)" * (cast_expression "(int *)(*param_1 + 0x3368)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x3368)" ( (binary_expression "*param_1 + 0x3368" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = *(int *)(iVar1 + 0x3368)" identifier = (pointer_expression "*(int *)(iVar1 + 0x3368)" * (cast_expression "(int *)(iVar1 + 0x3368)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3368)" ( (binary_expression "iVar1 + 0x3368" identifier + number_literal) ))))) ) (compound_statement "{\nLAB_001079dc:\n      iVar2 = iVar1;\n    }" { (labeled_statement "LAB_001079dc:\n      iVar2 = iVar1;" statement_identifier : (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;)) })) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (do_statement "do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    }" { (expression_statement "iVar1 = *(int *)(iVar2 + 0x3364);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0x3364)" identifier = (pointer_expression "*(int *)(iVar2 + 0x3364)" * (cast_expression "(int *)(iVar2 + 0x3364)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3364)" ( (binary_expression "iVar2 + 0x3364" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);" (assignment_expression "*(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368)" (pointer_expression "*(undefined4 *)(iVar2 + 0x3364)" * (cast_expression "(undefined4 *)(iVar2 + 0x3364)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3364)" ( (binary_expression "iVar2 + 0x3364" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3368)" * (cast_expression "(undefined4 *)(iVar2 + 0x3368)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3368)" ( (binary_expression "iVar2 + 0x3368" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 0x3368) = iVar1;" (assignment_expression "*(int *)(iVar2 + 0x3368) = iVar1" (pointer_expression "*(int *)(iVar2 + 0x3368)" * (cast_expression "(int *)(iVar2 + 0x3368)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3368)" ( (binary_expression "iVar2 + 0x3368" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (do_statement do (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return ;) })))
(function_definition "void ReverseImageList(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "ReverseImageList(int *param_1)" (identifier "ReverseImageList") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }\n  iVar1 = *param_1;\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\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    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,\n               PTR_s_t_to_left_003a88e4 + -0x4700)" (( "(") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x48f0" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x48f0")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4920")) (, ",") (number_literal "0x516") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4700")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }\n    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);\n    iVar2 = *param_1;\n    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }\n    *param_1 = iVar2;\n    do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);\n  }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0x336c) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x336c) != -0x54535255)" (( "(") (binary_expression "*(int *)(iVar1 + 0x336c) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x336c)" (* "*") (cast_expression "(int *)(iVar1 + 0x336c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x336c)" (( "(") (binary_expression "iVar1 + 0x336c" (identifier "iVar1") (+ "+") (number_literal "0x336c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,\n                 PTR_s_t_to_left_003a88e4 + -0x4700)" (( "(") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4d48" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4d48")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4920")) (, ",") (number_literal "0x519") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4700" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4700")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x3350) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x3350) == 0" (pointer_expression "*(int *)(iVar1 + 0x3350)" (* "*") (cast_expression "(int *)(iVar1 + 0x3350)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3350)" (( "(") (binary_expression "iVar1 + 0x3350" (identifier "iVar1") (+ "+") (number_literal "0x3350")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001079dc;" (goto "goto") (statement_identifier "LAB_001079dc") (; ";"))) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003a91e0"))) () ")")) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4920" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4920")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x4714" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x4714")) (, ",") (number_literal "0x51b") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x62ac")) (, ",") (binary_expression "iVar1 + 0x340" (identifier "iVar1") (+ "+") (number_literal "0x340")) () ")"))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (for_statement "for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {\nLAB_001079dc:\n      iVar2 = iVar1;\n    }" (for "for") (( "(") (assignment_expression "iVar1 = *(int *)(*param_1 + 0x3368)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*param_1 + 0x3368)" (* "*") (cast_expression "(int *)(*param_1 + 0x3368)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x3368)" (( "(") (binary_expression "*param_1 + 0x3368" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x3368")) () ")"))))) (; ";") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar1 = *(int *)(iVar1 + 0x3368)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0x3368)" (* "*") (cast_expression "(int *)(iVar1 + 0x3368)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3368)" (( "(") (binary_expression "iVar1 + 0x3368" (identifier "iVar1") (+ "+") (number_literal "0x3368")) () ")"))))) () ")") (compound_statement "{\nLAB_001079dc:\n      iVar2 = iVar1;\n    }" ({ "{") (labeled_statement "LAB_001079dc:\n      iVar2 = iVar1;" (statement_identifier "LAB_001079dc") (: ":") (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";"))) (} "}"))) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (do_statement "do {\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      iVar1 = *(int *)(iVar2 + 0x3364);\n      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);\n      *(int *)(iVar2 + 0x3368) = iVar1;\n      iVar2 = iVar1;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar2 + 0x3364);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0x3364)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 0x3364)" (* "*") (cast_expression "(int *)(iVar2 + 0x3364)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3364)" (( "(") (binary_expression "iVar2 + 0x3364" (identifier "iVar2") (+ "+") (number_literal "0x3364")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);" (assignment_expression "*(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368)" (pointer_expression "*(undefined4 *)(iVar2 + 0x3364)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x3364)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3364)" (( "(") (binary_expression "iVar2 + 0x3364" (identifier "iVar2") (+ "+") (number_literal "0x3364")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x3368)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x3368)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3368)" (( "(") (binary_expression "iVar2 + 0x3368" (identifier "iVar2") (+ "+") (number_literal "0x3368")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar2 + 0x3368) = iVar1;" (assignment_expression "*(int *)(iVar2 + 0x3368) = iVar1" (pointer_expression "*(int *)(iVar2 + 0x3368)" (* "*") (cast_expression "(int *)(iVar2 + 0x3368)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3368)" (( "(") (binary_expression "iVar2 + 0x3368" (identifier "iVar2") (+ "+") (number_literal "0x3368")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (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: (primitive_type) 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 (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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) 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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) body: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  
  if (param_1 == (int *)0x0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_s_t_to_left_003a88e4 + -0x48f0,PTR_s_t_to_left_003a88e4 + -0x4920,0x516,
               PTR_s_t_to_left_003a88e4 + -0x4700);
    return;
  }
  iVar1 = *param_1;
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 0x336c) != -0x54535255) {
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_s_t_to_left_003a88e4 + -0x4d48,PTR_s_t_to_left_003a88e4 + -0x4920,0x519,
                 PTR_s_t_to_left_003a88e4 + -0x4700);
      return;
    }
    if (*(int *)(iVar1 + 0x3350) == 0) goto LAB_001079dc;
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + -0x4920,PTR_s_t_to_left_003a88e4 + -0x4714,0x51b,
               PTR_s_t_to_left_003a88e4 + -0x62ac,iVar1 + 0x340);
    iVar2 = *param_1;
    for (iVar1 = *(int *)(*param_1 + 0x3368); iVar1 != 0; iVar1 = *(int *)(iVar1 + 0x3368)) {
LAB_001079dc:
      iVar2 = iVar1;
    }
    *param_1 = iVar2;
    do {
      iVar1 = *(int *)(iVar2 + 0x3364);
      *(undefined4 *)(iVar2 + 0x3364) = *(undefined4 *)(iVar2 + 0x3368);
      *(int *)(iVar2 + 0x3368) = iVar1;
      iVar2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}

