
void conf_copy_into(Conf *newconf,Conf *oldconf)

{
  int iVar1;
  
  conf_clear(newconf);
  iVar1 = (*(code *)PTR_index234_000bc248)(oldconf->tree,0);
  if (iVar1 != 0) {
                    /* WARNING: Subroutine does not return */
    safemalloc(1,0xc);
  }
  return;
}



void conf_copy_into(undefined4 *param_1,undefined4 *param_2)

{
  undefined *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  
  FUN_0001c854();
  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;
  iVar5 = 0;
  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {
    piVar3 = (int *)safemalloc(1,0xc);
    iVar4 = *piVar2;
    *piVar3 = iVar4;
    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);
    if (iVar4 == 1) {
      piVar3[1] = piVar2[1];
    }
    else if (iVar4 == 2) {
      iVar4 = dupstr(piVar2[1]);
      piVar3[1] = iVar4;
    }
    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);
    if (iVar4 == 2) {
      iVar4 = dupstr(piVar2[2]);
      piVar3[2] = iVar4;
    }
    else if (iVar4 < 3) {
      if (iVar4 == 1) {
        piVar3[2] = piVar2[2];
      }
    }
    else if (iVar4 == 3) {
      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);
      piVar3[2] = iVar4;
    }
    else if (iVar4 == 4) {
      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);
      piVar3[2] = iVar4;
    }
    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);
    iVar5 = iVar5 + 1;
  }
  return;
}


