
void match_ctx_clean(re_match_context_t *mctx)

{
  int iVar1;
  int iVar2;
  re_sub_match_last_t *prVar3;
  re_sub_match_top_t *prVar4;
  int iVar5;
  
  if (0 < mctx->nsub_tops) {
    iVar5 = 0;
    do {
      prVar4 = mctx->sub_tops[iVar5];
      if (0 < prVar4->nlasts) {
        iVar1 = 0;
        do {
          iVar2 = iVar1 + 1;
          prVar3 = prVar4->lasts[iVar1];
          (*(code *)PTR_free_0004033c)((prVar3->path).array);
          (*(code *)PTR_free_0004033c)(prVar3);
          iVar1 = iVar2;
        } while (iVar2 < prVar4->nlasts);
      }
      (*(code *)PTR_free_0004033c)(prVar4->lasts);
      if (prVar4->path != (state_array_t *)0x0) {
        (*(code *)PTR_free_0004033c)(prVar4->path->array);
        (*(code *)PTR_free_0004033c)(prVar4->path);
      }
      iVar5 = iVar5 + 1;
      (*(code *)PTR_free_0004033c)(prVar4);
    } while (iVar5 < mctx->nsub_tops);
  }
  mctx->nsub_tops = 0;
  mctx->nbkref_ents = 0;
  return;
}



void FUN_0001d430(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  if (0 < *(int *)(param_1 + 0x7c)) {
    iVar4 = 0;
    do {
      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);
      if (0 < *(int *)(iVar3 + 0x10)) {
        iVar2 = 0;
        do {
          iVar1 = iVar2 * 4;
          iVar2 = iVar2 + 1;
          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);
          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));
          (*(code *)PTR_free_0004033c)(iVar1);
        } while (iVar2 < *(int *)(iVar3 + 0x10));
      }
      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));
      if (*(int *)(iVar3 + 8) != 0) {
        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));
        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));
      }
      iVar4 = iVar4 + 1;
      (*(code *)PTR_free_0004033c)(iVar3);
    } while (iVar4 < *(int *)(param_1 + 0x7c));
  }
  *(undefined4 *)(param_1 + 0x7c) = 0;
  *(undefined4 *)(param_1 + 0x6c) = 0;
  return;
}


