
reg_errcode_t re_node_set_init_copy(re_node_set *dest,re_node_set *src)

{
  int iVar1;
  Idx *pIVar2;
  reg_errcode_t rVar3;
  
  iVar1 = src->nelem;
  dest->nelem = iVar1;
  if (0 < iVar1) {
    dest->alloc = iVar1;
    pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);
    dest->elems = pIVar2;
    if (pIVar2 == (Idx *)0x0) {
      dest->nelem = 0;
      dest->alloc = 0;
      rVar3 = _REG_ESPACE;
    }
    else {
      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);
      rVar3 = _REG_NOERROR;
    }
    return rVar3;
  }
  *(undefined1 *)&dest->alloc = 0;
  *(undefined1 *)((int)&dest->alloc + 1) = 0;
  *(undefined1 *)((int)&dest->alloc + 2) = 0;
  *(undefined1 *)((int)&dest->alloc + 3) = 0;
  *(undefined1 *)&dest->nelem = 0;
  *(undefined1 *)((int)&dest->nelem + 1) = 0;
  *(undefined1 *)((int)&dest->nelem + 2) = 0;
  *(undefined1 *)((int)&dest->nelem + 3) = 0;
  *(undefined1 *)&dest->elems = 0;
  *(undefined1 *)((int)&dest->elems + 1) = 0;
  *(undefined1 *)((int)&dest->elems + 2) = 0;
  *(undefined1 *)((int)&dest->elems + 3) = 0;
  return _REG_NOERROR;
}



undefined4 FUN_0001c7ec(int *param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = *(int *)(param_2 + 4);
  param_1[1] = iVar1;
  if (0 < iVar1) {
    *param_1 = iVar1;
    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);
    param_1[2] = iVar1;
    if (iVar1 == 0) {
      param_1[1] = 0;
      *param_1 = 0;
      uVar2 = 0xc;
    }
    else {
      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);
      uVar2 = 0;
    }
    return uVar2;
  }
  *(undefined1 *)param_1 = 0;
  *(undefined1 *)((int)param_1 + 1) = 0;
  *(undefined1 *)((int)param_1 + 2) = 0;
  *(undefined1 *)((int)param_1 + 3) = 0;
  *(undefined1 *)(param_1 + 1) = 0;
  *(undefined1 *)((int)param_1 + 5) = 0;
  *(undefined1 *)((int)param_1 + 6) = 0;
  *(undefined1 *)((int)param_1 + 7) = 0;
  *(undefined1 *)(param_1 + 2) = 0;
  *(undefined1 *)((int)param_1 + 9) = 0;
  *(undefined1 *)((int)param_1 + 10) = 0;
  *(undefined1 *)((int)param_1 + 0xb) = 0;
  return 0;
}


