
void conf_copy_into(Conf *newconf,Conf *oldconf)

{
  undefined *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  char *pcVar5;
  int iVar6;
  code *pcVar7;
  
  iVar6 = 0;
  conf_clear(newconf);
  puVar1 = PTR_s_Present_000b0188;
  do {
    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);
    if (piVar2 == (int *)0x0) {
      return;
    }
    piVar3 = (int *)safemalloc(1,0xc);
    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);
    *piVar3 = *piVar2;
    if (iVar4 == 1) {
      piVar3[1] = piVar2[1];
      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);
      if (iVar4 != 2) goto LAB_0001bba8;
LAB_0001bc0c:
      pcVar5 = dupstr((char *)piVar2[2]);
      piVar3[2] = (int)pcVar5;
      pcVar7 = (code *)PTR_add234_000b0294;
    }
    else {
      if (iVar4 == 2) {
        pcVar5 = dupstr((char *)piVar2[1]);
        piVar3[1] = (int)pcVar5;
      }
      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);
      if (iVar4 == 2) goto LAB_0001bc0c;
LAB_0001bba8:
      pcVar7 = (code *)PTR_add234_000b0294;
      if (iVar4 < 3) {
        if (iVar4 == 1) {
          piVar3[2] = piVar2[2];
        }
      }
      else if (iVar4 == 3) {
        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);
        piVar3[2] = iVar4;
        pcVar7 = (code *)PTR_add234_000b0294;
      }
      else if (iVar4 == 4) {
        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);
        piVar3[2] = iVar4;
        pcVar7 = (code *)PTR_add234_000b0294;
      }
    }
    iVar6 = iVar6 + 1;
    (*pcVar7)(newconf->tree,piVar3);
  } while( true );
}



void conf_copy_into(undefined4 *param_1,undefined4 *param_2)

{
  undefined *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  
  iVar5 = 0;
  FUN_0001b8a8();
  puVar1 = PTR_s_Present_000b0188;
  do {
    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);
    if (piVar2 == (int *)0x0) {
      return;
    }
    piVar3 = (int *)safemalloc(1,0xc);
    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);
    *piVar3 = *piVar2;
    if (iVar4 == 1) {
      piVar3[1] = piVar2[1];
      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);
      if (iVar4 != 2) goto LAB_0001bba8;
LAB_0001bc0c:
      iVar4 = dupstr(piVar2[2]);
      piVar3[2] = iVar4;
      pcVar6 = (code *)PTR_add234_000b0294;
    }
    else {
      if (iVar4 == 2) {
        iVar4 = dupstr(piVar2[1]);
        piVar3[1] = iVar4;
      }
      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);
      if (iVar4 == 2) goto LAB_0001bc0c;
LAB_0001bba8:
      pcVar6 = (code *)PTR_add234_000b0294;
      if (iVar4 < 3) {
        if (iVar4 == 1) {
          piVar3[2] = piVar2[2];
        }
      }
      else if (iVar4 == 3) {
        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);
        piVar3[2] = iVar4;
        pcVar6 = (code *)PTR_add234_000b0294;
      }
      else if (iVar4 == 4) {
        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);
        piVar3[2] = iVar4;
        pcVar6 = (code *)PTR_add234_000b0294;
      }
    }
    iVar5 = iVar5 + 1;
    (*pcVar6)(*param_1,piVar3);
  } while( true );
}


