
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */
/* WARNING: Enum "LogHandlerType": Some values do not have unique names */

char ** GetLogList(char *pattern,size_t *number_preferences,ExceptionInfo *exception)

{
  LogInfo *pLVar1;
  int iVar2;
  char **ppcVar3;
  char *pcVar4;
  int *piVar5;
  int *piVar6;
  undefined *puVar7;
  ExceptionInfo *pEVar8;
  undefined *unaff_s0;
  size_t sVar9;
  int iVar10;
  int iVar11;
  size_t sVar12;
  char **ppcVar13;
  undefined4 uVar14;
  undefined *puVar15;
  code *pcVar16;
  
  puVar15 = PTR_s_t_to_left_003a88e4;
  if (pattern == (char *)0x0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,
               PTR_s_t_to_left_003a88e4 + -0x3bec);
  }
  else {
    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,
               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);
    unaff_s0 = puVar15;
    if (number_preferences != (size_t *)0x0) {
      *number_preferences = 0;
      pLVar1 = GetLogInfo((char *)exception,pEVar8);
      puVar15 = PTR_DAT_003a88cc;
      if (pLVar1 != (LogInfo *)0x0) {
        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)
                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));
        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);
        puVar7 = PTR_DAT_003a88cc;
        if (ppcVar3 != (char **)0x0) {
          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));
          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));
          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)
                            (*(undefined4 *)(puVar15 + -0x5088));
          if (iVar2 == 0) {
            sVar12 = 0;
            ppcVar13 = ppcVar3;
          }
          else {
            sVar12 = 0;
            do {
              while( true ) {
                if (*(int *)(iVar2 + 0x2c) == 0) break;
LAB_0010d0a8:
                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)
                                  (*(undefined4 *)(puVar15 + -0x5088));
                ppcVar13 = ppcVar3 + sVar12;
                if (iVar2 == 0) goto LAB_0010d128;
              }
              uVar14 = *(undefined4 *)(iVar2 + 0xc);
              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);
              if (iVar2 == 0) goto LAB_0010d0a8;
              sVar9 = sVar12 + 1;
              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);
              uVar14 = *(undefined4 *)(puVar15 + -0x5088);
              ppcVar3[sVar12] = pcVar4;
              iVar10 = sVar12 + 1;
              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);
              sVar12 = sVar9;
              ppcVar13 = ppcVar3 + iVar10;
            } while (iVar2 != 0);
          }
LAB_0010d128:
          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));
          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);
          *number_preferences = sVar12;
          *ppcVar13 = (char *)0x0;
          return ppcVar3;
        }
      }
      return (char **)0x0;
    }
  }
  pEVar8 = (ExceptionInfo *)(unaff_s0 + -0x40d0);
  puVar7 = PTR_s_t_to_left_003a88e4 + -0x3e64;
  puVar15 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);
  iVar11 = *(int *)(puVar15 + 0x29b6b0);
  iVar10 = *(int *)(puVar15 + 0x29b6b0);
  pcVar4 = (char *)(**(code **)(puVar15 + 0x29bcd0))();
  GetLogInfo(pcVar4,pEVar8);
  (**(code **)(puVar15 + 0x29bb34))(pcVar4);
  iVar2 = (**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7);
  (**(code **)(puVar15 + 0x29c4cc))(*(undefined4 *)(iVar11 + -0x5090));
  piVar5 = (int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0);
  if (iVar2 == -1) {
    pcVar16 = *(code **)(puVar15 + 0x29c210);
    uVar14 = *(undefined4 *)(iVar10 + -0x5088);
    *piVar5 = 0;
    iVar2 = (*pcVar16)(uVar14);
  }
  else {
    pcVar16 = *(code **)(puVar15 + 0x29c210);
    uVar14 = *(undefined4 *)(iVar10 + -0x5088);
    *piVar5 = iVar2;
    iVar2 = (*pcVar16)(uVar14);
  }
  if (iVar2 == 0) {
    (**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));
    piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));
    if (piVar6 == (int *)0x0) {
      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;
    }
    else {
      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);
    }
  }
  else {
    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;
  }
  (**(code **)(puVar15 + 0x29c164))(*(undefined4 *)(iVar11 + -0x5090));
  return (char **)*piVar5;
}



undefined4 * GetLogList(int param_1,int *param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 *puVar2;
  int *piVar3;
  int *piVar4;
  undefined4 uVar5;
  undefined *puVar6;
  undefined *unaff_s0;
  int iVar7;
  int iVar8;
  int iVar9;
  undefined4 *puVar10;
  undefined4 uVar11;
  undefined *puVar12;
  code *pcVar13;
  
  puVar12 = PTR_s_t_to_left_003a88e4;
  if (param_1 == 0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,
               PTR_s_t_to_left_003a88e4 + -0x3bec);
  }
  else {
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,
               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);
    unaff_s0 = puVar12;
    if (param_2 != (int *)0x0) {
      *param_2 = 0;
      iVar1 = FUN_0010b2dc(param_3);
      puVar12 = PTR_DAT_003a88cc;
      if (iVar1 != 0) {
        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)
                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));
        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);
        puVar6 = PTR_DAT_003a88cc;
        if (puVar2 != (undefined4 *)0x0) {
          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));
          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));
          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)
                            (*(undefined4 *)(puVar12 + -0x5088));
          if (iVar1 == 0) {
            iVar9 = 0;
            puVar10 = puVar2;
          }
          else {
            iVar9 = 0;
            do {
              while( true ) {
                if (*(int *)(iVar1 + 0x2c) == 0) break;
LAB_0010d0a8:
                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)
                                  (*(undefined4 *)(puVar12 + -0x5088));
                puVar10 = puVar2 + iVar9;
                if (iVar1 == 0) goto LAB_0010d128;
              }
              uVar11 = *(undefined4 *)(iVar1 + 0xc);
              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);
              if (iVar1 == 0) goto LAB_0010d0a8;
              iVar7 = iVar9 + 1;
              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);
              uVar5 = *(undefined4 *)(puVar12 + -0x5088);
              puVar2[iVar9] = uVar11;
              iVar8 = iVar9 + 1;
              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);
              iVar9 = iVar7;
              puVar10 = puVar2 + iVar8;
            } while (iVar1 != 0);
          }
LAB_0010d128:
          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));
          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);
          *param_2 = iVar9;
          *puVar10 = 0;
          return puVar2;
        }
      }
      return (undefined4 *)0x0;
    }
  }
  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;
  puVar12 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)
            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);
  iVar8 = *(int *)(puVar12 + 0x29b6b0);
  iVar9 = *(int *)(puVar12 + 0x29b6b0);
  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();
  FUN_0010b2dc(uVar11);
  (**(code **)(puVar12 + 0x29bb34))(uVar11);
  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);
  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));
  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);
  if (iVar1 == -1) {
    pcVar13 = *(code **)(puVar12 + 0x29c210);
    uVar11 = *(undefined4 *)(iVar9 + -0x5088);
    *piVar3 = 0;
    iVar1 = (*pcVar13)(uVar11);
  }
  else {
    pcVar13 = *(code **)(puVar12 + 0x29c210);
    uVar11 = *(undefined4 *)(iVar9 + -0x5088);
    *piVar3 = iVar1;
    iVar1 = (*pcVar13)(uVar11);
  }
  if (iVar1 == 0) {
    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));
    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));
    if (piVar4 == (int *)0x0) {
      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;
    }
    else {
      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);
    }
  }
  else {
    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;
  }
  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));
  return (undefined4 *)*piVar3;
}


