
/* DWARF original prototype: bin_tree_t * create_token_tree(re_dfa_t * dfa, bin_tree_t * left,
   bin_tree_t * right, re_token_t * token, re_dfa_t * dfa) */

bin_tree_t *
create_token_tree(re_dfa_t *dfa,bin_tree_t *left,bin_tree_t *right,re_token_t *token,re_dfa_t *dfa_1
                 )

{
  re_token_t *prVar1;
  bin_tree_t *pbVar2;
  anon_union_4_5_a39f51ca_for_opr aVar3;
  int iVar4;
  re_token_t *prVar5;
  int iVar6;
  
  pbVar2 = left->parent;
  if (pbVar2 == (bin_tree_t *)0x1f) {
    prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);
    iVar6 = 4;
    if (prVar1 == (re_token_t *)0x0) {
      return (bin_tree_t *)0x0;
    }
    aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;
    pbVar2 = (bin_tree_t *)0x1;
    iVar4 = 0;
    dfa->nodes = prVar1;
    prVar1->opr = aVar3;
  }
  else {
    iVar4 = (int)pbVar2 * 0x20;
    prVar1 = dfa->nodes;
    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);
    iVar6 = iVar4 + 4;
  }
  left->parent = pbVar2;
  *(undefined4 *)(&prVar1->field_0x4 + iVar4) = 0;
  *(bin_tree_t **)((int)&prVar1[1].opr + iVar4) = right;
  pbVar2 = (bin_tree_t *)((int)&prVar1->opr + iVar6);
  *(re_token_t **)(&prVar1[1].field_0x4 + iVar4) = token;
  prVar5 = dfa_1->nodes;
  *(size_t *)(&prVar1[3].field_0x4 + iVar4) = dfa_1->nodes_alloc;
  *(re_token_t **)((int)&prVar1[3].opr + iVar4) = prVar5;
  (&prVar1[3].field_0x6)[iVar4] = (&prVar1[3].field_0x6)[iVar4] & 0xcf;
  *(undefined4 *)((int)&prVar1[2].opr + iVar4) = 0;
  *(undefined4 *)(&prVar1[2].field_0x4 + iVar4) = 0;
  *(undefined4 *)((int)&prVar1[4].opr + iVar4) = 0xffffffff;
  if (right != (bin_tree_t *)0x0) {
    right->parent = pbVar2;
  }
  if (token != (re_token_t *)0x0) {
    (token->opr).sbcset = (re_bitset_ptr_t)pbVar2;
  }
  return pbVar2;
}



int FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  
  iVar2 = *param_2;
  if (iVar2 == 0x1f) {
    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);
    iVar6 = 4;
    if (piVar1 == (int *)0x0) {
      return 0;
    }
    iVar3 = *param_1;
    iVar2 = 1;
    iVar4 = 0;
    *param_1 = (int)piVar1;
    *piVar1 = iVar3;
  }
  else {
    iVar4 = iVar2 * 0x20;
    piVar1 = (int *)*param_1;
    iVar2 = iVar2 + 1;
    iVar6 = iVar4 + 4;
  }
  *param_2 = iVar2;
  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;
  *(int **)((int)piVar1 + iVar4 + 8) = param_3;
  iVar6 = (int)piVar1 + iVar6;
  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;
  uVar5 = *param_5;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];
  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;
  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;
  if (param_3 != (int *)0x0) {
    *param_3 = iVar6;
  }
  if (param_4 != (int *)0x0) {
    *param_4 = iVar6;
  }
  return iVar6;
}


