
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* 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 */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

void RemoveZeroDelayLayers(Image **images,ExceptionInfo *exception)

{
  Image *pIVar1;
  int in_GS_OFFSET;
  Image *i;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x100069;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pIVar1 = *images;
  if (pIVar1 == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,
                  "RemoveZeroDelayLayers");
  }
  if (pIVar1->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,
                  "RemoveZeroDelayLayers");
  }
  if (pIVar1->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",
                   pIVar1->filename);
  }
  if (exception == (ExceptionInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,
                  "RemoveZeroDelayLayers");
  }
  if (exception->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,
                  "RemoveZeroDelayLayers");
  }
  pIVar1 = *images;
  i = GetFirstImageInList(pIVar1);
  if (i == (Image *)0x0) {
    i = (Image *)0x0;
  }
  else {
    do {
      if (i->delay != 0) {
        i = GetFirstImageInList(pIVar1);
        while (i != (Image *)0x0) {
          while (i->delay != 0) {
            i = GetNextImageInList(i);
            if (i == (Image *)0x0) goto LAB_00100138;
          }
          DeleteImageFromList(&i);
          *images = i;
        }
LAB_00100138:
        pIVar1 = GetFirstImageInList(*images);
        *images = pIVar1;
        goto LAB_00100147;
      }
      i = GetNextImageInList(i);
    } while (i != (Image *)0x0);
  }
  pIVar1 = GetFirstImageInList(pIVar1);
  ThrowMagickException
            (exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,
             "ZeroTimeAnimation","`%s\'",pIVar1->filename);
LAB_00100147:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void RemoveZeroDelayLayers(int *param_1,int param_2)

{
  int iVar1;
  int in_GS_OFFSET;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x100069;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = *param_1;
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,
                  "RemoveZeroDelayLayers");
  }
  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,
                  "RemoveZeroDelayLayers");
  }
  if (*(int *)(iVar1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,
                   iVar1 + 0x318);
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,
                  "RemoveZeroDelayLayers");
  }
  if (*(int *)(param_2 + 0x1c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,
                  "RemoveZeroDelayLayers");
  }
  iVar1 = *param_1;
  local_24 = GetFirstImageInList(iVar1);
  if (local_24 == 0) {
    local_24 = 0;
  }
  else {
    do {
      if (*(int *)(local_24 + 0x248) != 0) {
        local_24 = GetFirstImageInList(iVar1);
        while (local_24 != 0) {
          while (*(int *)(local_24 + 0x248) != 0) {
            local_24 = GetNextImageInList(local_24);
            if (local_24 == 0) goto LAB_00100138;
          }
          DeleteImageFromList(&local_24);
          *param_1 = local_24;
        }
LAB_00100138:
        iVar1 = GetFirstImageInList(*param_1);
        *param_1 = iVar1;
        goto LAB_00100147;
      }
      local_24 = GetNextImageInList(local_24);
    } while (local_24 != 0);
  }
  iVar1 = GetFirstImageInList(iVar1);
  ThrowMagickException
            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",
             "`%s\'",iVar1 + 0x318);
