
/* 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 "ComplianceType": Some values do not have unique names */

double * MagickQueryMultilineFontMetrics(MagickWand *wand,DrawingWand *drawing_wand,char *text)

{
  int iVar1;
  double *pdVar2;
  DrawInfo *pDVar3;
  int iVar4;
  double *pdVar5;
  TypeMetric *pTVar6;
  int in_GS_OFFSET;
  byte bVar7;
  TypeMetric metrics;
  
  bVar7 = 0;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,
                  "MagickQueryMultilineFontMetrics");
  }
  if (wand->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,
                  "MagickQueryMultilineFontMetrics");
  }
  if (wand->debug != MagickFalse) {
    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",
                   wand->name);
  }
  if (drawing_wand == (DrawingWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,
                  "MagickQueryMultilineFontMetrics");
  }
  if (wand->images == (Image *)0x0) {
    pdVar5 = (double *)0x0;
    ThrowMagickException
              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,
               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);
  }
  else {
    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);
    pdVar5 = pdVar2;
    if (pdVar2 != (double *)0x0) {
      pDVar3 = PeekDrawingWand(drawing_wand);
      if (pDVar3 != (DrawInfo *)0x0) {
        CloneString(&pDVar3->text,text);
        pTVar6 = &metrics;
        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {
          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;
          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);
        }
        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);
        DestroyDrawInfo(pDVar3);
        if (iVar4 != 0) {
          *pdVar2 = metrics.pixels_per_em.x;
          pdVar2[1] = metrics.pixels_per_em.y;
          pdVar2[2] = metrics.ascent;
          pdVar2[3] = metrics.descent;
          pdVar2[4] = metrics.width;
          pdVar2[5] = metrics.height;
          pdVar2[6] = metrics.max_advance;
          pdVar2[7] = metrics.bounds.x1;
          pdVar2[8] = metrics.bounds.y1;
          pdVar2[9] = metrics.bounds.x2;
          pdVar2[10] = metrics.bounds.y2;
          pdVar2[0xb] = metrics.origin.x;
          pdVar2[0xc] = metrics.origin.y;
          goto LAB_0008771c;
        }
      }
      pdVar5 = (double *)0x0;
      RelinquishMagickMemory(pdVar2);
    }
  }
LAB_0008771c:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pdVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined8 * MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)

{
  undefined8 *puVar1;
  int iVar2;
  int iVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  int in_GS_OFFSET;
  byte bVar6;
  undefined8 local_98;
  undefined8 local_90;
  undefined8 local_88;
  undefined8 local_80;
  undefined8 local_78;
  undefined8 local_70;
  undefined8 local_68;
  undefined8 local_50;
  undefined8 local_48;
  undefined8 local_40;
  undefined8 local_38;
  undefined8 local_30;
  undefined8 local_28;
  int local_20;
  undefined4 uStack_14;
  
  bVar6 = 0;
  uStack_14 = 0x875c9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,
                  "MagickQueryMultilineFontMetrics");
  }
  if (*(int *)(param_1 + 0x101c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,
                  "MagickQueryMultilineFontMetrics");
  }
  if (*(int *)(param_1 + 0x1018) != 0) {
    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",
                   param_1 + 4);
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,
                  "MagickQueryMultilineFontMetrics");
  }
  if (*(int *)(param_1 + 0x1004) == 0) {
    puVar4 = (undefined8 *)0x0;
    ThrowMagickException
              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",
               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,
               param_1 + 4);
  }
  else {
    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);
    puVar4 = puVar1;
    if (puVar1 != (undefined8 *)0x0) {
      iVar2 = PeekDrawingWand(param_2);
      if (iVar2 != 0) {
        CloneString(iVar2 + 0x238,param_3);
        puVar5 = &local_98;
        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {
          *(undefined4 *)puVar5 = 0;
          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);
        }
        iVar3 = GetMultilineTypeMetrics
                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,
                           *(undefined4 *)(param_1 + 0x100c));
        DestroyDrawInfo(iVar2);
        if (iVar3 != 0) {
          *puVar1 = local_98;
          puVar1[1] = local_90;
          puVar1[2] = local_88;
          puVar1[3] = local_80;
          puVar1[4] = local_78;
          puVar1[5] = local_70;
          puVar1[6] = local_68;
          puVar1[7] = local_50;
          puVar1[8] = local_48;
          puVar1[9] = local_40;
          puVar1[10] = local_38;
          puVar1[0xb] = local_30;
          puVar1[0xc] = local_28;
          goto LAB_0008771c;
        }
      }
      puVar4 = (undefined8 *)0x0;
      RelinquishMagickMemory(puVar1);
    }
  }