lui gp,0x2a
addiu gp,gp,0x391c
addu gp,gp,t9
addiu sp,sp,-0x50
sw gp,0x18(sp)
sw ra,0x4c(sp)
sw s8,0x48(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s5,0x3c(sp)
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
beq a0,zero,0x0010d1d8
_sw s0,0x28(sp)
lw v0,-0x7fcc(gp)
or s1,a2,zero
lw s0,-0x7fcc(gp)
or s5,a0,zero
lw a2,-0x7fcc(gp)
or s6,a1,zero
lw t9,-0x76d0(gp)
addiu v0,v0,-0x62ac
li a3,0x251
sw s5,0x14(sp)
ori a0,zero,0x8000
sw v0,0x10(sp)
addiu a2,a2,-0x3bf8
jalr t9
_addiu a1,s0,-0x40d0
beq s6,zero,0x0010d1fc
_lw gp,0x18(sp)
lw t9,-0x7e18(gp)
or a0,s1,zero
addiu t9,t9,-0x4d24
bal 0x0010b2dc
_sw zero,0x0(s6)
beq v0,zero,0x0010d194
_lw gp,0x18(sp)
lw s2,-0x7fe4(gp)
lw t9,-0x74bc(gp)
jalr t9
_lw a0,-0x5088(s2)
li a1,0x4
lw gp,0x18(sp)
lw t9,-0x73a4(gp)
jalr t9
_addiu a0,v0,0x1
lw gp,0x18(sp)
beq v0,zero,0x0010d194
_or s1,v0,zero
lw v0,-0x7fe4(gp)
lw t9,-0x71c8(gp)
sw v0,0x24(sp)
jalr t9
_lw a0,-0x5090(v0)
lw gp,0x18(sp)
lw t9,-0x7378(gp)
jalr t9
_lw a0,-0x5088(s2)
lw gp,0x18(sp)
lw t9,-0x75a0(gp)
jalr t9
_lw a0,-0x5088(s2)
beq v0,zero,0x0010d1cc
_lw gp,0x18(sp)
b 0x0010d0bc
_or s0,zero,zero
lw t9,-0x75a0(gp)
jalr t9
_lw a0,-0x5088(s2)
beq v0,zero,0x0010d128
_lw gp,0x18(sp)
lw v1,0x2c(v0)
sll s8,s0,0x2
or s3,s0,zero
bne v1,zero,0x0010d0a8
_addu s4,s1,s8
lw s7,0xc(v0)
or a2,zero,zero
lw t9,-0x7268(gp)
or a1,s5,zero
jalr t9
_or a0,s7,zero
beq v0,zero,0x0010d0a8
_lw gp,0x18(sp)
lw t9,-0x77fc(gp)
or a0,s7,zero
addiu s0,s0,0x1
jalr t9
_addiu s8,s8,0x4
or s3,s0,zero
lw gp,0x18(sp)
lw a0,-0x5088(s2)
sw v0,0x0(s4)
lw t9,-0x75a0(gp)
jalr t9
_addu s4,s1,s8
bne v0,zero,0x0010d0bc
_lw gp,0x18(sp)
lw v0,0x24(sp)
lw t9,-0x7530(gp)
jalr t9
_lw a0,-0x5090(v0)
li a2,0x4
lw gp,0x18(sp)
or a1,s3,zero
or a0,s1,zero
lw a3,-0x7e18(gp)
lw t9,-0x6fdc(gp)
jalr t9
_addiu a3,a3,-0x578c
or v0,s1,zero
lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s5,0x3c(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
sw s3,0x0(s6)
sw zero,0x0(s4)
lw s6,0x40(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
jr ra
_addiu sp,sp,0x50
lw ra,0x4c(sp)
or s1,zero,zero
lw s8,0x48(sp)
or v0,s1,zero
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
or s3,zero,zero
b 0x0010d128
_or s4,s1,zero
lw a3,-0x7fcc(gp)
li a2,0x250
lw a1,-0x7fcc(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x3bec
addiu a1,a1,-0x40d0
jalr t9
_addiu a0,a0,0x45e0
lw a3,-0x7fcc(gp)
li a2,0x252
lw a0,-0x7fcc(gp)
addiu a1,s0,-0x40d0
lw t9,-0x72a8(gp)
addiu a3,a3,-0x3bec
jalr t9
_addiu a0,a0,-0x3e64
(translation_unit "undefined4 * GetLogList(int param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}\n\n" (function_definition "undefined4 * GetLogList(int param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}" type_identifier (pointer_declarator "* GetLogList(int param_1,int *param_2,undefined4 param_3)" * (function_declarator "GetLogList(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 (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (expression_statement "puVar12 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar12 = PTR_s_t_to_left_003a88e4" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" ( (binary_expression "PTR_LAB_003a88e0 + 0x45e0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" identifier + number_literal) ))) ;) }) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" else (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bf8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , identifier ))) ;) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" identifier = identifier) ;) (if_statement "if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar1 = FUN_0010b2dc(param_3);" (assignment_expression "iVar1 = FUN_0010b2dc(param_3)" identifier = (call_expression "FUN_0010b2dc(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_DAT_003a88cc;" (assignment_expression "puVar12 = PTR_DAT_003a88cc" identifier = identifier) ;) (if_statement "if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }" { (expression_statement "iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)" ( (pointer_expression "*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" * (cast_expression "(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" * (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a88cc + -0x5088)" ( (binary_expression "PTR_DAT_003a88cc + -0x5088" identifier + number_literal) )))) )))) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 1,4)" ( (binary_expression "iVar1 + 1" identifier + number_literal) , number_literal ))))) ;) (expression_statement "puVar6 = PTR_DAT_003a88cc;" (assignment_expression "puVar6 = PTR_DAT_003a88cc" identifier = identifier) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }" { (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" ( (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" * (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" * (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a88cc + -0x5090)" ( (binary_expression "PTR_DAT_003a88cc + -0x5090" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));" (call_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)" ( (pointer_expression "*(code *)PTR_ResetLinkedListIterator_003a9538" * (cast_expression "(code *)PTR_ResetLinkedListIterator_003a9538" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = puVar2;" (assignment_expression "puVar10 = puVar2" identifier = identifier) ;) }) (else_clause "else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" else (compound_statement "{\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);" do (compound_statement "{\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            }" { (while_statement "while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }" { (if_statement "if (*(int *)(iVar1 + 0x2c) == 0) break;" if (parenthesized_expression "(*(int *)(iVar1 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x2c) == 0" (pointer_expression "*(int *)(iVar1 + 0x2c)" * (cast_expression "(int *)(iVar1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) )))) )))) ;)) (expression_statement "puVar10 = puVar2 + iVar9;" (assignment_expression "puVar10 = puVar2 + iVar9" identifier = (binary_expression "puVar2 + iVar9" identifier + identifier)) ;) (if_statement "if (iVar1 == 0) goto LAB_0010d128;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010d128;" goto statement_identifier ;)) })) (expression_statement "uVar11 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar11 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0)" identifier = (call_expression "(*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0)" (parenthesized_expression "(*(code *)PTR_GlobExpression_003a9648)" ( (pointer_expression "*(code *)PTR_GlobExpression_003a9648" * (cast_expression "(code *)PTR_GlobExpression_003a9648" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,param_1,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) goto LAB_0010d0a8;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010d0a8;" goto statement_identifier ;)) (expression_statement "iVar7 = iVar9 + 1;" (assignment_expression "iVar7 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);" (assignment_expression "uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11)" identifier = (call_expression "(*(code *)PTR_ConstantString_003a90b4)(uVar11)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" ( (pointer_expression "*(code *)PTR_ConstantString_003a90b4" * (cast_expression "(code *)PTR_ConstantString_003a90b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier )))) ;) (expression_statement "uVar5 = *(undefined4 *)(puVar12 + -0x5088);" (assignment_expression "uVar5 = *(undefined4 *)(puVar12 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "puVar2[iVar9] = uVar11;" (assignment_expression "puVar2[iVar9] = uVar11" (subscript_expression "puVar2[iVar9]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar8 = iVar9 + 1;" (assignment_expression "iVar8 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5)" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5)" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" identifier = identifier) ;) (expression_statement "puVar10 = puVar2 + iVar8;" (assignment_expression "puVar10 = puVar2 + iVar8" identifier = (binary_expression "puVar2 + iVar8" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));" statement_identifier : (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar6 + -0x5090))" ( (pointer_expression "*(undefined4 *)(puVar6 + -0x5090)" * (cast_expression "(undefined4 *)(puVar6 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x5090)" ( (binary_expression "puVar6 + -0x5090" identifier + number_literal) )))) ))) ;)) (expression_statement "(*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);" (call_expression "(*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c)" (parenthesized_expression "(*(code *)PTR_qsort_003a98d4)" ( (pointer_expression "*(code *)PTR_qsort_003a98d4" * (cast_expression "(code *)PTR_qsort_003a98d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c)" ( identifier , identifier , number_literal , (binary_expression "PTR_LAB_003a8a98 + -0x578c" identifier + number_literal) ))) ;) (expression_statement "*param_2 = iVar9;" (assignment_expression "*param_2 = iVar9" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (return_statement "return puVar2;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }))) (expression_statement "puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;" (assignment_expression "puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3e64" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR___assert_fail_003a9608;" (assignment_expression "puVar12 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" ( identifier , (binary_expression "unaff_s0 + -0x40d0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" identifier + number_literal) ))) ;) (expression_statement "iVar8 = *(int *)(puVar12 + 0x29b6b0);" (assignment_expression "iVar8 = *(int *)(puVar12 + 0x29b6b0)" identifier = (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(puVar12 + 0x29b6b0);" (assignment_expression "iVar9 = *(int *)(puVar12 + 0x29b6b0)" identifier = (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = (**(code **)(puVar12 + 0x29bcd0))();" (assignment_expression "uVar11 = (**(code **)(puVar12 + 0x29bcd0))()" identifier = (call_expression "(**(code **)(puVar12 + 0x29bcd0))()" (parenthesized_expression "(**(code **)(puVar12 + 0x29bcd0))" ( (pointer_expression "**(code **)(puVar12 + 0x29bcd0)" * (pointer_expression "*(code **)(puVar12 + 0x29bcd0)" * (cast_expression "(code **)(puVar12 + 0x29bcd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29bcd0)" ( (binary_expression "puVar12 + 0x29bcd0" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "FUN_0010b2dc(uVar11);" (call_expression "FUN_0010b2dc(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar12 + 0x29bb34))(uVar11);" (call_expression "(**(code **)(puVar12 + 0x29bb34))(uVar11)" (parenthesized_expression "(**(code **)(puVar12 + 0x29bb34))" ( (pointer_expression "**(code **)(puVar12 + 0x29bb34)" * (pointer_expression "*(code **)(puVar12 + 0x29bb34)" * (cast_expression "(code **)(puVar12 + 0x29bb34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29bb34)" ( (binary_expression "puVar12 + 0x29bb34" identifier + number_literal) ))))) )) (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);" (assignment_expression "iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6)" identifier = (call_expression "(**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6)" (parenthesized_expression "(**(code **)(puVar12 + 0x29c478))" ( (pointer_expression "**(code **)(puVar12 + 0x29c478)" * (pointer_expression "*(code **)(puVar12 + 0x29c478)" * (cast_expression "(code **)(puVar12 + 0x29c478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c478)" ( (binary_expression "puVar12 + 0x29c478" identifier + number_literal) ))))) )) (argument_list "(0x2c,1,puVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));" (call_expression "(**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c4cc))" ( (pointer_expression "**(code **)(puVar12 + 0x29c4cc)" * (pointer_expression "*(code **)(puVar12 + 0x29c4cc)" * (cast_expression "(code **)(puVar12 + 0x29c4cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c4cc)" ( (binary_expression "puVar12 + 0x29c4cc" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar8 + -0x5090))" ( (pointer_expression "*(undefined4 *)(iVar8 + -0x5090)" * (cast_expression "(undefined4 *)(iVar8 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0x5090)" ( (binary_expression "iVar8 + -0x5090" identifier + number_literal) )))) ))) ;) (expression_statement "piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);" (assignment_expression "piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" identifier = (cast_expression "(int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" (parenthesized_expression "(**(code **)(puVar12 + 0x29bc6c))" ( (pointer_expression "**(code **)(puVar12 + 0x29bc6c)" * (pointer_expression "*(code **)(puVar12 + 0x29bc6c)" * (cast_expression "(code **)(puVar12 + 0x29bc6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29bc6c)" ( (binary_expression "puVar12 + 0x29bc6c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar9 + -0x5088),0)" ( (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }" { (expression_statement "pcVar13 = *(code **)(puVar12 + 0x29c210);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x29c210)" identifier = (pointer_expression "*(code **)(puVar12 + 0x29c210)" * (cast_expression "(code **)(puVar12 + 0x29c210)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c210)" ( (binary_expression "puVar12 + 0x29c210" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = *(undefined4 *)(iVar9 + -0x5088);" (assignment_expression "uVar11 = *(undefined4 *)(iVar9 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar1 = (*pcVar13)(uVar11);" (assignment_expression "iVar1 = (*pcVar13)(uVar11)" identifier = (call_expression "(*pcVar13)(uVar11)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar11)" ( identifier )))) ;) }) (else_clause "else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" else (compound_statement "{\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" { (expression_statement "pcVar13 = *(code **)(puVar12 + 0x29c210);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x29c210)" identifier = (pointer_expression "*(code **)(puVar12 + 0x29c210)" * (cast_expression "(code **)(puVar12 + 0x29c210)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c210)" ( (binary_expression "puVar12 + 0x29c210" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = *(undefined4 *)(iVar9 + -0x5088);" (assignment_expression "uVar11 = *(undefined4 *)(iVar9 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "*piVar3 = iVar1;" (assignment_expression "*piVar3 = iVar1" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "iVar1 = (*pcVar13)(uVar11);" (assignment_expression "iVar1 = (*pcVar13)(uVar11)" identifier = (call_expression "(*pcVar13)(uVar11)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar11)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }" { (expression_statement "(**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));" (call_expression "(**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c31c))" ( (pointer_expression "**(code **)(puVar12 + 0x29c31c)" * (pointer_expression "*(code **)(puVar12 + 0x29c31c)" * (cast_expression "(code **)(puVar12 + 0x29c31c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c31c)" ( (binary_expression "puVar12 + 0x29c31c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar9 + -0x5088))" ( (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) )))) ))) ;) (expression_statement "piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));" (assignment_expression "piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" identifier = (cast_expression "(int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c0f4))" ( (pointer_expression "**(code **)(puVar12 + 0x29c0f4)" * (pointer_expression "*(code **)(puVar12 + 0x29c0f4)" * (cast_expression "(code **)(puVar12 + 0x29c0f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c0f4)" ( (binary_expression "puVar12 + 0x29c0f4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar9 + -0x5088))" ( (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) )))) ))))) ;) (if_statement "if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }" { (expression_statement "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" * (cast_expression "(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" else (compound_statement "{\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" { (expression_statement "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);" (assignment_expression "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0)" (pointer_expression "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" * (cast_expression "(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = (call_expression "(uint)(*piVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar4 != 0)" ( (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal) )))) ;) }))) }) (else_clause "else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" else (compound_statement "{\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" { (expression_statement "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" * (cast_expression "(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }))) (expression_statement "(**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));" (call_expression "(**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c164))" ( (pointer_expression "**(code **)(puVar12 + 0x29c164)" * (pointer_expression "*(code **)(puVar12 + 0x29c164)" * (cast_expression "(code **)(puVar12 + 0x29c164)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c164)" ( (binary_expression "puVar12 + 0x29c164" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar8 + -0x5090))" ( (pointer_expression "*(undefined4 *)(iVar8 + -0x5090)" * (cast_expression "(undefined4 *)(iVar8 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0x5090)" ( (binary_expression "iVar8 + -0x5090" identifier + number_literal) )))) ))) ;) (return_statement "return (undefined4 *)*piVar3;" return (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier)) ;) })))
(translation_unit "/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n/* WARNING: Enum "LogHandlerType": Some values do not have unique names */\n\nchar ** GetLogList(char *pattern,size_t *number_preferences,ExceptionInfo *exception)\n\n{\n  LogInfo *pLVar1;\n  int iVar2;\n  char **ppcVar3;\n  char *pcVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  ExceptionInfo *pEVar8;\n  undefined *unaff_s0;\n  size_t sVar9;\n  int iVar10;\n  int iVar11;\n  size_t sVar12;\n  char **ppcVar13;\n  undefined4 uVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  \n  puVar15 = PTR_s_t_to_left_003a88e4;\n  if (pattern == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);\n    unaff_s0 = puVar15;\n    if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }\n  }\n  pEVar8 = (ExceptionInfo *)(unaff_s0 + -0x40d0);\n  puVar7 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar15 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar11 = *(int *)(puVar15 + 0x29b6b0);\n  iVar10 = *(int *)(puVar15 + 0x29b6b0);\n  pcVar4 = (char *)(**(code **)(puVar15 + 0x29bcd0))();\n  GetLogInfo(pcVar4,pEVar8);\n  (**(code **)(puVar15 + 0x29bb34))(pcVar4);\n  iVar2 = (**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7);\n  (**(code **)(puVar15 + 0x29c4cc))(*(undefined4 *)(iVar11 + -0x5090));\n  piVar5 = (int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0);\n  if (iVar2 == -1) {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = 0;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = iVar2;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  if (iVar2 == 0) {\n    (**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));\n    piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));\n    if (piVar6 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar15 + 0x29c164))(*(undefined4 *)(iVar11 + -0x5090));\n  return (char **)*piVar5;\n}\n\n" comment comment comment (function_definition "char ** GetLogList(char *pattern,size_t *number_preferences,ExceptionInfo *exception)\n\n{\n  LogInfo *pLVar1;\n  int iVar2;\n  char **ppcVar3;\n  char *pcVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  ExceptionInfo *pEVar8;\n  undefined *unaff_s0;\n  size_t sVar9;\n  int iVar10;\n  int iVar11;\n  size_t sVar12;\n  char **ppcVar13;\n  undefined4 uVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  \n  puVar15 = PTR_s_t_to_left_003a88e4;\n  if (pattern == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);\n    unaff_s0 = puVar15;\n    if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }\n  }\n  pEVar8 = (ExceptionInfo *)(unaff_s0 + -0x40d0);\n  puVar7 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar15 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar11 = *(int *)(puVar15 + 0x29b6b0);\n  iVar10 = *(int *)(puVar15 + 0x29b6b0);\n  pcVar4 = (char *)(**(code **)(puVar15 + 0x29bcd0))();\n  GetLogInfo(pcVar4,pEVar8);\n  (**(code **)(puVar15 + 0x29bb34))(pcVar4);\n  iVar2 = (**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7);\n  (**(code **)(puVar15 + 0x29c4cc))(*(undefined4 *)(iVar11 + -0x5090));\n  piVar5 = (int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0);\n  if (iVar2 == -1) {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = 0;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = iVar2;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  if (iVar2 == 0) {\n    (**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));\n    piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));\n    if (piVar6 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar15 + 0x29c164))(*(undefined4 *)(iVar11 + -0x5090));\n  return (char **)*piVar5;\n}" primitive_type (pointer_declarator "** GetLogList(char *pattern,size_t *number_preferences,ExceptionInfo *exception)" * (pointer_declarator "* GetLogList(char *pattern,size_t *number_preferences,ExceptionInfo *exception)" * (function_declarator "GetLogList(char *pattern,size_t *number_preferences,ExceptionInfo *exception)" identifier (parameter_list "(char *pattern,size_t *number_preferences,ExceptionInfo *exception)" ( (parameter_declaration "char *pattern" primitive_type (pointer_declarator "*pattern" * identifier)) , (parameter_declaration "size_t *number_preferences" primitive_type (pointer_declarator "*number_preferences" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))))) (compound_statement "{\n  LogInfo *pLVar1;\n  int iVar2;\n  char **ppcVar3;\n  char *pcVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  ExceptionInfo *pEVar8;\n  undefined *unaff_s0;\n  size_t sVar9;\n  int iVar10;\n  int iVar11;\n  size_t sVar12;\n  char **ppcVar13;\n  undefined4 uVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  \n  puVar15 = PTR_s_t_to_left_003a88e4;\n  if (pattern == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);\n    unaff_s0 = puVar15;\n    if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }\n  }\n  pEVar8 = (ExceptionInfo *)(unaff_s0 + -0x40d0);\n  puVar7 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar15 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar11 = *(int *)(puVar15 + 0x29b6b0);\n  iVar10 = *(int *)(puVar15 + 0x29b6b0);\n  pcVar4 = (char *)(**(code **)(puVar15 + 0x29bcd0))();\n  GetLogInfo(pcVar4,pEVar8);\n  (**(code **)(puVar15 + 0x29bb34))(pcVar4);\n  iVar2 = (**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7);\n  (**(code **)(puVar15 + 0x29c4cc))(*(undefined4 *)(iVar11 + -0x5090));\n  piVar5 = (int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0);\n  if (iVar2 == -1) {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = 0;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = iVar2;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  if (iVar2 == 0) {\n    (**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));\n    piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));\n    if (piVar6 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar15 + 0x29c164))(*(undefined4 *)(iVar11 + -0x5090));\n  return (char **)*piVar5;\n}" { (declaration "LogInfo *pLVar1;" type_identifier (pointer_declarator "*pLVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char **ppcVar3;" primitive_type (pointer_declarator "**ppcVar3" * (pointer_declarator "*ppcVar3" * identifier)) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "ExceptionInfo *pEVar8;" type_identifier (pointer_declarator "*pEVar8" * identifier) ;) (declaration "undefined *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "size_t sVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "size_t sVar12;" primitive_type identifier ;) (declaration "char **ppcVar13;" primitive_type (pointer_declarator "**ppcVar13" * (pointer_declarator "*ppcVar13" * identifier)) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (expression_statement "puVar15 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar15 = PTR_s_t_to_left_003a88e4" identifier = identifier) ;) (if_statement "if (pattern == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);\n    unaff_s0 = puVar15;\n    if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }\n  }" if (parenthesized_expression "(pattern == (char *)0x0)" ( (binary_expression "pattern == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" ( (binary_expression "PTR_LAB_003a88e0 + 0x45e0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" identifier + number_literal) ))) ;) }) (else_clause "else {\n    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);\n    unaff_s0 = puVar15;\n    if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }\n  }" else (compound_statement "{\n    pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);\n    unaff_s0 = puVar15;\n    if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }\n  }" { (expression_statement "pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0);" (assignment_expression "pEVar8 = (ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0)" identifier = (cast_expression "(ExceptionInfo *)(PTR_s_t_to_left_003a88e4 + -0x40d0)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_t_to_left_003a88e4 + -0x40d0)" ( (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,pEVar8,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,pattern)" ( number_literal , identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bf8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , identifier ))) ;) (expression_statement "unaff_s0 = puVar15;" (assignment_expression "unaff_s0 = puVar15" identifier = identifier) ;) (if_statement "if (number_preferences != (size_t *)0x0) {\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }" if (parenthesized_expression "(number_preferences != (size_t *)0x0)" ( (binary_expression "number_preferences != (size_t *)0x0" identifier != (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *number_preferences = 0;\n      pLVar1 = GetLogInfo((char *)exception,pEVar8);\n      puVar15 = PTR_DAT_003a88cc;\n      if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }\n      return (char **)0x0;\n    }" { (expression_statement "*number_preferences = 0;" (assignment_expression "*number_preferences = 0" (pointer_expression "*number_preferences" * identifier) = number_literal) ;) (expression_statement "pLVar1 = GetLogInfo((char *)exception,pEVar8);" (assignment_expression "pLVar1 = GetLogInfo((char *)exception,pEVar8)" identifier = (call_expression "GetLogInfo((char *)exception,pEVar8)" identifier (argument_list "((char *)exception,pEVar8)" ( (cast_expression "(char *)exception" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (expression_statement "puVar15 = PTR_DAT_003a88cc;" (assignment_expression "puVar15 = PTR_DAT_003a88cc" identifier = identifier) ;) (if_statement "if (pLVar1 != (LogInfo *)0x0) {\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }" if (parenthesized_expression "(pLVar1 != (LogInfo *)0x0)" ( (binary_expression "pLVar1 != (LogInfo *)0x0" identifier != (cast_expression "(LogInfo *)0x0" ( (type_descriptor "LogInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);\n        puVar7 = PTR_DAT_003a88cc;\n        if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }\n      }" { (expression_statement "iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));" (assignment_expression "iVar2 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)" ( (pointer_expression "*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" * (cast_expression "(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" * (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a88cc + -0x5088)" ( (binary_expression "PTR_DAT_003a88cc + -0x5088" identifier + number_literal) )))) )))) ;) (expression_statement "ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4);" (assignment_expression "ppcVar3 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4)" identifier = (cast_expression "(char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar2 + 1,4)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1,4)" ( (binary_expression "iVar2 + 1" identifier + number_literal) , number_literal ))))) ;) (expression_statement "puVar7 = PTR_DAT_003a88cc;" (assignment_expression "puVar7 = PTR_DAT_003a88cc" identifier = identifier) ;) (if_statement "if (ppcVar3 != (char **)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }" if (parenthesized_expression "(ppcVar3 != (char **)0x0)" ( (binary_expression "ppcVar3 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));\n          iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));\n          if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);\n          *number_preferences = sVar12;\n          *ppcVar13 = (char *)0x0;\n          return ppcVar3;\n        }" { (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" ( (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" * (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" * (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a88cc + -0x5090)" ( (binary_expression "PTR_DAT_003a88cc + -0x5090" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088));" (call_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar15 + -0x5088))" (parenthesized_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)" ( (pointer_expression "*(code *)PTR_ResetLinkedListIterator_003a9538" * (cast_expression "(code *)PTR_ResetLinkedListIterator_003a9538" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar15 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar15 + -0x5088)" * (cast_expression "(undefined4 *)(puVar15 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + -0x5088)" ( (binary_expression "puVar15 + -0x5088" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088));" (assignment_expression "iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar15 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar15 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar15 + -0x5088)" * (cast_expression "(undefined4 *)(puVar15 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + -0x5088)" ( (binary_expression "puVar15 + -0x5088" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }\n          else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            sVar12 = 0;\n            ppcVar13 = ppcVar3;\n          }" { (expression_statement "sVar12 = 0;" (assignment_expression "sVar12 = 0" identifier = number_literal) ;) (expression_statement "ppcVar13 = ppcVar3;" (assignment_expression "ppcVar13 = ppcVar3" identifier = identifier) ;) }) (else_clause "else {\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }" else (compound_statement "{\n            sVar12 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);\n          }" { (expression_statement "sVar12 = 0;" (assignment_expression "sVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            } while (iVar2 != 0);" do (compound_statement "{\n              while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }\n              uVar14 = *(undefined4 *)(iVar2 + 0xc);\n              iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);\n              if (iVar2 == 0) goto LAB_0010d0a8;\n              sVar9 = sVar12 + 1;\n              pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);\n              uVar14 = *(undefined4 *)(puVar15 + -0x5088);\n              ppcVar3[sVar12] = pcVar4;\n              iVar10 = sVar12 + 1;\n              iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);\n              sVar12 = sVar9;\n              ppcVar13 = ppcVar3 + iVar10;\n            }" { (while_statement "while( true ) {\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                if (*(int *)(iVar2 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));\n                ppcVar13 = ppcVar3 + sVar12;\n                if (iVar2 == 0) goto LAB_0010d128;\n              }" { (if_statement "if (*(int *)(iVar2 + 0x2c) == 0) break;" if (parenthesized_expression "(*(int *)(iVar2 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x2c) == 0" (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0010d0a8:\n                iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088));" (assignment_expression "iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar15 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar15 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar15 + -0x5088)" * (cast_expression "(undefined4 *)(puVar15 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + -0x5088)" ( (binary_expression "puVar15 + -0x5088" identifier + number_literal) )))) )))) ;)) (expression_statement "ppcVar13 = ppcVar3 + sVar12;" (assignment_expression "ppcVar13 = ppcVar3 + sVar12" identifier = (binary_expression "ppcVar3 + sVar12" identifier + identifier)) ;) (if_statement "if (iVar2 == 0) goto LAB_0010d128;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010d128;" goto statement_identifier ;)) })) (expression_statement "uVar14 = *(undefined4 *)(iVar2 + 0xc);" (assignment_expression "uVar14 = *(undefined4 *)(iVar2 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0);" (assignment_expression "iVar2 = (*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0)" identifier = (call_expression "(*(code *)PTR_GlobExpression_003a9648)(uVar14,pattern,0)" (parenthesized_expression "(*(code *)PTR_GlobExpression_003a9648)" ( (pointer_expression "*(code *)PTR_GlobExpression_003a9648" * (cast_expression "(code *)PTR_GlobExpression_003a9648" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14,pattern,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar2 == 0) goto LAB_0010d0a8;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010d0a8;" goto statement_identifier ;)) (expression_statement "sVar9 = sVar12 + 1;" (assignment_expression "sVar9 = sVar12 + 1" identifier = (binary_expression "sVar12 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14)" identifier = (cast_expression "(char *)(*(code *)PTR_ConstantString_003a90b4)(uVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ConstantString_003a90b4)(uVar14)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" ( (pointer_expression "*(code *)PTR_ConstantString_003a90b4" * (cast_expression "(code *)PTR_ConstantString_003a90b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier ))))) ;) (expression_statement "uVar14 = *(undefined4 *)(puVar15 + -0x5088);" (assignment_expression "uVar14 = *(undefined4 *)(puVar15 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(puVar15 + -0x5088)" * (cast_expression "(undefined4 *)(puVar15 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + -0x5088)" ( (binary_expression "puVar15 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "ppcVar3[sVar12] = pcVar4;" (assignment_expression "ppcVar3[sVar12] = pcVar4" (subscript_expression "ppcVar3[sVar12]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar10 = sVar12 + 1;" (assignment_expression "iVar10 = sVar12 + 1" identifier = (binary_expression "sVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14);" (assignment_expression "iVar2 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14)" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar14)" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "sVar12 = sVar9;" (assignment_expression "sVar12 = sVar9" identifier = identifier) ;) (expression_statement "ppcVar13 = ppcVar3 + iVar10;" (assignment_expression "ppcVar13 = ppcVar3 + iVar10" identifier = (binary_expression "ppcVar3 + iVar10" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));" statement_identifier : (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar7 + -0x5090))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar7 + -0x5090))" ( (pointer_expression "*(undefined4 *)(puVar7 + -0x5090)" * (cast_expression "(undefined4 *)(puVar7 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x5090)" ( (binary_expression "puVar7 + -0x5090" identifier + number_literal) )))) ))) ;)) (expression_statement "(*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c);" (call_expression "(*(code *)PTR_qsort_003a98d4)(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c)" (parenthesized_expression "(*(code *)PTR_qsort_003a98d4)" ( (pointer_expression "*(code *)PTR_qsort_003a98d4" * (cast_expression "(code *)PTR_qsort_003a98d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ppcVar3,sVar12,4,PTR_LAB_003a8a98 + -0x578c)" ( identifier , identifier , number_literal , (binary_expression "PTR_LAB_003a8a98 + -0x578c" identifier + number_literal) ))) ;) (expression_statement "*number_preferences = sVar12;" (assignment_expression "*number_preferences = sVar12" (pointer_expression "*number_preferences" * identifier) = identifier) ;) (expression_statement "*ppcVar13 = (char *)0x0;" (assignment_expression "*ppcVar13 = (char *)0x0" (pointer_expression "*ppcVar13" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return ppcVar3;" return identifier ;) })) })) (return_statement "return (char **)0x0;" return (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) ;) })) }))) (expression_statement "pEVar8 = (ExceptionInfo *)(unaff_s0 + -0x40d0);" (assignment_expression "pEVar8 = (ExceptionInfo *)(unaff_s0 + -0x40d0)" identifier = (cast_expression "(ExceptionInfo *)(unaff_s0 + -0x40d0)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + -0x40d0)" ( (binary_expression "unaff_s0 + -0x40d0" identifier + number_literal) )))) ;) (expression_statement "puVar7 = PTR_s_t_to_left_003a88e4 + -0x3e64;" (assignment_expression "puVar7 = PTR_s_t_to_left_003a88e4 + -0x3e64" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3e64" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR___assert_fail_003a9608;" (assignment_expression "puVar15 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,pEVar8,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" ( identifier , identifier , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" identifier + number_literal) ))) ;) (expression_statement "iVar11 = *(int *)(puVar15 + 0x29b6b0);" (assignment_expression "iVar11 = *(int *)(puVar15 + 0x29b6b0)" identifier = (pointer_expression "*(int *)(puVar15 + 0x29b6b0)" * (cast_expression "(int *)(puVar15 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x29b6b0)" ( (binary_expression "puVar15 + 0x29b6b0" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar15 + 0x29b6b0);" (assignment_expression "iVar10 = *(int *)(puVar15 + 0x29b6b0)" identifier = (pointer_expression "*(int *)(puVar15 + 0x29b6b0)" * (cast_expression "(int *)(puVar15 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x29b6b0)" ( (binary_expression "puVar15 + 0x29b6b0" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = (char *)(**(code **)(puVar15 + 0x29bcd0))();" (assignment_expression "pcVar4 = (char *)(**(code **)(puVar15 + 0x29bcd0))()" identifier = (cast_expression "(char *)(**(code **)(puVar15 + 0x29bcd0))()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x29bcd0))()" (parenthesized_expression "(**(code **)(puVar15 + 0x29bcd0))" ( (pointer_expression "**(code **)(puVar15 + 0x29bcd0)" * (pointer_expression "*(code **)(puVar15 + 0x29bcd0)" * (cast_expression "(code **)(puVar15 + 0x29bcd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29bcd0)" ( (binary_expression "puVar15 + 0x29bcd0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "GetLogInfo(pcVar4,pEVar8);" (call_expression "GetLogInfo(pcVar4,pEVar8)" identifier (argument_list "(pcVar4,pEVar8)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x29bb34))(pcVar4);" (call_expression "(**(code **)(puVar15 + 0x29bb34))(pcVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x29bb34))" ( (pointer_expression "**(code **)(puVar15 + 0x29bb34)" * (pointer_expression "*(code **)(puVar15 + 0x29bb34)" * (cast_expression "(code **)(puVar15 + 0x29bb34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29bb34)" ( (binary_expression "puVar15 + 0x29bb34" identifier + number_literal) ))))) )) (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "iVar2 = (**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7);" (assignment_expression "iVar2 = (**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x29c478))(0x2c,1,puVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x29c478))" ( (pointer_expression "**(code **)(puVar15 + 0x29c478)" * (pointer_expression "*(code **)(puVar15 + 0x29c478)" * (cast_expression "(code **)(puVar15 + 0x29c478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c478)" ( (binary_expression "puVar15 + 0x29c478" identifier + number_literal) ))))) )) (argument_list "(0x2c,1,puVar7)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x29c4cc))(*(undefined4 *)(iVar11 + -0x5090));" (call_expression "(**(code **)(puVar15 + 0x29c4cc))(*(undefined4 *)(iVar11 + -0x5090))" (parenthesized_expression "(**(code **)(puVar15 + 0x29c4cc))" ( (pointer_expression "**(code **)(puVar15 + 0x29c4cc)" * (pointer_expression "*(code **)(puVar15 + 0x29c4cc)" * (cast_expression "(code **)(puVar15 + 0x29c4cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c4cc)" ( (binary_expression "puVar15 + 0x29c4cc" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar11 + -0x5090))" ( (pointer_expression "*(undefined4 *)(iVar11 + -0x5090)" * (cast_expression "(undefined4 *)(iVar11 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x5090)" ( (binary_expression "iVar11 + -0x5090" identifier + number_literal) )))) ))) ;) (expression_statement "piVar5 = (int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0);" (assignment_expression "piVar5 = (int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x29bc6c))(*(undefined4 *)(iVar10 + -0x5088),0)" (parenthesized_expression "(**(code **)(puVar15 + 0x29bc6c))" ( (pointer_expression "**(code **)(puVar15 + 0x29bc6c)" * (pointer_expression "*(code **)(puVar15 + 0x29bc6c)" * (cast_expression "(code **)(puVar15 + 0x29bc6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29bc6c)" ( (binary_expression "puVar15 + 0x29bc6c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + -0x5088),0)" ( (pointer_expression "*(undefined4 *)(iVar10 + -0x5088)" * (cast_expression "(undefined4 *)(iVar10 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x5088)" ( (binary_expression "iVar10 + -0x5088" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if (iVar2 == -1) {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = 0;\n    iVar2 = (*pcVar16)(uVar14);\n  }\n  else {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = iVar2;\n    iVar2 = (*pcVar16)(uVar14);\n  }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = 0;\n    iVar2 = (*pcVar16)(uVar14);\n  }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x29c210);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x29c210)" identifier = (pointer_expression "*(code **)(puVar15 + 0x29c210)" * (cast_expression "(code **)(puVar15 + 0x29c210)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c210)" ( (binary_expression "puVar15 + 0x29c210" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(undefined4 *)(iVar10 + -0x5088);" (assignment_expression "uVar14 = *(undefined4 *)(iVar10 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + -0x5088)" * (cast_expression "(undefined4 *)(iVar10 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x5088)" ( (binary_expression "iVar10 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "*piVar5 = 0;" (assignment_expression "*piVar5 = 0" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (expression_statement "iVar2 = (*pcVar16)(uVar14);" (assignment_expression "iVar2 = (*pcVar16)(uVar14)" identifier = (call_expression "(*pcVar16)(uVar14)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) }) (else_clause "else {\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = iVar2;\n    iVar2 = (*pcVar16)(uVar14);\n  }" else (compound_statement "{\n    pcVar16 = *(code **)(puVar15 + 0x29c210);\n    uVar14 = *(undefined4 *)(iVar10 + -0x5088);\n    *piVar5 = iVar2;\n    iVar2 = (*pcVar16)(uVar14);\n  }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x29c210);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x29c210)" identifier = (pointer_expression "*(code **)(puVar15 + 0x29c210)" * (cast_expression "(code **)(puVar15 + 0x29c210)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c210)" ( (binary_expression "puVar15 + 0x29c210" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(undefined4 *)(iVar10 + -0x5088);" (assignment_expression "uVar14 = *(undefined4 *)(iVar10 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + -0x5088)" * (cast_expression "(undefined4 *)(iVar10 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x5088)" ( (binary_expression "iVar10 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "iVar2 = (*pcVar16)(uVar14);" (assignment_expression "iVar2 = (*pcVar16)(uVar14)" identifier = (call_expression "(*pcVar16)(uVar14)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) }))) (if_statement "if (iVar2 == 0) {\n    (**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));\n    piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));\n    if (piVar6 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));\n    piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));\n    if (piVar6 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }\n  }" { (expression_statement "(**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088));" (call_expression "(**(code **)(puVar15 + 0x29c31c))(*(undefined4 *)(iVar10 + -0x5088))" (parenthesized_expression "(**(code **)(puVar15 + 0x29c31c))" ( (pointer_expression "**(code **)(puVar15 + 0x29c31c)" * (pointer_expression "*(code **)(puVar15 + 0x29c31c)" * (cast_expression "(code **)(puVar15 + 0x29c31c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c31c)" ( (binary_expression "puVar15 + 0x29c31c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + -0x5088))" ( (pointer_expression "*(undefined4 *)(iVar10 + -0x5088)" * (cast_expression "(undefined4 *)(iVar10 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x5088)" ( (binary_expression "iVar10 + -0x5088" identifier + number_literal) )))) ))) ;) (expression_statement "piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088));" (assignment_expression "piVar6 = (int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088))" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x29c0f4))(*(undefined4 *)(iVar10 + -0x5088))" (parenthesized_expression "(**(code **)(puVar15 + 0x29c0f4))" ( (pointer_expression "**(code **)(puVar15 + 0x29c0f4)" * (pointer_expression "*(code **)(puVar15 + 0x29c0f4)" * (cast_expression "(code **)(puVar15 + 0x29c0f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c0f4)" ( (binary_expression "puVar15 + 0x29c0f4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar10 + -0x5088))" ( (pointer_expression "*(undefined4 *)(iVar10 + -0x5088)" * (cast_expression "(undefined4 *)(iVar10 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x5088)" ( (binary_expression "iVar10 + -0x5088" identifier + number_literal) )))) ))))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n    }" { (expression_statement "*(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" * (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar15 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar15 + 0x29b6b0)" * (cast_expression "(int *)(puVar15 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x29b6b0)" ( (binary_expression "puVar15 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }" else (compound_statement "{\n      *(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);\n    }" { (expression_statement "*(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0);" (assignment_expression "*(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = (uint)(*piVar6 != 0)" (pointer_expression "*(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" * (cast_expression "(uint *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar15 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar15 + 0x29b6b0)" * (cast_expression "(int *)(puVar15 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x29b6b0)" ( (binary_expression "puVar15 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = (call_expression "(uint)(*piVar6 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )))) ;) }))) }) (else_clause "else {\n    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n  }" else (compound_statement "{\n    *(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;\n  }" { (expression_statement "*(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" * (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar15 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar15 + 0x29b6b0)" * (cast_expression "(int *)(puVar15 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x29b6b0)" ( (binary_expression "puVar15 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }))) (expression_statement "(**(code **)(puVar15 + 0x29c164))(*(undefined4 *)(iVar11 + -0x5090));" (call_expression "(**(code **)(puVar15 + 0x29c164))(*(undefined4 *)(iVar11 + -0x5090))" (parenthesized_expression "(**(code **)(puVar15 + 0x29c164))" ( (pointer_expression "**(code **)(puVar15 + 0x29c164)" * (pointer_expression "*(code **)(puVar15 + 0x29c164)" * (cast_expression "(code **)(puVar15 + 0x29c164)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x29c164)" ( (binary_expression "puVar15 + 0x29c164" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar11 + -0x5090))" ( (pointer_expression "*(undefined4 *)(iVar11 + -0x5090)" * (cast_expression "(undefined4 *)(iVar11 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x5090)" ( (binary_expression "iVar11 + -0x5090" identifier + number_literal) )))) ))) ;) (return_statement "return (char **)*piVar5;" return (cast_expression "(char **)*piVar5" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*piVar5" * identifier)) ;) })))
(translation_unit "undefined4 * GetLogList(int param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}\n\n" (function_definition "undefined4 * GetLogList(int param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}" type_identifier (pointer_declarator "* GetLogList(int param_1,int *param_2,undefined4 param_3)" * (function_declarator "GetLogList(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 (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (expression_statement "puVar12 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar12 = PTR_s_t_to_left_003a88e4" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" ( (binary_expression "PTR_LAB_003a88e0 + 0x45e0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" identifier + number_literal) ))) ;) }) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" else (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1)" ( number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bf8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , identifier ))) ;) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" identifier = identifier) ;) (if_statement "if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar1 = FUN_0010b2dc(param_3);" (assignment_expression "iVar1 = FUN_0010b2dc(param_3)" identifier = (call_expression "FUN_0010b2dc(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_DAT_003a88cc;" (assignment_expression "puVar12 = PTR_DAT_003a88cc" identifier = identifier) ;) (if_statement "if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }" { (expression_statement "iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)" ( (pointer_expression "*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" * (cast_expression "(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" * (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a88cc + -0x5088)" ( (binary_expression "PTR_DAT_003a88cc + -0x5088" identifier + number_literal) )))) )))) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 1,4)" ( (binary_expression "iVar1 + 1" identifier + number_literal) , number_literal ))))) ;) (expression_statement "puVar6 = PTR_DAT_003a88cc;" (assignment_expression "puVar6 = PTR_DAT_003a88cc" identifier = identifier) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }" { (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" ( (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" * (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" * (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a88cc + -0x5090)" ( (binary_expression "PTR_DAT_003a88cc + -0x5090" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));" (call_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)" ( (pointer_expression "*(code *)PTR_ResetLinkedListIterator_003a9538" * (cast_expression "(code *)PTR_ResetLinkedListIterator_003a9538" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = puVar2;" (assignment_expression "puVar10 = puVar2" identifier = identifier) ;) }) (else_clause "else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" else (compound_statement "{\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);" do (compound_statement "{\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            }" { (while_statement "while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }" { (if_statement "if (*(int *)(iVar1 + 0x2c) == 0) break;" if (parenthesized_expression "(*(int *)(iVar1 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x2c) == 0" (pointer_expression "*(int *)(iVar1 + 0x2c)" * (cast_expression "(int *)(iVar1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088))" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" ( (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) )))) )))) ;)) (expression_statement "puVar10 = puVar2 + iVar9;" (assignment_expression "puVar10 = puVar2 + iVar9" identifier = (binary_expression "puVar2 + iVar9" identifier + identifier)) ;) (if_statement "if (iVar1 == 0) goto LAB_0010d128;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010d128;" goto statement_identifier ;)) })) (expression_statement "uVar11 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar11 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0)" identifier = (call_expression "(*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0)" (parenthesized_expression "(*(code *)PTR_GlobExpression_003a9648)" ( (pointer_expression "*(code *)PTR_GlobExpression_003a9648" * (cast_expression "(code *)PTR_GlobExpression_003a9648" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,param_1,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) goto LAB_0010d0a8;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010d0a8;" goto statement_identifier ;)) (expression_statement "iVar7 = iVar9 + 1;" (assignment_expression "iVar7 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);" (assignment_expression "uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11)" identifier = (call_expression "(*(code *)PTR_ConstantString_003a90b4)(uVar11)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" ( (pointer_expression "*(code *)PTR_ConstantString_003a90b4" * (cast_expression "(code *)PTR_ConstantString_003a90b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier )))) ;) (expression_statement "uVar5 = *(undefined4 *)(puVar12 + -0x5088);" (assignment_expression "uVar5 = *(undefined4 *)(puVar12 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" * (cast_expression "(undefined4 *)(puVar12 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x5088)" ( (binary_expression "puVar12 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "puVar2[iVar9] = uVar11;" (assignment_expression "puVar2[iVar9] = uVar11" (subscript_expression "puVar2[iVar9]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar8 = iVar9 + 1;" (assignment_expression "iVar8 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5)" identifier = (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5)" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" ( (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" * (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" identifier = identifier) ;) (expression_statement "puVar10 = puVar2 + iVar8;" (assignment_expression "puVar10 = puVar2 + iVar8" identifier = (binary_expression "puVar2 + iVar8" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));" statement_identifier : (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" ( (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" * (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar6 + -0x5090))" ( (pointer_expression "*(undefined4 *)(puVar6 + -0x5090)" * (cast_expression "(undefined4 *)(puVar6 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x5090)" ( (binary_expression "puVar6 + -0x5090" identifier + number_literal) )))) ))) ;)) (expression_statement "(*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);" (call_expression "(*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c)" (parenthesized_expression "(*(code *)PTR_qsort_003a98d4)" ( (pointer_expression "*(code *)PTR_qsort_003a98d4" * (cast_expression "(code *)PTR_qsort_003a98d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c)" ( identifier , identifier , number_literal , (binary_expression "PTR_LAB_003a8a98 + -0x578c" identifier + number_literal) ))) ;) (expression_statement "*param_2 = iVar9;" (assignment_expression "*param_2 = iVar9" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (return_statement "return puVar2;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }))) (expression_statement "puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;" (assignment_expression "puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3e64" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR___assert_fail_003a9608;" (assignment_expression "puVar12 = PTR___assert_fail_003a9608" identifier = identifier) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" ( identifier , (binary_expression "unaff_s0 + -0x40d0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" identifier + number_literal) ))) ;) (expression_statement "iVar8 = *(int *)(puVar12 + 0x29b6b0);" (assignment_expression "iVar8 = *(int *)(puVar12 + 0x29b6b0)" identifier = (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(puVar12 + 0x29b6b0);" (assignment_expression "iVar9 = *(int *)(puVar12 + 0x29b6b0)" identifier = (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = (**(code **)(puVar12 + 0x29bcd0))();" (assignment_expression "uVar11 = (**(code **)(puVar12 + 0x29bcd0))()" identifier = (call_expression "(**(code **)(puVar12 + 0x29bcd0))()" (parenthesized_expression "(**(code **)(puVar12 + 0x29bcd0))" ( (pointer_expression "**(code **)(puVar12 + 0x29bcd0)" * (pointer_expression "*(code **)(puVar12 + 0x29bcd0)" * (cast_expression "(code **)(puVar12 + 0x29bcd0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29bcd0)" ( (binary_expression "puVar12 + 0x29bcd0" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "FUN_0010b2dc(uVar11);" (call_expression "FUN_0010b2dc(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar12 + 0x29bb34))(uVar11);" (call_expression "(**(code **)(puVar12 + 0x29bb34))(uVar11)" (parenthesized_expression "(**(code **)(puVar12 + 0x29bb34))" ( (pointer_expression "**(code **)(puVar12 + 0x29bb34)" * (pointer_expression "*(code **)(puVar12 + 0x29bb34)" * (cast_expression "(code **)(puVar12 + 0x29bb34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29bb34)" ( (binary_expression "puVar12 + 0x29bb34" identifier + number_literal) ))))) )) (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);" (assignment_expression "iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6)" identifier = (call_expression "(**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6)" (parenthesized_expression "(**(code **)(puVar12 + 0x29c478))" ( (pointer_expression "**(code **)(puVar12 + 0x29c478)" * (pointer_expression "*(code **)(puVar12 + 0x29c478)" * (cast_expression "(code **)(puVar12 + 0x29c478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c478)" ( (binary_expression "puVar12 + 0x29c478" identifier + number_literal) ))))) )) (argument_list "(0x2c,1,puVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));" (call_expression "(**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c4cc))" ( (pointer_expression "**(code **)(puVar12 + 0x29c4cc)" * (pointer_expression "*(code **)(puVar12 + 0x29c4cc)" * (cast_expression "(code **)(puVar12 + 0x29c4cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c4cc)" ( (binary_expression "puVar12 + 0x29c4cc" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar8 + -0x5090))" ( (pointer_expression "*(undefined4 *)(iVar8 + -0x5090)" * (cast_expression "(undefined4 *)(iVar8 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0x5090)" ( (binary_expression "iVar8 + -0x5090" identifier + number_literal) )))) ))) ;) (expression_statement "piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);" (assignment_expression "piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" identifier = (cast_expression "(int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" (parenthesized_expression "(**(code **)(puVar12 + 0x29bc6c))" ( (pointer_expression "**(code **)(puVar12 + 0x29bc6c)" * (pointer_expression "*(code **)(puVar12 + 0x29bc6c)" * (cast_expression "(code **)(puVar12 + 0x29bc6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29bc6c)" ( (binary_expression "puVar12 + 0x29bc6c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar9 + -0x5088),0)" ( (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) )))) , number_literal ))))) ;) (if_statement "if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }" { (expression_statement "pcVar13 = *(code **)(puVar12 + 0x29c210);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x29c210)" identifier = (pointer_expression "*(code **)(puVar12 + 0x29c210)" * (cast_expression "(code **)(puVar12 + 0x29c210)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c210)" ( (binary_expression "puVar12 + 0x29c210" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = *(undefined4 *)(iVar9 + -0x5088);" (assignment_expression "uVar11 = *(undefined4 *)(iVar9 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar1 = (*pcVar13)(uVar11);" (assignment_expression "iVar1 = (*pcVar13)(uVar11)" identifier = (call_expression "(*pcVar13)(uVar11)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar11)" ( identifier )))) ;) }) (else_clause "else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" else (compound_statement "{\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" { (expression_statement "pcVar13 = *(code **)(puVar12 + 0x29c210);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x29c210)" identifier = (pointer_expression "*(code **)(puVar12 + 0x29c210)" * (cast_expression "(code **)(puVar12 + 0x29c210)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c210)" ( (binary_expression "puVar12 + 0x29c210" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = *(undefined4 *)(iVar9 + -0x5088);" (assignment_expression "uVar11 = *(undefined4 *)(iVar9 + -0x5088)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) ))))) ;) (expression_statement "*piVar3 = iVar1;" (assignment_expression "*piVar3 = iVar1" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "iVar1 = (*pcVar13)(uVar11);" (assignment_expression "iVar1 = (*pcVar13)(uVar11)" identifier = (call_expression "(*pcVar13)(uVar11)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar11)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }" { (expression_statement "(**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));" (call_expression "(**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c31c))" ( (pointer_expression "**(code **)(puVar12 + 0x29c31c)" * (pointer_expression "*(code **)(puVar12 + 0x29c31c)" * (cast_expression "(code **)(puVar12 + 0x29c31c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c31c)" ( (binary_expression "puVar12 + 0x29c31c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar9 + -0x5088))" ( (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) )))) ))) ;) (expression_statement "piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));" (assignment_expression "piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" identifier = (cast_expression "(int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c0f4))" ( (pointer_expression "**(code **)(puVar12 + 0x29c0f4)" * (pointer_expression "*(code **)(puVar12 + 0x29c0f4)" * (cast_expression "(code **)(puVar12 + 0x29c0f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c0f4)" ( (binary_expression "puVar12 + 0x29c0f4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar9 + -0x5088))" ( (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" * (cast_expression "(undefined4 *)(iVar9 + -0x5088)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x5088)" ( (binary_expression "iVar9 + -0x5088" identifier + number_literal) )))) ))))) ;) (if_statement "if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }" { (expression_statement "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" * (cast_expression "(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" else (compound_statement "{\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" { (expression_statement "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);" (assignment_expression "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0)" (pointer_expression "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" * (cast_expression "(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = (call_expression "(uint)(*piVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar4 != 0)" ( (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal) )))) ;) }))) }) (else_clause "else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" else (compound_statement "{\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" { (expression_statement "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" * (cast_expression "(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" ( (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" * (cast_expression "(int *)(puVar12 + 0x29b6b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x29b6b0)" ( (binary_expression "puVar12 + 0x29b6b0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }))) (expression_statement "(**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));" (call_expression "(**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c164))" ( (pointer_expression "**(code **)(puVar12 + 0x29c164)" * (pointer_expression "*(code **)(puVar12 + 0x29c164)" * (cast_expression "(code **)(puVar12 + 0x29c164)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x29c164)" ( (binary_expression "puVar12 + 0x29c164" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar8 + -0x5090))" ( (pointer_expression "*(undefined4 *)(iVar8 + -0x5090)" * (cast_expression "(undefined4 *)(iVar8 + -0x5090)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0x5090)" ( (binary_expression "iVar8 + -0x5090" identifier + number_literal) )))) ))) ;) (return_statement "return (undefined4 *)*piVar3;" return (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier)) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (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 (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + 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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (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 (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) != LIT) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ;) })))
(function_definition "undefined4 * GetLogList(int param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}" (type_identifier "undefined4") (pointer_declarator "* GetLogList(int param_1,int *param_2,undefined4 param_3)" (* "*") (function_declarator "GetLogList(int param_1,int *param_2,undefined4 param_3)" (identifier "GetLogList") (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") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined *unaff_s0;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  \n  puVar12 = PTR_s_t_to_left_003a88e4;\n  if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }\n  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;\n  puVar12 = PTR___assert_fail_003a9608;\n  (*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);\n  iVar8 = *(int *)(puVar12 + 0x29b6b0);\n  iVar9 = *(int *)(puVar12 + 0x29b6b0);\n  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();\n  FUN_0010b2dc(uVar11);\n  (**(code **)(puVar12 + 0x29bb34))(uVar11);\n  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);\n  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));\n  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);\n  if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }\n  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));\n  return (undefined4 *)*piVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined *unaff_s0;" (type_identifier "undefined") (pointer_declarator "*unaff_s0" (* "*") (identifier "unaff_s0")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "code *pcVar13;" (type_identifier "code") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (expression_statement "puVar12 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar12 = PTR_s_t_to_left_003a88e4" (identifier "puVar12") (= "=") (identifier "PTR_s_t_to_left_003a88e4")) (; ";")) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }\n  else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,\n               PTR_s_t_to_left_003a88e4 + -0x3bec)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x45e0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x45e0")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x40d0")) (, ",") (number_literal "0x250") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3bec")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);\n    unaff_s0 = puVar12;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }\n  }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003a91e0"))) () ")")) (argument_list "(0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x40d0" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x40d0")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bf8" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3bf8")) (, ",") (number_literal "0x251") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x62ac")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" (identifier "unaff_s0") (= "=") (identifier "puVar12")) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_2 = 0;\n      iVar1 = FUN_0010b2dc(param_3);\n      puVar12 = PTR_DAT_003a88cc;\n      if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }\n      return (undefined4 *)0x0;\n    }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = FUN_0010b2dc(param_3);" (assignment_expression "iVar1 = FUN_0010b2dc(param_3)" (identifier "iVar1") (= "=") (call_expression "FUN_0010b2dc(param_3)" (identifier "FUN_0010b2dc") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_DAT_003a88cc;" (assignment_expression "puVar12 = PTR_DAT_003a88cc" (identifier "puVar12") (= "=") (identifier "PTR_DAT_003a88cc")) (; ";")) (if_statement "if (iVar1 != 0) {\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));\n        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);\n        puVar6 = PTR_DAT_003a88cc;\n        if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }\n      }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)\n                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)" (( "(") (pointer_expression "*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" (* "*") (cast_expression "(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetNumberOfElementsInLinkedList_003a93f4"))) () ")")) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5088))" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003a88cc + -0x5088)" (( "(") (binary_expression "PTR_DAT_003a88cc + -0x5088" (identifier "PTR_DAT_003a88cc") (+ "+") (number_literal "-0x5088")) () ")")))) () ")")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" (( "(") (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" (* "*") (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireQuantumMemory_003a950c"))) () ")")) (argument_list "(iVar1 + 1,4)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) (, ",") (number_literal "4") () ")"))))) (; ";")) (expression_statement "puVar6 = PTR_DAT_003a88cc;" (assignment_expression "puVar6 = PTR_DAT_003a88cc" (identifier "puVar6") (= "=") (identifier "PTR_DAT_003a88cc")) (; ";")) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));\n          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));\n          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));\n          if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }\nLAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));\n          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);\n          *param_2 = iVar9;\n          *puVar10 = 0;\n          return puVar2;\n        }" ({ "{") (expression_statement "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));" (call_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" (parenthesized_expression "(*(code *)PTR_LockSemaphoreInfo_003a96e8)" (( "(") (pointer_expression "*(code *)PTR_LockSemaphoreInfo_003a96e8" (* "*") (cast_expression "(code *)PTR_LockSemaphoreInfo_003a96e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LockSemaphoreInfo_003a96e8"))) () ")")) (argument_list "(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090))" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_003a88cc + -0x5090)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003a88cc + -0x5090)" (( "(") (binary_expression "PTR_DAT_003a88cc + -0x5090" (identifier "PTR_DAT_003a88cc") (+ "+") (number_literal "-0x5090")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));" (call_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_ResetLinkedListIterator_003a9538)" (( "(") (pointer_expression "*(code *)PTR_ResetLinkedListIterator_003a9538" (* "*") (cast_expression "(code *)PTR_ResetLinkedListIterator_003a9538" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResetLinkedListIterator_003a9538"))) () ")")) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" (( "(") (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0x5088)" (( "(") (binary_expression "puVar12 + -0x5088" (identifier "puVar12") (+ "+") (number_literal "-0x5088")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                            (*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" (( "(") (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" (* "*") (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetNextValueInLinkedList_003a9310"))) () ")")) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" (( "(") (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0x5088)" (( "(") (binary_expression "puVar12 + -0x5088" (identifier "puVar12") (+ "+") (number_literal "-0x5088")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }\n          else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar9 = 0;\n            puVar10 = puVar2;\n          }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = puVar2;" (assignment_expression "puVar10 = puVar2" (identifier "puVar10") (= "=") (identifier "puVar2")) (; ";")) (} "}")) (else_clause "else {\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" (else "else") (compound_statement "{\n            iVar9 = 0;\n            do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);\n          }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            } while (iVar1 != 0);" (do "do") (compound_statement "{\n              while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }\n              uVar11 = *(undefined4 *)(iVar1 + 0xc);\n              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);\n              if (iVar1 == 0) goto LAB_0010d0a8;\n              iVar7 = iVar9 + 1;\n              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);\n              uVar5 = *(undefined4 *)(puVar12 + -0x5088);\n              puVar2[iVar9] = uVar11;\n              iVar8 = iVar9 + 1;\n              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);\n              iVar9 = iVar7;\n              puVar10 = puVar2 + iVar8;\n            }" ({ "{") (while_statement "while( true ) {\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n                if (*(int *)(iVar1 + 0x2c) == 0) break;\nLAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));\n                puVar10 = puVar2 + iVar9;\n                if (iVar1 == 0) goto LAB_0010d128;\n              }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0x2c) == 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x2c) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2c) == 0" (pointer_expression "*(int *)(iVar1 + 0x2c)" (* "*") (cast_expression "(int *)(iVar1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2c)" (( "(") (binary_expression "iVar1 + 0x2c" (identifier "iVar1") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0010d0a8:\n                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));" (statement_identifier "LAB_0010d0a8") (: ":") (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088));" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)\n                                  (*(undefined4 *)(puVar12 + -0x5088))" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" (( "(") (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" (* "*") (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetNextValueInLinkedList_003a9310"))) () ")")) (argument_list "(*(undefined4 *)(puVar12 + -0x5088))" (( "(") (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0x5088)" (( "(") (binary_expression "puVar12 + -0x5088" (identifier "puVar12") (+ "+") (number_literal "-0x5088")) () ")")))) () ")")))) (; ";"))) (expression_statement "puVar10 = puVar2 + iVar9;" (assignment_expression "puVar10 = puVar2 + iVar9" (identifier "puVar10") (= "=") (binary_expression "puVar2 + iVar9" (identifier "puVar2") (+ "+") (identifier "iVar9"))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_0010d128;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010d128;" (goto "goto") (statement_identifier "LAB_0010d128") (; ";"))) (} "}"))) (expression_statement "uVar11 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar11 = *(undefined4 *)(iVar1 + 0xc)" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0)" (parenthesized_expression "(*(code *)PTR_GlobExpression_003a9648)" (( "(") (pointer_expression "*(code *)PTR_GlobExpression_003a9648" (* "*") (cast_expression "(code *)PTR_GlobExpression_003a9648" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GlobExpression_003a9648"))) () ")")) (argument_list "(uVar11,param_1,0)" (( "(") (identifier "uVar11") (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_0010d0a8;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010d0a8;" (goto "goto") (statement_identifier "LAB_0010d0a8") (; ";"))) (expression_statement "iVar7 = iVar9 + 1;" (assignment_expression "iVar7 = iVar9 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);" (assignment_expression "uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_ConstantString_003a90b4)(uVar11)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" (( "(") (pointer_expression "*(code *)PTR_ConstantString_003a90b4" (* "*") (cast_expression "(code *)PTR_ConstantString_003a90b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ConstantString_003a90b4"))) () ")")) (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")")))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(puVar12 + -0x5088);" (assignment_expression "uVar5 = *(undefined4 *)(puVar12 + -0x5088)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(puVar12 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0x5088)" (( "(") (binary_expression "puVar12 + -0x5088" (identifier "puVar12") (+ "+") (number_literal "-0x5088")) () ")"))))) (; ";")) (expression_statement "puVar2[iVar9] = uVar11;" (assignment_expression "puVar2[iVar9] = uVar11" (subscript_expression "puVar2[iVar9]" (identifier "puVar2") ([ "[") (identifier "iVar9") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "iVar8 = iVar9 + 1;" (assignment_expression "iVar8 = iVar9 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5)" (parenthesized_expression "(*(code *)PTR_GetNextValueInLinkedList_003a9310)" (( "(") (pointer_expression "*(code *)PTR_GetNextValueInLinkedList_003a9310" (* "*") (cast_expression "(code *)PTR_GetNextValueInLinkedList_003a9310" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetNextValueInLinkedList_003a9310"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" (identifier "iVar9") (= "=") (identifier "iVar7")) (; ";")) (expression_statement "puVar10 = puVar2 + iVar8;" (assignment_expression "puVar10 = puVar2 + iVar8" (identifier "puVar10") (= "=") (binary_expression "puVar2 + iVar8" (identifier "puVar2") (+ "+") (identifier "iVar8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (labeled_statement "LAB_0010d128:\n          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));" (statement_identifier "LAB_0010d128") (: ":") (expression_statement "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));" (call_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090))" (parenthesized_expression "(*(code *)PTR_UnlockSemaphoreInfo_003a9380)" (( "(") (pointer_expression "*(code *)PTR_UnlockSemaphoreInfo_003a9380" (* "*") (cast_expression "(code *)PTR_UnlockSemaphoreInfo_003a9380" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_UnlockSemaphoreInfo_003a9380"))) () ")")) (argument_list "(*(undefined4 *)(puVar6 + -0x5090))" (( "(") (pointer_expression "*(undefined4 *)(puVar6 + -0x5090)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x5090)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x5090)" (( "(") (binary_expression "puVar6 + -0x5090" (identifier "puVar6") (+ "+") (number_literal "-0x5090")) () ")")))) () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);" (call_expression "(*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c)" (parenthesized_expression "(*(code *)PTR_qsort_003a98d4)" (( "(") (pointer_expression "*(code *)PTR_qsort_003a98d4" (* "*") (cast_expression "(code *)PTR_qsort_003a98d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_qsort_003a98d4"))) () ")")) (argument_list "(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c)" (( "(") (identifier "puVar2") (, ",") (identifier "iVar9") (, ",") (number_literal "4") (, ",") (binary_expression "PTR_LAB_003a8a98 + -0x578c" (identifier "PTR_LAB_003a8a98") (+ "+") (number_literal "-0x578c")) () ")"))) (; ";")) (expression_statement "*param_2 = iVar9;" (assignment_expression "*param_2 = iVar9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (number_literal "0")) (; ";")) (return_statement "return puVar2;" (return "return") (identifier "puVar2") (; ";")) (} "}"))) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;" (assignment_expression "puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64" (identifier "puVar6") (= "=") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3e64" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3e64"))) (; ";")) (expression_statement "puVar12 = PTR___assert_fail_003a9608;" (assignment_expression "puVar12 = PTR___assert_fail_003a9608" (identifier "puVar12") (= "=") (identifier "PTR___assert_fail_003a9608")) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec)" (( "(") (identifier "puVar6") (, ",") (binary_expression "unaff_s0 + -0x40d0" (identifier "unaff_s0") (+ "+") (number_literal "-0x40d0")) (, ",") (number_literal "0x252") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3bec" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3bec")) () ")"))) (; ";")) (expression_statement "iVar8 = *(int *)(puVar12 + 0x29b6b0);" (assignment_expression "iVar8 = *(int *)(puVar12 + 0x29b6b0)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" (* "*") (cast_expression "(int *)(puVar12 + 0x29b6b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x29b6b0)" (( "(") (binary_expression "puVar12 + 0x29b6b0" (identifier "puVar12") (+ "+") (number_literal "0x29b6b0")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(puVar12 + 0x29b6b0);" (assignment_expression "iVar9 = *(int *)(puVar12 + 0x29b6b0)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" (* "*") (cast_expression "(int *)(puVar12 + 0x29b6b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x29b6b0)" (( "(") (binary_expression "puVar12 + 0x29b6b0" (identifier "puVar12") (+ "+") (number_literal "0x29b6b0")) () ")"))))) (; ";")) (expression_statement "uVar11 = (**(code **)(puVar12 + 0x29bcd0))();" (assignment_expression "uVar11 = (**(code **)(puVar12 + 0x29bcd0))()" (identifier "uVar11") (= "=") (call_expression "(**(code **)(puVar12 + 0x29bcd0))()" (parenthesized_expression "(**(code **)(puVar12 + 0x29bcd0))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29bcd0)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29bcd0)" (* "*") (cast_expression "(code **)(puVar12 + 0x29bcd0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29bcd0)" (( "(") (binary_expression "puVar12 + 0x29bcd0" (identifier "puVar12") (+ "+") (number_literal "0x29bcd0")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_0010b2dc(uVar11);" (call_expression "FUN_0010b2dc(uVar11)" (identifier "FUN_0010b2dc") (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar12 + 0x29bb34))(uVar11);" (call_expression "(**(code **)(puVar12 + 0x29bb34))(uVar11)" (parenthesized_expression "(**(code **)(puVar12 + 0x29bb34))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29bb34)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29bb34)" (* "*") (cast_expression "(code **)(puVar12 + 0x29bb34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29bb34)" (( "(") (binary_expression "puVar12 + 0x29bb34" (identifier "puVar12") (+ "+") (number_literal "0x29bb34")) () ")"))))) () ")")) (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))) (; ";")) (expression_statement "iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);" (assignment_expression "iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6)" (parenthesized_expression "(**(code **)(puVar12 + 0x29c478))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29c478)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29c478)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c478)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c478)" (( "(") (binary_expression "puVar12 + 0x29c478" (identifier "puVar12") (+ "+") (number_literal "0x29c478")) () ")"))))) () ")")) (argument_list "(0x2c,1,puVar6)" (( "(") (number_literal "0x2c") (, ",") (number_literal "1") (, ",") (identifier "puVar6") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));" (call_expression "(**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c4cc))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29c4cc)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29c4cc)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c4cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c4cc)" (( "(") (binary_expression "puVar12 + 0x29c4cc" (identifier "puVar12") (+ "+") (number_literal "0x29c4cc")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar8 + -0x5090))" (( "(") (pointer_expression "*(undefined4 *)(iVar8 + -0x5090)" (* "*") (cast_expression "(undefined4 *)(iVar8 + -0x5090)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + -0x5090)" (( "(") (binary_expression "iVar8 + -0x5090" (identifier "iVar8") (+ "+") (number_literal "-0x5090")) () ")")))) () ")"))) (; ";")) (expression_statement "piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);" (assignment_expression "piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" (identifier "piVar3") (= "=") (cast_expression "(int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0)" (parenthesized_expression "(**(code **)(puVar12 + 0x29bc6c))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29bc6c)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29bc6c)" (* "*") (cast_expression "(code **)(puVar12 + 0x29bc6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29bc6c)" (( "(") (binary_expression "puVar12 + 0x29bc6c" (identifier "puVar12") (+ "+") (number_literal "0x29bc6c")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar9 + -0x5088),0)" (( "(") (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(iVar9 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x5088)" (( "(") (binary_expression "iVar9 + -0x5088" (identifier "iVar9") (+ "+") (number_literal "-0x5088")) () ")")))) (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (iVar1 == -1) {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }\n  else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = 0;\n    iVar1 = (*pcVar13)(uVar11);\n  }" ({ "{") (expression_statement "pcVar13 = *(code **)(puVar12 + 0x29c210);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x29c210)" (identifier "pcVar13") (= "=") (pointer_expression "*(code **)(puVar12 + 0x29c210)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c210)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c210)" (( "(") (binary_expression "puVar12 + 0x29c210" (identifier "puVar12") (+ "+") (number_literal "0x29c210")) () ")"))))) (; ";")) (expression_statement "uVar11 = *(undefined4 *)(iVar9 + -0x5088);" (assignment_expression "uVar11 = *(undefined4 *)(iVar9 + -0x5088)" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(iVar9 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x5088)" (( "(") (binary_expression "iVar9 + -0x5088" (identifier "iVar9") (+ "+") (number_literal "-0x5088")) () ")"))))) (; ";")) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = (*pcVar13)(uVar11);" (assignment_expression "iVar1 = (*pcVar13)(uVar11)" (identifier "iVar1") (= "=") (call_expression "(*pcVar13)(uVar11)" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" (else "else") (compound_statement "{\n    pcVar13 = *(code **)(puVar12 + 0x29c210);\n    uVar11 = *(undefined4 *)(iVar9 + -0x5088);\n    *piVar3 = iVar1;\n    iVar1 = (*pcVar13)(uVar11);\n  }" ({ "{") (expression_statement "pcVar13 = *(code **)(puVar12 + 0x29c210);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x29c210)" (identifier "pcVar13") (= "=") (pointer_expression "*(code **)(puVar12 + 0x29c210)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c210)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c210)" (( "(") (binary_expression "puVar12 + 0x29c210" (identifier "puVar12") (+ "+") (number_literal "0x29c210")) () ")"))))) (; ";")) (expression_statement "uVar11 = *(undefined4 *)(iVar9 + -0x5088);" (assignment_expression "uVar11 = *(undefined4 *)(iVar9 + -0x5088)" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(iVar9 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x5088)" (( "(") (binary_expression "iVar9 + -0x5088" (identifier "iVar9") (+ "+") (number_literal "-0x5088")) () ")"))))) (; ";")) (expression_statement "*piVar3 = iVar1;" (assignment_expression "*piVar3 = iVar1" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar1 = (*pcVar13)(uVar11);" (assignment_expression "iVar1 = (*pcVar13)(uVar11)" (identifier "iVar1") (= "=") (call_expression "(*pcVar13)(uVar11)" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 0) {\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }\n  else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));\n    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));\n    if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }\n  }" ({ "{") (expression_statement "(**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));" (call_expression "(**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c31c))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29c31c)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29c31c)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c31c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c31c)" (( "(") (binary_expression "puVar12 + 0x29c31c" (identifier "puVar12") (+ "+") (number_literal "0x29c31c")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar9 + -0x5088))" (( "(") (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(iVar9 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x5088)" (( "(") (binary_expression "iVar9 + -0x5088" (identifier "iVar9") (+ "+") (number_literal "-0x5088")) () ")")))) () ")"))) (; ";")) (expression_statement "piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));" (assignment_expression "piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" (identifier "piVar4") (= "=") (cast_expression "(int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c0f4))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29c0f4)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29c0f4)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c0f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c0f4)" (( "(") (binary_expression "puVar12 + 0x29c0f4" (identifier "puVar12") (+ "+") (number_literal "0x29c0f4")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar9 + -0x5088))" (( "(") (pointer_expression "*(undefined4 *)(iVar9 + -0x5088)" (* "*") (cast_expression "(undefined4 *)(iVar9 + -0x5088)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x5088)" (( "(") (binary_expression "iVar9 + -0x5088" (identifier "iVar9") (+ "+") (number_literal "-0x5088")) () ")")))) () ")"))))) (; ";")) (if_statement "if (piVar4 == (int *)0x0) {\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }\n    else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" (if "if") (parenthesized_expression "(piVar4 == (int *)0x0)" (( "(") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n    }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (( "(") (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" (* "*") (cast_expression "(int *)(puVar12 + 0x29b6b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x29b6b0)" (( "(") (binary_expression "puVar12 + 0x29b6b0" (identifier "puVar12") (+ "+") (number_literal "0x29b6b0")) () ")")))) (+ "+") (number_literal "-0x508c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" (else "else") (compound_statement "{\n      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);\n    }" ({ "{") (expression_statement "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);" (assignment_expression "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0)" (pointer_expression "*(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (* "*") (cast_expression "(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (( "(") (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" (* "*") (cast_expression "(int *)(puVar12 + 0x29b6b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x29b6b0)" (( "(") (binary_expression "puVar12 + 0x29b6b0" (identifier "puVar12") (+ "+") (number_literal "0x29b6b0")) () ")")))) (+ "+") (number_literal "-0x508c")) () ")")))) (= "=") (call_expression "(uint)(*piVar4 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*piVar4 != 0)" (( "(") (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0" (pointer_expression "*(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar12 + 0x29b6b0) + -0x508c)" (( "(") (binary_expression "*(int *)(puVar12 + 0x29b6b0) + -0x508c" (pointer_expression "*(int *)(puVar12 + 0x29b6b0)" (* "*") (cast_expression "(int *)(puVar12 + 0x29b6b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x29b6b0)" (( "(") (binary_expression "puVar12 + 0x29b6b0" (identifier "puVar12") (+ "+") (number_literal "0x29b6b0")) () ")")))) (+ "+") (number_literal "-0x508c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));" (call_expression "(**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090))" (parenthesized_expression "(**(code **)(puVar12 + 0x29c164))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x29c164)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x29c164)" (* "*") (cast_expression "(code **)(puVar12 + 0x29c164)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x29c164)" (( "(") (binary_expression "puVar12 + 0x29c164" (identifier "puVar12") (+ "+") (number_literal "0x29c164")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar8 + -0x5090))" (( "(") (pointer_expression "*(undefined4 *)(iVar8 + -0x5090)" (* "*") (cast_expression "(undefined4 *)(iVar8 + -0x5090)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + -0x5090)" (( "(") (binary_expression "iVar8 + -0x5090" (identifier "iVar8") (+ "+") (number_literal "-0x5090")) () ")")))) () ")"))) (; ";")) (return_statement "return (undefined4 *)*piVar3;" (return "return") (cast_expression "(undefined4 *)*piVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (} "}")))
(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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (identifier)))))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (number_literal) (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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))))) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (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: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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)))))))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))

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

{
  int iVar1;
  undefined4 *puVar2;
  int *piVar3;
  int *piVar4;
  undefined4 uVar5;
  undefined *puVar6;
  undefined *unaff_s0;
  int iVar7;
  int iVar8;
  int iVar9;
  undefined4 *puVar10;
  undefined4 uVar11;
  undefined *puVar12;
  code *pcVar13;
  
  puVar12 = PTR_s_t_to_left_003a88e4;
  if (param_1 == 0) {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0x45e0,PTR_s_t_to_left_003a88e4 + -0x40d0,0x250,
               PTR_s_t_to_left_003a88e4 + -0x3bec);
  }
  else {
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_t_to_left_003a88e4 + -0x40d0,PTR_s_t_to_left_003a88e4 + -0x3bf8,0x251,
               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1);
    unaff_s0 = puVar12;
    if (param_2 != (int *)0x0) {
      *param_2 = 0;
      iVar1 = FUN_0010b2dc(param_3);
      puVar12 = PTR_DAT_003a88cc;
      if (iVar1 != 0) {
        iVar1 = (*(code *)PTR_GetNumberOfElementsInLinkedList_003a93f4)
                          (*(undefined4 *)(PTR_DAT_003a88cc + -0x5088));
        puVar2 = (undefined4 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,4);
        puVar6 = PTR_DAT_003a88cc;
        if (puVar2 != (undefined4 *)0x0) {
          (*(code *)PTR_LockSemaphoreInfo_003a96e8)(*(undefined4 *)(PTR_DAT_003a88cc + -0x5090));
          (*(code *)PTR_ResetLinkedListIterator_003a9538)(*(undefined4 *)(puVar12 + -0x5088));
          iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)
                            (*(undefined4 *)(puVar12 + -0x5088));
          if (iVar1 == 0) {
            iVar9 = 0;
            puVar10 = puVar2;
          }
          else {
            iVar9 = 0;
            do {
              while( true ) {
                if (*(int *)(iVar1 + 0x2c) == 0) break;
LAB_0010d0a8:
                iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)
                                  (*(undefined4 *)(puVar12 + -0x5088));
                puVar10 = puVar2 + iVar9;
                if (iVar1 == 0) goto LAB_0010d128;
              }
              uVar11 = *(undefined4 *)(iVar1 + 0xc);
              iVar1 = (*(code *)PTR_GlobExpression_003a9648)(uVar11,param_1,0);
              if (iVar1 == 0) goto LAB_0010d0a8;
              iVar7 = iVar9 + 1;
              uVar11 = (*(code *)PTR_ConstantString_003a90b4)(uVar11);
              uVar5 = *(undefined4 *)(puVar12 + -0x5088);
              puVar2[iVar9] = uVar11;
              iVar8 = iVar9 + 1;
              iVar1 = (*(code *)PTR_GetNextValueInLinkedList_003a9310)(uVar5);
              iVar9 = iVar7;
              puVar10 = puVar2 + iVar8;
            } while (iVar1 != 0);
          }
LAB_0010d128:
          (*(code *)PTR_UnlockSemaphoreInfo_003a9380)(*(undefined4 *)(puVar6 + -0x5090));
          (*(code *)PTR_qsort_003a98d4)(puVar2,iVar9,4,PTR_LAB_003a8a98 + -0x578c);
          *param_2 = iVar9;
          *puVar10 = 0;
          return puVar2;
        }
      }
      return (undefined4 *)0x0;
    }
  }
  puVar6 = PTR_s_t_to_left_003a88e4 + -0x3e64;
  puVar12 = PTR___assert_fail_003a9608;
  (*(code *)PTR___assert_fail_003a9608)
            (puVar6,unaff_s0 + -0x40d0,0x252,PTR_s_t_to_left_003a88e4 + -0x3bec);
  iVar8 = *(int *)(puVar12 + 0x29b6b0);
  iVar9 = *(int *)(puVar12 + 0x29b6b0);
  uVar11 = (**(code **)(puVar12 + 0x29bcd0))();
  FUN_0010b2dc(uVar11);
  (**(code **)(puVar12 + 0x29bb34))(uVar11);
  iVar1 = (**(code **)(puVar12 + 0x29c478))(0x2c,1,puVar6);
  (**(code **)(puVar12 + 0x29c4cc))(*(undefined4 *)(iVar8 + -0x5090));
  piVar3 = (int *)(**(code **)(puVar12 + 0x29bc6c))(*(undefined4 *)(iVar9 + -0x5088),0);
  if (iVar1 == -1) {
    pcVar13 = *(code **)(puVar12 + 0x29c210);
    uVar11 = *(undefined4 *)(iVar9 + -0x5088);
    *piVar3 = 0;
    iVar1 = (*pcVar13)(uVar11);
  }
  else {
    pcVar13 = *(code **)(puVar12 + 0x29c210);
    uVar11 = *(undefined4 *)(iVar9 + -0x5088);
    *piVar3 = iVar1;
    iVar1 = (*pcVar13)(uVar11);
  }
  if (iVar1 == 0) {
    (**(code **)(puVar12 + 0x29c31c))(*(undefined4 *)(iVar9 + -0x5088));
    piVar4 = (int *)(**(code **)(puVar12 + 0x29c0f4))(*(undefined4 *)(iVar9 + -0x5088));
    if (piVar4 == (int *)0x0) {
      *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;
    }
    else {
      *(uint *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = (uint)(*piVar4 != 0);
    }
  }
  else {
    *(undefined4 *)(*(int *)(puVar12 + 0x29b6b0) + -0x508c) = 0;
  }
  (**(code **)(puVar12 + 0x29c164))(*(undefined4 *)(iVar8 + -0x5090));
  return (undefined4 *)*piVar3;
}

