
void * DestroyPolicyElement(void *policy_info)

{
  undefined4 uVar1;
  
  if (*(int *)((int)policy_info + 0x18) == 0) {
    if (*(int *)((int)policy_info + 0x14) != 0) {
      uVar1 = (*(code *)PTR_DestroyString_003a9074)();
      *(undefined4 *)((int)policy_info + 0x14) = uVar1;
    }
    if (*(int *)((int)policy_info + 0x10) != 0) {
      uVar1 = (*(code *)PTR_DestroyString_003a9074)();
      *(undefined4 *)((int)policy_info + 0x10) = uVar1;
    }
    if (*(int *)((int)policy_info + 0xc) != 0) {
      uVar1 = (*(code *)PTR_DestroyString_003a9074)();
      *(undefined4 *)((int)policy_info + 0xc) = uVar1;
    }
                    /* WARNING: Load size is inaccurate */
    if (*policy_info != 0) {
      uVar1 = (*(code *)PTR_DestroyString_003a9074)();
      *(undefined4 *)policy_info = uVar1;
    }
  }
  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info);
  return (void *)0x0;
}



undefined4 FUN_0013ba10(int *param_1)

{
  int iVar1;
  
  if (param_1[6] == 0) {
    if (param_1[5] != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      param_1[5] = iVar1;
    }
    if (param_1[4] != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      param_1[4] = iVar1;
    }
    if (param_1[3] != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      param_1[3] = iVar1;
    }
    if (*param_1 != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      *param_1 = iVar1;
    }
  }
  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);
  return 0;
}