LAB_0008771c:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return puVar4;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000e52a0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0xdea37
SUB ESP,0x9c
MOV EAX,dword ptr [ESP + 0xb8]
MOV EBP,dword ptr [ESP + 0xb0]
MOV EDI,dword ptr [ESP + 0xb4]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x8c],EAX
XOR EAX,EAX
TEST EBP,EBP
JZ 0x00087812
CMP dword ptr [EBP + 0x101c],0xabacadab
JNZ 0x000877ee
MOV ECX,dword ptr [EBP + 0x1018]
TEST ECX,ECX
JNZ 0x00087740
TEST EDI,EDI
JZ 0x000877cf
MOV EDX,dword ptr [EBP + 0x1004]
TEST EDX,EDX
JZ 0x00087790
SUB ESP,0x8
PUSH 0x8
PUSH 0xd
CALL 0x0001cf40
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0008771c
SUB ESP,0xc
PUSH EDI
CALL 0x0001dc20
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00087778
SUB ESP,0x8
PUSH dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x14]
ADD EAX,0x238
PUSH EAX
CALL 0x0001d0a0
LEA EDX,[ESP + 0x24]
XOR EAX,EAX
MOV ECX,0x1e
MOV EDI,EDX
ADD ESP,0x10
STOSD.REP ES:EDI
PUSH dword ptr [EBP + 0x100c]
PUSH EDX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [EBP + 0x1004]
CALL 0x0001c6c0
MOV EDI,EAX
POP EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x0001dc30
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00087778
FLD qword ptr [ESP + 0x14]
FSTP qword ptr [ESI]
FLD qword ptr [ESP + 0x1c]
FSTP qword ptr [ESI + 0x8]
FLD qword ptr [ESP + 0x24]
FSTP qword ptr [ESI + 0x10]
FLD qword ptr [ESP + 0x2c]
FSTP qword ptr [ESI + 0x18]
FLD qword ptr [ESP + 0x34]
FSTP qword ptr [ESI + 0x20]
FLD qword ptr [ESP + 0x3c]
FSTP qword ptr [ESI + 0x28]
FLD qword ptr [ESP + 0x44]
FSTP qword ptr [ESI + 0x30]
FLD qword ptr [ESP + 0x5c]
FSTP qword ptr [ESI + 0x38]
FLD qword ptr [ESP + 0x64]
FSTP qword ptr [ESI + 0x40]
FLD qword ptr [ESP + 0x6c]
FSTP qword ptr [ESI + 0x48]
FLD qword ptr [ESP + 0x74]
FSTP qword ptr [ESI + 0x50]
FLD qword ptr [ESP + 0x7c]
FSTP qword ptr [ESI + 0x58]
FLD qword ptr [ESP + 0x84]
FSTP qword ptr [ESI + 0x60]
MOV ECX,dword ptr [ESP + 0x8c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x0008780d
ADD ESP,0x9c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBP + 0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff92c40]
PUSH 0x27f
PUSH EAX
LEA EAX,[EBX + 0xfff92af6]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
JMP 0x00087623
SUB ESP,0xc
PUSH ESI
XOR ESI,ESI
CALL 0x0001dc90
ADD ESP,0x10
JMP 0x0008771c
LEA EAX,[EBP + 0x4]
XOR ESI,ESI
PUSH EAX
LEA EAX,[EBX + 0xfff8072e]
PUSH EAX
LEA EAX,[EBX + 0xfff884fe]
PUSH EAX
LEA EAX,[EBX + 0xfff92c40]
PUSH 0x1d6
PUSH 0x283
PUSH EAX
LEA EAX,[EBX + 0xfff92af6]
PUSH EAX
PUSH dword ptr [EBP + 0x100c]
CALL 0x0001de10
ADD ESP,0x20
JMP 0x0008771c
LEA EAX,[EBX + 0xfff92c60]
PUSH EAX
LEA EAX,[EBX + 0xfff92af6]
PUSH 0x280
PUSH EAX
LEA EAX,[EBX + 0xfff92b24]
PUSH EAX
CALL 0x0001ccf0
LEA EAX,[EBX + 0xfff92c60]
PUSH EAX
LEA EAX,[EBX + 0xfff92af6]
PUSH 0x27d
PUSH EAX
LEA EAX,[EBX + 0xfff8e9f8]
PUSH EAX
CALL 0x0001ccf0
CALL 0x000e52a0
LEA EAX,[EBX + 0xfff92c60]
PUSH EAX
LEA EAX,[EBX + 0xfff92af6]
PUSH 0x27c
PUSH EAX
LEA EAX,[EBX + 0xfff8e933]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 * MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000e52a0();\n}\n\n" comment (function_definition "undefined8 * MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000e52a0();\n}" type_identifier (pointer_declarator "* MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)" * (function_declarator "MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000e52a0();\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "undefined8 local_98;" type_identifier identifier ;) (declaration "undefined8 local_90;" type_identifier identifier ;) (declaration "undefined8 local_88;" type_identifier identifier ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "undefined8 local_78;" type_identifier identifier ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "undefined8 local_68;" type_identifier identifier ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x875c9;" (assignment_expression "uStack_14 = 0x875c9" 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) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" { comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1018) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1018) != 0" (pointer_expression "*(int *)(param_1 + 0x1018)" * (cast_expression "(int *)(param_1 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\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("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }" { comment (expression_statement "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""drawing_wand != (const DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1004) == 0)" ( (binary_expression "*(int *)(param_1 + 0x1004) == 0" (pointer_expression "*(int *)(param_1 + 0x1004)" * (cast_expression "(int *)(param_1 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }" { (expression_statement "puVar4 = (undefined8 *)0x0;" (assignment_expression "puVar4 = (undefined8 *)0x0" identifier = (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);" (call_expression "ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") , number_literal , number_literal , (string_literal ""ContainsNoImages"" " string_content ") , (pointer_expression "&DAT_000e672e" & identifier) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) }) (else_clause "else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" else (compound_statement "{\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" { (expression_statement "puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);" (assignment_expression "puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8)" identifier = (cast_expression "(undefined8 *)AcquireQuantumMemory(0xd,8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(0xd,8)" identifier (argument_list "(0xd,8)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }" if (parenthesized_expression "(puVar1 != (undefined8 *)0x0)" ( (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }" { (expression_statement "iVar2 = PeekDrawingWand(param_2);" (assignment_expression "iVar2 = PeekDrawingWand(param_2)" identifier = (call_expression "PeekDrawingWand(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }" { (expression_statement "CloneString(iVar2 + 0x238,param_3);" (call_expression "CloneString(iVar2 + 0x238,param_3)" identifier (argument_list "(iVar2 + 0x238,param_3)" ( (binary_expression "iVar2 + 0x238" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar5 = &local_98;" (assignment_expression "puVar5 = &local_98" identifier = (pointer_expression "&local_98" & identifier)) ;) (for_statement "for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }" for ( (assignment_expression "iVar3 = 0x1e" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }" { (expression_statement "*(undefined4 *)puVar5 = 0;" (assignment_expression "*(undefined4 *)puVar5 = 0" (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);" (assignment_expression "puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4)" identifier = (cast_expression "(undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (uint)bVar6 * -8 + 4)" ( (binary_expression "(int)puVar5 + (uint)bVar6 * -8 + 4" (binary_expression "(int)puVar5 + (uint)bVar6 * -8" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar6 * -8" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (expression_statement "iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));" (assignment_expression "iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" identifier = (call_expression "GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" * (cast_expression "(undefined4 *)(param_1 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) , identifier , (pointer_expression "&local_98" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) )))) ;) (expression_statement "DestroyDrawInfo(iVar2);" (call_expression "DestroyDrawInfo(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }" { (expression_statement "*puVar1 = local_98;" (assignment_expression "*puVar1 = local_98" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = local_90;" (assignment_expression "puVar1[1] = local_90" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = local_88;" (assignment_expression "puVar1[2] = local_88" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = local_80;" (assignment_expression "puVar1[3] = local_80" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = local_78;" (assignment_expression "puVar1[4] = local_78" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = local_70;" (assignment_expression "puVar1[5] = local_70" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[6] = local_68;" (assignment_expression "puVar1[6] = local_68" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[7] = local_50;" (assignment_expression "puVar1[7] = local_50" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[8] = local_48;" (assignment_expression "puVar1[8] = local_48" (subscript_expression "puVar1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[9] = local_40;" (assignment_expression "puVar1[9] = local_40" (subscript_expression "puVar1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[10] = local_38;" (assignment_expression "puVar1[10] = local_38" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0xb] = local_30;" (assignment_expression "puVar1[0xb] = local_30" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0xc] = local_28;" (assignment_expression "puVar1[0xc] = local_28" (subscript_expression "puVar1[0xc]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0008771c;" goto statement_identifier ;) })) })) (expression_statement "puVar4 = (undefined8 *)0x0;" (assignment_expression "puVar4 = (undefined8 *)0x0" identifier = (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "RelinquishMagickMemory(puVar1);" (call_expression "RelinquishMagickMemory(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\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 puVar4;\n  }" { (return_statement "return puVar4;" return identifier ;) }))) comment (expression_statement "FUN_000e52a0();" (call_expression "FUN_000e52a0()" 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 "ComplianceType": Some values do not have unique names */\n\ndouble * MagickQueryMultilineFontMetrics(MagickWand *wand,DrawingWand *drawing_wand,char *text)\n\n{\n  int iVar1;\n  double *pdVar2;\n  DrawInfo *pDVar3;\n  int iVar4;\n  double *pdVar5;\n  TypeMetric *pTVar6;\n  int in_GS_OFFSET;\n  byte bVar7;\n  TypeMetric metrics;\n  \n  bVar7 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->debug != MagickFalse) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name);\n  }\n  if (drawing_wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->images == (Image *)0x0) {\n    pdVar5 = (double *)0x0;\n    ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);\n  }\n  else {\n    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);\n    pdVar5 = pdVar2;\n    if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }\n  }\nLAB_0008771c:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pdVar5;\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 "double * MagickQueryMultilineFontMetrics(MagickWand *wand,DrawingWand *drawing_wand,char *text)\n\n{\n  int iVar1;\n  double *pdVar2;\n  DrawInfo *pDVar3;\n  int iVar4;\n  double *pdVar5;\n  TypeMetric *pTVar6;\n  int in_GS_OFFSET;\n  byte bVar7;\n  TypeMetric metrics;\n  \n  bVar7 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->debug != MagickFalse) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name);\n  }\n  if (drawing_wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->images == (Image *)0x0) {\n    pdVar5 = (double *)0x0;\n    ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);\n  }\n  else {\n    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);\n    pdVar5 = pdVar2;\n    if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }\n  }\nLAB_0008771c:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pdVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (pointer_declarator "* MagickQueryMultilineFontMetrics(MagickWand *wand,DrawingWand *drawing_wand,char *text)" * (function_declarator "MagickQueryMultilineFontMetrics(MagickWand *wand,DrawingWand *drawing_wand,char *text)" identifier (parameter_list "(MagickWand *wand,DrawingWand *drawing_wand,char *text)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "DrawingWand *drawing_wand" type_identifier (pointer_declarator "*drawing_wand" * identifier)) , (parameter_declaration "char *text" primitive_type (pointer_declarator "*text" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  double *pdVar2;\n  DrawInfo *pDVar3;\n  int iVar4;\n  double *pdVar5;\n  TypeMetric *pTVar6;\n  int in_GS_OFFSET;\n  byte bVar7;\n  TypeMetric metrics;\n  \n  bVar7 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->debug != MagickFalse) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name);\n  }\n  if (drawing_wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (wand->images == (Image *)0x0) {\n    pdVar5 = (double *)0x0;\n    ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);\n  }\n  else {\n    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);\n    pdVar5 = pdVar2;\n    if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }\n  }\nLAB_0008771c:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pdVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "double *pdVar2;" primitive_type (pointer_declarator "*pdVar2" * identifier) ;) (declaration "DrawInfo *pDVar3;" type_identifier (pointer_declarator "*pDVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "double *pdVar5;" primitive_type (pointer_declarator "*pdVar5" * identifier) ;) (declaration "TypeMetric *pTVar6;" type_identifier (pointer_declarator "*pTVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "TypeMetric metrics;" type_identifier identifier ;) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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) ))))) ;) (if_statement "if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (wand->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(wand->signature != 0xabacadab)" ( (binary_expression "wand->signature != 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" { comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (wand->debug != MagickFalse) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name);\n  }" if (parenthesized_expression "(wand->debug != MagickFalse)" ( (binary_expression "wand->debug != MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name);\n  }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name)" identifier (argument_list "(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   wand->name)" ( number_literal , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (if_statement "if (drawing_wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(drawing_wand == (DrawingWand *)0x0)" ( (binary_expression "drawing_wand == (DrawingWand *)0x0" identifier == (cast_expression "(DrawingWand *)0x0" ( (type_descriptor "DrawingWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }" { comment (expression_statement "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""drawing_wand != (const DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (wand->images == (Image *)0x0) {\n    pdVar5 = (double *)0x0;\n    ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);\n  }\n  else {\n    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);\n    pdVar5 = pdVar2;\n    if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }\n  }" if (parenthesized_expression "(wand->images == (Image *)0x0)" ( (binary_expression "wand->images == (Image *)0x0" (field_expression "wand->images" identifier -> field_identifier) == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pdVar5 = (double *)0x0;\n    ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);\n  }" { (expression_statement "pdVar5 = (double *)0x0;" (assignment_expression "pdVar5 = (double *)0x0" identifier = (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name);" (call_expression "ThrowMagickException\n              (wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name)" identifier (argument_list "(wand->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,\n               0x1d6,"ContainsNoImages",&DAT_000e672e,wand->name)" ( (field_expression "wand->exception" identifier -> field_identifier) , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") , number_literal , number_literal , (string_literal ""ContainsNoImages"" " string_content ") , (pointer_expression "&DAT_000e672e" & identifier) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) }) (else_clause "else {\n    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);\n    pdVar5 = pdVar2;\n    if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }\n  }" else (compound_statement "{\n    pdVar2 = (double *)AcquireQuantumMemory(0xd,8);\n    pdVar5 = pdVar2;\n    if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }\n  }" { (expression_statement "pdVar2 = (double *)AcquireQuantumMemory(0xd,8);" (assignment_expression "pdVar2 = (double *)AcquireQuantumMemory(0xd,8)" identifier = (cast_expression "(double *)AcquireQuantumMemory(0xd,8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(0xd,8)" identifier (argument_list "(0xd,8)" ( number_literal , number_literal ))))) ;) (expression_statement "pdVar5 = pdVar2;" (assignment_expression "pdVar5 = pdVar2" identifier = identifier) ;) (if_statement "if (pdVar2 != (double *)0x0) {\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }" if (parenthesized_expression "(pdVar2 != (double *)0x0)" ( (binary_expression "pdVar2 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pDVar3 = PeekDrawingWand(drawing_wand);\n      if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }\n      pdVar5 = (double *)0x0;\n      RelinquishMagickMemory(pdVar2);\n    }" { (expression_statement "pDVar3 = PeekDrawingWand(drawing_wand);" (assignment_expression "pDVar3 = PeekDrawingWand(drawing_wand)" identifier = (call_expression "PeekDrawingWand(drawing_wand)" identifier (argument_list "(drawing_wand)" ( identifier )))) ;) (if_statement "if (pDVar3 != (DrawInfo *)0x0) {\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }" if (parenthesized_expression "(pDVar3 != (DrawInfo *)0x0)" ( (binary_expression "pDVar3 != (DrawInfo *)0x0" identifier != (cast_expression "(DrawInfo *)0x0" ( (type_descriptor "DrawInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        CloneString(&pDVar3->text,text);\n        pTVar6 = &metrics;\n        for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }\n        iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);\n        DestroyDrawInfo(pDVar3);\n        if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }\n      }" { (expression_statement "CloneString(&pDVar3->text,text);" (call_expression "CloneString(&pDVar3->text,text)" identifier (argument_list "(&pDVar3->text,text)" ( (pointer_expression "&pDVar3->text" & (field_expression "pDVar3->text" identifier -> field_identifier)) , identifier ))) ;) (expression_statement "pTVar6 = &metrics;" (assignment_expression "pTVar6 = &metrics" identifier = (pointer_expression "&metrics" & identifier)) ;) (for_statement "for (iVar4 = 0x1e; iVar4 != 0; iVar4 = iVar4 + -1) {\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }" for ( (assignment_expression "iVar4 = 0x1e" identifier = number_literal) ; (binary_expression "iVar4 != 0" identifier != number_literal) ; (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ) (compound_statement "{\n          *(undefined4 *)&(pTVar6->pixels_per_em).x = 0;\n          pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);\n        }" { (expression_statement "*(undefined4 *)&(pTVar6->pixels_per_em).x = 0;" (assignment_expression "*(undefined4 *)&(pTVar6->pixels_per_em).x = 0" (pointer_expression "*(undefined4 *)&(pTVar6->pixels_per_em).x" * (cast_expression "(undefined4 *)&(pTVar6->pixels_per_em).x" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pTVar6->pixels_per_em).x" & (field_expression "(pTVar6->pixels_per_em).x" (parenthesized_expression "(pTVar6->pixels_per_em)" ( (field_expression "pTVar6->pixels_per_em" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4);" (assignment_expression "pTVar6 = (TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4)" identifier = (cast_expression "(TypeMetric *)((int)pTVar6 + (uint)bVar7 * -8 + 4)" ( (type_descriptor "TypeMetric *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pTVar6 + (uint)bVar7 * -8 + 4)" ( (binary_expression "(int)pTVar6 + (uint)bVar7 * -8 + 4" (binary_expression "(int)pTVar6 + (uint)bVar7 * -8" (cast_expression "(int)pTVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar7 * -8" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (expression_statement "iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception);" (assignment_expression "iVar4 = GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception)" identifier = (call_expression "GetMultilineTypeMetrics(wand->images,pDVar3,&metrics,wand->exception)" identifier (argument_list "(wand->images,pDVar3,&metrics,wand->exception)" ( (field_expression "wand->images" identifier -> field_identifier) , identifier , (pointer_expression "&metrics" & identifier) , (field_expression "wand->exception" identifier -> field_identifier) )))) ;) (expression_statement "DestroyDrawInfo(pDVar3);" (call_expression "DestroyDrawInfo(pDVar3)" identifier (argument_list "(pDVar3)" ( identifier ))) ;) (if_statement "if (iVar4 != 0) {\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          *pdVar2 = metrics.pixels_per_em.x;\n          pdVar2[1] = metrics.pixels_per_em.y;\n          pdVar2[2] = metrics.ascent;\n          pdVar2[3] = metrics.descent;\n          pdVar2[4] = metrics.width;\n          pdVar2[5] = metrics.height;\n          pdVar2[6] = metrics.max_advance;\n          pdVar2[7] = metrics.bounds.x1;\n          pdVar2[8] = metrics.bounds.y1;\n          pdVar2[9] = metrics.bounds.x2;\n          pdVar2[10] = metrics.bounds.y2;\n          pdVar2[0xb] = metrics.origin.x;\n          pdVar2[0xc] = metrics.origin.y;\n          goto LAB_0008771c;\n        }" { (expression_statement "*pdVar2 = metrics.pixels_per_em.x;" (assignment_expression "*pdVar2 = metrics.pixels_per_em.x" (pointer_expression "*pdVar2" * identifier) = (field_expression "metrics.pixels_per_em.x" (field_expression "metrics.pixels_per_em" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[1] = metrics.pixels_per_em.y;" (assignment_expression "pdVar2[1] = metrics.pixels_per_em.y" (subscript_expression "pdVar2[1]" identifier [ number_literal ]) = (field_expression "metrics.pixels_per_em.y" (field_expression "metrics.pixels_per_em" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[2] = metrics.ascent;" (assignment_expression "pdVar2[2] = metrics.ascent" (subscript_expression "pdVar2[2]" identifier [ number_literal ]) = (field_expression "metrics.ascent" identifier . field_identifier)) ;) (expression_statement "pdVar2[3] = metrics.descent;" (assignment_expression "pdVar2[3] = metrics.descent" (subscript_expression "pdVar2[3]" identifier [ number_literal ]) = (field_expression "metrics.descent" identifier . field_identifier)) ;) (expression_statement "pdVar2[4] = metrics.width;" (assignment_expression "pdVar2[4] = metrics.width" (subscript_expression "pdVar2[4]" identifier [ number_literal ]) = (field_expression "metrics.width" identifier . field_identifier)) ;) (expression_statement "pdVar2[5] = metrics.height;" (assignment_expression "pdVar2[5] = metrics.height" (subscript_expression "pdVar2[5]" identifier [ number_literal ]) = (field_expression "metrics.height" identifier . field_identifier)) ;) (expression_statement "pdVar2[6] = metrics.max_advance;" (assignment_expression "pdVar2[6] = metrics.max_advance" (subscript_expression "pdVar2[6]" identifier [ number_literal ]) = (field_expression "metrics.max_advance" identifier . field_identifier)) ;) (expression_statement "pdVar2[7] = metrics.bounds.x1;" (assignment_expression "pdVar2[7] = metrics.bounds.x1" (subscript_expression "pdVar2[7]" identifier [ number_literal ]) = (field_expression "metrics.bounds.x1" (field_expression "metrics.bounds" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[8] = metrics.bounds.y1;" (assignment_expression "pdVar2[8] = metrics.bounds.y1" (subscript_expression "pdVar2[8]" identifier [ number_literal ]) = (field_expression "metrics.bounds.y1" (field_expression "metrics.bounds" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[9] = metrics.bounds.x2;" (assignment_expression "pdVar2[9] = metrics.bounds.x2" (subscript_expression "pdVar2[9]" identifier [ number_literal ]) = (field_expression "metrics.bounds.x2" (field_expression "metrics.bounds" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[10] = metrics.bounds.y2;" (assignment_expression "pdVar2[10] = metrics.bounds.y2" (subscript_expression "pdVar2[10]" identifier [ number_literal ]) = (field_expression "metrics.bounds.y2" (field_expression "metrics.bounds" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[0xb] = metrics.origin.x;" (assignment_expression "pdVar2[0xb] = metrics.origin.x" (subscript_expression "pdVar2[0xb]" identifier [ number_literal ]) = (field_expression "metrics.origin.x" (field_expression "metrics.origin" identifier . field_identifier) . field_identifier)) ;) (expression_statement "pdVar2[0xc] = metrics.origin.y;" (assignment_expression "pdVar2[0xc] = metrics.origin.y" (subscript_expression "pdVar2[0xc]" identifier [ number_literal ]) = (field_expression "metrics.origin.y" (field_expression "metrics.origin" identifier . field_identifier) . field_identifier)) ;) (goto_statement "goto LAB_0008771c;" goto statement_identifier ;) })) })) (expression_statement "pdVar5 = (double *)0x0;" (assignment_expression "pdVar5 = (double *)0x0" identifier = (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "RelinquishMagickMemory(pdVar2);" (call_expression "RelinquishMagickMemory(pdVar2)" identifier (argument_list "(pdVar2)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_0008771c:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pdVar5;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pdVar5;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(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 pdVar5;\n  }" { (return_statement "return pdVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined8 * MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    \n  FUN_000e52a0();\n}\n\n" (function_definition "undefined8 * MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    \n  FUN_000e52a0();\n}" type_identifier (pointer_declarator "* MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)" * (function_declarator "MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    \n  FUN_000e52a0();\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "undefined8 local_98;" type_identifier identifier ;) (declaration "undefined8 local_90;" type_identifier identifier ;) (declaration "undefined8 local_88;" type_identifier identifier ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "undefined8 local_78;" type_identifier identifier ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "undefined8 local_68;" type_identifier identifier ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x875c9;" (assignment_expression "uStack_14 = 0x875c9" 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) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" { (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" * (cast_expression "(int *)(param_1 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x101c)" ( (binary_expression "param_1 + 0x101c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" { (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1018) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1018) != 0" (pointer_expression "*(int *)(param_1 + 0x1018)" * (cast_expression "(int *)(param_1 + 0x1018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4)" ( number_literal , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }" { (expression_statement "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" identifier (argument_list "("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" ( (string_literal ""drawing_wand != (const DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , number_literal , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1004) == 0)" ( (binary_expression "*(int *)(param_1 + 0x1004) == 0" (pointer_expression "*(int *)(param_1 + 0x1004)" * (cast_expression "(int *)(param_1 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }" { (expression_statement "puVar4 = (undefined8 *)0x0;" (assignment_expression "puVar4 = (undefined8 *)0x0" identifier = (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);" (call_expression "ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) , (string_literal ""MagickWand/magick-wand.c"" " string_content ") , (string_literal ""MagickQueryMultilineFontMetrics"" " string_content ") , number_literal , number_literal , (string_literal ""ContainsNoImages"" " string_content ") , (pointer_expression "&DAT_000e672e" & identifier) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) }) (else_clause "else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" else (compound_statement "{\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" { (expression_statement "puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);" (assignment_expression "puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8)" identifier = (cast_expression "(undefined8 *)AcquireQuantumMemory(0xd,8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(0xd,8)" identifier (argument_list "(0xd,8)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }" if (parenthesized_expression "(puVar1 != (undefined8 *)0x0)" ( (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }" { (expression_statement "iVar2 = PeekDrawingWand(param_2);" (assignment_expression "iVar2 = PeekDrawingWand(param_2)" identifier = (call_expression "PeekDrawingWand(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }" { (expression_statement "CloneString(iVar2 + 0x238,param_3);" (call_expression "CloneString(iVar2 + 0x238,param_3)" identifier (argument_list "(iVar2 + 0x238,param_3)" ( (binary_expression "iVar2 + 0x238" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar5 = &local_98;" (assignment_expression "puVar5 = &local_98" identifier = (pointer_expression "&local_98" & identifier)) ;) (for_statement "for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }" for ( (assignment_expression "iVar3 = 0x1e" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }" { (expression_statement "*(undefined4 *)puVar5 = 0;" (assignment_expression "*(undefined4 *)puVar5 = 0" (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);" (assignment_expression "puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4)" identifier = (cast_expression "(undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (uint)bVar6 * -8 + 4)" ( (binary_expression "(int)puVar5 + (uint)bVar6 * -8 + 4" (binary_expression "(int)puVar5 + (uint)bVar6 * -8" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar6 * -8" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (expression_statement "iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));" (assignment_expression "iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" identifier = (call_expression "GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" * (cast_expression "(undefined4 *)(param_1 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) , identifier , (pointer_expression "&local_98" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" * (cast_expression "(undefined4 *)(param_1 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) )))) ;) (expression_statement "DestroyDrawInfo(iVar2);" (call_expression "DestroyDrawInfo(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }" { (expression_statement "*puVar1 = local_98;" (assignment_expression "*puVar1 = local_98" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = local_90;" (assignment_expression "puVar1[1] = local_90" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = local_88;" (assignment_expression "puVar1[2] = local_88" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = local_80;" (assignment_expression "puVar1[3] = local_80" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = local_78;" (assignment_expression "puVar1[4] = local_78" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = local_70;" (assignment_expression "puVar1[5] = local_70" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[6] = local_68;" (assignment_expression "puVar1[6] = local_68" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[7] = local_50;" (assignment_expression "puVar1[7] = local_50" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[8] = local_48;" (assignment_expression "puVar1[8] = local_48" (subscript_expression "puVar1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[9] = local_40;" (assignment_expression "puVar1[9] = local_40" (subscript_expression "puVar1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[10] = local_38;" (assignment_expression "puVar1[10] = local_38" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0xb] = local_30;" (assignment_expression "puVar1[0xb] = local_30" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0xc] = local_28;" (assignment_expression "puVar1[0xc] = local_28" (subscript_expression "puVar1[0xc]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0008771c;" goto statement_identifier ;) })) })) (expression_statement "puVar4 = (undefined8 *)0x0;" (assignment_expression "puVar4 = (undefined8 *)0x0" identifier = (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "RelinquishMagickMemory(puVar1);" (call_expression "RelinquishMagickMemory(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\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 puVar4;\n  }" { (return_statement "return puVar4;" return identifier ;) }))) (expression_statement "FUN_000e52a0();" (call_expression "FUN_000e52a0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 ") ))) ;) })) (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 , (string_literal " string_content ") , (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }))) (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 IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined8 * MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    \n  FUN_000e52a0();\n}" (type_identifier "undefined8") (pointer_declarator "* MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)" (* "*") (function_declarator "MagickQueryMultilineFontMetrics(int param_1,int param_2,undefined4 param_3)" (identifier "MagickQueryMultilineFontMetrics") (parameter_list "(int param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")")))) (compound_statement "{\n  undefined8 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  int in_GS_OFFSET;\n  byte bVar6;\n  undefined8 local_98;\n  undefined8 local_90;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar6 = 0;\n  uStack_14 = 0x875c9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }\n  if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }\nLAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }\n                    \n  FUN_000e52a0();\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar6;" (type_identifier "byte") (identifier "bVar6") (; ";")) (declaration "undefined8 local_98;" (type_identifier "undefined8") (identifier "local_98") (; ";")) (declaration "undefined8 local_90;" (type_identifier "undefined8") (identifier "local_90") (; ";")) (declaration "undefined8 local_88;" (type_identifier "undefined8") (identifier "local_88") (; ";")) (declaration "undefined8 local_80;" (type_identifier "undefined8") (identifier "local_80") (; ";")) (declaration "undefined8 local_78;" (type_identifier "undefined8") (identifier "local_78") (; ";")) (declaration "undefined8 local_70;" (type_identifier "undefined8") (identifier "local_70") (; ";")) (declaration "undefined8 local_68;" (type_identifier "undefined8") (identifier "local_68") (; ";")) (declaration "undefined8 local_50;" (type_identifier "undefined8") (identifier "local_50") (; ";")) (declaration "undefined8 local_48;" (type_identifier "undefined8") (identifier "local_48") (; ";")) (declaration "undefined8 local_40;" (type_identifier "undefined8") (identifier "local_40") (; ";")) (declaration "undefined8 local_38;" (type_identifier "undefined8") (identifier "local_38") (; ";")) (declaration "undefined8 local_30;" (type_identifier "undefined8") (identifier "local_30") (; ";")) (declaration "undefined8 local_28;" (type_identifier "undefined8") (identifier "local_28") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" (identifier "bVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x875c9;" (assignment_expression "uStack_14 = 0x875c9" (identifier "uStack_14") (= "=") (number_literal "0x875c9")) (; ";")) (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")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" (identifier "__assert_fail") (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,\n                  "MagickQueryMultilineFontMetrics")" (( "(") (string_literal ""wand != (MagickWand *) NULL"" (" """) (string_content "wand != (MagickWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/magick-wand.c"" (" """) (string_content "MagickWand/magick-wand.c") (" """)) (, ",") (number_literal "0x27c") (, ",") (string_literal ""MagickQueryMultilineFontMetrics"" (" """) (string_content "MagickQueryMultilineFontMetrics") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x101c) != -0x54535255) {\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x101c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x101c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x101c)" (* "*") (cast_expression "(int *)(param_1 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x101c)" (( "(") (binary_expression "param_1 + 0x101c" (identifier "param_1") (+ "+") (number_literal "0x101c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");\n  }" ({ "{") (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,\n                  "MagickQueryMultilineFontMetrics")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/magick-wand.c"" (" """) (string_content "MagickWand/magick-wand.c") (" """)) (, ",") (number_literal "0x27d") (, ",") (string_literal ""MagickQueryMultilineFontMetrics"" (" """) (string_content "MagickQueryMultilineFontMetrics") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1018) != 0) {\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1018) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1018) != 0" (pointer_expression "*(int *)(param_1 + 0x1018)" (* "*") (cast_expression "(int *)(param_1 + 0x1018)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1018)" (( "(") (binary_expression "param_1 + 0x1018" (identifier "param_1") (+ "+") (number_literal "0x1018")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",\n                   param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/magick-wand.c"" (" """) (string_content "MagickWand/magick-wand.c") (" """)) (, ",") (string_literal ""MagickQueryMultilineFontMetrics"" (" """) (string_content "MagickQueryMultilineFontMetrics") (" """)) (, ",") (number_literal "0x27f") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\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("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");\n  }" ({ "{") (expression_statement "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics");" (call_expression "__assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" (identifier "__assert_fail") (argument_list "("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,\n                  "MagickQueryMultilineFontMetrics")" (( "(") (string_literal ""drawing_wand != (const DrawingWand *) NULL"" (" """) (string_content "drawing_wand != (const DrawingWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/magick-wand.c"" (" """) (string_content "MagickWand/magick-wand.c") (" """)) (, ",") (number_literal "0x280") (, ",") (string_literal ""MagickQueryMultilineFontMetrics"" (" """) (string_content "MagickQueryMultilineFontMetrics") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1004) == 0) {\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }\n  else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1004) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1004) == 0" (pointer_expression "*(int *)(param_1 + 0x1004)" (* "*") (cast_expression "(int *)(param_1 + 0x1004)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1004)" (( "(") (binary_expression "param_1 + 0x1004" (identifier "param_1") (+ "+") (number_literal "0x1004")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = (undefined8 *)0x0;\n    ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);\n  }" ({ "{") (expression_statement "puVar4 = (undefined8 *)0x0;" (assignment_expression "puVar4 = (undefined8 *)0x0" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4);" (call_expression "ThrowMagickException\n              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4)" (identifier "ThrowMagickException") (argument_list "(*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",\n               "MagickQueryMultilineFontMetrics",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,\n               param_1 + 4)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) (, ",") (string_literal ""MagickWand/magick-wand.c"" (" """) (string_content "MagickWand/magick-wand.c") (" """)) (, ",") (string_literal ""MagickQueryMultilineFontMetrics"" (" """) (string_content "MagickQueryMultilineFontMetrics") (" """)) (, ",") (number_literal "0x283") (, ",") (number_literal "0x1d6") (, ",") (string_literal ""ContainsNoImages"" (" """) (string_content "ContainsNoImages") (" """)) (, ",") (pointer_expression "&DAT_000e672e" (& "&") (identifier "DAT_000e672e")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" (else "else") (compound_statement "{\n    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);\n    puVar4 = puVar1;\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }\n  }" ({ "{") (expression_statement "puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);" (assignment_expression "puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)AcquireQuantumMemory(0xd,8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireQuantumMemory(0xd,8)" (identifier "AcquireQuantumMemory") (argument_list "(0xd,8)" (( "(") (number_literal "0xd") (, ",") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }" (if "if") (parenthesized_expression "(puVar1 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined8 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar2 = PeekDrawingWand(param_2);\n      if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }\n      puVar4 = (undefined8 *)0x0;\n      RelinquishMagickMemory(puVar1);\n    }" ({ "{") (expression_statement "iVar2 = PeekDrawingWand(param_2);" (assignment_expression "iVar2 = PeekDrawingWand(param_2)" (identifier "iVar2") (= "=") (call_expression "PeekDrawingWand(param_2)" (identifier "PeekDrawingWand") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        CloneString(iVar2 + 0x238,param_3);\n        puVar5 = &local_98;\n        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }\n        iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));\n        DestroyDrawInfo(iVar2);\n        if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }\n      }" ({ "{") (expression_statement "CloneString(iVar2 + 0x238,param_3);" (call_expression "CloneString(iVar2 + 0x238,param_3)" (identifier "CloneString") (argument_list "(iVar2 + 0x238,param_3)" (( "(") (binary_expression "iVar2 + 0x238" (identifier "iVar2") (+ "+") (number_literal "0x238")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "puVar5 = &local_98;" (assignment_expression "puVar5 = &local_98" (identifier "puVar5") (= "=") (pointer_expression "&local_98" (& "&") (identifier "local_98"))) (; ";")) (for_statement "for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }" (for "for") (( "(") (assignment_expression "iVar3 = 0x1e" (identifier "iVar3") (= "=") (number_literal "0x1e")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n          *(undefined4 *)puVar5 = 0;\n          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);\n        }" ({ "{") (expression_statement "*(undefined4 *)puVar5 = 0;" (assignment_expression "*(undefined4 *)puVar5 = 0" (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);" (assignment_expression "puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + (uint)bVar6 * -8 + 4)" (( "(") (binary_expression "(int)puVar5 + (uint)bVar6 * -8 + 4" (binary_expression "(int)puVar5 + (uint)bVar6 * -8" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (binary_expression "(uint)bVar6 * -8" (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")) (* "*") (number_literal "-8"))) (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (expression_statement "iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c));" (assignment_expression "iVar3 = GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" (identifier "iVar3") (= "=") (call_expression "GetMultilineTypeMetrics\n                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" (identifier "GetMultilineTypeMetrics") (argument_list "(*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,\n                           *(undefined4 *)(param_1 + 0x100c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1004)" (( "(") (binary_expression "param_1 + 0x1004" (identifier "param_1") (+ "+") (number_literal "0x1004")) () ")")))) (, ",") (identifier "iVar2") (, ",") (pointer_expression "&local_98" (& "&") (identifier "local_98")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) () ")")))) (; ";")) (expression_statement "DestroyDrawInfo(iVar2);" (call_expression "DestroyDrawInfo(iVar2)" (identifier "DestroyDrawInfo") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (if_statement "if (iVar3 != 0) {\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *puVar1 = local_98;\n          puVar1[1] = local_90;\n          puVar1[2] = local_88;\n          puVar1[3] = local_80;\n          puVar1[4] = local_78;\n          puVar1[5] = local_70;\n          puVar1[6] = local_68;\n          puVar1[7] = local_50;\n          puVar1[8] = local_48;\n          puVar1[9] = local_40;\n          puVar1[10] = local_38;\n          puVar1[0xb] = local_30;\n          puVar1[0xc] = local_28;\n          goto LAB_0008771c;\n        }" ({ "{") (expression_statement "*puVar1 = local_98;" (assignment_expression "*puVar1 = local_98" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "local_98")) (; ";")) (expression_statement "puVar1[1] = local_90;" (assignment_expression "puVar1[1] = local_90" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_90")) (; ";")) (expression_statement "puVar1[2] = local_88;" (assignment_expression "puVar1[2] = local_88" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_88")) (; ";")) (expression_statement "puVar1[3] = local_80;" (assignment_expression "puVar1[3] = local_80" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_80")) (; ";")) (expression_statement "puVar1[4] = local_78;" (assignment_expression "puVar1[4] = local_78" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "local_78")) (; ";")) (expression_statement "puVar1[5] = local_70;" (assignment_expression "puVar1[5] = local_70" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "local_70")) (; ";")) (expression_statement "puVar1[6] = local_68;" (assignment_expression "puVar1[6] = local_68" (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "local_68")) (; ";")) (expression_statement "puVar1[7] = local_50;" (assignment_expression "puVar1[7] = local_50" (subscript_expression "puVar1[7]" (identifier "puVar1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "local_50")) (; ";")) (expression_statement "puVar1[8] = local_48;" (assignment_expression "puVar1[8] = local_48" (subscript_expression "puVar1[8]" (identifier "puVar1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "local_48")) (; ";")) (expression_statement "puVar1[9] = local_40;" (assignment_expression "puVar1[9] = local_40" (subscript_expression "puVar1[9]" (identifier "puVar1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "local_40")) (; ";")) (expression_statement "puVar1[10] = local_38;" (assignment_expression "puVar1[10] = local_38" (subscript_expression "puVar1[10]" (identifier "puVar1") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "puVar1[0xb] = local_30;" (assignment_expression "puVar1[0xb] = local_30" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "puVar1[0xc] = local_28;" (assignment_expression "puVar1[0xc] = local_28" (subscript_expression "puVar1[0xc]" (identifier "puVar1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "local_28")) (; ";")) (goto_statement "goto LAB_0008771c;" (goto "goto") (statement_identifier "LAB_0008771c") (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar4 = (undefined8 *)0x0;" (assignment_expression "puVar4 = (undefined8 *)0x0" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "RelinquishMagickMemory(puVar1);" (call_expression "RelinquishMagickMemory(puVar1)" (identifier "RelinquishMagickMemory") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0008771c:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\n  }" (statement_identifier "LAB_0008771c") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar4;\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 puVar4;\n  }" ({ "{") (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}")))) (expression_statement "FUN_000e52a0();" (call_expression "FUN_000e52a0()" (identifier "FUN_000e52a0") (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 "ComplianceType": Some values do not have unique names */

double * function_1(type_1 *var_2,type_2 *var_6,char *text)

{
  int var_17;
  double *var_9;
  type_3 *var_11;
  int var_13;
  double *pdVar5;
  type_4 *pTVar6;
  int var_1;
  type_5 bVar7;
  type_4 metrics;
  
  bVar7 = 0;
  var_17 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,
                  "MagickQueryMultilineFontMetrics");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,
                  "MagickQueryMultilineFontMetrics");
  }
  if (var_2->debug != var_4) {
    var_5(0x40000,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x27f,"%s",
                   var_2->name);
  }
  if (var_6 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,
                  "MagickQueryMultilineFontMetrics");
  }
  if (var_2->images == (type_6 *)0x0) {
    pdVar5 = (double *)0x0;
    var_7
              (var_2->exception,"MagickWand/magick-wand.c","MagickQueryMultilineFontMetrics",0x283,
               0x1d6,"ContainsNoImages",&DAT_000e672e,var_2->name);
  }
  else {
    var_9 = (double *)var_8(0xd,8);
    pdVar5 = var_9;
    if (var_9 != (double *)0x0) {
      var_11 = var_10(var_6);
      if (var_11 != (type_3 *)0x0) {
        var_12(&var_11->text,text);
        pTVar6 = &metrics;
        for (var_13 = 0x1e; var_13 != 0; var_13 = var_13 + -1) {
          *(type_7 *)&(pTVar6->pixels_per_em).x = 0;
          pTVar6 = (type_4 *)((int)pTVar6 + (type_8)bVar7 * -8 + 4);
        }
        var_13 = var_14(var_2->images,var_11,&metrics,var_2->exception);
        var_15(var_11);
        if (var_13 != 0) {
          *var_9 = metrics.pixels_per_em.x;
          var_9[1] = metrics.pixels_per_em.y;
          var_9[2] = metrics.ascent;
          var_9[3] = metrics.descent;
          var_9[4] = metrics.width;
          var_9[5] = metrics.height;
          var_9[6] = metrics.max_advance;
          var_9[7] = metrics.bounds.x1;
          var_9[8] = metrics.bounds.y1;
          var_9[9] = metrics.bounds.x2;
          var_9[10] = metrics.bounds.y2;
          var_9[0xb] = metrics.origin.x;
          var_9[0xc] = metrics.origin.y;
          goto LAB_0008771c;
        }
      }
      pdVar5 = (double *)0x0;
      var_16(var_9);
    }
  }
LAB_0008771c:
  if (var_17 == *(int *)(var_1 + 0x14)) {
    return pdVar5;
  }
                    /* WARNING: Subroutine does not return */
  var_18();
}


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

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

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

{
  undefined8 *puVar1;
  int iVar2;
  int iVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  int in_GS_OFFSET;
  byte bVar6;
  undefined8 local_98;
  undefined8 local_90;
  undefined8 local_88;
  undefined8 local_80;
  undefined8 local_78;
  undefined8 local_70;
  undefined8 local_68;
  undefined8 local_50;
  undefined8 local_48;
  undefined8 local_40;
  undefined8 local_38;
  undefined8 local_30;
  undefined8 local_28;
  int local_20;
  undefined4 uStack_14;
  
  bVar6 = 0;
  uStack_14 = 0x875c9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-wand.c",0x27c,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x101c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-wand.c",0x27d,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x1018) != 0) {
    LogMagickEvent(0x40000,"MagickWand/magick-wand.c","MASKED",0x27f,"%s",
                   param_1 + 4);
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("drawing_wand != (const DrawingWand *) NULL","MagickWand/magick-wand.c",0x280,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x1004) == 0) {
    puVar4 = (undefined8 *)0x0;
    ThrowMagickException
              (*(undefined4 *)(param_1 + 0x100c),"MagickWand/magick-wand.c",
               "MASKED",0x283,0x1d6,"ContainsNoImages",&DAT_000e672e,
               param_1 + 4);
  }
  else {
    puVar1 = (undefined8 *)AcquireQuantumMemory(0xd,8);
    puVar4 = puVar1;
    if (puVar1 != (undefined8 *)0x0) {
      iVar2 = PeekDrawingWand(param_2);
      if (iVar2 != 0) {
        CloneString(iVar2 + 0x238,param_3);
        puVar5 = &local_98;
        for (iVar3 = 0x1e; iVar3 != 0; iVar3 = iVar3 + -1) {
          *(undefined4 *)puVar5 = 0;
          puVar5 = (undefined8 *)((int)puVar5 + (uint)bVar6 * -8 + 4);
        }
        iVar3 = GetMultilineTypeMetrics
                          (*(undefined4 *)(param_1 + 0x1004),iVar2,&local_98,
                           *(undefined4 *)(param_1 + 0x100c));
        DestroyDrawInfo(iVar2);
        if (iVar3 != 0) {
          *puVar1 = local_98;
          puVar1[1] = local_90;
          puVar1[2] = local_88;
          puVar1[3] = local_80;
          puVar1[4] = local_78;
          puVar1[5] = local_70;
          puVar1[6] = local_68;
          puVar1[7] = local_50;
          puVar1[8] = local_48;
          puVar1[9] = local_40;
          puVar1[10] = local_38;
          puVar1[0xb] = local_30;
          puVar1[0xc] = local_28;
          goto LAB_0008771c;
        }
      }
      puVar4 = (undefined8 *)0x0;
      RelinquishMagickMemory(puVar1);
    }
  }
LAB_0008771c:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return puVar4;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000e52a0();
}

