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

reg_errcode_t __regparm3 free_fail_stack_return(re_fail_stack_t *fs)

{
  re_fail_stack_ent_t *prVar1;
  int iVar2;
  int iVar3;
  
  prVar1 = (re_fail_stack_ent_t *)fs;
  if (0 < fs->num) {
    iVar2 = 0;
    do {
      iVar3 = iVar2 + 1;
      free(fs->stack[iVar2].eps_via_nodes.elems);
      prVar1 = fs->stack;
      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);
      iVar2 = iVar3;
    } while (iVar3 < fs->num);
  }
  free(fs->stack);
  return (reg_errcode_t)prVar1;
}



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

void __regparm3 FUN_000425c0(int *param_1)

{
  int iVar1;
  int iVar2;
  
  if (0 < *param_1) {
    iVar1 = 0;
    do {
      iVar2 = iVar1 + 1;
      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));
      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));
      iVar1 = iVar2;
    } while (iVar2 < *param_1);
  }
  free((void *)param_1[2]);
  return;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014e20
ADD EBX,0x28605
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JLE 0x0004260d
XOR ESI,ESI
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP + 0x8]
LEA EDI,[ESI + ESI*0x2]
SUB ESP,0xc
ADD ESI,0x1
SHL EDI,0x3
PUSH dword ptr [EAX + EDI*0x1 + 0x14]
CALL 0x00013200
POP EAX
MOV EAX,dword ptr [EBP + 0x8]
PUSH dword ptr [EAX + EDI*0x1 + 0x8]
CALL 0x00013200
ADD ESP,0x10
CMP ESI,dword ptr [EBP]
JL 0x000425e0
SUB ESP,0xc
PUSH dword ptr [EBP + 0x8]
CALL 0x00013200
ADD ESP,0x1c
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_000425c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000425c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000425c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }" if (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);" do (compound_statement "{\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    }" { (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));" (call_expression "free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18))" identifier (argument_list "(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18))" ( (pointer_expression "*(void **)(param_1[2] + 0x14 + iVar1 * 0x18)" * (cast_expression "(void **)(param_1[2] + 0x14 + iVar1 * 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[2] + 0x14 + iVar1 * 0x18)" ( (binary_expression "param_1[2] + 0x14 + iVar1 * 0x18" (binary_expression "param_1[2] + 0x14" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ))) ;) (expression_statement "free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));" (call_expression "free(*(void **)(param_1[2] + 8 + iVar1 * 0x18))" identifier (argument_list "(*(void **)(param_1[2] + 8 + iVar1 * 0x18))" ( (pointer_expression "*(void **)(param_1[2] + 8 + iVar1 * 0x18)" * (cast_expression "(void **)(param_1[2] + 8 + iVar1 * 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[2] + 8 + iVar1 * 0x18)" ( (binary_expression "param_1[2] + 8 + iVar1 * 0x18" (binary_expression "param_1[2] + 8" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 < *param_1)" ( (binary_expression "iVar2 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) ;) })) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" identifier (argument_list "((void *)param_1[2])" ( (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nreg_errcode_t __regparm3 free_fail_stack_return(re_fail_stack_t *fs)\n\n{\n  re_fail_stack_ent_t *prVar1;\n  int iVar2;\n  int iVar3;\n  \n  prVar1 = (re_fail_stack_ent_t *)fs;\n  if (0 < fs->num) {\n    iVar2 = 0;\n    do {\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    } while (iVar3 < fs->num);\n  }\n  free(fs->stack);\n  return (reg_errcode_t)prVar1;\n}\n\n" comment (function_definition "reg_errcode_t __regparm3 free_fail_stack_return(re_fail_stack_t *fs)\n\n{\n  re_fail_stack_ent_t *prVar1;\n  int iVar2;\n  int iVar3;\n  \n  prVar1 = (re_fail_stack_ent_t *)fs;\n  if (0 < fs->num) {\n    iVar2 = 0;\n    do {\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    } while (iVar3 < fs->num);\n  }\n  free(fs->stack);\n  return (reg_errcode_t)prVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "free_fail_stack_return(re_fail_stack_t *fs)" identifier (parameter_list "(re_fail_stack_t *fs)" ( (parameter_declaration "re_fail_stack_t *fs" type_identifier (pointer_declarator "*fs" * identifier)) ))) (compound_statement "{\n  re_fail_stack_ent_t *prVar1;\n  int iVar2;\n  int iVar3;\n  \n  prVar1 = (re_fail_stack_ent_t *)fs;\n  if (0 < fs->num) {\n    iVar2 = 0;\n    do {\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    } while (iVar3 < fs->num);\n  }\n  free(fs->stack);\n  return (reg_errcode_t)prVar1;\n}" { (declaration "re_fail_stack_ent_t *prVar1;" type_identifier (pointer_declarator "*prVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "prVar1 = (re_fail_stack_ent_t *)fs;" (assignment_expression "prVar1 = (re_fail_stack_ent_t *)fs" identifier = (cast_expression "(re_fail_stack_ent_t *)fs" ( (type_descriptor "re_fail_stack_ent_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (0 < fs->num) {\n    iVar2 = 0;\n    do {\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    } while (iVar3 < fs->num);\n  }" if (parenthesized_expression "(0 < fs->num)" ( (binary_expression "0 < fs->num" number_literal < (field_expression "fs->num" identifier -> field_identifier)) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    } while (iVar3 < fs->num);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    } while (iVar3 < fs->num);" do (compound_statement "{\n      iVar3 = iVar2 + 1;\n      free(fs->stack[iVar2].eps_via_nodes.elems);\n      prVar1 = fs->stack;\n      free((re_fail_stack_ent_t *)prVar1[iVar2].regs);\n      iVar2 = iVar3;\n    }" { (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "free(fs->stack[iVar2].eps_via_nodes.elems);" (call_expression "free(fs->stack[iVar2].eps_via_nodes.elems)" identifier (argument_list "(fs->stack[iVar2].eps_via_nodes.elems)" ( (field_expression "fs->stack[iVar2].eps_via_nodes.elems" (field_expression "fs->stack[iVar2].eps_via_nodes" (subscript_expression "fs->stack[iVar2]" (field_expression "fs->stack" identifier -> field_identifier) [ identifier ]) . field_identifier) . field_identifier) ))) ;) (expression_statement "prVar1 = fs->stack;" (assignment_expression "prVar1 = fs->stack" identifier = (field_expression "fs->stack" identifier -> field_identifier)) ;) (expression_statement "free((re_fail_stack_ent_t *)prVar1[iVar2].regs);" (call_expression "free((re_fail_stack_ent_t *)prVar1[iVar2].regs)" identifier (argument_list "((re_fail_stack_ent_t *)prVar1[iVar2].regs)" ( (cast_expression "(re_fail_stack_ent_t *)prVar1[iVar2].regs" ( (type_descriptor "re_fail_stack_ent_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "prVar1[iVar2].regs" (subscript_expression "prVar1[iVar2]" identifier [ identifier ]) . field_identifier)) ))) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 < fs->num)" ( (binary_expression "iVar3 < fs->num" identifier < (field_expression "fs->num" identifier -> field_identifier)) )) ;) })) (expression_statement "free(fs->stack);" (call_expression "free(fs->stack)" identifier (argument_list "(fs->stack)" ( (field_expression "fs->stack" identifier -> field_identifier) ))) ;) (return_statement "return (reg_errcode_t)prVar1;" return (cast_expression "(reg_errcode_t)prVar1" ( (type_descriptor "reg_errcode_t" type_identifier) ) identifier) ;) })))
(translation_unit "void __regparm3 FUN_000425c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000425c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000425c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }" if (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);" do (compound_statement "{\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    }" { (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));" (call_expression "free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18))" identifier (argument_list "(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18))" ( (pointer_expression "*(void **)(param_1[2] + 0x14 + iVar1 * 0x18)" * (cast_expression "(void **)(param_1[2] + 0x14 + iVar1 * 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[2] + 0x14 + iVar1 * 0x18)" ( (binary_expression "param_1[2] + 0x14 + iVar1 * 0x18" (binary_expression "param_1[2] + 0x14" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ))) ;) (expression_statement "free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));" (call_expression "free(*(void **)(param_1[2] + 8 + iVar1 * 0x18))" identifier (argument_list "(*(void **)(param_1[2] + 8 + iVar1 * 0x18))" ( (pointer_expression "*(void **)(param_1[2] + 8 + iVar1 * 0x18)" * (cast_expression "(void **)(param_1[2] + 8 + iVar1 * 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[2] + 8 + iVar1 * 0x18)" ( (binary_expression "param_1[2] + 8 + iVar1 * 0x18" (binary_expression "param_1[2] + 8" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "iVar1 * 0x18" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 < *param_1)" ( (binary_expression "iVar2 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) ;) })) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" identifier (argument_list "((void *)param_1[2])" ( (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (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 IDENT ;) (declaration TYPE IDENT ;) (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + (binary_expression IDENT * LIT)) )))) ))) ;) (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) + (binary_expression IDENT * LIT)) )))) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) 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 ])) ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000425c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000425c0(int *param_1)" (identifier "FUN_000425c0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }\n  free((void *)param_1[2]);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (0 < *param_1) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }" (if "if") (parenthesized_expression "(0 < *param_1)" (( "(") (binary_expression "0 < *param_1" (number_literal "0") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    } while (iVar2 < *param_1);" (do "do") (compound_statement "{\n      iVar2 = iVar1 + 1;\n      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));\n      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));\n      iVar1 = iVar2;\n    }" ({ "{") (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));" (call_expression "free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18))" (identifier "free") (argument_list "(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18))" (( "(") (pointer_expression "*(void **)(param_1[2] + 0x14 + iVar1 * 0x18)" (* "*") (cast_expression "(void **)(param_1[2] + 0x14 + iVar1 * 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[2] + 0x14 + iVar1 * 0x18)" (( "(") (binary_expression "param_1[2] + 0x14 + iVar1 * 0x18" (binary_expression "param_1[2] + 0x14" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x14")) (+ "+") (binary_expression "iVar1 * 0x18" (identifier "iVar1") (* "*") (number_literal "0x18"))) () ")")))) () ")"))) (; ";")) (expression_statement "free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));" (call_expression "free(*(void **)(param_1[2] + 8 + iVar1 * 0x18))" (identifier "free") (argument_list "(*(void **)(param_1[2] + 8 + iVar1 * 0x18))" (( "(") (pointer_expression "*(void **)(param_1[2] + 8 + iVar1 * 0x18)" (* "*") (cast_expression "(void **)(param_1[2] + 8 + iVar1 * 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[2] + 8 + iVar1 * 0x18)" (( "(") (binary_expression "param_1[2] + 8 + iVar1 * 0x18" (binary_expression "param_1[2] + 8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "8")) (+ "+") (binary_expression "iVar1 * 0x18" (identifier "iVar1") (* "*") (number_literal "0x18"))) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" (identifier "iVar1") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *param_1)" (( "(") (binary_expression "iVar2 < *param_1" (identifier "iVar2") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (; ";")) (} "}"))) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" (identifier "free") (argument_list "((void *)param_1[2])" (( "(") (cast_expression "(void *)param_1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(type_2 *fs)

{
  type_3 *prVar1;
  int var_1;
  int var_3;
  
  prVar1 = (type_3 *)fs;
  if (0 < fs->num) {
    var_1 = 0;
    do {
      var_3 = var_1 + 1;
      var_2(fs->stack[var_1].eps_via_nodes.elems);
      prVar1 = fs->stack;
      var_2((type_3 *)prVar1[var_1].regs);
      var_1 = var_3;
    } while (var_3 < fs->num);
  }
  var_2(fs->stack);
  return (type_1)prVar1;
}


(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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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 (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: (binary_expression left: (identifier) right: (number_literal))))))))) (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: (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) 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)))))) (return_statement))))

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

void __regparm3 MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  
  if (0 < *param_1) {
    iVar1 = 0;
    do {
      iVar2 = iVar1 + 1;
      free(*(void **)(param_1[2] + 0x14 + iVar1 * 0x18));
      free(*(void **)(param_1[2] + 8 + iVar1 * 0x18));
      iVar1 = iVar2;
    } while (iVar2 < *param_1);
  }
  free((void *)param_1[2]);
  return;
}