lui gp,0xa
addiu gp,gp,-0x3938
addu gp,gp,t9
lw t9,-0x7fcc(gp)
addiu sp,sp,-0x40
addiu t9,t9,-0x4758
sw gp,0x10(sp)
sw s5,0x30(sp)
or s5,a0,zero
sw s4,0x2c(sp)
or s4,a1,zero
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
li s1,0x2
sw s0,0x1c(sp)
or s0,zero,zero
sw ra,0x3c(sp)
sw s7,0x38(sp)
bal 0x0001b8a8
_sw s6,0x34(sp)
lw gp,0x10(sp)
lw s3,-0x7fc8(gp)
lw s2,-0x7fc8(gp)
addiu s3,s3,-0x223c
b 0x0001bb24
_addiu s2,s2,-0x251c
bne v0,v1,0x0001bb0c
_lw t9,-0x7eac(gp)
jalr t9
_lw a0,0x8(s6)
lw gp,0x10(sp)
sw v0,0x8(s7)
lw t9,-0x7ebc(gp)
or a1,s7,zero
lw a0,0x0(s5)
jalr t9
_addiu s0,s0,0x1
lw gp,0x10(sp)
lw t9,-0x7ea8(gp)
or a1,s0,zero
jalr t9
_lw a0,0x0(s4)
lw gp,0x10(sp)
beq v0,zero,0x0001bc20
_or s6,v0,zero
lw t9,-0x7f68(gp)
li a0,0x1
bal 0x00020374
_li a1,0xc
li a0,0x1
lw v1,0x0(s6)
or s7,v0,zero
lw gp,0x10(sp)
sll v0,v1,0x2
addu v0,v0,s3
lw v0,0x0(v0)
beq v0,a0,0x0001bbe8
_sw v1,0x0(s7)
bne v0,s1,0x0001bb8c
_lw t9,-0x7f60(gp)
bal 0x000204bc
_lw a0,0x4(s6)
lw gp,0x10(sp)
sw v0,0x4(s7)
lw v0,0x0(s6)
sll v0,v0,0x2
addu v0,v0,s2
lw v0,0x0(v0)
beq v0,s1,0x0001bc0c
_lw t9,-0x7f60(gp)
slti v1,v0,0x3
bne v1,zero,0x0001bbd0
_li v1,0x3
bne v0,v1,0x0001baf4
_li v1,0x4
lw t9,-0x7ea4(gp)
jalr t9
_lw a0,0x8(s6)
lw gp,0x10(sp)
b 0x0001bb0c
_sw v0,0x8(s7)
li v1,0x1
bne v0,v1,0x0001bb10
_lw t9,-0x7ebc(gp)
lw v0,0x8(s6)
b 0x0001bb10
_sw v0,0x8(s7)
lw v0,0x4(s6)
sw v0,0x4(s7)
lw v0,0x0(s6)
sll v0,v0,0x2
addu v0,v0,s2
lw v0,0x0(v0)
bne v0,s1,0x0001bba8
_slti v1,v0,0x3
lw t9,-0x7f60(gp)
bal 0x000204bc
_lw a0,0x8(s6)
lw gp,0x10(sp)
b 0x0001bb0c
_sw v0,0x8(s7)
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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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 ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "FUN_0001b8a8();" (call_expression "FUN_0001b8a8()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_s_Present_000b0188;" (assignment_expression "puVar1 = PTR_s_Present_000b0188" identifier = identifier) ;) (do_statement "do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );" do (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" (parenthesized_expression "(*(code *)PTR_index234_000b02a8)" ( (pointer_expression "*(code *)PTR_index234_000b02a8" * (cast_expression "(code *)PTR_index234_000b02a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_2,iVar5)" ( (pointer_expression "*param_2" * identifier) , identifier ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (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 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x223c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x223c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x223c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x223c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (expression_statement "*piVar3 = *piVar2;" (assignment_expression "*piVar3 = *piVar2" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\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 ])) ;) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 != 2) goto LAB_0001bba8;" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (goto_statement "goto LAB_0001bba8;" goto statement_identifier ;)) (labeled_statement "LAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);" statement_identifier : (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) ;) (expression_statement "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" else (compound_statement "{\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" { (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 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) goto LAB_0001bc0c;" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (goto_statement "goto LAB_0001bc0c;" goto statement_identifier ;)) (labeled_statement "LAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;" statement_identifier : (expression_statement "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" else (if_statement "if (iVar4 == 3) {\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" { (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000b02ac)" ( (pointer_expression "*(code *)PTR_filename_copy_000b02ac" * (cast_expression "(code *)PTR_filename_copy_000b02ac" ( (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 "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" else (if_statement "if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" { (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000b02a4)" ( (pointer_expression "*(code *)PTR_fontspec_copy_000b02a4" * (cast_expression "(code *)PTR_fontspec_copy_000b02a4" ( (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 "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })))))) }))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar6)(*param_1,piVar3);" (call_expression "(*pcVar6)(*param_1,piVar3)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(*param_1,piVar3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void conf_copy_into(Conf *newconf,Conf *oldconf)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  code *pcVar7;\n  \n  iVar6 = 0;\n  conf_clear(newconf);\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar6 = iVar6 + 1;\n    (*pcVar7)(newconf->tree,piVar3);\n  } while( true );\n}\n\n" (function_definition "void conf_copy_into(Conf *newconf,Conf *oldconf)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  code *pcVar7;\n  \n  iVar6 = 0;\n  conf_clear(newconf);\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar6 = iVar6 + 1;\n    (*pcVar7)(newconf->tree,piVar3);\n  } while( true );\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  undefined *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  code *pcVar7;\n  \n  iVar6 = 0;\n  conf_clear(newconf);\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar6 = iVar6 + 1;\n    (*pcVar7)(newconf->tree,piVar3);\n  } while( true );\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 "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "conf_clear(newconf);" (call_expression "conf_clear(newconf)" identifier (argument_list "(newconf)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_s_Present_000b0188;" (assignment_expression "puVar1 = PTR_s_Present_000b0188" identifier = identifier) ;) (do_statement "do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar6 = iVar6 + 1;\n    (*pcVar7)(newconf->tree,piVar3);\n  } while( true );" do (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar6 = iVar6 + 1;\n    (*pcVar7)(newconf->tree,piVar3);\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000b02a8)(oldconf->tree,iVar6)" (parenthesized_expression "(*(code *)PTR_index234_000b02a8)" ( (pointer_expression "*(code *)PTR_index234_000b02a8" * (cast_expression "(code *)PTR_index234_000b02a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(oldconf->tree,iVar6)" ( (field_expression "oldconf->tree" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (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 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x223c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x223c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x223c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x223c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (expression_statement "*piVar3 = *piVar2;" (assignment_expression "*piVar3 = *piVar2" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);\n      piVar3[2] = (int)pcVar5;\n      pcVar7 = (code *)PTR_add234_000b0294;\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 ])) ;) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 != 2) goto LAB_0001bba8;" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (goto_statement "goto LAB_0001bba8;" goto statement_identifier ;)) (labeled_statement "LAB_0001bc0c:\n      pcVar5 = dupstr((char *)piVar2[2]);" statement_identifier : (expression_statement "pcVar5 = dupstr((char *)piVar2[2]);" (assignment_expression "pcVar5 = dupstr((char *)piVar2[2])" identifier = (call_expression "dupstr((char *)piVar2[2])" identifier (argument_list "((char *)piVar2[2])" ( (cast_expression "(char *)piVar2[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ])) )))) ;)) (expression_statement "piVar3[2] = (int)pcVar5;" (assignment_expression "piVar3[2] = (int)pcVar5" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar7 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar7 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }" else (compound_statement "{\n      if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n    }" { (if_statement "if (iVar4 == 2) {\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n        pcVar5 = dupstr((char *)piVar2[1]);\n        piVar3[1] = (int)pcVar5;\n      }" { (expression_statement "pcVar5 = dupstr((char *)piVar2[1]);" (assignment_expression "pcVar5 = dupstr((char *)piVar2[1])" identifier = (call_expression "dupstr((char *)piVar2[1])" identifier (argument_list "((char *)piVar2[1])" ( (cast_expression "(char *)piVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) )))) ;) (expression_statement "piVar3[1] = (int)pcVar5;" (assignment_expression "piVar3[1] = (int)pcVar5" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) goto LAB_0001bc0c;" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (goto_statement "goto LAB_0001bc0c;" goto statement_identifier ;)) (labeled_statement "LAB_0001bba8:\n      pcVar7 = (code *)PTR_add234_000b0294;" statement_identifier : (expression_statement "pcVar7 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar7 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }" else (if_statement "if (iVar4 == 3) {\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }" { (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000b02ac)" ( (pointer_expression "*(code *)PTR_filename_copy_000b02ac" * (cast_expression "(code *)PTR_filename_copy_000b02ac" ( (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 "pcVar7 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar7 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }" else (if_statement "if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar7 = (code *)PTR_add234_000b0294;\n      }" { (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000b02a4)" ( (pointer_expression "*(code *)PTR_fontspec_copy_000b02a4" * (cast_expression "(code *)PTR_fontspec_copy_000b02a4" ( (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 "pcVar7 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar7 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })))))) }))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar7)(newconf->tree,piVar3);" (call_expression "(*pcVar7)(newconf->tree,piVar3)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(newconf->tree,piVar3)" ( (field_expression "newconf->tree" identifier -> field_identifier) , identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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 ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "FUN_0001b8a8();" (call_expression "FUN_0001b8a8()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_s_Present_000b0188;" (assignment_expression "puVar1 = PTR_s_Present_000b0188" identifier = identifier) ;) (do_statement "do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );" do (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" (parenthesized_expression "(*(code *)PTR_index234_000b02a8)" ( (pointer_expression "*(code *)PTR_index234_000b02a8" * (cast_expression "(code *)PTR_index234_000b02a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_2,iVar5)" ( (pointer_expression "*param_2" * identifier) , identifier ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (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 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x223c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x223c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x223c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x223c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (expression_statement "*piVar3 = *piVar2;" (assignment_expression "*piVar3 = *piVar2" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\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 ])) ;) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 != 2) goto LAB_0001bba8;" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (goto_statement "goto LAB_0001bba8;" goto statement_identifier ;)) (labeled_statement "LAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);" statement_identifier : (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) ;) (expression_statement "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" else (compound_statement "{\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" { (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 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" identifier = (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" * (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" ( (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" identifier + (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" * identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (iVar4 == 2) goto LAB_0001bc0c;" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (goto_statement "goto LAB_0001bc0c;" goto statement_identifier ;)) (labeled_statement "LAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;" statement_identifier : (expression_statement "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" else (if_statement "if (iVar4 == 3) {\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" if (parenthesized_expression "(iVar4 == 3)" ( (binary_expression "iVar4 == 3" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" { (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000b02ac)" ( (pointer_expression "*(code *)PTR_filename_copy_000b02ac" * (cast_expression "(code *)PTR_filename_copy_000b02ac" ( (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 "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" else (if_statement "if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" { (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" identifier = (call_expression "(*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000b02a4)" ( (pointer_expression "*(code *)PTR_fontspec_copy_000b02a4" * (cast_expression "(code *)PTR_fontspec_copy_000b02a4" ( (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 "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" identifier = (cast_expression "(code *)PTR_add234_000b0294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })))))) }))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar6)(*param_1,piVar3);" (call_expression "(*pcVar6)(*param_1,piVar3)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(*param_1,piVar3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(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 ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (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) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) (else_clause else (compound_statement { (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) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;)) (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) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })))))) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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  code *pcVar6;\n  \n  iVar5 = 0;\n  FUN_0001b8a8();\n  puVar1 = PTR_s_Present_000b0188;\n  do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );\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") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001b8a8();" (call_expression "FUN_0001b8a8()" (identifier "FUN_0001b8a8") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_s_Present_000b0188;" (assignment_expression "puVar1 = PTR_s_Present_000b0188" (identifier "puVar1") (= "=") (identifier "PTR_s_Present_000b0188")) (; ";")) (do_statement "do {\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  } while( true );" (do "do") (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n    piVar3 = (int *)safemalloc(1,0xc);\n    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);\n    *piVar3 = *piVar2;\n    if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    (*pcVar6)(*param_1,piVar3);\n  }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000b02a8)(*param_2,iVar5)" (parenthesized_expression "(*(code *)PTR_index234_000b02a8)" (( "(") (pointer_expression "*(code *)PTR_index234_000b02a8" (* "*") (cast_expression "(code *)PTR_index234_000b02a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000b02a8"))) () ")")) (argument_list "(*param_2,iVar5)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar5") () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (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      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (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 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x223c)" (* "*") (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x223c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x223c)" (( "(") (binary_expression "puVar1 + *piVar2 * 4 + -0x223c" (binary_expression "puVar1 + *piVar2 * 4" (identifier "puVar1") (+ "+") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x223c")) () ")"))))) (; ";")) (expression_statement "*piVar3 = *piVar2;" (assignment_expression "*piVar3 = *piVar2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (if_statement "if (iVar4 == 1) {\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\n    }\n    else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      piVar3[1] = piVar2[1];\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 != 2) goto LAB_0001bba8;\nLAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);\n      piVar3[2] = iVar4;\n      pcVar6 = (code *)PTR_add234_000b0294;\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") (] "]"))) (; ";")) (expression_statement "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" (* "*") (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" (( "(") (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" (identifier "puVar1") (+ "+") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x251c")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 2) goto LAB_0001bba8;" (if "if") (parenthesized_expression "(iVar4 != 2)" (( "(") (binary_expression "iVar4 != 2" (identifier "iVar4") (!= "!=") (number_literal "2")) () ")")) (goto_statement "goto LAB_0001bba8;" (goto "goto") (statement_identifier "LAB_0001bba8") (; ";"))) (labeled_statement "LAB_0001bc0c:\n      iVar4 = dupstr(piVar2[2]);" (statement_identifier "LAB_0001bc0c") (: ":") (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")) (; ";")) (expression_statement "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" (identifier "pcVar6") (= "=") (cast_expression "(code *)PTR_add234_000b0294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_add234_000b0294"))) (; ";")) (} "}")) (else_clause "else {\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" (else "else") (compound_statement "{\n      if (iVar4 == 2) {\n        iVar4 = dupstr(piVar2[1]);\n        piVar3[1] = iVar4;\n      }\n      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);\n      if (iVar4 == 2) goto LAB_0001bc0c;\nLAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;\n      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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n    }" ({ "{") (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 + -0x251c);" (assignment_expression "iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puVar1 + *piVar2 * 4 + -0x251c)" (* "*") (cast_expression "(int *)(puVar1 + *piVar2 * 4 + -0x251c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + *piVar2 * 4 + -0x251c)" (( "(") (binary_expression "puVar1 + *piVar2 * 4 + -0x251c" (binary_expression "puVar1 + *piVar2 * 4" (identifier "puVar1") (+ "+") (binary_expression "*piVar2 * 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x251c")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 2) goto LAB_0001bc0c;" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_0001bc0c;" (goto "goto") (statement_identifier "LAB_0001bc0c") (; ";"))) (labeled_statement "LAB_0001bba8:\n      pcVar6 = (code *)PTR_add234_000b0294;" (statement_identifier "LAB_0001bba8") (: ":") (expression_statement "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" (identifier "pcVar6") (= "=") (cast_expression "(code *)PTR_add234_000b0294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_add234_000b0294"))) (; ";"))) (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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\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_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" (else "else") (if_statement "if (iVar4 == 3) {\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }\n      else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" (if "if") (parenthesized_expression "(iVar4 == 3)" (( "(") (binary_expression "iVar4 == 3" (identifier "iVar4") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_filename_copy_000b02ac)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_filename_copy_000b02ac)" (( "(") (pointer_expression "*(code *)PTR_filename_copy_000b02ac" (* "*") (cast_expression "(code *)PTR_filename_copy_000b02ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_filename_copy_000b02ac"))) () ")")) (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 "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" (identifier "pcVar6") (= "=") (cast_expression "(code *)PTR_add234_000b0294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_add234_000b0294"))) (; ";")) (} "}")) (else_clause "else if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" (else "else") (if_statement "if (iVar4 == 4) {\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" (if "if") (parenthesized_expression "(iVar4 == 4)" (( "(") (binary_expression "iVar4 == 4" (identifier "iVar4") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);\n        piVar3[2] = iVar4;\n        pcVar6 = (code *)PTR_add234_000b0294;\n      }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);" (assignment_expression "iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2])" (parenthesized_expression "(*(code *)PTR_fontspec_copy_000b02a4)" (( "(") (pointer_expression "*(code *)PTR_fontspec_copy_000b02a4" (* "*") (cast_expression "(code *)PTR_fontspec_copy_000b02a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fontspec_copy_000b02a4"))) () ")")) (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 "pcVar6 = (code *)PTR_add234_000b0294;" (assignment_expression "pcVar6 = (code *)PTR_add234_000b0294" (identifier "pcVar6") (= "=") (cast_expression "(code *)PTR_add234_000b0294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_add234_000b0294"))) (; ";")) (} "}"))))))) (} "}")))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*pcVar6)(*param_1,piVar3);" (call_expression "(*pcVar6)(*param_1,piVar3)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(*param_1,piVar3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "piVar3") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