lui gp,0x3
addiu gp,gp,-0x572c
addu gp,gp,t9
lw v0,0x4(a1)
blez v0,0x0001c888
_sw v0,0x4(a0)
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s1,a1,zero
or s0,a0,zero
sw v0,0x0(a0)
sll a0,v0,0x2
lw t9,-0x7e2c(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0001c878
_sw v0,0x8(s0)
lw a2,0x4(s1)
sll a2,a2,0x2
lw a1,0x8(s1)
or a0,v0,zero
lw t9,-0x7dc8(gp)
jalr t9
_nop
lw gp,0x10(sp)
or v0,zero,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
sw zero,0x4(s0)
sw zero,0x0(s0)
b 0x0001c864
_li v0,0xc
sb zero,0x0(a0)
sb zero,0x1(a0)
sb zero,0x2(a0)
sb zero,0x3(a0)
sb zero,0x4(a0)
sb zero,0x5(a0)
sb zero,0x6(a0)
sb zero,0x7(a0)
sb zero,0x8(a0)
sb zero,0x9(a0)
sb zero,0xa(a0)
sb zero,0xb(a0)
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_0001c7ec(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001c7ec(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}" type_identifier (function_declarator "FUN_0001c7ec(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" { (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2)" identifier = (call_expression "(*(code *)PTR_malloc_0003f294)(iVar1 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_0003f294)" ( (pointer_expression "*(code *)PTR_malloc_0003f294" * (cast_expression "(code *)PTR_malloc_0003f294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 << 2)" ( (binary_expression "iVar1 << 2" identifier << number_literal) )))) ;) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xc;" (assignment_expression "uVar2 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" else (compound_statement "{\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" { (expression_statement "(*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);" (call_expression "(*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_0003f2f8)" ( (pointer_expression "*(code *)PTR_memcpy_0003f2f8" * (cast_expression "(code *)PTR_memcpy_0003f2f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2)" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , (binary_expression "*(int *)(param_2 + 4) << 2" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) << number_literal) ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "*(undefined1 *)param_1 = 0;" (assignment_expression "*(undefined1 *)param_1 = 0" (pointer_expression "*(undefined1 *)param_1" * (cast_expression "(undefined1 *)param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 2) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 2)" * (cast_expression "(undefined1 *)((int)param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 3) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 3) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 3)" * (cast_expression "(undefined1 *)((int)param_1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 3)" ( (binary_expression "(int)param_1 + 3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 5) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 5)" * (cast_expression "(undefined1 *)((int)param_1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 5)" ( (binary_expression "(int)param_1 + 5" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" * (cast_expression "(undefined1 *)((int)param_1 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 7) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 7)" * (cast_expression "(undefined1 *)((int)param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 7)" ( (binary_expression "(int)param_1 + 7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 9) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 9)" * (cast_expression "(undefined1 *)((int)param_1 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 9)" ( (binary_expression "(int)param_1 + 9" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0xb)" * (cast_expression "(undefined1 *)((int)param_1 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xb)" ( (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "reg_errcode_t re_node_set_init_copy(re_node_set *dest,re_node_set *src)\n\n{\n  int iVar1;\n  Idx *pIVar2;\n  reg_errcode_t rVar3;\n  \n  iVar1 = src->nelem;\n  dest->nelem = iVar1;\n  if (0 < iVar1) {\n    dest->alloc = iVar1;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }\n    return rVar3;\n  }\n  *(undefined1 *)&dest->alloc = 0;\n  *(undefined1 *)((int)&dest->alloc + 1) = 0;\n  *(undefined1 *)((int)&dest->alloc + 2) = 0;\n  *(undefined1 *)((int)&dest->alloc + 3) = 0;\n  *(undefined1 *)&dest->nelem = 0;\n  *(undefined1 *)((int)&dest->nelem + 1) = 0;\n  *(undefined1 *)((int)&dest->nelem + 2) = 0;\n  *(undefined1 *)((int)&dest->nelem + 3) = 0;\n  *(undefined1 *)&dest->elems = 0;\n  *(undefined1 *)((int)&dest->elems + 1) = 0;\n  *(undefined1 *)((int)&dest->elems + 2) = 0;\n  *(undefined1 *)((int)&dest->elems + 3) = 0;\n  return _REG_NOERROR;\n}\n\n" (function_definition "reg_errcode_t re_node_set_init_copy(re_node_set *dest,re_node_set *src)\n\n{\n  int iVar1;\n  Idx *pIVar2;\n  reg_errcode_t rVar3;\n  \n  iVar1 = src->nelem;\n  dest->nelem = iVar1;\n  if (0 < iVar1) {\n    dest->alloc = iVar1;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }\n    return rVar3;\n  }\n  *(undefined1 *)&dest->alloc = 0;\n  *(undefined1 *)((int)&dest->alloc + 1) = 0;\n  *(undefined1 *)((int)&dest->alloc + 2) = 0;\n  *(undefined1 *)((int)&dest->alloc + 3) = 0;\n  *(undefined1 *)&dest->nelem = 0;\n  *(undefined1 *)((int)&dest->nelem + 1) = 0;\n  *(undefined1 *)((int)&dest->nelem + 2) = 0;\n  *(undefined1 *)((int)&dest->nelem + 3) = 0;\n  *(undefined1 *)&dest->elems = 0;\n  *(undefined1 *)((int)&dest->elems + 1) = 0;\n  *(undefined1 *)((int)&dest->elems + 2) = 0;\n  *(undefined1 *)((int)&dest->elems + 3) = 0;\n  return _REG_NOERROR;\n}" type_identifier (function_declarator "re_node_set_init_copy(re_node_set *dest,re_node_set *src)" identifier (parameter_list "(re_node_set *dest,re_node_set *src)" ( (parameter_declaration "re_node_set *dest" type_identifier (pointer_declarator "*dest" * identifier)) , (parameter_declaration "re_node_set *src" type_identifier (pointer_declarator "*src" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  Idx *pIVar2;\n  reg_errcode_t rVar3;\n  \n  iVar1 = src->nelem;\n  dest->nelem = iVar1;\n  if (0 < iVar1) {\n    dest->alloc = iVar1;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }\n    return rVar3;\n  }\n  *(undefined1 *)&dest->alloc = 0;\n  *(undefined1 *)((int)&dest->alloc + 1) = 0;\n  *(undefined1 *)((int)&dest->alloc + 2) = 0;\n  *(undefined1 *)((int)&dest->alloc + 3) = 0;\n  *(undefined1 *)&dest->nelem = 0;\n  *(undefined1 *)((int)&dest->nelem + 1) = 0;\n  *(undefined1 *)((int)&dest->nelem + 2) = 0;\n  *(undefined1 *)((int)&dest->nelem + 3) = 0;\n  *(undefined1 *)&dest->elems = 0;\n  *(undefined1 *)((int)&dest->elems + 1) = 0;\n  *(undefined1 *)((int)&dest->elems + 2) = 0;\n  *(undefined1 *)((int)&dest->elems + 3) = 0;\n  return _REG_NOERROR;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Idx *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "reg_errcode_t rVar3;" type_identifier identifier ;) (expression_statement "iVar1 = src->nelem;" (assignment_expression "iVar1 = src->nelem" identifier = (field_expression "src->nelem" identifier -> field_identifier)) ;) (expression_statement "dest->nelem = iVar1;" (assignment_expression "dest->nelem = iVar1" (field_expression "dest->nelem" identifier -> field_identifier) = identifier) ;) (if_statement "if (0 < iVar1) {\n    dest->alloc = iVar1;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }\n    return rVar3;\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    dest->alloc = iVar1;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }\n    return rVar3;\n  }" { (expression_statement "dest->alloc = iVar1;" (assignment_expression "dest->alloc = iVar1" (field_expression "dest->alloc" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2);" (assignment_expression "pIVar2 = (Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2)" identifier = (cast_expression "(Idx *)(*(code *)PTR_malloc_0003f294)(iVar1 << 2)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_0003f294)(iVar1 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_0003f294)" ( (pointer_expression "*(code *)PTR_malloc_0003f294" * (cast_expression "(code *)PTR_malloc_0003f294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 << 2)" ( (binary_expression "iVar1 << 2" identifier << number_literal) ))))) ;) (expression_statement "dest->elems = pIVar2;" (assignment_expression "dest->elems = pIVar2" (field_expression "dest->elems" identifier -> field_identifier) = identifier) ;) (if_statement "if (pIVar2 == (Idx *)0x0) {\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }" if (parenthesized_expression "(pIVar2 == (Idx *)0x0)" ( (binary_expression "pIVar2 == (Idx *)0x0" identifier == (cast_expression "(Idx *)0x0" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      dest->nelem = 0;\n      dest->alloc = 0;\n      rVar3 = _REG_ESPACE;\n    }" { (expression_statement "dest->nelem = 0;" (assignment_expression "dest->nelem = 0" (field_expression "dest->nelem" identifier -> field_identifier) = number_literal) ;) (expression_statement "dest->alloc = 0;" (assignment_expression "dest->alloc = 0" (field_expression "dest->alloc" identifier -> field_identifier) = number_literal) ;) (expression_statement "rVar3 = _REG_ESPACE;" (assignment_expression "rVar3 = _REG_ESPACE" identifier = identifier) ;) }) (else_clause "else {\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }" else (compound_statement "{\n      (*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);\n      rVar3 = _REG_NOERROR;\n    }" { (expression_statement "(*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2);" (call_expression "(*(code *)PTR_memcpy_0003f2f8)(pIVar2,src->elems,src->nelem << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_0003f2f8)" ( (pointer_expression "*(code *)PTR_memcpy_0003f2f8" * (cast_expression "(code *)PTR_memcpy_0003f2f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar2,src->elems,src->nelem << 2)" ( identifier , (field_expression "src->elems" identifier -> field_identifier) , (binary_expression "src->nelem << 2" (field_expression "src->nelem" identifier -> field_identifier) << number_literal) ))) ;) (expression_statement "rVar3 = _REG_NOERROR;" (assignment_expression "rVar3 = _REG_NOERROR" identifier = identifier) ;) }))) (return_statement "return rVar3;" return identifier ;) })) (expression_statement "*(undefined1 *)&dest->alloc = 0;" (assignment_expression "*(undefined1 *)&dest->alloc = 0" (pointer_expression "*(undefined1 *)&dest->alloc" * (cast_expression "(undefined1 *)&dest->alloc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->alloc + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->alloc + 1) = 0" (pointer_expression "*(undefined1 *)((int)&dest->alloc + 1)" * (cast_expression "(undefined1 *)((int)&dest->alloc + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->alloc + 1)" ( (binary_expression "(int)&dest->alloc + 1" (cast_expression "(int)&dest->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->alloc + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->alloc + 2) = 0" (pointer_expression "*(undefined1 *)((int)&dest->alloc + 2)" * (cast_expression "(undefined1 *)((int)&dest->alloc + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->alloc + 2)" ( (binary_expression "(int)&dest->alloc + 2" (cast_expression "(int)&dest->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->alloc + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->alloc + 3) = 0" (pointer_expression "*(undefined1 *)((int)&dest->alloc + 3)" * (cast_expression "(undefined1 *)((int)&dest->alloc + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->alloc + 3)" ( (binary_expression "(int)&dest->alloc + 3" (cast_expression "(int)&dest->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)&dest->nelem = 0;" (assignment_expression "*(undefined1 *)&dest->nelem = 0" (pointer_expression "*(undefined1 *)&dest->nelem" * (cast_expression "(undefined1 *)&dest->nelem" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->nelem + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->nelem + 1) = 0" (pointer_expression "*(undefined1 *)((int)&dest->nelem + 1)" * (cast_expression "(undefined1 *)((int)&dest->nelem + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->nelem + 1)" ( (binary_expression "(int)&dest->nelem + 1" (cast_expression "(int)&dest->nelem" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->nelem + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->nelem + 2) = 0" (pointer_expression "*(undefined1 *)((int)&dest->nelem + 2)" * (cast_expression "(undefined1 *)((int)&dest->nelem + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->nelem + 2)" ( (binary_expression "(int)&dest->nelem + 2" (cast_expression "(int)&dest->nelem" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->nelem + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->nelem + 3) = 0" (pointer_expression "*(undefined1 *)((int)&dest->nelem + 3)" * (cast_expression "(undefined1 *)((int)&dest->nelem + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->nelem + 3)" ( (binary_expression "(int)&dest->nelem + 3" (cast_expression "(int)&dest->nelem" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)&dest->elems = 0;" (assignment_expression "*(undefined1 *)&dest->elems = 0" (pointer_expression "*(undefined1 *)&dest->elems" * (cast_expression "(undefined1 *)&dest->elems" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->elems + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->elems + 1) = 0" (pointer_expression "*(undefined1 *)((int)&dest->elems + 1)" * (cast_expression "(undefined1 *)((int)&dest->elems + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->elems + 1)" ( (binary_expression "(int)&dest->elems + 1" (cast_expression "(int)&dest->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->elems + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->elems + 2) = 0" (pointer_expression "*(undefined1 *)((int)&dest->elems + 2)" * (cast_expression "(undefined1 *)((int)&dest->elems + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->elems + 2)" ( (binary_expression "(int)&dest->elems + 2" (cast_expression "(int)&dest->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->elems + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->elems + 3) = 0" (pointer_expression "*(undefined1 *)((int)&dest->elems + 3)" * (cast_expression "(undefined1 *)((int)&dest->elems + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->elems + 3)" ( (binary_expression "(int)&dest->elems + 3" (cast_expression "(int)&dest->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (return_statement "return _REG_NOERROR;" return identifier ;) })))
(translation_unit "undefined4 FUN_0001c7ec(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001c7ec(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}" type_identifier (function_declarator "FUN_0001c7ec(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" { (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2)" identifier = (call_expression "(*(code *)PTR_malloc_0003f294)(iVar1 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_0003f294)" ( (pointer_expression "*(code *)PTR_malloc_0003f294" * (cast_expression "(code *)PTR_malloc_0003f294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 << 2)" ( (binary_expression "iVar1 << 2" identifier << number_literal) )))) ;) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xc;" (assignment_expression "uVar2 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" else (compound_statement "{\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" { (expression_statement "(*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);" (call_expression "(*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_0003f2f8)" ( (pointer_expression "*(code *)PTR_memcpy_0003f2f8" * (cast_expression "(code *)PTR_memcpy_0003f2f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2)" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , (binary_expression "*(int *)(param_2 + 4) << 2" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) << number_literal) ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "*(undefined1 *)param_1 = 0;" (assignment_expression "*(undefined1 *)param_1 = 0" (pointer_expression "*(undefined1 *)param_1" * (cast_expression "(undefined1 *)param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 2) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 2)" * (cast_expression "(undefined1 *)((int)param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 3) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 3) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 3)" * (cast_expression "(undefined1 *)((int)param_1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 3)" ( (binary_expression "(int)param_1 + 3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 5) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 5)" * (cast_expression "(undefined1 *)((int)param_1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 5)" ( (binary_expression "(int)param_1 + 5" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" * (cast_expression "(undefined1 *)((int)param_1 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 7) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 7)" * (cast_expression "(undefined1 *)((int)param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 7)" ( (binary_expression "(int)param_1 + 7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 9) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 9)" * (cast_expression "(undefined1 *)((int)param_1 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 9)" ( (binary_expression "(int)param_1 + 9" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0xb)" * (cast_expression "(undefined1 *)((int)param_1 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xb)" ( (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT << LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001c7ec(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001c7ec(int *param_1,int param_2)" (identifier "FUN_0001c7ec") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  param_1[1] = iVar1;\n  if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  *(undefined1 *)param_1 = 0;\n  *(undefined1 *)((int)param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 3) = 0;\n  *(undefined1 *)(param_1 + 1) = 0;\n  *(undefined1 *)((int)param_1 + 5) = 0;\n  *(undefined1 *)((int)param_1 + 6) = 0;\n  *(undefined1 *)((int)param_1 + 7) = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *(undefined1 *)((int)param_1 + 9) = 0;\n  *(undefined1 *)((int)param_1 + 10) = 0;\n  *(undefined1 *)((int)param_1 + 0xb) = 0;\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (0 < iVar1) {\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    *param_1 = iVar1;\n    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);\n    param_1[2] = iVar1;\n    if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" ({ "{") (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_malloc_0003f294)(iVar1 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_0003f294)" (( "(") (pointer_expression "*(code *)PTR_malloc_0003f294" (* "*") (cast_expression "(code *)PTR_malloc_0003f294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_0003f294"))) () ")")) (argument_list "(iVar1 << 2)" (( "(") (binary_expression "iVar1 << 2" (identifier "iVar1") (<< "<<") (number_literal "2")) () ")")))) (; ";")) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar1 == 0) {\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }\n    else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[1] = 0;\n      *param_1 = 0;\n      uVar2 = 0xc;\n    }" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = 0xc;" (assignment_expression "uVar2 = 0xc" (identifier "uVar2") (= "=") (number_literal "0xc")) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "(*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);" (call_expression "(*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_0003f2f8)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0003f2f8" (* "*") (cast_expression "(code *)PTR_memcpy_0003f2f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0003f2f8"))) () ")")) (argument_list "(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2)" (( "(") (identifier "iVar1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (binary_expression "*(int *)(param_2 + 4) << 2" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "2")) () ")"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "*(undefined1 *)param_1 = 0;" (assignment_expression "*(undefined1 *)param_1 = 0" (pointer_expression "*(undefined1 *)param_1" (* "*") (cast_expression "(undefined1 *)param_1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 2) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 2)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 2)" (( "(") (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 3) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 3) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 3)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 3)" (( "(") (binary_expression "(int)param_1 + 3" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 5) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 5)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 5)" (( "(") (binary_expression "(int)param_1 + 5" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 6)" (( "(") (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 7) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 7)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 7)" (( "(") (binary_expression "(int)param_1 + 7" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" (* "*") (cast_expression "(undefined1 *)(param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 9) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 9)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 9)" (( "(") (binary_expression "(int)param_1 + 9" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 10)" (( "(") (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0xb)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0xb)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xb)" (( "(") (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xb")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = *(int *)(param_2 + 4);
  param_1[1] = iVar1;
  if (0 < iVar1) {
    *param_1 = iVar1;
    iVar1 = (*(code *)PTR_malloc_0003f294)(iVar1 << 2);
    param_1[2] = iVar1;
    if (iVar1 == 0) {
      param_1[1] = 0;
      *param_1 = 0;
      uVar2 = 0xc;
    }
    else {
      (*(code *)PTR_memcpy_0003f2f8)(iVar1,*(undefined4 *)(param_2 + 8),*(int *)(param_2 + 4) << 2);
      uVar2 = 0;
    }
    return uVar2;
  }
  *(undefined1 *)param_1 = 0;
  *(undefined1 *)((int)param_1 + 1) = 0;
  *(undefined1 *)((int)param_1 + 2) = 0;
  *(undefined1 *)((int)param_1 + 3) = 0;
  *(undefined1 *)(param_1 + 1) = 0;
  *(undefined1 *)((int)param_1 + 5) = 0;
  *(undefined1 *)((int)param_1 + 6) = 0;
  *(undefined1 *)((int)param_1 + 7) = 0;
  *(undefined1 *)(param_1 + 2) = 0;
  *(undefined1 *)((int)param_1 + 9) = 0;
  *(undefined1 *)((int)param_1 + 10) = 0;
  *(undefined1 *)((int)param_1 + 0xb) = 0;
  return 0;
}

