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

void __regparm3 free_dfa_content(re_dfa_t *dfa)

{
  re_dfastate_t **pprVar1;
  re_token_t *prVar2;
  re_state_table_entry *prVar3;
  int iVar4;
  uint uVar5;
  uint local_20;
  
  prVar2 = dfa->nodes;
  if ((prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0)) {
    uVar5 = 0;
    while( true ) {
      prVar2 = prVar2 + uVar5;
      uVar5 = uVar5 + 1;
      free_token(prVar2);
      if (dfa->nodes_len <= uVar5) break;
      prVar2 = dfa->nodes;
    }
  }
  iVar4 = 0;
  free(dfa->nexts);
  if (dfa->nodes_len != 0) {
    uVar5 = 0;
    do {
      if (dfa->eclosures != (re_node_set *)0x0) {
        free(*(void **)((int)&dfa->eclosures->elems + iVar4));
      }
      if (dfa->inveclosures != (re_node_set *)0x0) {
        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));
      }
      if (dfa->edests != (re_node_set *)0x0) {
        free(*(void **)((int)&dfa->edests->elems + iVar4));
      }
      uVar5 = uVar5 + 1;
      iVar4 = iVar4 + 0xc;
    } while (uVar5 < dfa->nodes_len);
  }
  free(dfa->edests);
  free(dfa->eclosures);
  free(dfa->inveclosures);
  free(dfa->nodes);
  prVar3 = dfa->state_table;
  local_20 = 0;
  if (prVar3 != (re_state_table_entry *)0x0) {
    while( true ) {
      prVar3 = prVar3 + local_20;
      if (0 < prVar3->num) {
        iVar4 = 0;
        do {
          pprVar1 = prVar3->array + iVar4;
          iVar4 = iVar4 + 1;
          free_state(*pprVar1);
        } while (iVar4 < prVar3->num);
      }
      free(prVar3->array);
      local_20 = local_20 + 1;
      if (dfa->state_hash_mask < local_20) break;
      prVar3 = dfa->state_table;
    }
    prVar3 = dfa->state_table;
  }
  free(prVar3);
  if (dfa->sb_char != utf8_sb_map) {
    free(dfa->sb_char);
  }
  free(dfa->subexp_map);
  free(dfa);
  return;
}



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

void __regparm3 FUN_0001c4f0(int *param_1)