void function_1(type_1 *newconf,type_1 *oldconf)

{
  type_2 *var_4;
  int *var_2;
  int *piVar3;
  int var_5;
  char *pcVar5;
  int var_7;
  type_3 *pcVar7;
  
  var_7 = 0;
  var_1(newconf);
  var_4 = PTR_s_Present_000b0188;
  do {
    var_2 = (int *)(*(type_3 *)PTR_index234_000b02a8)(oldconf->tree,var_7);
    if (var_2 == (int *)0x0) {
      return;
    }
    piVar3 = (int *)var_3(1,0xc);
    var_5 = *(int *)(var_4 + *var_2 * 4 + -0x223c);
    *piVar3 = *var_2;
    if (var_5 == 1) {
      piVar3[1] = var_2[1];
      var_5 = *(int *)(var_4 + *var_2 * 4 + -0x251c);
      if (var_5 != 2) goto LAB_0001bba8;
LAB_0001bc0c:
      pcVar5 = var_6((char *)var_2[2]);
      piVar3[2] = (int)pcVar5;
      pcVar7 = (type_3 *)PTR_add234_000b0294;
    }
    else {
      if (var_5 == 2) {
        pcVar5 = var_6((char *)var_2[1]);
        piVar3[1] = (int)pcVar5;
      }
      var_5 = *(int *)(var_4 + *var_2 * 4 + -0x251c);
      if (var_5 == 2) goto LAB_0001bc0c;
LAB_0001bba8:
      pcVar7 = (type_3 *)PTR_add234_000b0294;
      if (var_5 < 3) {
        if (var_5 == 1) {
          piVar3[2] = var_2[2];
        }
      }
      else if (var_5 == 3) {
        var_5 = (*(type_3 *)PTR_filename_copy_000b02ac)(var_2[2]);
        piVar3[2] = var_5;
        pcVar7 = (type_3 *)PTR_add234_000b0294;
      }
      else if (var_5 == 4) {
        var_5 = (*(type_3 *)PTR_fontspec_copy_000b02a4)(var_2[2]);
        piVar3[2] = var_5;
        pcVar7 = (type_3 *)PTR_add234_000b0294;
      }
    }
    var_7 = var_7 + 1;
    (*pcVar7)(newconf->tree,piVar3);
  } while( true );
}