lui gp,0xa
addiu gp,gp,0x76d4
addu gp,gp,t9
addiu sp,sp,-0x40
sw ra,0x3c(sp)
sw s7,0x38(sp)
sw s6,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s7,a0,zero
or s6,a1,zero
lw t9,-0x7fcc(gp)
addiu t9,t9,-0x37ac
bal 0x0001c854
_nop
lw gp,0x10(sp)
or s2,zero,zero
lw s5,-0x7fc8(gp)
addiu s5,s5,-0x676c
li s3,0x2
lw s4,-0x7fc8(gp)
b 0x0001cb40
_addiu s4,s4,-0x6a4c
lw v0,0x4(s0)
b 0x0001cba4
_sw v0,0x4(s1)
lw a0,0x4(s0)
bal 0x00021474
_nop
lw gp,0x10(sp)
b 0x0001cba4
_sw v0,0x4(s1)
li v1,0x1
bne v0,v1,0x0001cb28
_or a1,s1,zero
lw v0,0x8(s0)
sw v0,0x8(s1)
or a1,s1,zero
lw a0,0x0(s7)
lw t9,-0x7f18(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu s2,s2,0x1
or a1,s2,zero
lw a0,0x0(s6)
lw t9,-0x7f08(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0001cc24
_or s0,v0,zero
li a1,0xc
li a0,0x1
lw t9,-0x7f9c(gp)
bal 0x00021328
_nop
lw gp,0x10(sp)
or s1,v0,zero
lw v0,0x0(s0)
sw v0,0x0(s1)
sll v0,v0,0x2
addu v0,v0,s5
lw v0,0x0(v0)
li v1,0x1
beq v0,v1,0x0001caec
_nop
beq v0,s3,0x0001caf8
_lw t9,-0x7f74(gp)
lw v0,0x0(s0)
sll v0,v0,0x2
addu v0,v0,s4
lw v0,0x0(v0)
beq v0,s3,0x0001cbec
_slti v1,v0,0x3
bne v1,zero,0x0001cb10
_li v1,0x3
beq v0,v1,0x0001cc08
_li v1,0x4
bne v0,v1,0x0001cb24
_lw t9,-0x7f04(gp)
lw a0,0x8(s0)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0001cb24
_sw v0,0x8(s1)
lw a0,0x8(s0)
lw t9,-0x7f74(gp)
bal 0x00021474
_nop
lw gp,0x10(sp)
b 0x0001cb24
_sw v0,0x8(s1)
lw a0,0x8(s0)
lw t9,-0x7f00(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0001cb24
_sw v0,0x8(s1)
lw ra,0x3c(sp)
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "void conf_copy_into(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}\n\n" (function_definition "void conf_copy_into(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "conf_copy_into(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "FUN_0001c854();" (call_expression "FUN_0001c854()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;" (assignment_expression "puVar1 = PTR_s_Server_sent_command_exit_status___000bc188" identifier = identifier) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (while_statement "while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }" while (parenthesized_expression "(piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0)" ( (comma_expression "piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" (parenthesized_expression "(*(code *)PTR_index234_000bc248)" ( (pointer_expression "*(code *)PTR_index234_000bc248" * (cast_expression "(code *)PTR_index234_000bc248" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_2,iVar5)" ( (pointer_expression "*param_2" * identifier) , identifier ))))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }" { (expression_statement "piVar3 = (int *)safemalloc(1,0xc);" (assignment_expression "piVar3 = (int *)safemalloc(1,0xc)" identifier = (cast_expression "(int *)safemalloc(1,0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "*piVar3 = iVar4;" (assignment_expression "*piVar3 = iVar4" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);" (assignment_expression "iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c)" identifier = (pointer_expression "*(int *)(puVar1 + iVar4 * 4 + -0x676c)" * (cast_expression "(int *)(puVar1 + iVar4 * 4 + -0x676c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar4 * 4 + -0x676c)" ( (binary_expression "puVar1 + iVar4 * 4 + -0x676c" (binary_expression "puVar1 + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      piVar3[1] = piVar2[1];\n    }" { (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) }) (else_clause "else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" else (if_statement "if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" { (expression_statement "iVar4 = dupstr(piVar2[1]);" (assignment_expression "iVar4 = dupstr(piVar2[1])" identifier = (call_expression "dupstr(piVar2[1])" identifier (argument_list "(piVar2[1])" ( (subscript_expression "piVar2[1]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[1] = iVar4;" (assignment_expression "piVar3[1] = iVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) })))) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x6a4c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x6a4c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" { (expression_statement "iVar4 = dupstr(piVar2[2]);" (assignment_expression "iVar4 = dupstr(piVar2[2])" identifier = (call_expression "dupstr(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" else (if_statement "if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 < 3)" ( (binary_expression "iVar4 < 3" identifier < number_literal) )) (compound_statement "{\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }" { (if_statement "if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        piVar3[2] = piVar2[2];\n      }" { (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) })) }) (else_clause "else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" else (if_statement "if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_filename_copy_000bc250)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000bc250)" ( (pointer_expression "*(code *)PTR_filename_copy_000bc250" * (cast_expression "(code *)PTR_filename_copy_000bc250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" else (if_statement "if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000bc24c)" ( (pointer_expression "*(code *)PTR_fontspec_copy_000bc24c" * (cast_expression "(code *)PTR_fontspec_copy_000bc24c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) })))))))) (expression_statement "(*(code *)PTR_add234_000bc238)(*param_1,piVar3);" (call_expression "(*(code *)PTR_add234_000bc238)(*param_1,piVar3)" (parenthesized_expression "(*(code *)PTR_add234_000bc238)" ( (pointer_expression "*(code *)PTR_add234_000bc238" * (cast_expression "(code *)PTR_add234_000bc238" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,piVar3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void conf_copy_into(Conf *newconf,Conf *oldconf)\n\n{\n  int iVar1;\n  \n  conf_clear(newconf);\n  iVar1 = (*(code *)PTR_index234_000bc248)(oldconf->tree,0);\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(1,0xc);\n  }\n  return;\n}\n\n" (function_definition "void conf_copy_into(Conf *newconf,Conf *oldconf)\n\n{\n  int iVar1;\n  \n  conf_clear(newconf);\n  iVar1 = (*(code *)PTR_index234_000bc248)(oldconf->tree,0);\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(1,0xc);\n  }\n  return;\n}" primitive_type (function_declarator "conf_copy_into(Conf *newconf,Conf *oldconf)" identifier (parameter_list "(Conf *newconf,Conf *oldconf)" ( (parameter_declaration "Conf *newconf" type_identifier (pointer_declarator "*newconf" * identifier)) , (parameter_declaration "Conf *oldconf" type_identifier (pointer_declarator "*oldconf" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  conf_clear(newconf);\n  iVar1 = (*(code *)PTR_index234_000bc248)(oldconf->tree,0);\n  if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(1,0xc);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "conf_clear(newconf);" (call_expression "conf_clear(newconf)" identifier (argument_list "(newconf)" ( identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_index234_000bc248)(oldconf->tree,0);" (assignment_expression "iVar1 = (*(code *)PTR_index234_000bc248)(oldconf->tree,0)" identifier = (call_expression "(*(code *)PTR_index234_000bc248)(oldconf->tree,0)" (parenthesized_expression "(*(code *)PTR_index234_000bc248)" ( (pointer_expression "*(code *)PTR_index234_000bc248" * (cast_expression "(code *)PTR_index234_000bc248" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(oldconf->tree,0)" ( (field_expression "oldconf->tree" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(1,0xc);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    safemalloc(1,0xc);\n  }" { comment (expression_statement "safemalloc(1,0xc);" (call_expression "safemalloc(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void conf_copy_into(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}\n\n" (function_definition "void conf_copy_into(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "conf_copy_into(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "FUN_0001c854();" (call_expression "FUN_0001c854()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;" (assignment_expression "puVar1 = PTR_s_Server_sent_command_exit_status___000bc188" identifier = identifier) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (while_statement "while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }" while (parenthesized_expression "(piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0)" ( (comma_expression "piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" (parenthesized_expression "(*(code *)PTR_index234_000bc248)" ( (pointer_expression "*(code *)PTR_index234_000bc248" * (cast_expression "(code *)PTR_index234_000bc248" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_2,iVar5)" ( (pointer_expression "*param_2" * identifier) , identifier ))))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }" { (expression_statement "piVar3 = (int *)safemalloc(1,0xc);" (assignment_expression "piVar3 = (int *)safemalloc(1,0xc)" identifier = (cast_expression "(int *)safemalloc(1,0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "*piVar3 = iVar4;" (assignment_expression "*piVar3 = iVar4" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);" (assignment_expression "iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c)" identifier = (pointer_expression "*(int *)(puVar1 + iVar4 * 4 + -0x676c)" * (cast_expression "(int *)(puVar1 + iVar4 * 4 + -0x676c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + iVar4 * 4 + -0x676c)" ( (binary_expression "puVar1 + iVar4 * 4 + -0x676c" (binary_expression "puVar1 + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      piVar3[1] = piVar2[1];\n    }" { (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) }) (else_clause "else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" else (if_statement "if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" { (expression_statement "iVar4 = dupstr(piVar2[1]);" (assignment_expression "iVar4 = dupstr(piVar2[1])" identifier = (call_expression "dupstr(piVar2[1])" identifier (argument_list "(piVar2[1])" ( (subscript_expression "piVar2[1]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[1] = iVar4;" (assignment_expression "piVar3[1] = iVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) })))) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x6a4c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x6a4c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" { (expression_statement "iVar4 = dupstr(piVar2[2]);" (assignment_expression "iVar4 = dupstr(piVar2[2])" identifier = (call_expression "dupstr(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" else (if_statement "if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 < 3)" ( (binary_expression "iVar4 < 3" identifier < number_literal) )) (compound_statement "{\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }" { (if_statement "if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        piVar3[2] = piVar2[2];\n      }" { (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) })) }) (else_clause "else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" else (if_statement "if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_filename_copy_000bc250)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000bc250)" ( (pointer_expression "*(code *)PTR_filename_copy_000bc250" * (cast_expression "(code *)PTR_filename_copy_000bc250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" else (if_statement "if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000bc24c)" ( (pointer_expression "*(code *)PTR_fontspec_copy_000bc24c" * (cast_expression "(code *)PTR_fontspec_copy_000bc24c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) })))))))) (expression_statement "(*(code *)PTR_add234_000bc238)(*param_1,piVar3);" (call_expression "(*(code *)PTR_add234_000bc238)(*param_1,piVar3)" (parenthesized_expression "(*(code *)PTR_add234_000bc238)" ( (pointer_expression "*(code *)PTR_add234_000bc238" * (cast_expression "(code *)PTR_add234_000bc238" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,piVar3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (comma_expression (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 ( (pointer_expression * IDENT) , IDENT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })))))))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void conf_copy_into(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "conf_copy_into(undefined4 *param_1,undefined4 *param_2)" (identifier "conf_copy_into") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  \n  FUN_0001c854();\n  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;\n  iVar5 = 0;\n  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "FUN_0001c854();" (call_expression "FUN_0001c854()" (identifier "FUN_0001c854") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;" (assignment_expression "puVar1 = PTR_s_Server_sent_command_exit_status___000bc188" (identifier "puVar1") (= "=") (identifier "PTR_s_Server_sent_command_exit_status___000bc188")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (while_statement "while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }" (while "while") (parenthesized_expression "(piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0)" (( "(") (comma_expression "piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000bc248)(*param_2,iVar5)" (parenthesized_expression "(*(code *)PTR_index234_000bc248)" (( "(") (pointer_expression "*(code *)PTR_index234_000bc248" (* "*") (cast_expression "(code *)PTR_index234_000bc248" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000bc248"))) () ")")) (argument_list "(*param_2,iVar5)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar5") () ")"))))) (, ",") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *piVar2;\n    *piVar3 = iVar4;\n    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);\n    if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);\n    iVar5 = iVar5 + 1;\n  }" ({ "{") (expression_statement "piVar3 = (int *)safemalloc(1,0xc);" (assignment_expression "piVar3 = (int *)safemalloc(1,0xc)" (identifier "piVar3") (= "=") (cast_expression "(int *)safemalloc(1,0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "safemalloc(1,0xc)" (identifier "safemalloc") (argument_list "(1,0xc)" (( "(") (number_literal "1") (, ",") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" (identifier "iVar4") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "*piVar3 = iVar4;" (assignment_expression "*piVar3 = iVar4" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);" (assignment_expression "iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puVar1 + iVar4 * 4 + -0x676c)" (* "*") (cast_expression "(int *)(puVar1 + iVar4 * 4 + -0x676c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + iVar4 * 4 + -0x676c)" (( "(") (binary_expression "puVar1 + iVar4 * 4 + -0x676c" (binary_expression "puVar1 + iVar4 * 4" (identifier "puVar1") (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x676c")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n    }\n    else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      piVar3[1] = piVar2[1];\n    }" ({ "{") (expression_statement "piVar3[1] = piVar2[1];" (assignment_expression "piVar3[1] = piVar2[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" (else "else") (if_statement "if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      iVar4 = dupstr(piVar2[1]);\n      piVar3[1] = iVar4;\n    }" ({ "{") (expression_statement "iVar4 = dupstr(piVar2[1]);" (assignment_expression "iVar4 = dupstr(piVar2[1])" (identifier "iVar4") (= "=") (call_expression "dupstr(piVar2[1])" (identifier "dupstr") (argument_list "(piVar2[1])" (( "(") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "piVar3[1] = iVar4;" (assignment_expression "piVar3[1] = iVar4" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (} "}"))))) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" (* "*") (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x6a4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x6a4c)" (( "(") (binary_expression "puVar1 + *piVar2 * 4 + -0x6a4c" (binary_expression "puVar1 + *piVar2 * 4" (identifier "puVar1") (+ "+") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x6a4c")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 2) {\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" ({ "{") (expression_statement "iVar4 = dupstr(piVar2[2]);" (assignment_expression "iVar4 = dupstr(piVar2[2])" (identifier "iVar4") (= "=") (call_expression "dupstr(piVar2[2])" (identifier "dupstr") (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (else "else") (if_statement "if (iVar4 < 3) {\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }\n    else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 < 3)" (( "(") (binary_expression "iVar4 < 3" (identifier "iVar4") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n      if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }\n    }" ({ "{") (if_statement "if (iVar4 == 1) {\n        piVar3[2] = piVar2[2];\n      }" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        piVar3[2] = piVar2[2];\n      }" ({ "{") (expression_statement "piVar3[2] = piVar2[2];" (assignment_expression "piVar3[2] = piVar2[2]" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (else "else") (if_statement "if (iVar4 == 3) {\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }\n    else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 == 3)" (( "(") (binary_expression "iVar4 == 3" (identifier "iVar4") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2])" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_filename_copy_000bc250)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000bc250)" (( "(") (pointer_expression "*(code *)PTR_filename_copy_000bc250" (* "*") (cast_expression "(code *)PTR_filename_copy_000bc250" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_filename_copy_000bc250"))) () ")")) (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (else "else") (if_statement "if (iVar4 == 4) {\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 == 4)" (( "(") (binary_expression "iVar4 == 4" (identifier "iVar4") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);\n      piVar3[2] = iVar4;\n    }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2])" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000bc24c)" (( "(") (pointer_expression "*(code *)PTR_fontspec_copy_000bc24c" (* "*") (cast_expression "(code *)PTR_fontspec_copy_000bc24c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fontspec_copy_000bc24c"))) () ")")) (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (} "}"))))))))) (expression_statement "(*(code *)PTR_add234_000bc238)(*param_1,piVar3);" (call_expression "(*(code *)PTR_add234_000bc238)(*param_1,piVar3)" (parenthesized_expression "(*(code *)PTR_add234_000bc238)" (( "(") (pointer_expression "*(code *)PTR_add234_000bc238" (* "*") (cast_expression "(code *)PTR_add234_000bc238" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_add234_000bc238"))) () ")")) (argument_list "(*param_1,piVar3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (comma_expression left: (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 (pointer_expression argument: (identifier)) (identifier))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) body: (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: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (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: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (subscript_expression argument: (identifier) index: (number_literal))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  
  FUN_0001c854();
  puVar1 = PTR_s_Server_sent_command_exit_status___000bc188;
  iVar5 = 0;
  while (piVar2 = (int *)(*(code *)PTR_index234_000bc248)(*param_2,iVar5), piVar2 != (int *)0x0) {
    piVar3 = (int *)safemalloc(1,0xc);
    iVar4 = *piVar2;
    *piVar3 = iVar4;
    iVar4 = *(int *)(puVar1 + iVar4 * 4 + -0x676c);
    if (iVar4 == 1) {
      piVar3[1] = piVar2[1];
    }
    else if (iVar4 == 2) {
      iVar4 = dupstr(piVar2[1]);
      piVar3[1] = iVar4;
    }
    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x6a4c);
    if (iVar4 == 2) {
      iVar4 = dupstr(piVar2[2]);
      piVar3[2] = iVar4;
    }
    else if (iVar4 < 3) {
      if (iVar4 == 1) {
        piVar3[2] = piVar2[2];
      }
    }
    else if (iVar4 == 3) {
      iVar4 = (*(code *)PTR_filename_copy_000bc250)(piVar2[2]);
      piVar3[2] = iVar4;
    }
    else if (iVar4 == 4) {
      iVar4 = (*(code *)PTR_fontspec_copy_000bc24c)(piVar2[2]);
      piVar3[2] = iVar4;
    }
    (*(code *)PTR_add234_000bc238)(*param_1,piVar3);
    iVar5 = iVar5 + 1;
  }
  return;
}