lui gp,0x4
addiu gp,gp,0x3314
addu gp,gp,t9
addiu sp,sp,-0x28
lw v1,0x0(a1)
li v0,0x1f
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
sw ra,0x24(sp)
beq v1,v0,0x000741d4
_lw s0,0x38(sp)
sll a0,v1,0x5
lw v0,0x0(s1)
addiu t0,v1,0x1
addiu t1,a0,0x4
addu v1,v0,a0
sw t0,0x0(a1)
addiu a0,a0,0x10
sw zero,0x4(v1)
addu a0,v0,a0
sw a2,0x8(v1)
addu v0,v0,t1
sw a3,0xc(v1)
lw a1,0x4(s0)
lw t0,0x0(s0)
sw a1,0x1c(v1)
sw t0,0x18(v1)
lbu a1,0xe(a0)
andi a1,a1,0xcf
sb a1,0xe(a0)
li a0,-0x1
sw zero,0x10(v1)
sw zero,0x14(v1)
beq a2,zero,0x000741b4
_sw a0,0x20(v1)
sw v0,0x0(a2)
beq a3,zero,0x000741c4
_lw ra,0x24(sp)
sw v0,0x0(a3)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7848(gp)
li a0,0x3e4
sw a3,0x34(sp)
sw a2,0x30(sp)
jalr t9
_sw a1,0x2c(sp)
beq v0,zero,0x00074218
_li t1,0x4
lw v1,0x0(s1)
li t0,0x1
lw a3,0x34(sp)
lw a2,0x30(sp)
or a0,zero,zero
lw a1,0x2c(sp)
sw v0,0x0(s1)
b 0x00074160
_sw v1,0x0(v0)
b 0x000741c0
_or v0,zero,zero
(translation_unit "int FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}\n\n" (function_definition "int FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}" primitive_type (function_declarator "FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" if (parenthesized_expression "(iVar2 == 0x1f)" ( (binary_expression "iVar2 == 0x1f" identifier == number_literal) )) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }" { (expression_statement "piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" identifier = (cast_expression "(int *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_000afbe8)(0x3e4)" (parenthesized_expression "(*(code *)PTR_malloc_000afbe8)" ( (pointer_expression "*(code *)PTR_malloc_000afbe8" * (cast_expression "(code *)PTR_malloc_000afbe8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x3e4)" ( number_literal ))))) ;) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (if_statement "if (piVar1 == (int *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = (int)piVar1;" (assignment_expression "*param_1 = (int)piVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" * identifier) = identifier) ;) }) (else_clause "else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" else (compound_statement "{\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" { (expression_statement "iVar4 = iVar2 * 0x20;" (assignment_expression "iVar4 = iVar2 * 0x20" identifier = (binary_expression "iVar2 * 0x20" identifier * number_literal)) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar4 + 4;" (assignment_expression "iVar6 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) }))) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 4) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 4)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 4)" ( (binary_expression "(int)piVar1 + iVar4 + 4" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(int **)((int)piVar1 + iVar4 + 8) = param_3;" (assignment_expression "*(int **)((int)piVar1 + iVar4 + 8) = param_3" (pointer_expression "*(int **)((int)piVar1 + iVar4 + 8)" * (cast_expression "(int **)((int)piVar1 + iVar4 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar1 + iVar4 + 8)" ( (binary_expression "(int)piVar1 + iVar4 + 8" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = (int)piVar1 + iVar6;" (assignment_expression "iVar6 = (int)piVar1 + iVar6" identifier = (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "*(int **)((int)piVar1 + iVar4 + 0xc) = param_4;" (assignment_expression "*(int **)((int)piVar1 + iVar4 + 0xc) = param_4" (pointer_expression "*(int **)((int)piVar1 + iVar4 + 0xc)" * (cast_expression "(int **)((int)piVar1 + iVar4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0xc)" ( (binary_expression "(int)piVar1 + iVar4 + 0xc" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1]" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x1c)" ( (binary_expression "(int)piVar1 + iVar4 + 0x1c" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x18)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x18)" ( (binary_expression "(int)piVar1 + iVar4 + 0x18" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;" (assignment_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf" (pointer_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e)" * (cast_expression "(byte *)((int)piVar1 + iVar4 + 0x1e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x1e)" ( (binary_expression "(int)piVar1 + iVar4 + 0x1e" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf" (pointer_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e)" * (cast_expression "(byte *)((int)piVar1 + iVar4 + 0x1e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x1e)" ( (binary_expression "(int)piVar1 + iVar4 + 0x1e" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal)) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x10)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x10)" ( (binary_expression "(int)piVar1 + iVar4 + 0x10" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x14)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x14)" ( (binary_expression "(int)piVar1 + iVar4 + 0x14" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x20)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x20)" ( (binary_expression "(int)piVar1 + iVar4 + 0x20" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_3 = iVar6;\n  }" { (expression_statement "*param_3 = iVar6;" (assignment_expression "*param_3 = iVar6" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (if_statement "if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_4 = iVar6;\n  }" { (expression_statement "*param_4 = iVar6;" (assignment_expression "*param_4 = iVar6" (pointer_expression "*param_4" * identifier) = identifier) ;) })) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: bin_tree_t * create_token_tree(re_dfa_t * dfa, bin_tree_t * left,\n   bin_tree_t * right, re_token_t * token, re_dfa_t * dfa) */\n\nbin_tree_t *\ncreate_token_tree(re_dfa_t *dfa,bin_tree_t *left,bin_tree_t *right,re_token_t *token,re_dfa_t *dfa_1\n                 )\n\n{\n  re_token_t *prVar1;\n  bin_tree_t *pbVar2;\n  anon_union_4_5_a39f51ca_for_opr aVar3;\n  int iVar4;\n  re_token_t *prVar5;\n  int iVar6;\n  \n  pbVar2 = left->parent;\n  if (pbVar2 == (bin_tree_t *)0x1f) {\n    prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (prVar1 == (re_token_t *)0x0) {\n      return (bin_tree_t *)0x0;\n    }\n    aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;\n    pbVar2 = (bin_tree_t *)0x1;\n    iVar4 = 0;\n    dfa->nodes = prVar1;\n    prVar1->opr = aVar3;\n  }\n  else {\n    iVar4 = (int)pbVar2 * 0x20;\n    prVar1 = dfa->nodes;\n    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);\n    iVar6 = iVar4 + 4;\n  }\n  left->parent = pbVar2;\n  *(undefined4 *)(&prVar1->field_0x4 + iVar4) = 0;\n  *(bin_tree_t **)((int)&prVar1[1].opr + iVar4) = right;\n  pbVar2 = (bin_tree_t *)((int)&prVar1->opr + iVar6);\n  *(re_token_t **)(&prVar1[1].field_0x4 + iVar4) = token;\n  prVar5 = dfa_1->nodes;\n  *(size_t *)(&prVar1[3].field_0x4 + iVar4) = dfa_1->nodes_alloc;\n  *(re_token_t **)((int)&prVar1[3].opr + iVar4) = prVar5;\n  (&prVar1[3].field_0x6)[iVar4] = (&prVar1[3].field_0x6)[iVar4] & 0xcf;\n  *(undefined4 *)((int)&prVar1[2].opr + iVar4) = 0;\n  *(undefined4 *)(&prVar1[2].field_0x4 + iVar4) = 0;\n  *(undefined4 *)((int)&prVar1[4].opr + iVar4) = 0xffffffff;\n  if (right != (bin_tree_t *)0x0) {\n    right->parent = pbVar2;\n  }\n  if (token != (re_token_t *)0x0) {\n    (token->opr).sbcset = (re_bitset_ptr_t)pbVar2;\n  }\n  return pbVar2;\n}\n\n" comment (function_definition "bin_tree_t *\ncreate_token_tree(re_dfa_t *dfa,bin_tree_t *left,bin_tree_t *right,re_token_t *token,re_dfa_t *dfa_1\n                 )\n\n{\n  re_token_t *prVar1;\n  bin_tree_t *pbVar2;\n  anon_union_4_5_a39f51ca_for_opr aVar3;\n  int iVar4;\n  re_token_t *prVar5;\n  int iVar6;\n  \n  pbVar2 = left->parent;\n  if (pbVar2 == (bin_tree_t *)0x1f) {\n    prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (prVar1 == (re_token_t *)0x0) {\n      return (bin_tree_t *)0x0;\n    }\n    aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;\n    pbVar2 = (bin_tree_t *)0x1;\n    iVar4 = 0;\n    dfa->nodes = prVar1;\n    prVar1->opr = aVar3;\n  }\n  else {\n    iVar4 = (int)pbVar2 * 0x20;\n    prVar1 = dfa->nodes;\n    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);\n    iVar6 = iVar4 + 4;\n  }\n  left->parent = pbVar2;\n  *(undefined4 *)(&prVar1->field_0x4 + iVar4) = 0;\n  *(bin_tree_t **)((int)&prVar1[1].opr + iVar4) = right;\n  pbVar2 = (bin_tree_t *)((int)&prVar1->opr + iVar6);\n  *(re_token_t **)(&prVar1[1].field_0x4 + iVar4) = token;\n  prVar5 = dfa_1->nodes;\n  *(size_t *)(&prVar1[3].field_0x4 + iVar4) = dfa_1->nodes_alloc;\n  *(re_token_t **)((int)&prVar1[3].opr + iVar4) = prVar5;\n  (&prVar1[3].field_0x6)[iVar4] = (&prVar1[3].field_0x6)[iVar4] & 0xcf;\n  *(undefined4 *)((int)&prVar1[2].opr + iVar4) = 0;\n  *(undefined4 *)(&prVar1[2].field_0x4 + iVar4) = 0;\n  *(undefined4 *)((int)&prVar1[4].opr + iVar4) = 0xffffffff;\n  if (right != (bin_tree_t *)0x0) {\n    right->parent = pbVar2;\n  }\n  if (token != (re_token_t *)0x0) {\n    (token->opr).sbcset = (re_bitset_ptr_t)pbVar2;\n  }\n  return pbVar2;\n}" type_identifier (pointer_declarator "*\ncreate_token_tree(re_dfa_t *dfa,bin_tree_t *left,bin_tree_t *right,re_token_t *token,re_dfa_t *dfa_1\n                 )" * (function_declarator "create_token_tree(re_dfa_t *dfa,bin_tree_t *left,bin_tree_t *right,re_token_t *token,re_dfa_t *dfa_1\n                 )" identifier (parameter_list "(re_dfa_t *dfa,bin_tree_t *left,bin_tree_t *right,re_token_t *token,re_dfa_t *dfa_1\n                 )" ( (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) , (parameter_declaration "bin_tree_t *left" type_identifier (pointer_declarator "*left" * identifier)) , (parameter_declaration "bin_tree_t *right" type_identifier (pointer_declarator "*right" * identifier)) , (parameter_declaration "re_token_t *token" type_identifier (pointer_declarator "*token" * identifier)) , (parameter_declaration "re_dfa_t *dfa_1" type_identifier (pointer_declarator "*dfa_1" * identifier)) )))) (compound_statement "{\n  re_token_t *prVar1;\n  bin_tree_t *pbVar2;\n  anon_union_4_5_a39f51ca_for_opr aVar3;\n  int iVar4;\n  re_token_t *prVar5;\n  int iVar6;\n  \n  pbVar2 = left->parent;\n  if (pbVar2 == (bin_tree_t *)0x1f) {\n    prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (prVar1 == (re_token_t *)0x0) {\n      return (bin_tree_t *)0x0;\n    }\n    aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;\n    pbVar2 = (bin_tree_t *)0x1;\n    iVar4 = 0;\n    dfa->nodes = prVar1;\n    prVar1->opr = aVar3;\n  }\n  else {\n    iVar4 = (int)pbVar2 * 0x20;\n    prVar1 = dfa->nodes;\n    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);\n    iVar6 = iVar4 + 4;\n  }\n  left->parent = pbVar2;\n  *(undefined4 *)(&prVar1->field_0x4 + iVar4) = 0;\n  *(bin_tree_t **)((int)&prVar1[1].opr + iVar4) = right;\n  pbVar2 = (bin_tree_t *)((int)&prVar1->opr + iVar6);\n  *(re_token_t **)(&prVar1[1].field_0x4 + iVar4) = token;\n  prVar5 = dfa_1->nodes;\n  *(size_t *)(&prVar1[3].field_0x4 + iVar4) = dfa_1->nodes_alloc;\n  *(re_token_t **)((int)&prVar1[3].opr + iVar4) = prVar5;\n  (&prVar1[3].field_0x6)[iVar4] = (&prVar1[3].field_0x6)[iVar4] & 0xcf;\n  *(undefined4 *)((int)&prVar1[2].opr + iVar4) = 0;\n  *(undefined4 *)(&prVar1[2].field_0x4 + iVar4) = 0;\n  *(undefined4 *)((int)&prVar1[4].opr + iVar4) = 0xffffffff;\n  if (right != (bin_tree_t *)0x0) {\n    right->parent = pbVar2;\n  }\n  if (token != (re_token_t *)0x0) {\n    (token->opr).sbcset = (re_bitset_ptr_t)pbVar2;\n  }\n  return pbVar2;\n}" { (declaration "re_token_t *prVar1;" type_identifier (pointer_declarator "*prVar1" * identifier) ;) (declaration "bin_tree_t *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "anon_union_4_5_a39f51ca_for_opr aVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "re_token_t *prVar5;" type_identifier (pointer_declarator "*prVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "pbVar2 = left->parent;" (assignment_expression "pbVar2 = left->parent" identifier = (field_expression "left->parent" identifier -> field_identifier)) ;) (if_statement "if (pbVar2 == (bin_tree_t *)0x1f) {\n    prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (prVar1 == (re_token_t *)0x0) {\n      return (bin_tree_t *)0x0;\n    }\n    aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;\n    pbVar2 = (bin_tree_t *)0x1;\n    iVar4 = 0;\n    dfa->nodes = prVar1;\n    prVar1->opr = aVar3;\n  }\n  else {\n    iVar4 = (int)pbVar2 * 0x20;\n    prVar1 = dfa->nodes;\n    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);\n    iVar6 = iVar4 + 4;\n  }" if (parenthesized_expression "(pbVar2 == (bin_tree_t *)0x1f)" ( (binary_expression "pbVar2 == (bin_tree_t *)0x1f" identifier == (cast_expression "(bin_tree_t *)0x1f" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (prVar1 == (re_token_t *)0x0) {\n      return (bin_tree_t *)0x0;\n    }\n    aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;\n    pbVar2 = (bin_tree_t *)0x1;\n    iVar4 = 0;\n    dfa->nodes = prVar1;\n    prVar1->opr = aVar3;\n  }" { (expression_statement "prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4);" (assignment_expression "prVar1 = (re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" identifier = (cast_expression "(re_token_t *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" ( (type_descriptor "re_token_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_000afbe8)(0x3e4)" (parenthesized_expression "(*(code *)PTR_malloc_000afbe8)" ( (pointer_expression "*(code *)PTR_malloc_000afbe8" * (cast_expression "(code *)PTR_malloc_000afbe8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x3e4)" ( number_literal ))))) ;) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (if_statement "if (prVar1 == (re_token_t *)0x0) {\n      return (bin_tree_t *)0x0;\n    }" if (parenthesized_expression "(prVar1 == (re_token_t *)0x0)" ( (binary_expression "prVar1 == (re_token_t *)0x0" identifier == (cast_expression "(re_token_t *)0x0" ( (type_descriptor "re_token_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (bin_tree_t *)0x0;\n    }" { (return_statement "return (bin_tree_t *)0x0;" return (cast_expression "(bin_tree_t *)0x0" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes;" (assignment_expression "aVar3 = (anon_union_4_5_a39f51ca_for_opr)dfa->nodes" identifier = (cast_expression "(anon_union_4_5_a39f51ca_for_opr)dfa->nodes" ( (type_descriptor "anon_union_4_5_a39f51ca_for_opr" type_identifier) ) (field_expression "dfa->nodes" identifier -> field_identifier))) ;) (expression_statement "pbVar2 = (bin_tree_t *)0x1;" (assignment_expression "pbVar2 = (bin_tree_t *)0x1" identifier = (cast_expression "(bin_tree_t *)0x1" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "dfa->nodes = prVar1;" (assignment_expression "dfa->nodes = prVar1" (field_expression "dfa->nodes" identifier -> field_identifier) = identifier) ;) (expression_statement "prVar1->opr = aVar3;" (assignment_expression "prVar1->opr = aVar3" (field_expression "prVar1->opr" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    iVar4 = (int)pbVar2 * 0x20;\n    prVar1 = dfa->nodes;\n    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);\n    iVar6 = iVar4 + 4;\n  }" else (compound_statement "{\n    iVar4 = (int)pbVar2 * 0x20;\n    prVar1 = dfa->nodes;\n    pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);\n    iVar6 = iVar4 + 4;\n  }" { (expression_statement "iVar4 = (int)pbVar2 * 0x20;" (assignment_expression "iVar4 = (int)pbVar2 * 0x20" identifier = (binary_expression "(int)pbVar2 * 0x20" (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) (expression_statement "prVar1 = dfa->nodes;" (assignment_expression "prVar1 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) (expression_statement "pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1);" (assignment_expression "pbVar2 = (bin_tree_t *)((int)&pbVar2->parent + 1)" identifier = (cast_expression "(bin_tree_t *)((int)&pbVar2->parent + 1)" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pbVar2->parent + 1)" ( (binary_expression "(int)&pbVar2->parent + 1" (cast_expression "(int)&pbVar2->parent" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pbVar2->parent" & (field_expression "pbVar2->parent" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "iVar6 = iVar4 + 4;" (assignment_expression "iVar6 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) }))) (expression_statement "left->parent = pbVar2;" (assignment_expression "left->parent = pbVar2" (field_expression "left->parent" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)(&prVar1->field_0x4 + iVar4) = 0;" (assignment_expression "*(undefined4 *)(&prVar1->field_0x4 + iVar4) = 0" (pointer_expression "*(undefined4 *)(&prVar1->field_0x4 + iVar4)" * (cast_expression "(undefined4 *)(&prVar1->field_0x4 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&prVar1->field_0x4 + iVar4)" ( (binary_expression "&prVar1->field_0x4 + iVar4" (pointer_expression "&prVar1->field_0x4" & (field_expression "prVar1->field_0x4" identifier -> field_identifier)) + identifier) )))) = number_literal) ;) (expression_statement "*(bin_tree_t **)((int)&prVar1[1].opr + iVar4) = right;" (assignment_expression "*(bin_tree_t **)((int)&prVar1[1].opr + iVar4) = right" (pointer_expression "*(bin_tree_t **)((int)&prVar1[1].opr + iVar4)" * (cast_expression "(bin_tree_t **)((int)&prVar1[1].opr + iVar4)" ( (type_descriptor "bin_tree_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&prVar1[1].opr + iVar4)" ( (binary_expression "(int)&prVar1[1].opr + iVar4" (cast_expression "(int)&prVar1[1].opr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&prVar1[1].opr" & (field_expression "prVar1[1].opr" (subscript_expression "prVar1[1]" identifier [ number_literal ]) . field_identifier))) + identifier) )))) = identifier) ;) (expression_statement "pbVar2 = (bin_tree_t *)((int)&prVar1->opr + iVar6);" (assignment_expression "pbVar2 = (bin_tree_t *)((int)&prVar1->opr + iVar6)" identifier = (cast_expression "(bin_tree_t *)((int)&prVar1->opr + iVar6)" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&prVar1->opr + iVar6)" ( (binary_expression "(int)&prVar1->opr + iVar6" (cast_expression "(int)&prVar1->opr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&prVar1->opr" & (field_expression "prVar1->opr" identifier -> field_identifier))) + identifier) )))) ;) (expression_statement "*(re_token_t **)(&prVar1[1].field_0x4 + iVar4) = token;" (assignment_expression "*(re_token_t **)(&prVar1[1].field_0x4 + iVar4) = token" (pointer_expression "*(re_token_t **)(&prVar1[1].field_0x4 + iVar4)" * (cast_expression "(re_token_t **)(&prVar1[1].field_0x4 + iVar4)" ( (type_descriptor "re_token_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&prVar1[1].field_0x4 + iVar4)" ( (binary_expression "&prVar1[1].field_0x4 + iVar4" (pointer_expression "&prVar1[1].field_0x4" & (field_expression "prVar1[1].field_0x4" (subscript_expression "prVar1[1]" identifier [ number_literal ]) . field_identifier)) + identifier) )))) = identifier) ;) (expression_statement "prVar5 = dfa_1->nodes;" (assignment_expression "prVar5 = dfa_1->nodes" identifier = (field_expression "dfa_1->nodes" identifier -> field_identifier)) ;) (expression_statement "*(size_t *)(&prVar1[3].field_0x4 + iVar4) = dfa_1->nodes_alloc;" (assignment_expression "*(size_t *)(&prVar1[3].field_0x4 + iVar4) = dfa_1->nodes_alloc" (pointer_expression "*(size_t *)(&prVar1[3].field_0x4 + iVar4)" * (cast_expression "(size_t *)(&prVar1[3].field_0x4 + iVar4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&prVar1[3].field_0x4 + iVar4)" ( (binary_expression "&prVar1[3].field_0x4 + iVar4" (pointer_expression "&prVar1[3].field_0x4" & (field_expression "prVar1[3].field_0x4" (subscript_expression "prVar1[3]" identifier [ number_literal ]) . field_identifier)) + identifier) )))) = (field_expression "dfa_1->nodes_alloc" identifier -> field_identifier)) ;) (expression_statement "*(re_token_t **)((int)&prVar1[3].opr + iVar4) = prVar5;" (assignment_expression "*(re_token_t **)((int)&prVar1[3].opr + iVar4) = prVar5" (pointer_expression "*(re_token_t **)((int)&prVar1[3].opr + iVar4)" * (cast_expression "(re_token_t **)((int)&prVar1[3].opr + iVar4)" ( (type_descriptor "re_token_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&prVar1[3].opr + iVar4)" ( (binary_expression "(int)&prVar1[3].opr + iVar4" (cast_expression "(int)&prVar1[3].opr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&prVar1[3].opr" & (field_expression "prVar1[3].opr" (subscript_expression "prVar1[3]" identifier [ number_literal ]) . field_identifier))) + identifier) )))) = identifier) ;) (expression_statement "(&prVar1[3].field_0x6)[iVar4] = (&prVar1[3].field_0x6)[iVar4] & 0xcf;" (assignment_expression "(&prVar1[3].field_0x6)[iVar4] = (&prVar1[3].field_0x6)[iVar4] & 0xcf" (subscript_expression "(&prVar1[3].field_0x6)[iVar4]" (parenthesized_expression "(&prVar1[3].field_0x6)" ( (pointer_expression "&prVar1[3].field_0x6" & (field_expression "prVar1[3].field_0x6" (subscript_expression "prVar1[3]" identifier [ number_literal ]) . field_identifier)) )) [ identifier ]) = (binary_expression "(&prVar1[3].field_0x6)[iVar4] & 0xcf" (subscript_expression "(&prVar1[3].field_0x6)[iVar4]" (parenthesized_expression "(&prVar1[3].field_0x6)" ( (pointer_expression "&prVar1[3].field_0x6" & (field_expression "prVar1[3].field_0x6" (subscript_expression "prVar1[3]" identifier [ number_literal ]) . field_identifier)) )) [ identifier ]) & number_literal)) ;) (expression_statement "*(undefined4 *)((int)&prVar1[2].opr + iVar4) = 0;" (assignment_expression "*(undefined4 *)((int)&prVar1[2].opr + iVar4) = 0" (pointer_expression "*(undefined4 *)((int)&prVar1[2].opr + iVar4)" * (cast_expression "(undefined4 *)((int)&prVar1[2].opr + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&prVar1[2].opr + iVar4)" ( (binary_expression "(int)&prVar1[2].opr + iVar4" (cast_expression "(int)&prVar1[2].opr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&prVar1[2].opr" & (field_expression "prVar1[2].opr" (subscript_expression "prVar1[2]" identifier [ number_literal ]) . field_identifier))) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(&prVar1[2].field_0x4 + iVar4) = 0;" (assignment_expression "*(undefined4 *)(&prVar1[2].field_0x4 + iVar4) = 0" (pointer_expression "*(undefined4 *)(&prVar1[2].field_0x4 + iVar4)" * (cast_expression "(undefined4 *)(&prVar1[2].field_0x4 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&prVar1[2].field_0x4 + iVar4)" ( (binary_expression "&prVar1[2].field_0x4 + iVar4" (pointer_expression "&prVar1[2].field_0x4" & (field_expression "prVar1[2].field_0x4" (subscript_expression "prVar1[2]" identifier [ number_literal ]) . field_identifier)) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&prVar1[4].opr + iVar4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&prVar1[4].opr + iVar4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&prVar1[4].opr + iVar4)" * (cast_expression "(undefined4 *)((int)&prVar1[4].opr + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&prVar1[4].opr + iVar4)" ( (binary_expression "(int)&prVar1[4].opr + iVar4" (cast_expression "(int)&prVar1[4].opr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&prVar1[4].opr" & (field_expression "prVar1[4].opr" (subscript_expression "prVar1[4]" identifier [ number_literal ]) . field_identifier))) + identifier) )))) = number_literal) ;) (if_statement "if (right != (bin_tree_t *)0x0) {\n    right->parent = pbVar2;\n  }" if (parenthesized_expression "(right != (bin_tree_t *)0x0)" ( (binary_expression "right != (bin_tree_t *)0x0" identifier != (cast_expression "(bin_tree_t *)0x0" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    right->parent = pbVar2;\n  }" { (expression_statement "right->parent = pbVar2;" (assignment_expression "right->parent = pbVar2" (field_expression "right->parent" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (token != (re_token_t *)0x0) {\n    (token->opr).sbcset = (re_bitset_ptr_t)pbVar2;\n  }" if (parenthesized_expression "(token != (re_token_t *)0x0)" ( (binary_expression "token != (re_token_t *)0x0" identifier != (cast_expression "(re_token_t *)0x0" ( (type_descriptor "re_token_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (token->opr).sbcset = (re_bitset_ptr_t)pbVar2;\n  }" { (expression_statement "(token->opr).sbcset = (re_bitset_ptr_t)pbVar2;" (assignment_expression "(token->opr).sbcset = (re_bitset_ptr_t)pbVar2" (field_expression "(token->opr).sbcset" (parenthesized_expression "(token->opr)" ( (field_expression "token->opr" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(re_bitset_ptr_t)pbVar2" ( (type_descriptor "re_bitset_ptr_t" type_identifier) ) identifier)) ;) })) (return_statement "return pbVar2;" return identifier ;) })))
(translation_unit "int FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}\n\n" (function_definition "int FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}" primitive_type (function_declarator "FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" if (parenthesized_expression "(iVar2 == 0x1f)" ( (binary_expression "iVar2 == 0x1f" identifier == number_literal) )) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }" { (expression_statement "piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" identifier = (cast_expression "(int *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_000afbe8)(0x3e4)" (parenthesized_expression "(*(code *)PTR_malloc_000afbe8)" ( (pointer_expression "*(code *)PTR_malloc_000afbe8" * (cast_expression "(code *)PTR_malloc_000afbe8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x3e4)" ( number_literal ))))) ;) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (if_statement "if (piVar1 == (int *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = (int)piVar1;" (assignment_expression "*param_1 = (int)piVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" * identifier) = identifier) ;) }) (else_clause "else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" else (compound_statement "{\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" { (expression_statement "iVar4 = iVar2 * 0x20;" (assignment_expression "iVar4 = iVar2 * 0x20" identifier = (binary_expression "iVar2 * 0x20" identifier * number_literal)) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar4 + 4;" (assignment_expression "iVar6 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) }))) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 4) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 4)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 4)" ( (binary_expression "(int)piVar1 + iVar4 + 4" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(int **)((int)piVar1 + iVar4 + 8) = param_3;" (assignment_expression "*(int **)((int)piVar1 + iVar4 + 8) = param_3" (pointer_expression "*(int **)((int)piVar1 + iVar4 + 8)" * (cast_expression "(int **)((int)piVar1 + iVar4 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar1 + iVar4 + 8)" ( (binary_expression "(int)piVar1 + iVar4 + 8" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = (int)piVar1 + iVar6;" (assignment_expression "iVar6 = (int)piVar1 + iVar6" identifier = (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "*(int **)((int)piVar1 + iVar4 + 0xc) = param_4;" (assignment_expression "*(int **)((int)piVar1 + iVar4 + 0xc) = param_4" (pointer_expression "*(int **)((int)piVar1 + iVar4 + 0xc)" * (cast_expression "(int **)((int)piVar1 + iVar4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0xc)" ( (binary_expression "(int)piVar1 + iVar4 + 0xc" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1]" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x1c)" ( (binary_expression "(int)piVar1 + iVar4 + 0x1c" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x18)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x18)" ( (binary_expression "(int)piVar1 + iVar4 + 0x18" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;" (assignment_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf" (pointer_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e)" * (cast_expression "(byte *)((int)piVar1 + iVar4 + 0x1e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x1e)" ( (binary_expression "(int)piVar1 + iVar4 + 0x1e" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf" (pointer_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e)" * (cast_expression "(byte *)((int)piVar1 + iVar4 + 0x1e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x1e)" ( (binary_expression "(int)piVar1 + iVar4 + 0x1e" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal)) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x10)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x10)" ( (binary_expression "(int)piVar1 + iVar4 + 0x10" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x14)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x14)" ( (binary_expression "(int)piVar1 + iVar4 + 0x14" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x20)" * (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + iVar4 + 0x20)" ( (binary_expression "(int)piVar1 + iVar4 + 0x20" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_3 = iVar6;\n  }" { (expression_statement "*param_3 = iVar6;" (assignment_expression "*param_3 = iVar6" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (if_statement "if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_4 = iVar6;\n  }" { (expression_statement "*param_4 = iVar6;" (assignment_expression "*param_4 = iVar6" (pointer_expression "*param_4" * identifier) = identifier) ;) })) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}" (primitive_type "int") (function_declarator "FUN_0007411c(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)" (identifier "FUN_0007411c") (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  \n  iVar2 = *param_2;\n  if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }\n  *param_2 = iVar2;\n  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;\n  *(int **)((int)piVar1 + iVar4 + 8) = param_3;\n  iVar6 = (int)piVar1 + iVar6;\n  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;\n  uVar5 = *param_5;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;\n  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;\n  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;\n  if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }\n  if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }\n  return iVar6;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar2 == 0x1f) {\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }\n  else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0x1f)" (( "(") (binary_expression "iVar2 == 0x1f" (identifier "iVar2") (== "==") (number_literal "0x1f")) () ")")) (compound_statement "{\n    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);\n    iVar6 = 4;\n    if (piVar1 == (int *)0x0) {\n      return 0;\n    }\n    iVar3 = *param_1;\n    iVar2 = 1;\n    iVar4 = 0;\n    *param_1 = (int)piVar1;\n    *piVar1 = iVar3;\n  }" ({ "{") (expression_statement "piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR_malloc_000afbe8)(0x3e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_malloc_000afbe8)(0x3e4)" (parenthesized_expression "(*(code *)PTR_malloc_000afbe8)" (( "(") (pointer_expression "*(code *)PTR_malloc_000afbe8" (* "*") (cast_expression "(code *)PTR_malloc_000afbe8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_000afbe8"))) () ")")) (argument_list "(0x3e4)" (( "(") (number_literal "0x3e4") () ")"))))) (; ";")) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" (identifier "iVar6") (= "=") (number_literal "4")) (; ";")) (if_statement "if (piVar1 == (int *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = (int)piVar1;" (assignment_expression "*param_1 = (int)piVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" (else "else") (compound_statement "{\n    iVar4 = iVar2 * 0x20;\n    piVar1 = (int *)*param_1;\n    iVar2 = iVar2 + 1;\n    iVar6 = iVar4 + 4;\n  }" ({ "{") (expression_statement "iVar4 = iVar2 * 0x20;" (assignment_expression "iVar4 = iVar2 * 0x20" (identifier "iVar4") (= "=") (binary_expression "iVar2 * 0x20" (identifier "iVar2") (* "*") (number_literal "0x20"))) (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = iVar4 + 4;" (assignment_expression "iVar6 = iVar4 + 4" (identifier "iVar6") (= "=") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4"))) (; ";")) (} "}")))) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 4) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 4)" (* "*") (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 4)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 4" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int **)((int)piVar1 + iVar4 + 8) = param_3;" (assignment_expression "*(int **)((int)piVar1 + iVar4 + 8) = param_3" (pointer_expression "*(int **)((int)piVar1 + iVar4 + 8)" (* "*") (cast_expression "(int **)((int)piVar1 + iVar4 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 8)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 8" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar6 = (int)piVar1 + iVar6;" (assignment_expression "iVar6 = (int)piVar1 + iVar6" (identifier "iVar6") (= "=") (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "*(int **)((int)piVar1 + iVar4 + 0xc) = param_4;" (assignment_expression "*(int **)((int)piVar1 + iVar4 + 0xc) = param_4" (pointer_expression "*(int **)((int)piVar1 + iVar4 + 0xc)" (* "*") (cast_expression "(int **)((int)piVar1 + iVar4 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0xc)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0xc" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" (identifier "uVar5") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1]" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x1c)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x1c" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x18)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x18" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;" (assignment_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf" (pointer_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e)" (* "*") (cast_expression "(byte *)((int)piVar1 + iVar4 + 0x1e)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x1e)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x1e" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x1e")) () ")")))) (= "=") (binary_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf" (pointer_expression "*(byte *)((int)piVar1 + iVar4 + 0x1e)" (* "*") (cast_expression "(byte *)((int)piVar1 + iVar4 + 0x1e)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x1e)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x1e" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x1e")) () ")")))) (& "&") (number_literal "0xcf"))) (; ";")) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x10)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x10" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x14)" (* "*") (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x14)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x14" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)piVar1 + iVar4 + 0x20)" (* "*") (cast_expression "(undefined4 *)((int)piVar1 + iVar4 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + iVar4 + 0x20)" (( "(") (binary_expression "(int)piVar1 + iVar4 + 0x20" (binary_expression "(int)piVar1 + iVar4" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (param_3 != (int *)0x0) {\n    *param_3 = iVar6;\n  }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_3 = iVar6;\n  }" ({ "{") (expression_statement "*param_3 = iVar6;" (assignment_expression "*param_3 = iVar6" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (if_statement "if (param_4 != (int *)0x0) {\n    *param_4 = iVar6;\n  }" (if "if") (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_4 = iVar6;\n  }" ({ "{") (expression_statement "*param_4 = iVar6;" (assignment_expression "*param_4 = iVar6" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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 (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) 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 (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (return_statement (identifier)))))

int MASKED(int *param_1,int *param_2,int *param_3,int *param_4,undefined4 *param_5)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  
  iVar2 = *param_2;
  if (iVar2 == 0x1f) {
    piVar1 = (int *)(*(code *)PTR_malloc_000afbe8)(0x3e4);
    iVar6 = 4;
    if (piVar1 == (int *)0x0) {
      return 0;
    }
    iVar3 = *param_1;
    iVar2 = 1;
    iVar4 = 0;
    *param_1 = (int)piVar1;
    *piVar1 = iVar3;
  }
  else {
    iVar4 = iVar2 * 0x20;
    piVar1 = (int *)*param_1;
    iVar2 = iVar2 + 1;
    iVar6 = iVar4 + 4;
  }
  *param_2 = iVar2;
  *(undefined4 *)((int)piVar1 + iVar4 + 4) = 0;
  *(int **)((int)piVar1 + iVar4 + 8) = param_3;
  iVar6 = (int)piVar1 + iVar6;
  *(int **)((int)piVar1 + iVar4 + 0xc) = param_4;
  uVar5 = *param_5;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x1c) = param_5[1];
  *(undefined4 *)((int)piVar1 + iVar4 + 0x18) = uVar5;
  *(byte *)((int)piVar1 + iVar4 + 0x1e) = *(byte *)((int)piVar1 + iVar4 + 0x1e) & 0xcf;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x10) = 0;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x14) = 0;
  *(undefined4 *)((int)piVar1 + iVar4 + 0x20) = 0xffffffff;
  if (param_3 != (int *)0x0) {
    *param_3 = iVar6;
  }
  if (param_4 != (int *)0x0) {
    *param_4 = iVar6;
  }
  return iVar6;
}