(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)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement 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: (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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (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: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) alternative: (else_clause (compound_statement (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: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (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))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier))))) condition: (parenthesized_expression (true))))))

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  
  iVar5 = 0;
  FUN_0001b8a8();
  puVar1 = PTR_s_Present_000b0188;
  do {
    piVar2 = (int *)(*(code *)PTR_index234_000b02a8)(*param_2,iVar5);
    if (piVar2 == (int *)0x0) {
      return;
    }
    piVar3 = (int *)safemalloc(1,0xc);
    iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x223c);
    *piVar3 = *piVar2;
    if (iVar4 == 1) {
      piVar3[1] = piVar2[1];
      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);
      if (iVar4 != 2) goto LAB_0001bba8;
LAB_0001bc0c:
      iVar4 = dupstr(piVar2[2]);
      piVar3[2] = iVar4;
      pcVar6 = (code *)PTR_add234_000b0294;
    }
    else {
      if (iVar4 == 2) {
        iVar4 = dupstr(piVar2[1]);
        piVar3[1] = iVar4;
      }
      iVar4 = *(int *)(puVar1 + *piVar2 * 4 + -0x251c);
      if (iVar4 == 2) goto LAB_0001bc0c;
LAB_0001bba8:
      pcVar6 = (code *)PTR_add234_000b0294;
      if (iVar4 < 3) {
        if (iVar4 == 1) {
          piVar3[2] = piVar2[2];
        }
      }
      else if (iVar4 == 3) {
        iVar4 = (*(code *)PTR_filename_copy_000b02ac)(piVar2[2]);
        piVar3[2] = iVar4;
        pcVar6 = (code *)PTR_add234_000b0294;
      }
      else if (iVar4 == 4) {
        iVar4 = (*(code *)PTR_fontspec_copy_000b02a4)(piVar2[2]);
        piVar3[2] = iVar4;
        pcVar6 = (code *)PTR_add234_000b0294;
      }
    }
    iVar5 = iVar5 + 1;
    (*pcVar6)(*param_1,piVar3);
  } while( true );
}

