
MemoryInfo * RelinquishVirtualMemory(MemoryInfo *memory_info)

{
  void *pvVar1;
  MemoryInfo *pMVar2;
  
  if (memory_info == (MemoryInfo *)0x0) {
    pMVar2 = (MemoryInfo *)
             (*(code *)PTR___assert_fail_003fa620)
                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,
                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);
    return pMVar2;
  }
  if (memory_info->signature == 0xabacadab) {
    if (memory_info->blob != (void *)0x0) {
      if (memory_info->type == AlignedVirtualMemory) {
        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();
        memory_info->blob = pvVar1;
      }
      else if (memory_info->type == MapVirtualMemory) {
        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);
        memory_info->blob = (void *)0x0;
        if (memory_info->filename[0] != '\0') {
          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);
        }
      }
      else {
        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();
        memory_info->blob = pvVar1;
      }
    }
    memory_info->signature = 0x54535254;
    pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);
    return pMVar2;
  }
  pMVar2 = (MemoryInfo *)
           (*(code *)PTR___assert_fail_003fa620)
                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,
                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638);
  return pMVar2;
}



void RelinquishVirtualMemory(char *param_1)

{
  undefined4 uVar1;
  
  if (param_1 == (char *)0x0) {
    (*(code *)PTR___assert_fail_003fa620)
              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,
               PTR_s_ltiple_images_003f98e8 + 0x638);
    return;
  }
  if (*(int *)(param_1 + 0x100c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1008) != 0) {
      if (*(int *)(param_1 + 0x1000) == 1) {
        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();
        *(undefined4 *)(param_1 + 0x1008) = uVar1;
      }
      else if (*(int *)(param_1 + 0x1000) == 2) {
        (*(code *)PTR_UnmapBlob_003fa6e0)
                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));
        param_1[0x1008] = '\0';
        param_1[0x1009] = '\0';
        param_1[0x100a] = '\0';
        param_1[0x100b] = '\0';
        if (*param_1 != '\0') {
          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);
        }
      }
      else {
        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();
        *(undefined4 *)(param_1 + 0x1008) = uVar1;
      }
    }
    builtin_strncpy(param_1 + 0x100c,"TSRT",4);
    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);
    return;
  }
  (*(code *)PTR___assert_fail_003fa620)
            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,
             PTR_s_ltiple_images_003f98e8 + 0x638);
  return;
}