lui gp,0x3
addiu gp,gp,-0x5360
addu gp,gp,t9
addiu sp,sp,-0x30
lw v0,0x7c(a0)
sw gp,0x10(sp)
sw s4,0x28(sp)
or s4,a0,zero
sw ra,0x2c(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
blez v0,0x0001d524
_sw s0,0x18(sp)
or s3,zero,zero
lw v0,0x84(s4)
sll v1,s3,0x2
addu v0,v0,v1
lw s2,0x0(v0)
lw v0,0x10(s2)
blez v0,0x0001d4d0
_lw t9,-0x7d94(gp)
or s0,zero,zero
lw v0,0x14(s2)
sll v1,s0,0x2
lw t9,-0x7d94(gp)
addiu s0,s0,0x1
addu v0,v0,v1
lw s1,0x0(v0)
jalr t9
_lw a0,0x10(s1)
lw gp,0x10(sp)
lw t9,-0x7d94(gp)
jalr t9
_or a0,s1,zero
lw v0,0x10(s2)
slt v0,s0,v0
bne v0,zero,0x0001d48c
_lw gp,0x10(sp)
lw t9,-0x7d94(gp)
jalr t9
_lw a0,0x14(s2)
lw v0,0x8(s2)
beq v0,zero,0x0001d504
_lw gp,0x10(sp)
lw t9,-0x7d94(gp)
jalr t9
_lw a0,0x8(v0)
lw gp,0x10(sp)
lw t9,-0x7d94(gp)
jalr t9
_lw a0,0x8(s2)
lw gp,0x10(sp)
lw t9,-0x7d94(gp)
or a0,s2,zero
jalr t9
_addiu s3,s3,0x1
lw v0,0x7c(s4)
slt v0,s3,v0
bne v0,zero,0x0001d46c
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
sw zero,0x7c(s4)
sw zero,0x6c(s4)
lw s4,0x28(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_0001d430(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001d430(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001d430(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x7c))" ( (binary_expression "0 < *(int *)(param_1 + 0x7c)" number_literal < (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));" do (compound_statement "{\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    }" { (expression_statement "iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x84) + iVar4 * 4)" ( (binary_expression "*(int *)(param_1 + 0x84) + iVar4 * 4" (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }" if (parenthesized_expression "(0 < *(int *)(iVar3 + 0x10))" ( (binary_expression "0 < *(int *)(iVar3 + 0x10)" number_literal < (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));" do (compound_statement "{\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        }" { (expression_statement "iVar1 = iVar2 * 4;" (assignment_expression "iVar1 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);" (assignment_expression "iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1)" identifier = (pointer_expression "*(int *)(*(int *)(iVar3 + 0x14) + iVar1)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x14) + iVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x14) + iVar1)" ( (binary_expression "*(int *)(iVar3 + 0x14) + iVar1" (pointer_expression "*(int *)(iVar3 + 0x14)" * (cast_expression "(int *)(iVar3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) + identifier) ))))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(iVar1);" (call_expression "(*(code *)PTR_free_0004033c)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(iVar3 + 0x10))" ( (binary_expression "iVar2 < *(int *)(iVar3 + 0x10)" identifier < (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )) ;) })) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x14)" * (cast_expression "(undefined4 *)(iVar3 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }" if (parenthesized_expression "(*(int *)(iVar3 + 8) != 0)" ( (binary_expression "*(int *)(iVar3 + 8) != 0" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }" { (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(*(int *)(iVar3 + 8) + 8))" ( (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 8) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 8) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 8) + 8)" ( (binary_expression "*(int *)(iVar3 + 8) + 8" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 8))" ( (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_0004033c)(iVar3);" (call_expression "(*(code *)PTR_free_0004033c)(iVar3)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar4 < *(int *)(param_1 + 0x7c))" ( (binary_expression "iVar4 < *(int *)(param_1 + 0x7c)" identifier < (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) )) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x6c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x6c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void match_ctx_clean(re_match_context_t *mctx)\n\n{\n  int iVar1;\n  int iVar2;\n  re_sub_match_last_t *prVar3;\n  re_sub_match_top_t *prVar4;\n  int iVar5;\n  \n  if (0 < mctx->nsub_tops) {\n    iVar5 = 0;\n    do {\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    } while (iVar5 < mctx->nsub_tops);\n  }\n  mctx->nsub_tops = 0;\n  mctx->nbkref_ents = 0;\n  return;\n}\n\n" (function_definition "void match_ctx_clean(re_match_context_t *mctx)\n\n{\n  int iVar1;\n  int iVar2;\n  re_sub_match_last_t *prVar3;\n  re_sub_match_top_t *prVar4;\n  int iVar5;\n  \n  if (0 < mctx->nsub_tops) {\n    iVar5 = 0;\n    do {\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    } while (iVar5 < mctx->nsub_tops);\n  }\n  mctx->nsub_tops = 0;\n  mctx->nbkref_ents = 0;\n  return;\n}" primitive_type (function_declarator "match_ctx_clean(re_match_context_t *mctx)" identifier (parameter_list "(re_match_context_t *mctx)" ( (parameter_declaration "re_match_context_t *mctx" type_identifier (pointer_declarator "*mctx" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  re_sub_match_last_t *prVar3;\n  re_sub_match_top_t *prVar4;\n  int iVar5;\n  \n  if (0 < mctx->nsub_tops) {\n    iVar5 = 0;\n    do {\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    } while (iVar5 < mctx->nsub_tops);\n  }\n  mctx->nsub_tops = 0;\n  mctx->nbkref_ents = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "re_sub_match_last_t *prVar3;" type_identifier (pointer_declarator "*prVar3" * identifier) ;) (declaration "re_sub_match_top_t *prVar4;" type_identifier (pointer_declarator "*prVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (0 < mctx->nsub_tops) {\n    iVar5 = 0;\n    do {\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    } while (iVar5 < mctx->nsub_tops);\n  }" if (parenthesized_expression "(0 < mctx->nsub_tops)" ( (binary_expression "0 < mctx->nsub_tops" number_literal < (field_expression "mctx->nsub_tops" identifier -> field_identifier)) )) (compound_statement "{\n    iVar5 = 0;\n    do {\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    } while (iVar5 < mctx->nsub_tops);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    } while (iVar5 < mctx->nsub_tops);" do (compound_statement "{\n      prVar4 = mctx->sub_tops[iVar5];\n      if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }\n      (*(code *)PTR_free_0004033c)(prVar4->lasts);\n      if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }\n      iVar5 = iVar5 + 1;\n      (*(code *)PTR_free_0004033c)(prVar4);\n    }" { (expression_statement "prVar4 = mctx->sub_tops[iVar5];" (assignment_expression "prVar4 = mctx->sub_tops[iVar5]" identifier = (subscript_expression "mctx->sub_tops[iVar5]" (field_expression "mctx->sub_tops" identifier -> field_identifier) [ identifier ])) ;) (if_statement "if (0 < prVar4->nlasts) {\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }" if (parenthesized_expression "(0 < prVar4->nlasts)" ( (binary_expression "0 < prVar4->nlasts" number_literal < (field_expression "prVar4->nlasts" identifier -> field_identifier)) )) (compound_statement "{\n        iVar1 = 0;\n        do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);\n      }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        } while (iVar2 < prVar4->nlasts);" do (compound_statement "{\n          iVar2 = iVar1 + 1;\n          prVar3 = prVar4->lasts[iVar1];\n          (*(code *)PTR_free_0004033c)((prVar3->path).array);\n          (*(code *)PTR_free_0004033c)(prVar3);\n          iVar1 = iVar2;\n        }" { (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "prVar3 = prVar4->lasts[iVar1];" (assignment_expression "prVar3 = prVar4->lasts[iVar1]" identifier = (subscript_expression "prVar4->lasts[iVar1]" (field_expression "prVar4->lasts" identifier -> field_identifier) [ identifier ])) ;) (expression_statement "(*(code *)PTR_free_0004033c)((prVar3->path).array);" (call_expression "(*(code *)PTR_free_0004033c)((prVar3->path).array)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((prVar3->path).array)" ( (field_expression "(prVar3->path).array" (parenthesized_expression "(prVar3->path)" ( (field_expression "prVar3->path" identifier -> field_identifier) )) . field_identifier) ))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(prVar3);" (call_expression "(*(code *)PTR_free_0004033c)(prVar3)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar3)" ( identifier ))) ;) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 < prVar4->nlasts)" ( (binary_expression "iVar2 < prVar4->nlasts" identifier < (field_expression "prVar4->nlasts" identifier -> field_identifier)) )) ;) })) (expression_statement "(*(code *)PTR_free_0004033c)(prVar4->lasts);" (call_expression "(*(code *)PTR_free_0004033c)(prVar4->lasts)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar4->lasts)" ( (field_expression "prVar4->lasts" identifier -> field_identifier) ))) ;) (if_statement "if (prVar4->path != (state_array_t *)0x0) {\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }" if (parenthesized_expression "(prVar4->path != (state_array_t *)0x0)" ( (binary_expression "prVar4->path != (state_array_t *)0x0" (field_expression "prVar4->path" identifier -> field_identifier) != (cast_expression "(state_array_t *)0x0" ( (type_descriptor "state_array_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_free_0004033c)(prVar4->path->array);\n        (*(code *)PTR_free_0004033c)(prVar4->path);\n      }" { (expression_statement "(*(code *)PTR_free_0004033c)(prVar4->path->array);" (call_expression "(*(code *)PTR_free_0004033c)(prVar4->path->array)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar4->path->array)" ( (field_expression "prVar4->path->array" (field_expression "prVar4->path" identifier -> field_identifier) -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(prVar4->path);" (call_expression "(*(code *)PTR_free_0004033c)(prVar4->path)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar4->path)" ( (field_expression "prVar4->path" identifier -> field_identifier) ))) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_0004033c)(prVar4);" (call_expression "(*(code *)PTR_free_0004033c)(prVar4)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar4)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar5 < mctx->nsub_tops)" ( (binary_expression "iVar5 < mctx->nsub_tops" identifier < (field_expression "mctx->nsub_tops" identifier -> field_identifier)) )) ;) })) (expression_statement "mctx->nsub_tops = 0;" (assignment_expression "mctx->nsub_tops = 0" (field_expression "mctx->nsub_tops" identifier -> field_identifier) = number_literal) ;) (expression_statement "mctx->nbkref_ents = 0;" (assignment_expression "mctx->nbkref_ents = 0" (field_expression "mctx->nbkref_ents" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001d430(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001d430(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001d430(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x7c))" ( (binary_expression "0 < *(int *)(param_1 + 0x7c)" number_literal < (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));" do (compound_statement "{\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    }" { (expression_statement "iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x84) + iVar4 * 4)" ( (binary_expression "*(int *)(param_1 + 0x84) + iVar4 * 4" (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }" if (parenthesized_expression "(0 < *(int *)(iVar3 + 0x10))" ( (binary_expression "0 < *(int *)(iVar3 + 0x10)" number_literal < (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));" do (compound_statement "{\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        }" { (expression_statement "iVar1 = iVar2 * 4;" (assignment_expression "iVar1 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);" (assignment_expression "iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1)" identifier = (pointer_expression "*(int *)(*(int *)(iVar3 + 0x14) + iVar1)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x14) + iVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x14) + iVar1)" ( (binary_expression "*(int *)(iVar3 + 0x14) + iVar1" (pointer_expression "*(int *)(iVar3 + 0x14)" * (cast_expression "(int *)(iVar3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) + identifier) ))))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(iVar1);" (call_expression "(*(code *)PTR_free_0004033c)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(iVar3 + 0x10))" ( (binary_expression "iVar2 < *(int *)(iVar3 + 0x10)" identifier < (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )) ;) })) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x14)" * (cast_expression "(undefined4 *)(iVar3 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }" if (parenthesized_expression "(*(int *)(iVar3 + 8) != 0)" ( (binary_expression "*(int *)(iVar3 + 8) != 0" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }" { (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(*(int *)(iVar3 + 8) + 8))" ( (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 8) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 8) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 8) + 8)" ( (binary_expression "*(int *)(iVar3 + 8) + 8" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 8))" ( (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_0004033c)(iVar3);" (call_expression "(*(code *)PTR_free_0004033c)(iVar3)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" ( (pointer_expression "*(code *)PTR_free_0004033c" * (cast_expression "(code *)PTR_free_0004033c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar4 < *(int *)(param_1 + 0x7c))" ( (binary_expression "iVar4 < *(int *)(param_1 + 0x7c)" identifier < (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) )) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x6c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x6c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001d430(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001d430(int param_1)" (identifier "FUN_0001d430") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x6c) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (0 < *(int *)(param_1 + 0x7c)) {\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x7c))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x7c)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")"))))) () ")")) (compound_statement "{\n    iVar4 = 0;\n    do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    } while (iVar4 < *(int *)(param_1 + 0x7c));" (do "do") (compound_statement "{\n      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);\n      if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }\n      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));\n      if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_free_0004033c)(iVar3);\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x84) + iVar4 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x84) + iVar4 * 4" (pointer_expression "*(int *)(param_1 + 0x84)" (* "*") (cast_expression "(int *)(param_1 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")")))) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (0 < *(int *)(iVar3 + 0x10)) {\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar3 + 0x10))" (( "(") (binary_expression "0 < *(int *)(iVar3 + 0x10)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n        iVar2 = 0;\n        do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));\n      }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        } while (iVar2 < *(int *)(iVar3 + 0x10));" (do "do") (compound_statement "{\n          iVar1 = iVar2 * 4;\n          iVar2 = iVar2 + 1;\n          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);\n          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));\n          (*(code *)PTR_free_0004033c)(iVar1);\n        }" ({ "{") (expression_statement "iVar1 = iVar2 * 4;" (assignment_expression "iVar1 = iVar2 * 4" (identifier "iVar1") (= "=") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);" (assignment_expression "iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(iVar3 + 0x14) + iVar1)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x14) + iVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x14) + iVar1)" (( "(") (binary_expression "*(int *)(iVar3 + 0x14) + iVar1" (pointer_expression "*(int *)(iVar3 + 0x14)" (* "*") (cast_expression "(int *)(iVar3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (identifier "iVar1")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" (( "(") (pointer_expression "*(code *)PTR_free_0004033c" (* "*") (cast_expression "(code *)PTR_free_0004033c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004033c"))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0004033c)(iVar1);" (call_expression "(*(code *)PTR_free_0004033c)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" (( "(") (pointer_expression "*(code *)PTR_free_0004033c" (* "*") (cast_expression "(code *)PTR_free_0004033c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004033c"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *(int *)(iVar3 + 0x10))" (( "(") (binary_expression "iVar2 < *(int *)(iVar3 + 0x10)" (identifier "iVar2") (< "<") (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" (( "(") (pointer_expression "*(code *)PTR_free_0004033c" (* "*") (cast_expression "(code *)PTR_free_0004033c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004033c"))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(int *)(iVar3 + 8) != 0) {\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 8) != 0" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));\n        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));\n      }" ({ "{") (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" (( "(") (pointer_expression "*(code *)PTR_free_0004033c" (* "*") (cast_expression "(code *)PTR_free_0004033c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004033c"))) () ")")) (argument_list "(*(undefined4 *)(*(int *)(iVar3 + 8) + 8))" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 8) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar3 + 8) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 8) + 8)" (( "(") (binary_expression "*(int *)(iVar3 + 8) + 8" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));" (call_expression "(*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(*(code *)PTR_free_0004033c)" (( "(") (pointer_expression "*(code *)PTR_free_0004033c" (* "*") (cast_expression "(code *)PTR_free_0004033c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004033c"))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 8))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_free_0004033c)(iVar3);" (call_expression "(*(code *)PTR_free_0004033c)(iVar3)" (parenthesized_expression "(*(code *)PTR_free_0004033c)" (( "(") (pointer_expression "*(code *)PTR_free_0004033c" (* "*") (cast_expression "(code *)PTR_free_0004033c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004033c"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < *(int *)(param_1 + 0x7c))" (( "(") (binary_expression "iVar4 < *(int *)(param_1 + 0x7c)" (identifier "iVar4") (< "<") (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x6c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x6c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (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: (number_literal))) (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: (number_literal))) (return_statement))))

void MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  if (0 < *(int *)(param_1 + 0x7c)) {
    iVar4 = 0;
    do {
      iVar3 = *(int *)(*(int *)(param_1 + 0x84) + iVar4 * 4);
      if (0 < *(int *)(iVar3 + 0x10)) {
        iVar2 = 0;
        do {
          iVar1 = iVar2 * 4;
          iVar2 = iVar2 + 1;
          iVar1 = *(int *)(*(int *)(iVar3 + 0x14) + iVar1);
          (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar1 + 0x10));
          (*(code *)PTR_free_0004033c)(iVar1);
        } while (iVar2 < *(int *)(iVar3 + 0x10));
      }
      (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 0x14));
      if (*(int *)(iVar3 + 8) != 0) {
        (*(code *)PTR_free_0004033c)(*(undefined4 *)(*(int *)(iVar3 + 8) + 8));
        (*(code *)PTR_free_0004033c)(*(undefined4 *)(iVar3 + 8));
      }
      iVar4 = iVar4 + 1;
      (*(code *)PTR_free_0004033c)(iVar3);
    } while (iVar4 < *(int *)(param_1 + 0x7c));
  }
  *(undefined4 *)(param_1 + 0x7c) = 0;
  *(undefined4 *)(param_1 + 0x6c) = 0;
  return;
}