{
  int *piVar1;
  void *__ptr;
  int iVar2;
  uint uVar3;
  uint local_20;
  
  if ((*param_1 != 0) && (param_1[2] != 0)) {
    uVar3 = 0;
    do {
      uVar3 = uVar3 + 1;
      FUN_000182a0();
    } while (uVar3 < (uint)param_1[2]);
  }
  iVar2 = 0;
  free((void *)param_1[3]);
  if (param_1[2] != 0) {
    uVar3 = 0;
    do {
      if (param_1[6] != 0) {
        free(*(void **)(param_1[6] + 8 + iVar2));
      }
      if (param_1[7] != 0) {
        free(*(void **)(param_1[7] + 8 + iVar2));
      }
      if (param_1[5] != 0) {
        free(*(void **)(param_1[5] + 8 + iVar2));
      }
      uVar3 = uVar3 + 1;
      iVar2 = iVar2 + 0xc;
    } while (uVar3 < (uint)param_1[2]);
  }
  free((void *)param_1[5]);
  free((void *)param_1[6]);
  free((void *)param_1[7]);
  free((void *)*param_1);
  __ptr = (void *)param_1[8];
  local_20 = 0;
  if (__ptr != (void *)0x0) {
    while( true ) {
      piVar1 = (int *)((int)__ptr + local_20 * 0xc);
      if (0 < *piVar1) {
        iVar2 = 0;
        do {
          iVar2 = iVar2 + 1;
          FUN_00018820();
        } while (iVar2 < *piVar1);
      }
      free((void *)piVar1[2]);
      local_20 = local_20 + 1;
      if ((uint)param_1[0x11] < local_20) break;
      __ptr = (void *)param_1[8];
    }
    __ptr = (void *)param_1[8];
  }
  free(__ptr);
  if ((undefined *)param_1[0xf] != &DAT_00027f60) {
    free((undefined *)param_1[0xf]);
  }
  free((void *)param_1[0x21]);
  free(param_1);
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00011b40
ADD EBX,0x12b05
SUB ESP,0x1c
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0001c52a
MOV EDX,dword ptr [EDI + 0x8]
TEST EDX,EDX
JZ 0x0001c52a
XOR ESI,ESI
JMP 0x0001c51a
MOV EAX,dword ptr [EDI]
LEA EAX,[EAX + ESI*0x8]
ADD ESI,0x1
CALL 0x000182a0
CMP dword ptr [EDI + 0x8],ESI
JA 0x0001c518
SUB ESP,0xc
PUSH dword ptr [EDI + 0xc]
XOR EBP,EBP
XOR ESI,ESI
CALL 0x000110a0
MOV EAX,dword ptr [EDI + 0x8]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001c595
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EDI + 0x18]
TEST EAX,EAX
JZ 0x0001c55e
SUB ESP,0xc
PUSH dword ptr [EAX + EBP*0x1 + 0x8]
CALL 0x000110a0
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x1c]
TEST EAX,EAX
JZ 0x0001c574
SUB ESP,0xc
PUSH dword ptr [EAX + EBP*0x1 + 0x8]
CALL 0x000110a0
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x14]
TEST EAX,EAX
JZ 0x0001c58a
SUB ESP,0xc
PUSH dword ptr [EAX + EBP*0x1 + 0x8]
CALL 0x000110a0
ADD ESP,0x10
ADD ESI,0x1
ADD EBP,0xc
CMP dword ptr [EDI + 0x8],ESI
JA 0x0001c548
SUB ESP,0xc
PUSH dword ptr [EDI + 0x14]
CALL 0x000110a0
POP EDX
PUSH dword ptr [EDI + 0x18]
CALL 0x000110a0
POP ECX
PUSH dword ptr [EDI + 0x1c]
CALL 0x000110a0
POP ESI
PUSH dword ptr [EDI]
CALL 0x000110a0
MOV EAX,dword ptr [EDI + 0x20]
ADD ESP,0x10
MOV dword ptr [ESP + 0xc],0x0
TEST EAX,EAX
JZ 0x0001c623
LEA ESI,[ESI]
MOV ECX,dword ptr [ESP + 0xc]
XOR ESI,ESI
LEA EDX,[ECX + ECX*0x2]
LEA EBP,[EAX + EDX*0x4]
MOV EAX,dword ptr [EBP]
TEST EAX,EAX
JLE 0x0001c5fb
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EAX + ESI*0x4]
ADD ESI,0x1
CALL 0x00018820
CMP ESI,dword ptr [EBP]
JL 0x0001c5e8
SUB ESP,0xc
PUSH dword ptr [EBP + 0x8]
CALL 0x000110a0
ADD dword ptr [ESP + 0x1c],0x1
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
CMP dword ptr [EDI + 0x44],EAX
JC 0x0001c620
MOV EAX,dword ptr [EDI + 0x20]
JMP 0x0001c5d0
MOV EAX,dword ptr [EDI + 0x20]
SUB ESP,0xc
PUSH EAX
CALL 0x000110a0
MOV EAX,dword ptr [EDI + 0x3c]
LEA EDX,[EBX + 0xffff8f60]
ADD ESP,0x10
CMP EAX,EDX
JZ 0x0001c648
SUB ESP,0xc
PUSH EAX
CALL 0x000110a0
ADD ESP,0x10
SUB ESP,0xc
PUSH dword ptr [EDI + 0x84]
CALL 0x000110a0
MOV dword ptr [ESP],EDI
CALL 0x000110a0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001c4f0(int *param_1)\n\n{\n  int *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001c4f0(int *param_1)\n\n{\n  int *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001c4f0(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 *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (if_statement "if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }" if (parenthesized_expression "((*param_1 != 0) && (param_1[2] != 0))" ( (binary_expression "(*param_1 != 0) && (param_1[2] != 0)" (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) && (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);" do (compound_statement "{\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    }" { (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000182a0();" (call_expression "FUN_000182a0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(uVar3 < (uint)param_1[2])" ( (binary_expression "uVar3 < (uint)param_1[2]" identifier < (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "free((void *)param_1[3]);" (call_expression "free((void *)param_1[3])" identifier (argument_list "((void *)param_1[3])" ( (cast_expression "(void *)param_1[3]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) ))) ;) (if_statement "if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }" if (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);" do (compound_statement "{\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    }" { (if_statement "if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\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        free(*(void **)(param_1[6] + 8 + iVar2));\n      }" { (expression_statement "free(*(void **)(param_1[6] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[6] + 8 + iVar2))" identifier (argument_list "(*(void **)(param_1[6] + 8 + iVar2))" ( (pointer_expression "*(void **)(param_1[6] + 8 + iVar2)" * (cast_expression "(void **)(param_1[6] + 8 + iVar2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[6] + 8 + iVar2)" ( (binary_expression "param_1[6] + 8 + iVar2" (binary_expression "param_1[6] + 8" (subscript_expression "param_1[6]" identifier [ number_literal ]) + number_literal) + identifier) )))) ))) ;) })) (if_statement "if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }" if (parenthesized_expression "(param_1[7] != 0)" ( (binary_expression "param_1[7] != 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }" { (expression_statement "free(*(void **)(param_1[7] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[7] + 8 + iVar2))" identifier (argument_list "(*(void **)(param_1[7] + 8 + iVar2))" ( (pointer_expression "*(void **)(param_1[7] + 8 + iVar2)" * (cast_expression "(void **)(param_1[7] + 8 + iVar2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[7] + 8 + iVar2)" ( (binary_expression "param_1[7] + 8 + iVar2" (binary_expression "param_1[7] + 8" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal) + identifier) )))) ))) ;) })) (if_statement "if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\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        free(*(void **)(param_1[5] + 8 + iVar2));\n      }" { (expression_statement "free(*(void **)(param_1[5] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[5] + 8 + iVar2))" identifier (argument_list "(*(void **)(param_1[5] + 8 + iVar2))" ( (pointer_expression "*(void **)(param_1[5] + 8 + iVar2)" * (cast_expression "(void **)(param_1[5] + 8 + iVar2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[5] + 8 + iVar2)" ( (binary_expression "param_1[5] + 8 + iVar2" (binary_expression "param_1[5] + 8" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) + identifier) )))) ))) ;) })) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar2 + 0xc;" (assignment_expression "iVar2 = iVar2 + 0xc" identifier = (binary_expression "iVar2 + 0xc" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < (uint)param_1[2])" ( (binary_expression "uVar3 < (uint)param_1[2]" identifier < (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) ;) })) (expression_statement "free((void *)param_1[5]);" (call_expression "free((void *)param_1[5])" identifier (argument_list "((void *)param_1[5])" ( (cast_expression "(void *)param_1[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[6]);" (call_expression "free((void *)param_1[6])" identifier (argument_list "((void *)param_1[6])" ( (cast_expression "(void *)param_1[6]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" identifier (argument_list "((void *)param_1[7])" ( (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)*param_1);" (call_expression "free((void *)*param_1)" identifier (argument_list "((void *)*param_1)" ( (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" identifier = (cast_expression "(void *)param_1[8]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }" { (while_statement "while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }" { (expression_statement "piVar1 = (int *)((int)__ptr + local_20 * 0xc);" (assignment_expression "piVar1 = (int *)((int)__ptr + local_20 * 0xc)" identifier = (cast_expression "(int *)((int)__ptr + local_20 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + local_20 * 0xc)" ( (binary_expression "(int)__ptr + local_20 * 0xc" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "local_20 * 0xc" identifier * number_literal)) )))) ;) (if_statement "if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }" if (parenthesized_expression "(0 < *piVar1)" ( (binary_expression "0 < *piVar1" number_literal < (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);" do (compound_statement "{\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00018820();" (call_expression "FUN_00018820()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar2 < *piVar1)" ( (binary_expression "iVar2 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) ;) })) (expression_statement "free((void *)piVar1[2]);" (call_expression "free((void *)piVar1[2])" identifier (argument_list "((void *)piVar1[2])" ( (cast_expression "(void *)piVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "local_20 = local_20 + 1;" (assignment_expression "local_20 = local_20 + 1" identifier = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)param_1[0x11] < local_20) break;" if (parenthesized_expression "((uint)param_1[0x11] < local_20)" ( (binary_expression "(uint)param_1[0x11] < local_20" (cast_expression "(uint)param_1[0x11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[0x11]" identifier [ number_literal ])) < identifier) )) (break_statement "break;" break ;)) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" identifier = (cast_expression "(void *)param_1[8]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) })) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" identifier = (cast_expression "(void *)param_1[8]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }" if (parenthesized_expression "((undefined *)param_1[0xf] != &DAT_00027f60)" ( (binary_expression "(undefined *)param_1[0xf] != &DAT_00027f60" (cast_expression "(undefined *)param_1[0xf]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0xf]" identifier [ number_literal ])) != (pointer_expression "&DAT_00027f60" & identifier)) )) (compound_statement "{\n    free((undefined *)param_1[0xf]);\n  }" { (expression_statement "free((undefined *)param_1[0xf]);" (call_expression "free((undefined *)param_1[0xf])" identifier (argument_list "((undefined *)param_1[0xf])" ( (cast_expression "(undefined *)param_1[0xf]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0xf]" identifier [ number_literal ])) ))) ;) })) (expression_statement "free((void *)param_1[0x21]);" (call_expression "free((void *)param_1[0x21])" identifier (argument_list "((void *)param_1[0x21])" ( (cast_expression "(void *)param_1[0x21]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x21]" identifier [ number_literal ])) ))) ;) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 free_dfa_content(re_dfa_t *dfa)\n\n{\n  re_dfastate_t **pprVar1;\n  re_token_t *prVar2;\n  re_state_table_entry *prVar3;\n  int iVar4;\n  uint uVar5;\n  uint local_20;\n  \n  prVar2 = dfa->nodes;\n  if ((prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0)) {\n    uVar5 = 0;\n    while( true ) {\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }\n  }\n  iVar4 = 0;\n  free(dfa->nexts);\n  if (dfa->nodes_len != 0) {\n    uVar5 = 0;\n    do {\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    } while (uVar5 < dfa->nodes_len);\n  }\n  free(dfa->edests);\n  free(dfa->eclosures);\n  free(dfa->inveclosures);\n  free(dfa->nodes);\n  prVar3 = dfa->state_table;\n  local_20 = 0;\n  if (prVar3 != (re_state_table_entry *)0x0) {\n    while( true ) {\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }\n    prVar3 = dfa->state_table;\n  }\n  free(prVar3);\n  if (dfa->sb_char != utf8_sb_map) {\n    free(dfa->sb_char);\n  }\n  free(dfa->subexp_map);\n  free(dfa);\n  return;\n}\n\n" comment (function_definition "void __regparm3 free_dfa_content(re_dfa_t *dfa)\n\n{\n  re_dfastate_t **pprVar1;\n  re_token_t *prVar2;\n  re_state_table_entry *prVar3;\n  int iVar4;\n  uint uVar5;\n  uint local_20;\n  \n  prVar2 = dfa->nodes;\n  if ((prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0)) {\n    uVar5 = 0;\n    while( true ) {\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }\n  }\n  iVar4 = 0;\n  free(dfa->nexts);\n  if (dfa->nodes_len != 0) {\n    uVar5 = 0;\n    do {\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    } while (uVar5 < dfa->nodes_len);\n  }\n  free(dfa->edests);\n  free(dfa->eclosures);\n  free(dfa->inveclosures);\n  free(dfa->nodes);\n  prVar3 = dfa->state_table;\n  local_20 = 0;\n  if (prVar3 != (re_state_table_entry *)0x0) {\n    while( true ) {\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }\n    prVar3 = dfa->state_table;\n  }\n  free(prVar3);\n  if (dfa->sb_char != utf8_sb_map) {\n    free(dfa->sb_char);\n  }\n  free(dfa->subexp_map);\n  free(dfa);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "free_dfa_content(re_dfa_t *dfa)" identifier (parameter_list "(re_dfa_t *dfa)" ( (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) ))) (compound_statement "{\n  re_dfastate_t **pprVar1;\n  re_token_t *prVar2;\n  re_state_table_entry *prVar3;\n  int iVar4;\n  uint uVar5;\n  uint local_20;\n  \n  prVar2 = dfa->nodes;\n  if ((prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0)) {\n    uVar5 = 0;\n    while( true ) {\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }\n  }\n  iVar4 = 0;\n  free(dfa->nexts);\n  if (dfa->nodes_len != 0) {\n    uVar5 = 0;\n    do {\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    } while (uVar5 < dfa->nodes_len);\n  }\n  free(dfa->edests);\n  free(dfa->eclosures);\n  free(dfa->inveclosures);\n  free(dfa->nodes);\n  prVar3 = dfa->state_table;\n  local_20 = 0;\n  if (prVar3 != (re_state_table_entry *)0x0) {\n    while( true ) {\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }\n    prVar3 = dfa->state_table;\n  }\n  free(prVar3);\n  if (dfa->sb_char != utf8_sb_map) {\n    free(dfa->sb_char);\n  }\n  free(dfa->subexp_map);\n  free(dfa);\n  return;\n}" { (declaration "re_dfastate_t **pprVar1;" type_identifier (pointer_declarator "**pprVar1" * (pointer_declarator "*pprVar1" * identifier)) ;) (declaration "re_token_t *prVar2;" type_identifier (pointer_declarator "*prVar2" * identifier) ;) (declaration "re_state_table_entry *prVar3;" type_identifier (pointer_declarator "*prVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "prVar2 = dfa->nodes;" (assignment_expression "prVar2 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) (if_statement "if ((prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0)) {\n    uVar5 = 0;\n    while( true ) {\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }\n  }" if (parenthesized_expression "((prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0))" ( (binary_expression "(prVar2 != (re_token_t *)0x0) && (dfa->nodes_len != 0)" (parenthesized_expression "(prVar2 != (re_token_t *)0x0)" ( (binary_expression "prVar2 != (re_token_t *)0x0" identifier != (cast_expression "(re_token_t *)0x0" ( (type_descriptor "re_token_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(dfa->nodes_len != 0)" ( (binary_expression "dfa->nodes_len != 0" (field_expression "dfa->nodes_len" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    uVar5 = 0;\n    while( true ) {\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      prVar2 = prVar2 + uVar5;\n      uVar5 = uVar5 + 1;\n      free_token(prVar2);\n      if (dfa->nodes_len <= uVar5) break;\n      prVar2 = dfa->nodes;\n    }" { (expression_statement "prVar2 = prVar2 + uVar5;" (assignment_expression "prVar2 = prVar2 + uVar5" identifier = (binary_expression "prVar2 + uVar5" identifier + identifier)) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "free_token(prVar2);" (call_expression "free_token(prVar2)" identifier (argument_list "(prVar2)" ( identifier ))) ;) (if_statement "if (dfa->nodes_len <= uVar5) break;" if (parenthesized_expression "(dfa->nodes_len <= uVar5)" ( (binary_expression "dfa->nodes_len <= uVar5" (field_expression "dfa->nodes_len" identifier -> field_identifier) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "prVar2 = dfa->nodes;" (assignment_expression "prVar2 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) })) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "free(dfa->nexts);" (call_expression "free(dfa->nexts)" identifier (argument_list "(dfa->nexts)" ( (field_expression "dfa->nexts" identifier -> field_identifier) ))) ;) (if_statement "if (dfa->nodes_len != 0) {\n    uVar5 = 0;\n    do {\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    } while (uVar5 < dfa->nodes_len);\n  }" if (parenthesized_expression "(dfa->nodes_len != 0)" ( (binary_expression "dfa->nodes_len != 0" (field_expression "dfa->nodes_len" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    do {\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    } while (uVar5 < dfa->nodes_len);\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    } while (uVar5 < dfa->nodes_len);" do (compound_statement "{\n      if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }\n      if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }\n      if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }\n      uVar5 = uVar5 + 1;\n      iVar4 = iVar4 + 0xc;\n    }" { (if_statement "if (dfa->eclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }" if (parenthesized_expression "(dfa->eclosures != (re_node_set *)0x0)" ( (binary_expression "dfa->eclosures != (re_node_set *)0x0" (field_expression "dfa->eclosures" identifier -> field_identifier) != (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(*(void **)((int)&dfa->eclosures->elems + iVar4));\n      }" { (expression_statement "free(*(void **)((int)&dfa->eclosures->elems + iVar4));" (call_expression "free(*(void **)((int)&dfa->eclosures->elems + iVar4))" identifier (argument_list "(*(void **)((int)&dfa->eclosures->elems + iVar4))" ( (pointer_expression "*(void **)((int)&dfa->eclosures->elems + iVar4)" * (cast_expression "(void **)((int)&dfa->eclosures->elems + iVar4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&dfa->eclosures->elems + iVar4)" ( (binary_expression "(int)&dfa->eclosures->elems + iVar4" (cast_expression "(int)&dfa->eclosures->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dfa->eclosures->elems" & (field_expression "dfa->eclosures->elems" (field_expression "dfa->eclosures" identifier -> field_identifier) -> field_identifier))) + identifier) )))) ))) ;) })) (if_statement "if (dfa->inveclosures != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }" if (parenthesized_expression "(dfa->inveclosures != (re_node_set *)0x0)" ( (binary_expression "dfa->inveclosures != (re_node_set *)0x0" (field_expression "dfa->inveclosures" identifier -> field_identifier) != (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(*(void **)((int)&dfa->inveclosures->elems + iVar4));\n      }" { (expression_statement "free(*(void **)((int)&dfa->inveclosures->elems + iVar4));" (call_expression "free(*(void **)((int)&dfa->inveclosures->elems + iVar4))" identifier (argument_list "(*(void **)((int)&dfa->inveclosures->elems + iVar4))" ( (pointer_expression "*(void **)((int)&dfa->inveclosures->elems + iVar4)" * (cast_expression "(void **)((int)&dfa->inveclosures->elems + iVar4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&dfa->inveclosures->elems + iVar4)" ( (binary_expression "(int)&dfa->inveclosures->elems + iVar4" (cast_expression "(int)&dfa->inveclosures->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dfa->inveclosures->elems" & (field_expression "dfa->inveclosures->elems" (field_expression "dfa->inveclosures" identifier -> field_identifier) -> field_identifier))) + identifier) )))) ))) ;) })) (if_statement "if (dfa->edests != (re_node_set *)0x0) {\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }" if (parenthesized_expression "(dfa->edests != (re_node_set *)0x0)" ( (binary_expression "dfa->edests != (re_node_set *)0x0" (field_expression "dfa->edests" identifier -> field_identifier) != (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(*(void **)((int)&dfa->edests->elems + iVar4));\n      }" { (expression_statement "free(*(void **)((int)&dfa->edests->elems + iVar4));" (call_expression "free(*(void **)((int)&dfa->edests->elems + iVar4))" identifier (argument_list "(*(void **)((int)&dfa->edests->elems + iVar4))" ( (pointer_expression "*(void **)((int)&dfa->edests->elems + iVar4)" * (cast_expression "(void **)((int)&dfa->edests->elems + iVar4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&dfa->edests->elems + iVar4)" ( (binary_expression "(int)&dfa->edests->elems + iVar4" (cast_expression "(int)&dfa->edests->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dfa->edests->elems" & (field_expression "dfa->edests->elems" (field_expression "dfa->edests" identifier -> field_identifier) -> field_identifier))) + identifier) )))) ))) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 0xc;" (assignment_expression "iVar4 = iVar4 + 0xc" identifier = (binary_expression "iVar4 + 0xc" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < dfa->nodes_len)" ( (binary_expression "uVar5 < dfa->nodes_len" identifier < (field_expression "dfa->nodes_len" identifier -> field_identifier)) )) ;) })) (expression_statement "free(dfa->edests);" (call_expression "free(dfa->edests)" identifier (argument_list "(dfa->edests)" ( (field_expression "dfa->edests" identifier -> field_identifier) ))) ;) (expression_statement "free(dfa->eclosures);" (call_expression "free(dfa->eclosures)" identifier (argument_list "(dfa->eclosures)" ( (field_expression "dfa->eclosures" identifier -> field_identifier) ))) ;) (expression_statement "free(dfa->inveclosures);" (call_expression "free(dfa->inveclosures)" identifier (argument_list "(dfa->inveclosures)" ( (field_expression "dfa->inveclosures" identifier -> field_identifier) ))) ;) (expression_statement "free(dfa->nodes);" (call_expression "free(dfa->nodes)" identifier (argument_list "(dfa->nodes)" ( (field_expression "dfa->nodes" identifier -> field_identifier) ))) ;) (expression_statement "prVar3 = dfa->state_table;" (assignment_expression "prVar3 = dfa->state_table" identifier = (field_expression "dfa->state_table" identifier -> field_identifier)) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if (prVar3 != (re_state_table_entry *)0x0) {\n    while( true ) {\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }\n    prVar3 = dfa->state_table;\n  }" if (parenthesized_expression "(prVar3 != (re_state_table_entry *)0x0)" ( (binary_expression "prVar3 != (re_state_table_entry *)0x0" identifier != (cast_expression "(re_state_table_entry *)0x0" ( (type_descriptor "re_state_table_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while( true ) {\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }\n    prVar3 = dfa->state_table;\n  }" { (while_statement "while( true ) {\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      prVar3 = prVar3 + local_20;\n      if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }\n      free(prVar3->array);\n      local_20 = local_20 + 1;\n      if (dfa->state_hash_mask < local_20) break;\n      prVar3 = dfa->state_table;\n    }" { (expression_statement "prVar3 = prVar3 + local_20;" (assignment_expression "prVar3 = prVar3 + local_20" identifier = (binary_expression "prVar3 + local_20" identifier + identifier)) ;) (if_statement "if (0 < prVar3->num) {\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }" if (parenthesized_expression "(0 < prVar3->num)" ( (binary_expression "0 < prVar3->num" number_literal < (field_expression "prVar3->num" identifier -> field_identifier)) )) (compound_statement "{\n        iVar4 = 0;\n        do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        } while (iVar4 < prVar3->num);" do (compound_statement "{\n          pprVar1 = prVar3->array + iVar4;\n          iVar4 = iVar4 + 1;\n          free_state(*pprVar1);\n        }" { (expression_statement "pprVar1 = prVar3->array + iVar4;" (assignment_expression "pprVar1 = prVar3->array + iVar4" identifier = (binary_expression "prVar3->array + iVar4" (field_expression "prVar3->array" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "free_state(*pprVar1);" (call_expression "free_state(*pprVar1)" identifier (argument_list "(*pprVar1)" ( (pointer_expression "*pprVar1" * identifier) ))) ;) }) while (parenthesized_expression "(iVar4 < prVar3->num)" ( (binary_expression "iVar4 < prVar3->num" identifier < (field_expression "prVar3->num" identifier -> field_identifier)) )) ;) })) (expression_statement "free(prVar3->array);" (call_expression "free(prVar3->array)" identifier (argument_list "(prVar3->array)" ( (field_expression "prVar3->array" identifier -> field_identifier) ))) ;) (expression_statement "local_20 = local_20 + 1;" (assignment_expression "local_20 = local_20 + 1" identifier = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (if_statement "if (dfa->state_hash_mask < local_20) break;" if (parenthesized_expression "(dfa->state_hash_mask < local_20)" ( (binary_expression "dfa->state_hash_mask < local_20" (field_expression "dfa->state_hash_mask" identifier -> field_identifier) < identifier) )) (break_statement "break;" break ;)) (expression_statement "prVar3 = dfa->state_table;" (assignment_expression "prVar3 = dfa->state_table" identifier = (field_expression "dfa->state_table" identifier -> field_identifier)) ;) })) (expression_statement "prVar3 = dfa->state_table;" (assignment_expression "prVar3 = dfa->state_table" identifier = (field_expression "dfa->state_table" identifier -> field_identifier)) ;) })) (expression_statement "free(prVar3);" (call_expression "free(prVar3)" identifier (argument_list "(prVar3)" ( identifier ))) ;) (if_statement "if (dfa->sb_char != utf8_sb_map) {\n    free(dfa->sb_char);\n  }" if (parenthesized_expression "(dfa->sb_char != utf8_sb_map)" ( (binary_expression "dfa->sb_char != utf8_sb_map" (field_expression "dfa->sb_char" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    free(dfa->sb_char);\n  }" { (expression_statement "free(dfa->sb_char);" (call_expression "free(dfa->sb_char)" identifier (argument_list "(dfa->sb_char)" ( (field_expression "dfa->sb_char" identifier -> field_identifier) ))) ;) })) (expression_statement "free(dfa->subexp_map);" (call_expression "free(dfa->subexp_map)" identifier (argument_list "(dfa->subexp_map)" ( (field_expression "dfa->subexp_map" identifier -> field_identifier) ))) ;) (expression_statement "free(dfa);" (call_expression "free(dfa)" identifier (argument_list "(dfa)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001c4f0(int *param_1)\n\n{\n  int *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001c4f0(int *param_1)\n\n{\n  int *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001c4f0(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 *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (if_statement "if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }" if (parenthesized_expression "((*param_1 != 0) && (param_1[2] != 0))" ( (binary_expression "(*param_1 != 0) && (param_1[2] != 0)" (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) && (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);" do (compound_statement "{\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    }" { (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000182a0();" (call_expression "FUN_000182a0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(uVar3 < (uint)param_1[2])" ( (binary_expression "uVar3 < (uint)param_1[2]" identifier < (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "free((void *)param_1[3]);" (call_expression "free((void *)param_1[3])" identifier (argument_list "((void *)param_1[3])" ( (cast_expression "(void *)param_1[3]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) ))) ;) (if_statement "if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }" if (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);" do (compound_statement "{\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    }" { (if_statement "if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\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        free(*(void **)(param_1[6] + 8 + iVar2));\n      }" { (expression_statement "free(*(void **)(param_1[6] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[6] + 8 + iVar2))" identifier (argument_list "(*(void **)(param_1[6] + 8 + iVar2))" ( (pointer_expression "*(void **)(param_1[6] + 8 + iVar2)" * (cast_expression "(void **)(param_1[6] + 8 + iVar2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[6] + 8 + iVar2)" ( (binary_expression "param_1[6] + 8 + iVar2" (binary_expression "param_1[6] + 8" (subscript_expression "param_1[6]" identifier [ number_literal ]) + number_literal) + identifier) )))) ))) ;) })) (if_statement "if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }" if (parenthesized_expression "(param_1[7] != 0)" ( (binary_expression "param_1[7] != 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }" { (expression_statement "free(*(void **)(param_1[7] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[7] + 8 + iVar2))" identifier (argument_list "(*(void **)(param_1[7] + 8 + iVar2))" ( (pointer_expression "*(void **)(param_1[7] + 8 + iVar2)" * (cast_expression "(void **)(param_1[7] + 8 + iVar2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[7] + 8 + iVar2)" ( (binary_expression "param_1[7] + 8 + iVar2" (binary_expression "param_1[7] + 8" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal) + identifier) )))) ))) ;) })) (if_statement "if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\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        free(*(void **)(param_1[5] + 8 + iVar2));\n      }" { (expression_statement "free(*(void **)(param_1[5] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[5] + 8 + iVar2))" identifier (argument_list "(*(void **)(param_1[5] + 8 + iVar2))" ( (pointer_expression "*(void **)(param_1[5] + 8 + iVar2)" * (cast_expression "(void **)(param_1[5] + 8 + iVar2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[5] + 8 + iVar2)" ( (binary_expression "param_1[5] + 8 + iVar2" (binary_expression "param_1[5] + 8" (subscript_expression "param_1[5]" identifier [ number_literal ]) + number_literal) + identifier) )))) ))) ;) })) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar2 + 0xc;" (assignment_expression "iVar2 = iVar2 + 0xc" identifier = (binary_expression "iVar2 + 0xc" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < (uint)param_1[2])" ( (binary_expression "uVar3 < (uint)param_1[2]" identifier < (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) ;) })) (expression_statement "free((void *)param_1[5]);" (call_expression "free((void *)param_1[5])" identifier (argument_list "((void *)param_1[5])" ( (cast_expression "(void *)param_1[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[6]);" (call_expression "free((void *)param_1[6])" identifier (argument_list "((void *)param_1[6])" ( (cast_expression "(void *)param_1[6]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" identifier (argument_list "((void *)param_1[7])" ( (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)*param_1);" (call_expression "free((void *)*param_1)" identifier (argument_list "((void *)*param_1)" ( (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" identifier = (cast_expression "(void *)param_1[8]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }" { (while_statement "while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }" { (expression_statement "piVar1 = (int *)((int)__ptr + local_20 * 0xc);" (assignment_expression "piVar1 = (int *)((int)__ptr + local_20 * 0xc)" identifier = (cast_expression "(int *)((int)__ptr + local_20 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + local_20 * 0xc)" ( (binary_expression "(int)__ptr + local_20 * 0xc" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "local_20 * 0xc" identifier * number_literal)) )))) ;) (if_statement "if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }" if (parenthesized_expression "(0 < *piVar1)" ( (binary_expression "0 < *piVar1" number_literal < (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);" do (compound_statement "{\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00018820();" (call_expression "FUN_00018820()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar2 < *piVar1)" ( (binary_expression "iVar2 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) ;) })) (expression_statement "free((void *)piVar1[2]);" (call_expression "free((void *)piVar1[2])" identifier (argument_list "((void *)piVar1[2])" ( (cast_expression "(void *)piVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "local_20 = local_20 + 1;" (assignment_expression "local_20 = local_20 + 1" identifier = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)param_1[0x11] < local_20) break;" if (parenthesized_expression "((uint)param_1[0x11] < local_20)" ( (binary_expression "(uint)param_1[0x11] < local_20" (cast_expression "(uint)param_1[0x11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[0x11]" identifier [ number_literal ])) < identifier) )) (break_statement "break;" break ;)) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" identifier = (cast_expression "(void *)param_1[8]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) })) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" identifier = (cast_expression "(void *)param_1[8]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }" if (parenthesized_expression "((undefined *)param_1[0xf] != &DAT_00027f60)" ( (binary_expression "(undefined *)param_1[0xf] != &DAT_00027f60" (cast_expression "(undefined *)param_1[0xf]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0xf]" identifier [ number_literal ])) != (pointer_expression "&DAT_00027f60" & identifier)) )) (compound_statement "{\n    free((undefined *)param_1[0xf]);\n  }" { (expression_statement "free((undefined *)param_1[0xf]);" (call_expression "free((undefined *)param_1[0xf])" identifier (argument_list "((undefined *)param_1[0xf])" ( (cast_expression "(undefined *)param_1[0xf]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0xf]" identifier [ number_literal ])) ))) ;) })) (expression_statement "free((void *)param_1[0x21]);" (call_expression "free((void *)param_1[0x21])" identifier (argument_list "((void *)param_1[0x21])" ( (cast_expression "(void *)param_1[0x21]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x21]" identifier [ number_literal ])) ))) ;) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + IDENT) )))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + IDENT) )))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + IDENT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001c4f0(int *param_1)\n\n{\n  int *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001c4f0(int *param_1)" (identifier "FUN_0001c4f0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  void *__ptr;\n  int iVar2;\n  uint uVar3;\n  uint local_20;\n  \n  if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  iVar2 = 0;\n  free((void *)param_1[3]);\n  if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }\n  free((void *)param_1[5]);\n  free((void *)param_1[6]);\n  free((void *)param_1[7]);\n  free((void *)*param_1);\n  __ptr = (void *)param_1[8];\n  local_20 = 0;\n  if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }\n  free(__ptr);\n  if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }\n  free((void *)param_1[0x21]);\n  free(param_1);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (if_statement "if ((*param_1 != 0) && (param_1[2] != 0)) {\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }" (if "if") (parenthesized_expression "((*param_1 != 0) && (param_1[2] != 0))" (( "(") (binary_expression "(*param_1 != 0) && (param_1[2] != 0)" (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1[2] != 0)" (( "(") (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar3 = 0;\n    do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    } while (uVar3 < (uint)param_1[2]);" (do "do") (compound_statement "{\n      uVar3 = uVar3 + 1;\n      FUN_000182a0();\n    }" ({ "{") (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000182a0();" (call_expression "FUN_000182a0()" (identifier "FUN_000182a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < (uint)param_1[2])" (( "(") (binary_expression "uVar3 < (uint)param_1[2]" (identifier "uVar3") (< "<") (cast_expression "(uint)param_1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "free((void *)param_1[3]);" (call_expression "free((void *)param_1[3])" (identifier "free") (argument_list "((void *)param_1[3])" (( "(") (cast_expression "(void *)param_1[3]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) () ")"))) (; ";")) (if_statement "if (param_1[2] != 0) {\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }" (if "if") (parenthesized_expression "(param_1[2] != 0)" (( "(") (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 0;\n    do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    } while (uVar3 < (uint)param_1[2]);" (do "do") (compound_statement "{\n      if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\n      }\n      if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }\n      if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\n      }\n      uVar3 = uVar3 + 1;\n      iVar2 = iVar2 + 0xc;\n    }" ({ "{") (if_statement "if (param_1[6] != 0) {\n        free(*(void **)(param_1[6] + 8 + iVar2));\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        free(*(void **)(param_1[6] + 8 + iVar2));\n      }" ({ "{") (expression_statement "free(*(void **)(param_1[6] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[6] + 8 + iVar2))" (identifier "free") (argument_list "(*(void **)(param_1[6] + 8 + iVar2))" (( "(") (pointer_expression "*(void **)(param_1[6] + 8 + iVar2)" (* "*") (cast_expression "(void **)(param_1[6] + 8 + iVar2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[6] + 8 + iVar2)" (( "(") (binary_expression "param_1[6] + 8 + iVar2" (binary_expression "param_1[6] + 8" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (+ "+") (number_literal "8")) (+ "+") (identifier "iVar2")) () ")")))) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[7] != 0) {\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }" (if "if") (parenthesized_expression "(param_1[7] != 0)" (( "(") (binary_expression "param_1[7] != 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        free(*(void **)(param_1[7] + 8 + iVar2));\n      }" ({ "{") (expression_statement "free(*(void **)(param_1[7] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[7] + 8 + iVar2))" (identifier "free") (argument_list "(*(void **)(param_1[7] + 8 + iVar2))" (( "(") (pointer_expression "*(void **)(param_1[7] + 8 + iVar2)" (* "*") (cast_expression "(void **)(param_1[7] + 8 + iVar2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[7] + 8 + iVar2)" (( "(") (binary_expression "param_1[7] + 8 + iVar2" (binary_expression "param_1[7] + 8" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (+ "+") (number_literal "8")) (+ "+") (identifier "iVar2")) () ")")))) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[5] != 0) {\n        free(*(void **)(param_1[5] + 8 + iVar2));\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        free(*(void **)(param_1[5] + 8 + iVar2));\n      }" ({ "{") (expression_statement "free(*(void **)(param_1[5] + 8 + iVar2));" (call_expression "free(*(void **)(param_1[5] + 8 + iVar2))" (identifier "free") (argument_list "(*(void **)(param_1[5] + 8 + iVar2))" (( "(") (pointer_expression "*(void **)(param_1[5] + 8 + iVar2)" (* "*") (cast_expression "(void **)(param_1[5] + 8 + iVar2)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[5] + 8 + iVar2)" (( "(") (binary_expression "param_1[5] + 8 + iVar2" (binary_expression "param_1[5] + 8" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "8")) (+ "+") (identifier "iVar2")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = iVar2 + 0xc;" (assignment_expression "iVar2 = iVar2 + 0xc" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < (uint)param_1[2])" (( "(") (binary_expression "uVar3 < (uint)param_1[2]" (identifier "uVar3") (< "<") (cast_expression "(uint)param_1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (; ";")) (} "}"))) (expression_statement "free((void *)param_1[5]);" (call_expression "free((void *)param_1[5])" (identifier "free") (argument_list "((void *)param_1[5])" (( "(") (cast_expression "(void *)param_1[5]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)param_1[6]);" (call_expression "free((void *)param_1[6])" (identifier "free") (argument_list "((void *)param_1[6])" (( "(") (cast_expression "(void *)param_1[6]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" (identifier "free") (argument_list "((void *)param_1[7])" (( "(") (cast_expression "(void *)param_1[7]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)*param_1);" (call_expression "free((void *)*param_1)" (identifier "free") (argument_list "((void *)*param_1)" (( "(") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" (identifier "__ptr") (= "=") (cast_expression "(void *)param_1[8]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (if_statement "if (__ptr != (void *)0x0) {\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }\n    __ptr = (void *)param_1[8];\n  }" ({ "{") (while_statement "while( true ) {\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      piVar1 = (int *)((int)__ptr + local_20 * 0xc);\n      if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }\n      free((void *)piVar1[2]);\n      local_20 = local_20 + 1;\n      if ((uint)param_1[0x11] < local_20) break;\n      __ptr = (void *)param_1[8];\n    }" ({ "{") (expression_statement "piVar1 = (int *)((int)__ptr + local_20 * 0xc);" (assignment_expression "piVar1 = (int *)((int)__ptr + local_20 * 0xc)" (identifier "piVar1") (= "=") (cast_expression "(int *)((int)__ptr + local_20 * 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__ptr + local_20 * 0xc)" (( "(") (binary_expression "(int)__ptr + local_20 * 0xc" (cast_expression "(int)__ptr" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__ptr")) (+ "+") (binary_expression "local_20 * 0xc" (identifier "local_20") (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (if_statement "if (0 < *piVar1) {\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }" (if "if") (parenthesized_expression "(0 < *piVar1)" (( "(") (binary_expression "0 < *piVar1" (number_literal "0") (< "<") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n        iVar2 = 0;\n        do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);\n      }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        } while (iVar2 < *piVar1);" (do "do") (compound_statement "{\n          iVar2 = iVar2 + 1;\n          FUN_00018820();\n        }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00018820();" (call_expression "FUN_00018820()" (identifier "FUN_00018820") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *piVar1)" (( "(") (binary_expression "iVar2 < *piVar1" (identifier "iVar2") (< "<") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (; ";")) (} "}"))) (expression_statement "free((void *)piVar1[2]);" (call_expression "free((void *)piVar1[2])" (identifier "free") (argument_list "((void *)piVar1[2])" (( "(") (cast_expression "(void *)piVar1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "local_20 = local_20 + 1;" (assignment_expression "local_20 = local_20 + 1" (identifier "local_20") (= "=") (binary_expression "local_20 + 1" (identifier "local_20") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uint)param_1[0x11] < local_20) break;" (if "if") (parenthesized_expression "((uint)param_1[0x11] < local_20)" (( "(") (binary_expression "(uint)param_1[0x11] < local_20" (cast_expression "(uint)param_1[0x11]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (< "<") (identifier "local_20")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" (identifier "__ptr") (= "=") (cast_expression "(void *)param_1[8]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";")) (} "}"))) (expression_statement "__ptr = (void *)param_1[8];" (assignment_expression "__ptr = (void *)param_1[8]" (identifier "__ptr") (= "=") (cast_expression "(void *)param_1[8]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if ((undefined *)param_1[0xf] != &DAT_00027f60) {\n    free((undefined *)param_1[0xf]);\n  }" (if "if") (parenthesized_expression "((undefined *)param_1[0xf] != &DAT_00027f60)" (( "(") (binary_expression "(undefined *)param_1[0xf] != &DAT_00027f60" (cast_expression "(undefined *)param_1[0xf]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]"))) (!= "!=") (pointer_expression "&DAT_00027f60" (& "&") (identifier "DAT_00027f60"))) () ")")) (compound_statement "{\n    free((undefined *)param_1[0xf]);\n  }" ({ "{") (expression_statement "free((undefined *)param_1[0xf]);" (call_expression "free((undefined *)param_1[0xf])" (identifier "free") (argument_list "((undefined *)param_1[0xf])" (( "(") (cast_expression "(undefined *)param_1[0xf]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]"))) () ")"))) (; ";")) (} "}"))) (expression_statement "free((void *)param_1[0x21]);" (call_expression "free((void *)param_1[0x21])" (identifier "free") (argument_list "((void *)param_1[0x21])" (( "(") (cast_expression "(void *)param_1[0x21]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]"))) () ")"))) (; ";")) (expression_statement "free(param_1);" (call_expression "free(param_1)" (identifier "free") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *dfa)

{
  type_2 **pprVar1;
  type_3 *var_1;
  type_4 *var_6;
  int var_5;
  type_5 var_2;
  type_5 var_7;
  
  var_1 = dfa->nodes;
  if ((var_1 != (type_3 *)0x0) && (dfa->nodes_len != 0)) {
    var_2 = 0;
    while( true ) {
      var_1 = var_1 + var_2;
      var_2 = var_2 + 1;
      var_3(var_1);
      if (dfa->nodes_len <= var_2) break;
      var_1 = dfa->nodes;
    }
  }
  var_5 = 0;
  var_4(dfa->nexts);
  if (dfa->nodes_len != 0) {
    var_2 = 0;
    do {
      if (dfa->eclosures != (type_6 *)0x0) {
        var_4(*(void **)((int)&dfa->eclosures->elems + var_5));
      }
      if (dfa->inveclosures != (type_6 *)0x0) {
        var_4(*(void **)((int)&dfa->inveclosures->elems + var_5));
      }
      if (dfa->edests != (type_6 *)0x0) {
        var_4(*(void **)((int)&dfa->edests->elems + var_5));
      }
      var_2 = var_2 + 1;
      var_5 = var_5 + 0xc;
    } while (var_2 < dfa->nodes_len);
  }
  var_4(dfa->edests);
  var_4(dfa->eclosures);
  var_4(dfa->inveclosures);
  var_4(dfa->nodes);
  var_6 = dfa->state_table;
  var_7 = 0;
  if (var_6 != (type_4 *)0x0) {
    while( true ) {
      var_6 = var_6 + var_7;
      if (0 < var_6->num) {
        var_5 = 0;
        do {
          pprVar1 = var_6->array + var_5;
          var_5 = var_5 + 1;
          var_8(*pprVar1);
        } while (var_5 < var_6->num);
      }
      var_4(var_6->array);
      var_7 = var_7 + 1;
      if (dfa->state_hash_mask < var_7) break;
      var_6 = dfa->state_table;
    }
    var_6 = dfa->state_table;
  }
  var_4(var_6);
  if (dfa->sb_char != var_9) {
    var_4(dfa->sb_char);
  }
  var_4(dfa->subexp_map);
  var_4(dfa);
  return;
}


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

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

void __regparm3 MASKED(int *param_1)

{
  int *piVar1;
  void *__ptr;
  int iVar2;
  uint uVar3;
  uint local_20;
  
  if ((*param_1 != 0) && (param_1[2] != 0)) {
    uVar3 = 0;
    do {
      uVar3 = uVar3 + 1;
      FUN_000182a0();
    } while (uVar3 < (uint)param_1[2]);
  }
  iVar2 = 0;
  free((void *)param_1[3]);
  if (param_1[2] != 0) {
    uVar3 = 0;
    do {
      if (param_1[6] != 0) {
        free(*(void **)(param_1[6] + 8 + iVar2));
      }
      if (param_1[7] != 0) {
        free(*(void **)(param_1[7] + 8 + iVar2));
      }
      if (param_1[5] != 0) {
        free(*(void **)(param_1[5] + 8 + iVar2));
      }
      uVar3 = uVar3 + 1;
      iVar2 = iVar2 + 0xc;
    } while (uVar3 < (uint)param_1[2]);
  }
  free((void *)param_1[5]);
  free((void *)param_1[6]);
  free((void *)param_1[7]);
  free((void *)*param_1);
  __ptr = (void *)param_1[8];
  local_20 = 0;
  if (__ptr != (void *)0x0) {
    while( true ) {
      piVar1 = (int *)((int)__ptr + local_20 * 0xc);
      if (0 < *piVar1) {
        iVar2 = 0;
        do {
          iVar2 = iVar2 + 1;
          FUN_00018820();
        } while (iVar2 < *piVar1);
      }
      free((void *)piVar1[2]);
      local_20 = local_20 + 1;
      if ((uint)param_1[0x11] < local_20) break;
      __ptr = (void *)param_1[8];
    }
    __ptr = (void *)param_1[8];
  }
  free(__ptr);
  if ((undefined *)param_1[0xf] != &DAT_00027f60) {
    free((undefined *)param_1[0xf]);
  }
  free((void *)param_1[0x21]);
  free(param_1);
  return;
}