lui gp,0x2e
addiu gp,gp,-0x5e6c
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
beq a0,zero,0x00127788
_lui v0,0xabac
lw v1,0x100c(a0)
ori v0,v0,0xadab
bne v1,v0,0x001277b0
_or s0,a0,zero
lw a0,0x1008(a0)
beq a0,zero,0x001277ec
_li v1,0x1
lw v0,0x1000(s0)
beq v0,v1,0x001277d8
_li v1,0x2
beq v0,v1,0x0012781c
_lw t9,-0x71d0(gp)
lw t9,-0x78d8(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x001277ec
_sw v0,0x1008(s0)
lw a3,-0x7fc8(gp)
addiu a3,a3,0x638
li a2,0x4b4
lw a1,-0x7fc8(gp)
addiu a1,a1,0x470
lw a0,-0x7fc8(gp)
addiu a0,a0,0x5ac
lw t9,-0x7290(gp)
jalr t9
_nop
lw a3,-0x7fc8(gp)
addiu a3,a3,0x638
li a2,0x4b5
lw a1,-0x7fc8(gp)
addiu a1,a1,0x470
lw a0,-0x7fc8(gp)
addiu a0,a0,0x57c
lw t9,-0x7290(gp)
jalr t9
_nop
lw t9,-0x71cc(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x1008(s0)
lui v0,0x5453
addiu v0,v0,0x5254
sw v0,0x100c(s0)
or a0,s0,zero
lw t9,-0x71cc(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a1,0x1004(s0)
jalr t9
_nop
lw gp,0x10(sp)
sw zero,0x1008(s0)
lb v0,0x0(s0)
beq v0,zero,0x001277ec
_or a0,s0,zero
lw t9,-0x78fc(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x001277f0
_lui v0,0x5453
(translation_unit "void RelinquishVirtualMemory(char *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}\n\n" (function_definition "void RelinquishVirtualMemory(char *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}" primitive_type (function_declarator "RelinquishVirtualMemory(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638)" ( (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x5ac" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x100c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x100c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x100c)" * (cast_expression "(int *)(param_1 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1008) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1008) != 0" (pointer_expression "*(int *)(param_1 + 0x1008)" * (cast_expression "(int *)(param_1 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }" { (if_statement "if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x1000) == 1)" ( (binary_expression "*(int *)(param_1 + 0x1000) == 1" (pointer_expression "*(int *)(param_1 + 0x1000)" * (cast_expression "(int *)(param_1 + 0x1000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1000)" ( (binary_expression "param_1 + 0x1000" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" { (expression_statement "uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();" (assignment_expression "uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" identifier = (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" ( (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" * (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1008) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1008) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" else (if_statement "if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x1000) == 2)" ( (binary_expression "*(int *)(param_1 + 0x1000) == 2" (pointer_expression "*(int *)(param_1 + 0x1000)" * (cast_expression "(int *)(param_1 + 0x1000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1000)" ( (binary_expression "param_1 + 0x1000" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }" { (expression_statement "(*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));" (call_expression "(*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004))" (parenthesized_expression "(*(code *)PTR_UnmapBlob_003fa6e0)" ( (pointer_expression "*(code *)PTR_UnmapBlob_003fa6e0" * (cast_expression "(code *)PTR_UnmapBlob_003fa6e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004))" ( (pointer_expression "*(int *)(param_1 + 0x1008)" * (cast_expression "(int *)(param_1 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" * (cast_expression "(undefined4 *)(param_1 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) ))) ;) (expression_statement "param_1[0x1008] = '\0';" (assignment_expression "param_1[0x1008] = '\0'" (subscript_expression "param_1[0x1008]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x1009] = '\0';" (assignment_expression "param_1[0x1009] = '\0'" (subscript_expression "param_1[0x1009]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x100a] = '\0';" (assignment_expression "param_1[0x100a] = '\0'" (subscript_expression "param_1[0x100a]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x100b] = '\0';" (assignment_expression "param_1[0x100b] = '\0'" (subscript_expression "param_1[0x100b]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }" { (expression_statement "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);" (call_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)" ( (pointer_expression "*(code *)PTR_RelinquishUniqueFileResource_003f9fb4" * (cast_expression "(code *)PTR_RelinquishUniqueFileResource_003f9fb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) })) }) (else_clause "else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" else (compound_statement "{\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" { (expression_statement "uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();" (assignment_expression "uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" identifier = (call_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003f9fd8" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003f9fd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1008) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1008) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) = identifier) ;) }))))) })) (expression_statement "builtin_strncpy(param_1 + 0x100c,"TSRT",4);" (call_expression "builtin_strncpy(param_1 + 0x100c,"TSRT",4)" identifier (argument_list "(param_1 + 0x100c,"TSRT",4)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) , (string_literal ""TSRT"" " string_content ") , number_literal ))) ;) (expression_statement "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);" (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" ( (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" * (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638)" ( (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x57c" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "MemoryInfo * RelinquishVirtualMemory(MemoryInfo *memory_info)\n\n{\n  void *pvVar1;\n  MemoryInfo *pMVar2;\n  \n  if (memory_info == (MemoryInfo *)0x0) {\n    pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);\n    return pMVar2;\n  }\n  if (memory_info->signature == 0xabacadab) {\n    if (memory_info->blob != (void *)0x0) {\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }\n    memory_info->signature = 0x54535254;\n    pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);\n    return pMVar2;\n  }\n  pMVar2 = (MemoryInfo *)\n           (*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638);\n  return pMVar2;\n}\n\n" (function_definition "MemoryInfo * RelinquishVirtualMemory(MemoryInfo *memory_info)\n\n{\n  void *pvVar1;\n  MemoryInfo *pMVar2;\n  \n  if (memory_info == (MemoryInfo *)0x0) {\n    pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);\n    return pMVar2;\n  }\n  if (memory_info->signature == 0xabacadab) {\n    if (memory_info->blob != (void *)0x0) {\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }\n    memory_info->signature = 0x54535254;\n    pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);\n    return pMVar2;\n  }\n  pMVar2 = (MemoryInfo *)\n           (*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638);\n  return pMVar2;\n}" type_identifier (pointer_declarator "* RelinquishVirtualMemory(MemoryInfo *memory_info)" * (function_declarator "RelinquishVirtualMemory(MemoryInfo *memory_info)" identifier (parameter_list "(MemoryInfo *memory_info)" ( (parameter_declaration "MemoryInfo *memory_info" type_identifier (pointer_declarator "*memory_info" * identifier)) )))) (compound_statement "{\n  void *pvVar1;\n  MemoryInfo *pMVar2;\n  \n  if (memory_info == (MemoryInfo *)0x0) {\n    pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);\n    return pMVar2;\n  }\n  if (memory_info->signature == 0xabacadab) {\n    if (memory_info->blob != (void *)0x0) {\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }\n    memory_info->signature = 0x54535254;\n    pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);\n    return pMVar2;\n  }\n  pMVar2 = (MemoryInfo *)\n           (*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638);\n  return pMVar2;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "MemoryInfo *pMVar2;" type_identifier (pointer_declarator "*pMVar2" * identifier) ;) (if_statement "if (memory_info == (MemoryInfo *)0x0) {\n    pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);\n    return pMVar2;\n  }" if (parenthesized_expression "(memory_info == (MemoryInfo *)0x0)" ( (binary_expression "memory_info == (MemoryInfo *)0x0" identifier == (cast_expression "(MemoryInfo *)0x0" ( (type_descriptor "MemoryInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);\n    return pMVar2;\n  }" { (expression_statement "pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638);" (assignment_expression "pMVar2 = (MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638)" identifier = (cast_expression "(MemoryInfo *)\n             (*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638)" ( (type_descriptor "MemoryInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                       (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,\n                        0x4b4,PTR_s_ltiple_images_003f98e8 + 0x638)" ( (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x5ac" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" identifier + number_literal) ))))) ;) (return_statement "return pMVar2;" return identifier ;) })) (if_statement "if (memory_info->signature == 0xabacadab) {\n    if (memory_info->blob != (void *)0x0) {\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }\n    memory_info->signature = 0x54535254;\n    pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);\n    return pMVar2;\n  }" if (parenthesized_expression "(memory_info->signature == 0xabacadab)" ( (binary_expression "memory_info->signature == 0xabacadab" (field_expression "memory_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (memory_info->blob != (void *)0x0) {\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }\n    memory_info->signature = 0x54535254;\n    pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);\n    return pMVar2;\n  }" { (if_statement "if (memory_info->blob != (void *)0x0) {\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }" if (parenthesized_expression "(memory_info->blob != (void *)0x0)" ( (binary_expression "memory_info->blob != (void *)0x0" (field_expression "memory_info->blob" identifier -> field_identifier) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }\n    }" { (if_statement "if (memory_info->type == AlignedVirtualMemory) {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }\n      else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }" if (parenthesized_expression "(memory_info->type == AlignedVirtualMemory)" ( (binary_expression "memory_info->type == AlignedVirtualMemory" (field_expression "memory_info->type" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        memory_info->blob = pvVar1;\n      }" { (expression_statement "pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" identifier = (cast_expression "(void *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" ( (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" * (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "memory_info->blob = pvVar1;" (assignment_expression "memory_info->blob = pvVar1" (field_expression "memory_info->blob" identifier -> field_identifier) = identifier) ;) }) (else_clause "else if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }" else (if_statement "if (memory_info->type == MapVirtualMemory) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }\n      else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }" if (parenthesized_expression "(memory_info->type == MapVirtualMemory)" ( (binary_expression "memory_info->type == MapVirtualMemory" (field_expression "memory_info->type" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        (*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);\n        memory_info->blob = (void *)0x0;\n        if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }\n      }" { (expression_statement "(*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length);" (call_expression "(*(code *)PTR_UnmapBlob_003fa6e0)(memory_info->blob,memory_info->length)" (parenthesized_expression "(*(code *)PTR_UnmapBlob_003fa6e0)" ( (pointer_expression "*(code *)PTR_UnmapBlob_003fa6e0" * (cast_expression "(code *)PTR_UnmapBlob_003fa6e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(memory_info->blob,memory_info->length)" ( (field_expression "memory_info->blob" identifier -> field_identifier) , (field_expression "memory_info->length" identifier -> field_identifier) ))) ;) (expression_statement "memory_info->blob = (void *)0x0;" (assignment_expression "memory_info->blob = (void *)0x0" (field_expression "memory_info->blob" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (memory_info->filename[0] != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }" if (parenthesized_expression "(memory_info->filename[0] != '\0')" ( (binary_expression "memory_info->filename[0] != '\0'" (subscript_expression "memory_info->filename[0]" (field_expression "memory_info->filename" identifier -> field_identifier) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);\n        }" { (expression_statement "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info);" (call_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(memory_info)" (parenthesized_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)" ( (pointer_expression "*(code *)PTR_RelinquishUniqueFileResource_003f9fb4" * (cast_expression "(code *)PTR_RelinquishUniqueFileResource_003f9fb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(memory_info)" ( identifier ))) ;) })) }) (else_clause "else {\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }" else (compound_statement "{\n        pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        memory_info->blob = pvVar1;\n      }" { (expression_statement "pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" identifier = (cast_expression "(void *)(*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003f9fd8" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003f9fd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "memory_info->blob = pvVar1;" (assignment_expression "memory_info->blob = pvVar1" (field_expression "memory_info->blob" identifier -> field_identifier) = identifier) ;) }))))) })) (expression_statement "memory_info->signature = 0x54535254;" (assignment_expression "memory_info->signature = 0x54535254" (field_expression "memory_info->signature" identifier -> field_identifier) = number_literal) ;) (expression_statement "pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info);" (assignment_expression "pMVar2 = (MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info)" identifier = (cast_expression "(MemoryInfo *)(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info)" ( (type_descriptor "MemoryInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(memory_info)" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" ( (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" * (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(memory_info)" ( identifier ))))) ;) (return_statement "return pMVar2;" return identifier ;) })) (expression_statement "pMVar2 = (MemoryInfo *)\n           (*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638);" (assignment_expression "pMVar2 = (MemoryInfo *)\n           (*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638)" identifier = (cast_expression "(MemoryInfo *)\n           (*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638)" ( (type_descriptor "MemoryInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                     (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,\n                      0x4b5,PTR_s_ltiple_images_003f98e8 + 0x638)" ( (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x57c" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" identifier + number_literal) ))))) ;) (return_statement "return pMVar2;" return identifier ;) })))
(translation_unit "void RelinquishVirtualMemory(char *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}\n\n" (function_definition "void RelinquishVirtualMemory(char *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}" primitive_type (function_declarator "RelinquishVirtualMemory(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638)" ( (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x5ac" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x100c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x100c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x100c)" * (cast_expression "(int *)(param_1 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100c)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1008) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1008) != 0" (pointer_expression "*(int *)(param_1 + 0x1008)" * (cast_expression "(int *)(param_1 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }" { (if_statement "if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x1000) == 1)" ( (binary_expression "*(int *)(param_1 + 0x1000) == 1" (pointer_expression "*(int *)(param_1 + 0x1000)" * (cast_expression "(int *)(param_1 + 0x1000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1000)" ( (binary_expression "param_1 + 0x1000" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" { (expression_statement "uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();" (assignment_expression "uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" identifier = (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" ( (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" * (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1008) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1008) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" else (if_statement "if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x1000) == 2)" ( (binary_expression "*(int *)(param_1 + 0x1000) == 2" (pointer_expression "*(int *)(param_1 + 0x1000)" * (cast_expression "(int *)(param_1 + 0x1000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1000)" ( (binary_expression "param_1 + 0x1000" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }" { (expression_statement "(*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));" (call_expression "(*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004))" (parenthesized_expression "(*(code *)PTR_UnmapBlob_003fa6e0)" ( (pointer_expression "*(code *)PTR_UnmapBlob_003fa6e0" * (cast_expression "(code *)PTR_UnmapBlob_003fa6e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004))" ( (pointer_expression "*(int *)(param_1 + 0x1008)" * (cast_expression "(int *)(param_1 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" * (cast_expression "(undefined4 *)(param_1 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1004)" ( (binary_expression "param_1 + 0x1004" identifier + number_literal) )))) ))) ;) (expression_statement "param_1[0x1008] = '\0';" (assignment_expression "param_1[0x1008] = '\0'" (subscript_expression "param_1[0x1008]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x1009] = '\0';" (assignment_expression "param_1[0x1009] = '\0'" (subscript_expression "param_1[0x1009]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x100a] = '\0';" (assignment_expression "param_1[0x100a] = '\0'" (subscript_expression "param_1[0x100a]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x100b] = '\0';" (assignment_expression "param_1[0x100b] = '\0'" (subscript_expression "param_1[0x100b]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }" { (expression_statement "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);" (call_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)" ( (pointer_expression "*(code *)PTR_RelinquishUniqueFileResource_003f9fb4" * (cast_expression "(code *)PTR_RelinquishUniqueFileResource_003f9fb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) })) }) (else_clause "else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" else (compound_statement "{\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" { (expression_statement "uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();" (assignment_expression "uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" identifier = (call_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003f9fd8" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003f9fd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1008) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1008) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) = identifier) ;) }))))) })) (expression_statement "builtin_strncpy(param_1 + 0x100c,"TSRT",4);" (call_expression "builtin_strncpy(param_1 + 0x100c,"TSRT",4)" identifier (argument_list "(param_1 + 0x100c,"TSRT",4)" ( (binary_expression "param_1 + 0x100c" identifier + number_literal) , (string_literal ""TSRT"" " string_content ") , number_literal ))) ;) (expression_statement "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);" (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" ( (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" * (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638)" ( (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x57c" identifier + number_literal) , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))))) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " string_content ") , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void RelinquishVirtualMemory(char *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}" (primitive_type "void") (function_declarator "RelinquishVirtualMemory(char *param_1)" (identifier "RelinquishVirtualMemory") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }\n  if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }\n  (*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,\n               PTR_s_ltiple_images_003f98e8 + 0x638)" (( "(") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x5ac" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x5ac")) (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x470")) (, ",") (number_literal "0x4b4") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x638")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x100c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x100c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x100c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x100c)" (* "*") (cast_expression "(int *)(param_1 + 0x100c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100c)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }\n    builtin_strncpy(param_1 + 0x100c,"TSRT",4);\n    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);\n    return;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1008) != 0) {\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1008) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1008) != 0" (pointer_expression "*(int *)(param_1 + 0x1008)" (* "*") (cast_expression "(int *)(param_1 + 0x1008)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1000) == 1) {\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }\n      else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1000) == 1)" (( "(") (binary_expression "*(int *)(param_1 + 0x1000) == 1" (pointer_expression "*(int *)(param_1 + 0x1000)" (* "*") (cast_expression "(int *)(param_1 + 0x1000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1000)" (( "(") (binary_expression "param_1 + 0x1000" (identifier "param_1") (+ "+") (number_literal "0x1000")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();" (assignment_expression "uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)()" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" (( "(") (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" (* "*") (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishAlignedMemory_003fa6e4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1008) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1008) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (} "}")) (else_clause "else if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" (else "else") (if_statement "if (*(int *)(param_1 + 0x1000) == 2) {\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }\n      else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1000) == 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x1000) == 2" (pointer_expression "*(int *)(param_1 + 0x1000)" (* "*") (cast_expression "(int *)(param_1 + 0x1000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1000)" (( "(") (binary_expression "param_1 + 0x1000" (identifier "param_1") (+ "+") (number_literal "0x1000")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        (*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));\n        param_1[0x1008] = '\0';\n        param_1[0x1009] = '\0';\n        param_1[0x100a] = '\0';\n        param_1[0x100b] = '\0';\n        if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }\n      }" ({ "{") (expression_statement "(*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));" (call_expression "(*(code *)PTR_UnmapBlob_003fa6e0)\n                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004))" (parenthesized_expression "(*(code *)PTR_UnmapBlob_003fa6e0)" (( "(") (pointer_expression "*(code *)PTR_UnmapBlob_003fa6e0" (* "*") (cast_expression "(code *)PTR_UnmapBlob_003fa6e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_UnmapBlob_003fa6e0"))) () ")")) (argument_list "(*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004))" (( "(") (pointer_expression "*(int *)(param_1 + 0x1008)" (* "*") (cast_expression "(int *)(param_1 + 0x1008)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1004)" (( "(") (binary_expression "param_1 + 0x1004" (identifier "param_1") (+ "+") (number_literal "0x1004")) () ")")))) () ")"))) (; ";")) (expression_statement "param_1[0x1008] = '\0';" (assignment_expression "param_1[0x1008] = '\0'" (subscript_expression "param_1[0x1008]" (identifier "param_1") ([ "[") (number_literal "0x1008") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_1[0x1009] = '\0';" (assignment_expression "param_1[0x1009] = '\0'" (subscript_expression "param_1[0x1009]" (identifier "param_1") ([ "[") (number_literal "0x1009") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_1[0x100a] = '\0';" (assignment_expression "param_1[0x100a] = '\0'" (subscript_expression "param_1[0x100a]" (identifier "param_1") ([ "[") (number_literal "0x100a") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_1[0x100b] = '\0';" (assignment_expression "param_1[0x100b] = '\0'" (subscript_expression "param_1[0x100b]" (identifier "param_1") ([ "[") (number_literal "0x100b") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if (*param_1 != '\0') {\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }" (if "if") (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);\n        }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);" (call_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)" (( "(") (pointer_expression "*(code *)PTR_RelinquishUniqueFileResource_003f9fb4" (* "*") (cast_expression "(code *)PTR_RelinquishUniqueFileResource_003f9fb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishUniqueFileResource_003f9fb4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" (else "else") (compound_statement "{\n        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();\n        *(undefined4 *)(param_1 + 0x1008) = uVar1;\n      }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();" (assignment_expression "uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)()" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003f9fd8)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003f9fd8" (* "*") (cast_expression "(code *)PTR_RelinquishMagickMemory_003f9fd8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickMemory_003f9fd8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1008) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1008) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (} "}")))))) (} "}"))) (expression_statement "builtin_strncpy(param_1 + 0x100c,"TSRT",4);" (call_expression "builtin_strncpy(param_1 + 0x100c,"TSRT",4)" (identifier "builtin_strncpy") (argument_list "(param_1 + 0x100c,"TSRT",4)" (( "(") (binary_expression "param_1 + 0x100c" (identifier "param_1") (+ "+") (number_literal "0x100c")) (, ",") (string_literal ""TSRT"" (" """) (string_content "TSRT") (" """)) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);" (call_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishAlignedMemory_003fa6e4)" (( "(") (pointer_expression "*(code *)PTR_RelinquishAlignedMemory_003fa6e4" (* "*") (cast_expression "(code *)PTR_RelinquishAlignedMemory_003fa6e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishAlignedMemory_003fa6e4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638);" (call_expression "(*(code *)PTR___assert_fail_003fa620)\n            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,\n             PTR_s_ltiple_images_003f98e8 + 0x638)" (( "(") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x57c" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x57c")) (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x470" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x470")) (, ",") (number_literal "0x4b5") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + 0x638" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "0x638")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (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: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) alternative: (else_clause (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)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (string_literal (string_content)) (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)))) (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(char *param_1)

{
  undefined4 uVar1;
  
  if (param_1 == (char *)0x0) {
    (*(code *)PTR___assert_fail_003fa620)
              (PTR_s_ltiple_images_003f98e8 + 0x5ac,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b4,
               PTR_s_ltiple_images_003f98e8 + 0x638);
    return;
  }
  if (*(int *)(param_1 + 0x100c) == -0x54535255) {
    if (*(int *)(param_1 + 0x1008) != 0) {
      if (*(int *)(param_1 + 0x1000) == 1) {
        uVar1 = (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)();
        *(undefined4 *)(param_1 + 0x1008) = uVar1;
      }
      else if (*(int *)(param_1 + 0x1000) == 2) {
        (*(code *)PTR_UnmapBlob_003fa6e0)
                  (*(int *)(param_1 + 0x1008),*(undefined4 *)(param_1 + 0x1004));
        param_1[0x1008] = '\0';
        param_1[0x1009] = '\0';
        param_1[0x100a] = '\0';
        param_1[0x100b] = '\0';
        if (*param_1 != '\0') {
          (*(code *)PTR_RelinquishUniqueFileResource_003f9fb4)(param_1);
        }
      }
      else {
        uVar1 = (*(code *)PTR_RelinquishMagickMemory_003f9fd8)();
        *(undefined4 *)(param_1 + 0x1008) = uVar1;
      }
    }
    builtin_strncpy(param_1 + 0x100c,"TSRT",4);
    (*(code *)PTR_RelinquishAlignedMemory_003fa6e4)(param_1);
    return;
  }
  (*(code *)PTR___assert_fail_003fa620)
            (PTR_s_ltiple_images_003f98e8 + 0x57c,PTR_s_ltiple_images_003f98e8 + 0x470,0x4b5,
             PTR_s_ltiple_images_003f98e8 + 0x638);
  return;
}