lui gp,0x27
addiu gp,gp,0x4ea0
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,0x18(a0)
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
bne v0,zero,0x0013baa8
_sw ra,0x1c(sp)
lw a0,0x14(a0)
beq a0,zero,0x0013ba54
_lw t9,-0x783c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x14(s0)
lw a0,0x10(s0)
beq a0,zero,0x0013ba70
_lw t9,-0x783c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x10(s0)
lw a0,0xc(s0)
beq a0,zero,0x0013ba8c
_lw t9,-0x783c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0xc(s0)
lw a0,0x0(s0)
beq a0,zero,0x0013baa8
_lw t9,-0x783c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x0(s0)
lw t9,-0x78f0(gp)
jalr t9
_or a0,s0,zero
or v0,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_0013ba10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0013ba10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}" type_identifier (function_declarator "FUN_0013ba10(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }" if (parenthesized_expression "(param_1[6] == 0)" ( (binary_expression "param_1[6] == 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }" { (if_statement "if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[5] = iVar1;" (assignment_expression "param_1[5] = iVar1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[4] = iVar1;" (assignment_expression "param_1[4] = iVar1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[3] = iVar1;" (assignment_expression "param_1[3] = iVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) })) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void * DestroyPolicyElement(void *policy_info)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)((int)policy_info + 0x18) == 0) {\n    if (*(int *)((int)policy_info + 0x14) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0x10) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0xc) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }\n                    /* WARNING: Load size is inaccurate */\n    if (*policy_info != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info);\n  return (void *)0x0;\n}\n\n" (function_definition "void * DestroyPolicyElement(void *policy_info)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)((int)policy_info + 0x18) == 0) {\n    if (*(int *)((int)policy_info + 0x14) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0x10) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0xc) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }\n                    /* WARNING: Load size is inaccurate */\n    if (*policy_info != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info);\n  return (void *)0x0;\n}" primitive_type (pointer_declarator "* DestroyPolicyElement(void *policy_info)" * (function_declarator "DestroyPolicyElement(void *policy_info)" identifier (parameter_list "(void *policy_info)" ( (parameter_declaration "void *policy_info" primitive_type (pointer_declarator "*policy_info" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)((int)policy_info + 0x18) == 0) {\n    if (*(int *)((int)policy_info + 0x14) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0x10) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0xc) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }\n                    /* WARNING: Load size is inaccurate */\n    if (*policy_info != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info);\n  return (void *)0x0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)((int)policy_info + 0x18) == 0) {\n    if (*(int *)((int)policy_info + 0x14) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0x10) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0xc) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }\n                    /* WARNING: Load size is inaccurate */\n    if (*policy_info != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }\n  }" if (parenthesized_expression "(*(int *)((int)policy_info + 0x18) == 0)" ( (binary_expression "*(int *)((int)policy_info + 0x18) == 0" (pointer_expression "*(int *)((int)policy_info + 0x18)" * (cast_expression "(int *)((int)policy_info + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0x18)" ( (binary_expression "(int)policy_info + 0x18" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)((int)policy_info + 0x14) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0x10) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }\n    if (*(int *)((int)policy_info + 0xc) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }\n                    /* WARNING: Load size is inaccurate */\n    if (*policy_info != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }\n  }" { (if_statement "if (*(int *)((int)policy_info + 0x14) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }" if (parenthesized_expression "(*(int *)((int)policy_info + 0x14) != 0)" ( (binary_expression "*(int *)((int)policy_info + 0x14) != 0" (pointer_expression "*(int *)((int)policy_info + 0x14)" * (cast_expression "(int *)((int)policy_info + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0x14)" ( (binary_expression "(int)policy_info + 0x14" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x14) = uVar1;\n    }" { (expression_statement "uVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "uVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)((int)policy_info + 0x14) = uVar1;" (assignment_expression "*(undefined4 *)((int)policy_info + 0x14) = uVar1" (pointer_expression "*(undefined4 *)((int)policy_info + 0x14)" * (cast_expression "(undefined4 *)((int)policy_info + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0x14)" ( (binary_expression "(int)policy_info + 0x14" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (if_statement "if (*(int *)((int)policy_info + 0x10) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }" if (parenthesized_expression "(*(int *)((int)policy_info + 0x10) != 0)" ( (binary_expression "*(int *)((int)policy_info + 0x10) != 0" (pointer_expression "*(int *)((int)policy_info + 0x10)" * (cast_expression "(int *)((int)policy_info + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0x10)" ( (binary_expression "(int)policy_info + 0x10" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0x10) = uVar1;\n    }" { (expression_statement "uVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "uVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)((int)policy_info + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)((int)policy_info + 0x10) = uVar1" (pointer_expression "*(undefined4 *)((int)policy_info + 0x10)" * (cast_expression "(undefined4 *)((int)policy_info + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0x10)" ( (binary_expression "(int)policy_info + 0x10" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (if_statement "if (*(int *)((int)policy_info + 0xc) != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }" if (parenthesized_expression "(*(int *)((int)policy_info + 0xc) != 0)" ( (binary_expression "*(int *)((int)policy_info + 0xc) != 0" (pointer_expression "*(int *)((int)policy_info + 0xc)" * (cast_expression "(int *)((int)policy_info + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0xc)" ( (binary_expression "(int)policy_info + 0xc" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)((int)policy_info + 0xc) = uVar1;\n    }" { (expression_statement "uVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "uVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)((int)policy_info + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)((int)policy_info + 0xc) = uVar1" (pointer_expression "*(undefined4 *)((int)policy_info + 0xc)" * (cast_expression "(undefined4 *)((int)policy_info + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)policy_info + 0xc)" ( (binary_expression "(int)policy_info + 0xc" (cast_expression "(int)policy_info" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) comment (if_statement "if (*policy_info != 0) {\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }" if (parenthesized_expression "(*policy_info != 0)" ( (binary_expression "*policy_info != 0" (pointer_expression "*policy_info" * identifier) != number_literal) )) (compound_statement "{\n      uVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *(undefined4 *)policy_info = uVar1;\n    }" { (expression_statement "uVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "uVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)policy_info = uVar1;" (assignment_expression "*(undefined4 *)policy_info = uVar1" (pointer_expression "*(undefined4 *)policy_info" * (cast_expression "(undefined4 *)policy_info" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(policy_info)" ( identifier ))) ;) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 FUN_0013ba10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0013ba10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}" type_identifier (function_declarator "FUN_0013ba10(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }" if (parenthesized_expression "(param_1[6] == 0)" ( (binary_expression "param_1[6] == 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }" { (if_statement "if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[5] = iVar1;" (assignment_expression "param_1[5] = iVar1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[4] = iVar1;" (assignment_expression "param_1[4] = iVar1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[3] = iVar1;" (assignment_expression "param_1[3] = iVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" identifier = (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) })) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(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 (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0013ba10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0013ba10(int *param_1)" (identifier "FUN_0013ba10") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }\n  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1[6] == 0) {\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }" (if "if") (parenthesized_expression "(param_1[6] == 0)" (( "(") (binary_expression "param_1[6] == 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }\n    if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }\n    if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }\n    if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }\n  }" ({ "{") (if_statement "if (param_1[5] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }" (if "if") (parenthesized_expression "(param_1[5] != 0)" (( "(") (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[5] = iVar1;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[5] = iVar1;" (assignment_expression "param_1[5] = iVar1" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if (param_1[4] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }" (if "if") (parenthesized_expression "(param_1[4] != 0)" (( "(") (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[4] = iVar1;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[4] = iVar1;" (assignment_expression "param_1[4] = iVar1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if (param_1[3] != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }" (if "if") (parenthesized_expression "(param_1[3] != 0)" (( "(") (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      param_1[3] = iVar1;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[3] = iVar1;" (assignment_expression "param_1[3] = iVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if (*param_1 != 0) {\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_DestroyString_003a9074)();\n      *param_1 = iVar1;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_DestroyString_003a9074)();" (assignment_expression "iVar1 = (*(code *)PTR_DestroyString_003a9074)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_DestroyString_003a9074)()" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" (* "*") (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickMemory_003a8fc0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

void * function_1(void *policy_info)

{
  type_1 uVar1;
  
  if (*(int *)((int)policy_info + 0x18) == 0) {
    if (*(int *)((int)policy_info + 0x14) != 0) {
      uVar1 = (*(type_2 *)PTR_DestroyString_003a9074)();
      *(type_1 *)((int)policy_info + 0x14) = uVar1;
    }
    if (*(int *)((int)policy_info + 0x10) != 0) {
      uVar1 = (*(type_2 *)PTR_DestroyString_003a9074)();
      *(type_1 *)((int)policy_info + 0x10) = uVar1;
    }
    if (*(int *)((int)policy_info + 0xc) != 0) {
      uVar1 = (*(type_2 *)PTR_DestroyString_003a9074)();
      *(type_1 *)((int)policy_info + 0xc) = uVar1;
    }
                    /* WARNING: Load size is inaccurate */
    if (*policy_info != 0) {
      uVar1 = (*(type_2 *)PTR_DestroyString_003a9074)();
      *(type_1 *)policy_info = uVar1;
    }
  }
  (*(type_2 *)PTR_RelinquishMagickMemory_003a8fc0)(policy_info);
  return (void *)0x0;
}


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

undefined4 MASKED(int *param_1)

{
  int iVar1;
  
  if (param_1[6] == 0) {
    if (param_1[5] != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      param_1[5] = iVar1;
    }
    if (param_1[4] != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      param_1[4] = iVar1;
    }
    if (param_1[3] != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      param_1[3] = iVar1;
    }
    if (*param_1 != 0) {
      iVar1 = (*(code *)PTR_DestroyString_003a9074)();
      *param_1 = iVar1;
    }
  }
  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(param_1);
  return 0;
}