LAB_00100147:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002decd0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00039d70
ADD EBX,0x31df97
SUB ESP,0x1c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xc],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00100214
CMP dword ptr [EAX + 0x3344],0xabacadab
JNZ 0x001001f5
MOV EBP,dword ptr [EAX + 0x3328]
TEST EBP,EBP
JNZ 0x001001c0
TEST EDI,EDI
JZ 0x00100257
CMP dword ptr [EDI + 0x1c],0xabacadab
JNZ 0x00100238
MOV EBP,dword ptr [ESI]
SUB ESP,0xc
PUSH EBP
CALL 0x00031a70
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JNZ 0x001000f8
JMP 0x00100178
SUB ESP,0xc
PUSH EAX
CALL 0x000319e0
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JZ 0x00100178
MOV ECX,dword ptr [EAX + 0x248]
TEST ECX,ECX
JZ 0x001000e0
SUB ESP,0xc
PUSH EBP
CALL 0x00031a70
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],EAX
LEA EDI,[ESP + 0x8]
TEST EAX,EAX
JZ 0x00100138
MOV EDX,dword ptr [EAX + 0x248]
TEST EDX,EDX
JZ 0x00100160
SUB ESP,0xc
PUSH EAX
CALL 0x000319e0
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JNZ 0x0010011a
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x00031a70
ADD ESP,0x10
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0xc]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00100233
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00030b40
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV dword ptr [ESI],EAX
JMP 0x00100116
SUB ESP,0xc
PUSH EBP
CALL 0x00031a70
ADD ESP,0x10
ADD EAX,0x318
PUSH EAX
LEA EAX,[EBX + 0xffec3be0]
PUSH EAX
LEA EAX,[EBX + 0xffeda86d]
PUSH EAX
LEA EAX,[EBX + 0xffeda9dc]
PUSH 0x136
PUSH 0x6b7
PUSH EAX
LEA EAX,[EBX + 0xffeda7e3]
PUSH EAX
PUSH EDI
CALL 0x00032e80
ADD ESP,0x20
JMP 0x00100147
SUB ESP,0x8
ADD EAX,0x318
PUSH EAX
LEA EAX,[EBX + 0xffed95ae]
PUSH EAX
LEA EAX,[EBX + 0xffeda9dc]
PUSH 0x6af
PUSH EAX
LEA EAX,[EBX + 0xffeda7e3]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x001000ae
LEA EAX,[EBX + 0xffeda9f4]
PUSH EAX
LEA EAX,[EBX + 0xffeda7e3]
PUSH 0x6ad
PUSH EAX
LEA EAX,[EBX + 0xffeda968]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffeda9f4]
PUSH EAX
LEA EAX,[EBX + 0xffeda7e3]
PUSH 0x6ac
PUSH EAX
LEA EAX,[EBX + 0xffeda944]
PUSH EAX
CALL 0x000313d0
CALL 0x002decd0
LEA EAX,[EBX + 0xffeda9f4]
PUSH EAX
LEA EAX,[EBX + 0xffeda7e3]
PUSH 0x6b1
PUSH EAX
LEA EAX,[EBX + 0xffec29d4]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffeda9f4]
PUSH EAX
LEA EAX,[EBX + 0xffeda7e3]
PUSH 0x6b0
PUSH EAX
LEA EAX,[EBX + 0xffec1be4]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid RemoveZeroDelayLayers(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002decd0();\n}\n\n" comment (function_definition "void RemoveZeroDelayLayers(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002decd0();\n}" primitive_type (function_declarator "RemoveZeroDelayLayers(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002decd0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x100069;" (assignment_expression "uStack_14 = 0x100069" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""(*images) != (const Image *) NULL"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(iVar1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x3344)" * (cast_expression "(int *)(iVar1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3344)" ( (binary_expression "iVar1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""(*images)->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3328) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x3328) != 0" (pointer_expression "*(int *)(iVar1 + 0x3328)" * (cast_expression "(int *)(iVar1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3328)" ( (binary_expression "iVar1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318)" ( number_literal , (string_literal ""MagickCore/layer.c"" " string_content ") , (string_literal ""RemoveZeroDelayLayers"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "iVar1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x1c) != -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x1c) != -0x54535255" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""exception->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_24 = GetFirstImageInList(iVar1);" (assignment_expression "local_24 = GetFirstImageInList(iVar1)" identifier = (call_expression "GetFirstImageInList(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    local_24 = 0;\n  }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" else (compound_statement "{\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" { (do_statement "do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);" do (compound_statement "{\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    }" { (if_statement "if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }" if (parenthesized_expression "(*(int *)(local_24 + 0x248) != 0)" ( (binary_expression "*(int *)(local_24 + 0x248) != 0" (pointer_expression "*(int *)(local_24 + 0x248)" * (cast_expression "(int *)(local_24 + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x248)" ( (binary_expression "local_24 + 0x248" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }" { (expression_statement "local_24 = GetFirstImageInList(iVar1);" (assignment_expression "local_24 = GetFirstImageInList(iVar1)" identifier = (call_expression "GetFirstImageInList(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (while_statement "while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }" while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }" { (while_statement "while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }" while (parenthesized_expression "(*(int *)(local_24 + 0x248) != 0)" ( (binary_expression "*(int *)(local_24 + 0x248) != 0" (pointer_expression "*(int *)(local_24 + 0x248)" * (cast_expression "(int *)(local_24 + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x248)" ( (binary_expression "local_24 + 0x248" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }" { (expression_statement "local_24 = GetNextImageInList(local_24);" (assignment_expression "local_24 = GetNextImageInList(local_24)" identifier = (call_expression "GetNextImageInList(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (if_statement "if (local_24 == 0) goto LAB_00100138;" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00100138;" goto statement_identifier ;)) })) (expression_statement "DeleteImageFromList(&local_24);" (call_expression "DeleteImageFromList(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (labeled_statement "LAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);" statement_identifier : (expression_statement "iVar1 = GetFirstImageInList(*param_1);" (assignment_expression "iVar1 = GetFirstImageInList(*param_1)" identifier = (call_expression "GetFirstImageInList(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;)) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00100147;" goto statement_identifier ;) })) (expression_statement "local_24 = GetNextImageInList(local_24);" (assignment_expression "local_24 = GetNextImageInList(local_24)" identifier = (call_expression "GetNextImageInList(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) }) while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar1 = GetFirstImageInList(iVar1);" (assignment_expression "iVar1 = GetFirstImageInList(iVar1)" identifier = (call_expression "GetFirstImageInList(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);" (call_expression "ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318)" identifier (argument_list "(param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318)" ( identifier , (string_literal ""MagickCore/layer.c"" " string_content ") , (string_literal ""RemoveZeroDelayLayers"" " string_content ") , number_literal , number_literal , (string_literal ""ZeroTimeAnimation"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "iVar1 + 0x318" identifier + number_literal) ))) ;) (labeled_statement "LAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) comment (expression_statement "FUN_002decd0();" (call_expression "FUN_002decd0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* 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/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nvoid RemoveZeroDelayLayers(Image **images,ExceptionInfo *exception)\n\n{\n  Image *pIVar1;\n  int in_GS_OFFSET;\n  Image *i;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pIVar1 = *images;\n  if (pIVar1 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (pIVar1->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (pIVar1->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  pIVar1 = *images;\n  i = GetFirstImageInList(pIVar1);\n  if (i == (Image *)0x0) {\n    i = (Image *)0x0;\n  }\n  else {\n    do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);\n  }\n  pIVar1 = GetFirstImageInList(pIVar1);\n  ThrowMagickException\n            (exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,\n             "ZeroTimeAnimation","`%s\'",pIVar1->filename);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "void RemoveZeroDelayLayers(Image **images,ExceptionInfo *exception)\n\n{\n  Image *pIVar1;\n  int in_GS_OFFSET;\n  Image *i;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pIVar1 = *images;\n  if (pIVar1 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (pIVar1->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (pIVar1->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  pIVar1 = *images;\n  i = GetFirstImageInList(pIVar1);\n  if (i == (Image *)0x0) {\n    i = (Image *)0x0;\n  }\n  else {\n    do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);\n  }\n  pIVar1 = GetFirstImageInList(pIVar1);\n  ThrowMagickException\n            (exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,\n             "ZeroTimeAnimation","`%s\'",pIVar1->filename);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "RemoveZeroDelayLayers(Image **images,ExceptionInfo *exception)" identifier (parameter_list "(Image **images,ExceptionInfo *exception)" ( (parameter_declaration "Image **images" type_identifier (pointer_declarator "**images" * (pointer_declarator "*images" * identifier))) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  Image *pIVar1;\n  int in_GS_OFFSET;\n  Image *i;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pIVar1 = *images;\n  if (pIVar1 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (pIVar1->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (pIVar1->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  pIVar1 = *images;\n  i = GetFirstImageInList(pIVar1);\n  if (i == (Image *)0x0) {\n    i = (Image *)0x0;\n  }\n  else {\n    do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);\n  }\n  pIVar1 = GetFirstImageInList(pIVar1);\n  ThrowMagickException\n            (exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,\n             "ZeroTimeAnimation","`%s\'",pIVar1->filename);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "Image *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "Image *i;" type_identifier (pointer_declarator "*i" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x100069;" (assignment_expression "uStack_14 = 0x100069" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pIVar1 = *images;" (assignment_expression "pIVar1 = *images" identifier = (pointer_expression "*images" * identifier)) ;) (if_statement "if (pIVar1 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(pIVar1 == (Image *)0x0)" ( (binary_expression "pIVar1 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""(*images) != (const Image *) NULL"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (pIVar1->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(pIVar1->signature != 0xabacadab)" ( (binary_expression "pIVar1->signature != 0xabacadab" (field_expression "pIVar1->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""(*images)->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (pIVar1->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename);\n  }" if (parenthesized_expression "(pIVar1->debug != MagickFalse)" ( (binary_expression "pIVar1->debug != MagickFalse" (field_expression "pIVar1->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename)" identifier (argument_list "(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",\n                   pIVar1->filename)" ( identifier , (string_literal ""MagickCore/layer.c"" " string_content ") , (string_literal ""RemoveZeroDelayLayers"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "pIVar1->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(exception == (ExceptionInfo *)0x0)" ( (binary_expression "exception == (ExceptionInfo *)0x0" identifier == (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(exception->signature != 0xabacadab)" ( (binary_expression "exception->signature != 0xabacadab" (field_expression "exception->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" { comment (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""exception->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (expression_statement "pIVar1 = *images;" (assignment_expression "pIVar1 = *images" identifier = (pointer_expression "*images" * identifier)) ;) (expression_statement "i = GetFirstImageInList(pIVar1);" (assignment_expression "i = GetFirstImageInList(pIVar1)" identifier = (call_expression "GetFirstImageInList(pIVar1)" identifier (argument_list "(pIVar1)" ( identifier )))) ;) (if_statement "if (i == (Image *)0x0) {\n    i = (Image *)0x0;\n  }\n  else {\n    do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);\n  }" if (parenthesized_expression "(i == (Image *)0x0)" ( (binary_expression "i == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    i = (Image *)0x0;\n  }" { (expression_statement "i = (Image *)0x0;" (assignment_expression "i = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);\n  }" else (compound_statement "{\n    do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);\n  }" { (do_statement "do {\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    } while (i != (Image *)0x0);" do (compound_statement "{\n      if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }\n      i = GetNextImageInList(i);\n    }" { (if_statement "if (i->delay != 0) {\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }" if (parenthesized_expression "(i->delay != 0)" ( (binary_expression "i->delay != 0" (field_expression "i->delay" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        i = GetFirstImageInList(pIVar1);\n        while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }\nLAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);\n        *images = pIVar1;\n        goto LAB_00100147;\n      }" { (expression_statement "i = GetFirstImageInList(pIVar1);" (assignment_expression "i = GetFirstImageInList(pIVar1)" identifier = (call_expression "GetFirstImageInList(pIVar1)" identifier (argument_list "(pIVar1)" ( identifier )))) ;) (while_statement "while (i != (Image *)0x0) {\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }" while (parenthesized_expression "(i != (Image *)0x0)" ( (binary_expression "i != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&i);\n          *images = i;\n        }" { (while_statement "while (i->delay != 0) {\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }" while (parenthesized_expression "(i->delay != 0)" ( (binary_expression "i->delay != 0" (field_expression "i->delay" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n            i = GetNextImageInList(i);\n            if (i == (Image *)0x0) goto LAB_00100138;\n          }" { (expression_statement "i = GetNextImageInList(i);" (assignment_expression "i = GetNextImageInList(i)" identifier = (call_expression "GetNextImageInList(i)" identifier (argument_list "(i)" ( identifier )))) ;) (if_statement "if (i == (Image *)0x0) goto LAB_00100138;" if (parenthesized_expression "(i == (Image *)0x0)" ( (binary_expression "i == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00100138;" goto statement_identifier ;)) })) (expression_statement "DeleteImageFromList(&i);" (call_expression "DeleteImageFromList(&i)" identifier (argument_list "(&i)" ( (pointer_expression "&i" & identifier) ))) ;) (expression_statement "*images = i;" (assignment_expression "*images = i" (pointer_expression "*images" * identifier) = identifier) ;) })) (labeled_statement "LAB_00100138:\n        pIVar1 = GetFirstImageInList(*images);" statement_identifier : (expression_statement "pIVar1 = GetFirstImageInList(*images);" (assignment_expression "pIVar1 = GetFirstImageInList(*images)" identifier = (call_expression "GetFirstImageInList(*images)" identifier (argument_list "(*images)" ( (pointer_expression "*images" * identifier) )))) ;)) (expression_statement "*images = pIVar1;" (assignment_expression "*images = pIVar1" (pointer_expression "*images" * identifier) = identifier) ;) (goto_statement "goto LAB_00100147;" goto statement_identifier ;) })) (expression_statement "i = GetNextImageInList(i);" (assignment_expression "i = GetNextImageInList(i)" identifier = (call_expression "GetNextImageInList(i)" identifier (argument_list "(i)" ( identifier )))) ;) }) while (parenthesized_expression "(i != (Image *)0x0)" ( (binary_expression "i != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "pIVar1 = GetFirstImageInList(pIVar1);" (assignment_expression "pIVar1 = GetFirstImageInList(pIVar1)" identifier = (call_expression "GetFirstImageInList(pIVar1)" identifier (argument_list "(pIVar1)" ( identifier )))) ;) (expression_statement "ThrowMagickException\n            (exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,\n             "ZeroTimeAnimation","`%s\'",pIVar1->filename);" (call_expression "ThrowMagickException\n            (exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,\n             "ZeroTimeAnimation","`%s\'",pIVar1->filename)" identifier (argument_list "(exception,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,\n             "ZeroTimeAnimation","`%s\'",pIVar1->filename)" ( identifier , (string_literal ""MagickCore/layer.c"" " string_content ") , (string_literal ""RemoveZeroDelayLayers"" " string_content ") , number_literal , identifier , (string_literal ""ZeroTimeAnimation"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (field_expression "pIVar1->filename" identifier -> field_identifier) ))) ;) (labeled_statement "LAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void RemoveZeroDelayLayers(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_002decd0();\n}\n\n" (function_definition "void RemoveZeroDelayLayers(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_002decd0();\n}" primitive_type (function_declarator "RemoveZeroDelayLayers(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_002decd0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x100069;" (assignment_expression "uStack_14 = 0x100069" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar1 == 0) {\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" { (expression_statement "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""(*images) != (const Image *) NULL"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(iVar1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x3344)" * (cast_expression "(int *)(iVar1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3344)" ( (binary_expression "iVar1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" { (expression_statement "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""(*images)->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3328) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x3328) != 0" (pointer_expression "*(int *)(iVar1 + 0x3328)" * (cast_expression "(int *)(iVar1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3328)" ( (binary_expression "iVar1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318)" ( number_literal , (string_literal ""MagickCore/layer.c"" " string_content ") , (string_literal ""RemoveZeroDelayLayers"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "iVar1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" { (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x1c) != -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x1c) != -0x54535255" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" { (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" identifier (argument_list "("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" ( (string_literal ""exception->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/layer.c"" " string_content ") , number_literal , (string_literal ""RemoveZeroDelayLayers"" " string_content ") ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_24 = GetFirstImageInList(iVar1);" (assignment_expression "local_24 = GetFirstImageInList(iVar1)" identifier = (call_expression "GetFirstImageInList(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    local_24 = 0;\n  }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" else (compound_statement "{\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" { (do_statement "do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);" do (compound_statement "{\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    }" { (if_statement "if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }" if (parenthesized_expression "(*(int *)(local_24 + 0x248) != 0)" ( (binary_expression "*(int *)(local_24 + 0x248) != 0" (pointer_expression "*(int *)(local_24 + 0x248)" * (cast_expression "(int *)(local_24 + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x248)" ( (binary_expression "local_24 + 0x248" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }" { (expression_statement "local_24 = GetFirstImageInList(iVar1);" (assignment_expression "local_24 = GetFirstImageInList(iVar1)" identifier = (call_expression "GetFirstImageInList(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (while_statement "while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }" while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }" { (while_statement "while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }" while (parenthesized_expression "(*(int *)(local_24 + 0x248) != 0)" ( (binary_expression "*(int *)(local_24 + 0x248) != 0" (pointer_expression "*(int *)(local_24 + 0x248)" * (cast_expression "(int *)(local_24 + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x248)" ( (binary_expression "local_24 + 0x248" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }" { (expression_statement "local_24 = GetNextImageInList(local_24);" (assignment_expression "local_24 = GetNextImageInList(local_24)" identifier = (call_expression "GetNextImageInList(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (if_statement "if (local_24 == 0) goto LAB_00100138;" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00100138;" goto statement_identifier ;)) })) (expression_statement "DeleteImageFromList(&local_24);" (call_expression "DeleteImageFromList(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (labeled_statement "LAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);" statement_identifier : (expression_statement "iVar1 = GetFirstImageInList(*param_1);" (assignment_expression "iVar1 = GetFirstImageInList(*param_1)" identifier = (call_expression "GetFirstImageInList(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;)) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00100147;" goto statement_identifier ;) })) (expression_statement "local_24 = GetNextImageInList(local_24);" (assignment_expression "local_24 = GetNextImageInList(local_24)" identifier = (call_expression "GetNextImageInList(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) }) while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar1 = GetFirstImageInList(iVar1);" (assignment_expression "iVar1 = GetFirstImageInList(iVar1)" identifier = (call_expression "GetFirstImageInList(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);" (call_expression "ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318)" identifier (argument_list "(param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318)" ( identifier , (string_literal ""MagickCore/layer.c"" " string_content ") , (string_literal ""RemoveZeroDelayLayers"" " string_content ") , number_literal , number_literal , (string_literal ""ZeroTimeAnimation"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "iVar1 + 0x318" identifier + number_literal) ))) ;) (labeled_statement "LAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "FUN_002decd0();" (call_expression "FUN_002decd0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (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 IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (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 IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (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 IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (do_statement do (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 (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (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 (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void RemoveZeroDelayLayers(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_002decd0();\n}" (primitive_type "void") (function_declarator "RemoveZeroDelayLayers(int *param_1,int param_2)" (identifier "RemoveZeroDelayLayers") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x100069;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = *param_1;\n  if (iVar1 == 0) {\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }\n  if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }\n  iVar1 = *param_1;\n  local_24 = GetFirstImageInList(iVar1);\n  if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }\n  iVar1 = GetFirstImageInList(iVar1);\n  ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);\nLAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_002decd0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x100069;" (assignment_expression "uStack_14 = 0x100069" (identifier "uStack_14") (= "=") (number_literal "0x100069")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (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                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");\n  }" ({ "{") (expression_statement "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" (identifier "__assert_fail") (argument_list "("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,\n                  "RemoveZeroDelayLayers")" (( "(") (string_literal ""(*images) != (const Image *) NULL"" (" """) (string_content "(*images) != (const Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/layer.c"" (" """) (string_content "MagickCore/layer.c") (" """)) (, ",") (number_literal "0x6ac") (, ",") (string_literal ""RemoveZeroDelayLayers"" (" """) (string_content "RemoveZeroDelayLayers") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(iVar1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x3344)" (* "*") (cast_expression "(int *)(iVar1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3344)" (( "(") (binary_expression "iVar1 + 0x3344" (identifier "iVar1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");\n  }" ({ "{") (expression_statement "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" (identifier "__assert_fail") (argument_list "("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,\n                  "RemoveZeroDelayLayers")" (( "(") (string_literal ""(*images)->signature == MagickCoreSignature"" (" """) (string_content "(*images)->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/layer.c"" (" """) (string_content "MagickCore/layer.c") (" """)) (, ",") (number_literal "0x6ad") (, ",") (string_literal ""RemoveZeroDelayLayers"" (" """) (string_content "RemoveZeroDelayLayers") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x3328) != 0" (pointer_expression "*(int *)(iVar1 + 0x3328)" (* "*") (cast_expression "(int *)(iVar1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3328)" (( "(") (binary_expression "iVar1 + 0x3328" (identifier "iVar1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,&DAT_002f75ae,\n                   iVar1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/layer.c"" (" """) (string_content "MagickCore/layer.c") (" """)) (, ",") (string_literal ""RemoveZeroDelayLayers"" (" """) (string_content "RemoveZeroDelayLayers") (" """)) (, ",") (number_literal "0x6af") (, ",") (pointer_expression "&DAT_002f75ae" (& "&") (identifier "DAT_002f75ae")) (, ",") (binary_expression "iVar1 + 0x318" (identifier "iVar1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");\n  }" ({ "{") (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" (identifier "__assert_fail") (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,\n                  "RemoveZeroDelayLayers")" (( "(") (string_literal ""exception != (ExceptionInfo *) NULL"" (" """) (string_content "exception != (ExceptionInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/layer.c"" (" """) (string_content "MagickCore/layer.c") (" """)) (, ",") (number_literal "0x6b0") (, ",") (string_literal ""RemoveZeroDelayLayers"" (" """) (string_content "RemoveZeroDelayLayers") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_2 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x1c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_2 + 0x1c) != -0x54535255" (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");\n  }" ({ "{") (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" (identifier "__assert_fail") (argument_list "("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,\n                  "RemoveZeroDelayLayers")" (( "(") (string_literal ""exception->signature == MagickCoreSignature"" (" """) (string_content "exception->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/layer.c"" (" """) (string_content "MagickCore/layer.c") (" """)) (, ",") (number_literal "0x6b1") (, ",") (string_literal ""RemoveZeroDelayLayers"" (" """) (string_content "RemoveZeroDelayLayers") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_24 = GetFirstImageInList(iVar1);" (assignment_expression "local_24 = GetFirstImageInList(iVar1)" (identifier "local_24") (= "=") (call_expression "GetFirstImageInList(iVar1)" (identifier "GetFirstImageInList") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (local_24 == 0) {\n    local_24 = 0;\n  }\n  else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_24 = 0;\n  }" ({ "{") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" (else "else") (compound_statement "{\n    do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);\n  }" ({ "{") (do_statement "do {\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    } while (local_24 != 0);" (do "do") (compound_statement "{\n      if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }\n      local_24 = GetNextImageInList(local_24);\n    }" ({ "{") (if_statement "if (*(int *)(local_24 + 0x248) != 0) {\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }" (if "if") (parenthesized_expression "(*(int *)(local_24 + 0x248) != 0)" (( "(") (binary_expression "*(int *)(local_24 + 0x248) != 0" (pointer_expression "*(int *)(local_24 + 0x248)" (* "*") (cast_expression "(int *)(local_24 + 0x248)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x248)" (( "(") (binary_expression "local_24 + 0x248" (identifier "local_24") (+ "+") (number_literal "0x248")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_24 = GetFirstImageInList(iVar1);\n        while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }\nLAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);\n        *param_1 = iVar1;\n        goto LAB_00100147;\n      }" ({ "{") (expression_statement "local_24 = GetFirstImageInList(iVar1);" (assignment_expression "local_24 = GetFirstImageInList(iVar1)" (identifier "local_24") (= "=") (call_expression "GetFirstImageInList(iVar1)" (identifier "GetFirstImageInList") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (while_statement "while (local_24 != 0) {\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }" (while "while") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }\n          DeleteImageFromList(&local_24);\n          *param_1 = local_24;\n        }" ({ "{") (while_statement "while (*(int *)(local_24 + 0x248) != 0) {\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }" (while "while") (parenthesized_expression "(*(int *)(local_24 + 0x248) != 0)" (( "(") (binary_expression "*(int *)(local_24 + 0x248) != 0" (pointer_expression "*(int *)(local_24 + 0x248)" (* "*") (cast_expression "(int *)(local_24 + 0x248)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x248)" (( "(") (binary_expression "local_24 + 0x248" (identifier "local_24") (+ "+") (number_literal "0x248")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            local_24 = GetNextImageInList(local_24);\n            if (local_24 == 0) goto LAB_00100138;\n          }" ({ "{") (expression_statement "local_24 = GetNextImageInList(local_24);" (assignment_expression "local_24 = GetNextImageInList(local_24)" (identifier "local_24") (= "=") (call_expression "GetNextImageInList(local_24)" (identifier "GetNextImageInList") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";")) (if_statement "if (local_24 == 0) goto LAB_00100138;" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00100138;" (goto "goto") (statement_identifier "LAB_00100138") (; ";"))) (} "}"))) (expression_statement "DeleteImageFromList(&local_24);" (call_expression "DeleteImageFromList(&local_24)" (identifier "DeleteImageFromList") (argument_list "(&local_24)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")"))) (; ";")) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_24")) (; ";")) (} "}"))) (labeled_statement "LAB_00100138:\n        iVar1 = GetFirstImageInList(*param_1);" (statement_identifier "LAB_00100138") (: ":") (expression_statement "iVar1 = GetFirstImageInList(*param_1);" (assignment_expression "iVar1 = GetFirstImageInList(*param_1)" (identifier "iVar1") (= "=") (call_expression "GetFirstImageInList(*param_1)" (identifier "GetFirstImageInList") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";"))) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (goto_statement "goto LAB_00100147;" (goto "goto") (statement_identifier "LAB_00100147") (; ";")) (} "}"))) (expression_statement "local_24 = GetNextImageInList(local_24);" (assignment_expression "local_24 = GetNextImageInList(local_24)" (identifier "local_24") (= "=") (call_expression "GetNextImageInList(local_24)" (identifier "GetNextImageInList") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar1 = GetFirstImageInList(iVar1);" (assignment_expression "iVar1 = GetFirstImageInList(iVar1)" (identifier "iVar1") (= "=") (call_expression "GetFirstImageInList(iVar1)" (identifier "GetFirstImageInList") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318);" (call_expression "ThrowMagickException\n            (param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318)" (identifier "ThrowMagickException") (argument_list "(param_2,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,0x136,"ZeroTimeAnimation",\n             "`%s\'",iVar1 + 0x318)" (( "(") (identifier "param_2") (, ",") (string_literal ""MagickCore/layer.c"" (" """) (string_content "MagickCore/layer.c") (" """)) (, ",") (string_literal ""RemoveZeroDelayLayers"" (" """) (string_content "RemoveZeroDelayLayers") (" """)) (, ",") (number_literal "0x6b7") (, ",") (number_literal "0x136") (, ",") (string_literal ""ZeroTimeAnimation"" (" """) (string_content "ZeroTimeAnimation") (" """)) (, ",") (string_literal ""`%s\'"" (" """) (string_content "`%s") (escape_sequence "\'") (" """)) (, ",") (binary_expression "iVar1 + 0x318" (identifier "iVar1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (labeled_statement "LAB_00100147:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (statement_identifier "LAB_00100147") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "FUN_002decd0();" (call_expression "FUN_002decd0()" (identifier "FUN_002decd0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* 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 */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

void function_1(type_1 **images,type_2 *var_6)

{
  type_1 *var_2;
  int var_1;
  type_1 *var_8;
  int var_12;
  type_3 uStack_14;
  
  uStack_14 = 0x100069;
  var_12 = *(int *)(var_1 + 0x14);
  var_2 = *images;
  if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,
                  "RemoveZeroDelayLayers");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,
                  "RemoveZeroDelayLayers");
  }
  if (var_2->debug != var_4) {
    var_5(TraceEvent,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6af,"%s",
                   var_2->filename);
  }
  if (var_6 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,
                  "RemoveZeroDelayLayers");
  }
  if (var_6->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,
                  "RemoveZeroDelayLayers");
  }
  var_2 = *images;
  var_8 = var_7(var_2);
  if (var_8 == (type_1 *)0x0) {
    var_8 = (type_1 *)0x0;
  }
  else {
    do {
      if (var_8->delay != 0) {
        var_8 = var_7(var_2);
        while (var_8 != (type_1 *)0x0) {
          while (var_8->delay != 0) {
            var_8 = var_9(var_8);
            if (var_8 == (type_1 *)0x0) goto LAB_00100138;
          }
          var_10(&var_8);
          *images = var_8;
        }
LAB_00100138:
        var_2 = var_7(*images);
        *images = var_2;
        goto LAB_00100147;
      }
      var_8 = var_9(var_8);
    } while (var_8 != (type_1 *)0x0);
  }
  var_2 = var_7(var_2);
  var_11
            (var_6,"MagickCore/layer.c","RemoveZeroDelayLayers",0x6b7,OptionWarning,
             "ZeroTimeAnimation","`%s\'",var_2->filename);
LAB_00100147:
  if (var_12 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_13();
}


(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))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (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: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (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: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (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: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (do_statement body: (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 (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (while_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))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (number_literal) (string_literal (string_content)) (string_literal (string_content) (escape_sequence)) (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_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))))))) consequence: (compound_statement (return_statement)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1,int param_2)

{
  int iVar1;
  int in_GS_OFFSET;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x100069;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = *param_1;
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(*images) != (const Image *) NULL","MagickCore/layer.c",0x6ac,
                  "MASKED");
  }
  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(*images)->signature == MagickCoreSignature","MagickCore/layer.c",0x6ad,
                  "MASKED");
  }
  if (*(int *)(iVar1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/layer.c","MASKED",0x6af,&DAT_002f75ae,
                   iVar1 + 0x318);
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/layer.c",0x6b0,
                  "MASKED");
  }
  if (*(int *)(param_2 + 0x1c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/layer.c",0x6b1,
                  "MASKED");
  }
  iVar1 = *param_1;
  local_24 = GetFirstImageInList(iVar1);
  if (local_24 == 0) {
    local_24 = 0;
  }
  else {
    do {
      if (*(int *)(local_24 + 0x248) != 0) {
        local_24 = GetFirstImageInList(iVar1);
        while (local_24 != 0) {
          while (*(int *)(local_24 + 0x248) != 0) {
            local_24 = GetNextImageInList(local_24);
            if (local_24 == 0) goto LAB_00100138;
          }
          DeleteImageFromList(&local_24);
          *param_1 = local_24;
        }
LAB_00100138:
        iVar1 = GetFirstImageInList(*param_1);
        *param_1 = iVar1;
        goto LAB_00100147;
      }
      local_24 = GetNextImageInList(local_24);
    } while (local_24 != 0);
  }
  iVar1 = GetFirstImageInList(iVar1);
  ThrowMagickException
            (param_2,"MagickCore/layer.c","MASKED",0x6b7,0x136,"ZeroTimeAnimation",
             "`%s\'",iVar1 + 0x318);
LAB_00100147:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002decd0();
}

