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

void conf_set_int_int(Conf *conf,int primary,int secondary,int value)

{
  int *e;
  int *piVar1;
  int iVar2;
  
  e = (int *)safemalloc(1,0xc);
  if (subkeytypes[primary] != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");
  }
  if (valuetypes[primary] == 1) {
    *e = primary;
    e[1] = secondary;
    e[2] = value;
    piVar1 = (int *)add234(conf->tree,e);
    if ((piVar1 != (int *)0x0) && (e != piVar1)) {
      del234(conf->tree,piVar1);
      iVar2 = *piVar1;
      if (subkeytypes[iVar2] == 2) {
        safefree((void *)piVar1[1]);
        iVar2 = *piVar1;
      }
      iVar2 = valuetypes[iVar2];
      if (iVar2 == 2) {
        safefree((void *)piVar1[2]);
      }
      else if (iVar2 == 3) {
        filename_free((Filename *)piVar1[2]);
      }
      else if (iVar2 == 4) {
        fontspec_free((FontSpec *)piVar1[2]);
      }
      safefree(piVar1);
      piVar1 = (int *)add234(conf->tree,e);
      if (e != piVar1) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");
}



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

void FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  
  piVar1 = (int *)FUN_0001db90(1,0xc);
  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");
  }
  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {
    *piVar1 = param_2;
    piVar1[1] = param_3;
    piVar1[2] = param_4;
    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);
    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {
      FUN_000820c0(*param_1,piVar2);
      iVar3 = *piVar2;
      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {
        FUN_0001dd30(piVar2[1]);
        iVar3 = *piVar2;
      }
      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);
      if (iVar3 == 2) {
        FUN_0001dd30(piVar2[2]);
      }
      else if (iVar3 == 3) {
        FUN_00083dc0(piVar2[2]);
      }
      else if (iVar3 == 4) {
        FUN_000842c0(piVar2[2]);
      }
      FUN_0001dd30(piVar2);
      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);
      if (piVar1 != piVar2) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0xb6a87
SUB ESP,0x24
MOV ESI,dword ptr [ESP + 0x3c]
PUSH 0xc
PUSH 0x1
LEA EDI,[EBX + 0xfffbfd50]
CALL 0x0001db90
ADD ESP,0x10
CMP dword ptr [EDI + ESI*0x4],0x1
JNZ 0x00019472
MOV EBP,EAX
LEA EAX,[EBX + 0xfffbfa70]
CMP dword ptr [EAX + ESI*0x4],0x1
MOV dword ptr [ESP + 0xc],EAX
JNZ 0x00019453
MOV EAX,dword ptr [ESP + 0x38]
SUB ESP,0x8
MOV dword ptr [EBP],ESI
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [EBP + 0x8],EAX
PUSH EBP
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX]
CALL 0x00081c30
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00019375
CMP EBP,EAX
JNZ 0x00019380
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH EAX
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX]
CALL 0x000820c0
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
CMP dword ptr [EDI + EAX*0x4],0x2
JZ 0x00019410
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EDX + EAX*0x4]
CMP EAX,0x2
JZ 0x000193f8
CMP EAX,0x3
JZ 0x00019428
CMP EAX,0x4
JZ 0x00019440
SUB ESP,0xc
PUSH ESI
CALL 0x0001dd30
POP EAX
POP EDX
PUSH EBP
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX]
CALL 0x00081c30
ADD ESP,0x10
CMP EBP,EAX
JZ 0x00019375
LEA EAX,[EBX + 0xfffbf984]
PUSH EAX
LEA EAX,[EBX + 0xfffbf7dc]
PUSH 0xe6
PUSH EAX
LEA EAX,[EBX + 0xfffbf7e3]
PUSH EAX
CALL 0x00014870
SUB ESP,0xc
PUSH dword ptr [ESI + 0x8]
CALL 0x0001dd30
ADD ESP,0x10
JMP 0x000193b4
SUB ESP,0xc
PUSH dword ptr [ESI + 0x4]
CALL 0x0001dd30
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
JMP 0x0001939a
SUB ESP,0xc
PUSH dword ptr [ESI + 0x8]
CALL 0x00083dc0
ADD ESP,0x10
JMP 0x000193b4
SUB ESP,0xc
PUSH dword ptr [ESI + 0x8]
CALL 0x000842c0
ADD ESP,0x10
JMP 0x000193b4
LEA EAX,[EBX + 0xfffbf970]
PUSH EAX
LEA EAX,[EBX + 0xfffbf7dc]
PUSH 0x193
PUSH EAX
LEA EAX,[EBX + 0xfffbf820]
PUSH EAX
CALL 0x00014870
LEA EAX,[EBX + 0xfffbf970]
PUSH EAX
LEA EAX,[EBX + 0xfffbf7dc]
PUSH 0x192
PUSH EAX
LEA EAX,[EBX + 0xfffbf840]
PUSH EAX
CALL 0x00014870
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}\n\n" comment (function_definition "void FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" primitive_type (function_declarator "FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)FUN_0001db90(1,0xc);" (assignment_expression "piVar1 = (int *)FUN_0001db90(1,0xc)" identifier = (cast_expression "(int *)FUN_0001db90(1,0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db90(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (if_statement "if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" if (parenthesized_expression "(*(int *)(&DAT_0008fae0 + param_2 * 4) != 1)" ( (binary_expression "*(int *)(&DAT_0008fae0 + param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0008fae0 + param_2 * 4)" * (cast_expression "(int *)(&DAT_0008fae0 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008fae0 + param_2 * 4)" ( (binary_expression "&DAT_0008fae0 + param_2 * 4" (pointer_expression "&DAT_0008fae0" & identifier) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" { comment (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" identifier (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" ( (string_literal ""subkeytypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_set_int_int"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(*(int *)(&DAT_0008f800 + param_2 * 4) == 1)" ( (binary_expression "*(int *)(&DAT_0008f800 + param_2 * 4) == 1" (pointer_expression "*(int *)(&DAT_0008f800 + param_2 * 4)" * (cast_expression "(int *)(&DAT_0008f800 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008f800 + param_2 * 4)" ( (binary_expression "&DAT_0008f800 + param_2 * 4" (pointer_expression "&DAT_0008f800" & identifier) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" { (expression_statement "*piVar1 = param_2;" (assignment_expression "*piVar1 = param_2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[1] = param_3;" (assignment_expression "piVar1[1] = param_3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[2] = param_4;" (assignment_expression "piVar1[2] = param_4" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2 = (int *)FUN_00081c30(*param_1,piVar1);" (assignment_expression "piVar2 = (int *)FUN_00081c30(*param_1,piVar1)" identifier = (cast_expression "(int *)FUN_00081c30(*param_1,piVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00081c30(*param_1,piVar1)" identifier (argument_list "(*param_1,piVar1)" ( (pointer_expression "*param_1" * identifier) , identifier ))))) ;) (if_statement "if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" if (parenthesized_expression "((piVar2 != (int *)0x0) && (piVar1 != piVar2))" ( (binary_expression "(piVar2 != (int *)0x0) && (piVar1 != piVar2)" (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)) )) && (parenthesized_expression "(piVar1 != piVar2)" ( (binary_expression "piVar1 != piVar2" identifier != identifier) ))) )) (compound_statement "{\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" { (expression_statement "FUN_000820c0(*param_1,piVar2);" (call_expression "FUN_000820c0(*param_1,piVar2)" identifier (argument_list "(*param_1,piVar2)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }" if (parenthesized_expression "(*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2)" ( (binary_expression "*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2" (pointer_expression "*(int *)(&DAT_0008fae0 + iVar3 * 4)" * (cast_expression "(int *)(&DAT_0008fae0 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008fae0 + iVar3 * 4)" ( (binary_expression "&DAT_0008fae0 + iVar3 * 4" (pointer_expression "&DAT_0008fae0" & identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }" { (expression_statement "FUN_0001dd30(piVar2[1]);" (call_expression "FUN_0001dd30(piVar2[1])" identifier (argument_list "(piVar2[1])" ( (subscript_expression "piVar2[1]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (expression_statement "iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);" (assignment_expression "iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0008f800 + iVar3 * 4)" * (cast_expression "(int *)(&DAT_0008f800 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008f800 + iVar3 * 4)" ( (binary_expression "&DAT_0008f800 + iVar3 * 4" (pointer_expression "&DAT_0008f800" & identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n        FUN_0001dd30(piVar2[2]);\n      }" { (expression_statement "FUN_0001dd30(piVar2[2]);" (call_expression "FUN_0001dd30(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) }) (else_clause "else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" else (if_statement "if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" if (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) (compound_statement "{\n        FUN_00083dc0(piVar2[2]);\n      }" { (expression_statement "FUN_00083dc0(piVar2[2]);" (call_expression "FUN_00083dc0(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) }) (else_clause "else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" else (if_statement "if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" if (parenthesized_expression "(iVar3 == 4)" ( (binary_expression "iVar3 == 4" identifier == number_literal) )) (compound_statement "{\n        FUN_000842c0(piVar2[2]);\n      }" { (expression_statement "FUN_000842c0(piVar2[2]);" (call_expression "FUN_000842c0(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) })))))) (expression_statement "FUN_0001dd30(piVar2);" (call_expression "FUN_0001dd30(piVar2)" identifier (argument_list "(piVar2)" ( identifier ))) ;) (expression_statement "piVar2 = (int *)FUN_00081c30(*param_1,piVar1);" (assignment_expression "piVar2 = (int *)FUN_00081c30(*param_1,piVar1)" identifier = (cast_expression "(int *)FUN_00081c30(*param_1,piVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00081c30(*param_1,piVar1)" identifier (argument_list "(*param_1,piVar1)" ( (pointer_expression "*param_1" * identifier) , identifier ))))) ;) (if_statement "if (piVar1 != piVar2) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" if (parenthesized_expression "(piVar1 != piVar2)" ( (binary_expression "piVar1 != piVar2" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" { comment (expression_statement "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");" (call_expression "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert")" identifier (argument_list "("oldentry == entry","conf.c",0xe6,"conf_insert")" ( (string_literal ""oldentry == entry"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_insert"" " string_content ") ))) ;) })) })) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" identifier (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" ( (string_literal ""valuetypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_set_int_int"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid conf_set_int_int(Conf *conf,int primary,int secondary,int value)\n\n{\n  int *e;\n  int *piVar1;\n  int iVar2;\n  \n  e = (int *)safemalloc(1,0xc);\n  if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (valuetypes[primary] == 1) {\n    *e = primary;\n    e[1] = secondary;\n    e[2] = value;\n    piVar1 = (int *)add234(conf->tree,e);\n    if ((piVar1 != (int *)0x0) && (e != piVar1)) {\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}\n\n" comment comment (function_definition "void conf_set_int_int(Conf *conf,int primary,int secondary,int value)\n\n{\n  int *e;\n  int *piVar1;\n  int iVar2;\n  \n  e = (int *)safemalloc(1,0xc);\n  if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (valuetypes[primary] == 1) {\n    *e = primary;\n    e[1] = secondary;\n    e[2] = value;\n    piVar1 = (int *)add234(conf->tree,e);\n    if ((piVar1 != (int *)0x0) && (e != piVar1)) {\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" primitive_type (function_declarator "conf_set_int_int(Conf *conf,int primary,int secondary,int value)" identifier (parameter_list "(Conf *conf,int primary,int secondary,int value)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "int primary" primitive_type identifier) , (parameter_declaration "int secondary" primitive_type identifier) , (parameter_declaration "int value" primitive_type identifier) ))) (compound_statement "{\n  int *e;\n  int *piVar1;\n  int iVar2;\n  \n  e = (int *)safemalloc(1,0xc);\n  if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (valuetypes[primary] == 1) {\n    *e = primary;\n    e[1] = secondary;\n    e[2] = value;\n    piVar1 = (int *)add234(conf->tree,e);\n    if ((piVar1 != (int *)0x0) && (e != piVar1)) {\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" { (declaration "int *e;" primitive_type (pointer_declarator "*e" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "e = (int *)safemalloc(1,0xc);" (assignment_expression "e = (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 ))))) ;) (if_statement "if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" if (parenthesized_expression "(subkeytypes[primary] != 1)" ( (binary_expression "subkeytypes[primary] != 1" (subscript_expression "subkeytypes[primary]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" { comment (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" identifier (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" ( (string_literal ""subkeytypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_set_int_int"" " string_content ") ))) ;) })) (if_statement "if (valuetypes[primary] == 1) {\n    *e = primary;\n    e[1] = secondary;\n    e[2] = value;\n    piVar1 = (int *)add234(conf->tree,e);\n    if ((piVar1 != (int *)0x0) && (e != piVar1)) {\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(valuetypes[primary] == 1)" ( (binary_expression "valuetypes[primary] == 1" (subscript_expression "valuetypes[primary]" identifier [ identifier ]) == number_literal) )) (compound_statement "{\n    *e = primary;\n    e[1] = secondary;\n    e[2] = value;\n    piVar1 = (int *)add234(conf->tree,e);\n    if ((piVar1 != (int *)0x0) && (e != piVar1)) {\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" { (expression_statement "*e = primary;" (assignment_expression "*e = primary" (pointer_expression "*e" * identifier) = identifier) ;) (expression_statement "e[1] = secondary;" (assignment_expression "e[1] = secondary" (subscript_expression "e[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "e[2] = value;" (assignment_expression "e[2] = value" (subscript_expression "e[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1 = (int *)add234(conf->tree,e);" (assignment_expression "piVar1 = (int *)add234(conf->tree,e)" identifier = (cast_expression "(int *)add234(conf->tree,e)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "add234(conf->tree,e)" identifier (argument_list "(conf->tree,e)" ( (field_expression "conf->tree" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) && (e != piVar1)) {\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" if (parenthesized_expression "((piVar1 != (int *)0x0) && (e != piVar1))" ( (binary_expression "(piVar1 != (int *)0x0) && (e != piVar1)" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(e != piVar1)" ( (binary_expression "e != piVar1" identifier != identifier) ))) )) (compound_statement "{\n      del234(conf->tree,piVar1);\n      iVar2 = *piVar1;\n      if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }\n      iVar2 = valuetypes[iVar2];\n      if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }\n      safefree(piVar1);\n      piVar1 = (int *)add234(conf->tree,e);\n      if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" { (expression_statement "del234(conf->tree,piVar1);" (call_expression "del234(conf->tree,piVar1)" identifier (argument_list "(conf->tree,piVar1)" ( (field_expression "conf->tree" identifier -> field_identifier) , identifier ))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (subkeytypes[iVar2] == 2) {\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }" if (parenthesized_expression "(subkeytypes[iVar2] == 2)" ( (binary_expression "subkeytypes[iVar2] == 2" (subscript_expression "subkeytypes[iVar2]" identifier [ identifier ]) == number_literal) )) (compound_statement "{\n        safefree((void *)piVar1[1]);\n        iVar2 = *piVar1;\n      }" { (expression_statement "safefree((void *)piVar1[1]);" (call_expression "safefree((void *)piVar1[1])" identifier (argument_list "((void *)piVar1[1])" ( (cast_expression "(void *)piVar1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (expression_statement "iVar2 = valuetypes[iVar2];" (assignment_expression "iVar2 = valuetypes[iVar2]" identifier = (subscript_expression "valuetypes[iVar2]" identifier [ identifier ])) ;) (if_statement "if (iVar2 == 2) {\n        safefree((void *)piVar1[2]);\n      }\n      else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n        safefree((void *)piVar1[2]);\n      }" { (expression_statement "safefree((void *)piVar1[2]);" (call_expression "safefree((void *)piVar1[2])" identifier (argument_list "((void *)piVar1[2])" ( (cast_expression "(void *)piVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) ))) ;) }) (else_clause "else if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }" else (if_statement "if (iVar2 == 3) {\n        filename_free((Filename *)piVar1[2]);\n      }\n      else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n        filename_free((Filename *)piVar1[2]);\n      }" { (expression_statement "filename_free((Filename *)piVar1[2]);" (call_expression "filename_free((Filename *)piVar1[2])" identifier (argument_list "((Filename *)piVar1[2])" ( (cast_expression "(Filename *)piVar1[2]" ( (type_descriptor "Filename *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) ))) ;) }) (else_clause "else if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }" else (if_statement "if (iVar2 == 4) {\n        fontspec_free((FontSpec *)piVar1[2]);\n      }" if (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) (compound_statement "{\n        fontspec_free((FontSpec *)piVar1[2]);\n      }" { (expression_statement "fontspec_free((FontSpec *)piVar1[2]);" (call_expression "fontspec_free((FontSpec *)piVar1[2])" identifier (argument_list "((FontSpec *)piVar1[2])" ( (cast_expression "(FontSpec *)piVar1[2]" ( (type_descriptor "FontSpec *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) ))) ;) })))))) (expression_statement "safefree(piVar1);" (call_expression "safefree(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "piVar1 = (int *)add234(conf->tree,e);" (assignment_expression "piVar1 = (int *)add234(conf->tree,e)" identifier = (cast_expression "(int *)add234(conf->tree,e)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "add234(conf->tree,e)" identifier (argument_list "(conf->tree,e)" ( (field_expression "conf->tree" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if (e != piVar1) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" if (parenthesized_expression "(e != piVar1)" ( (binary_expression "e != piVar1" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" { comment (expression_statement "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");" (call_expression "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert")" identifier (argument_list "("oldentry == entry","conf.c",0xe6,"conf_insert")" ( (string_literal ""oldentry == entry"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_insert"" " string_content ") ))) ;) })) })) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" identifier (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" ( (string_literal ""valuetypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_set_int_int"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    \n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}\n\n" (function_definition "void FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    \n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" primitive_type (function_declarator "FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    \n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)FUN_0001db90(1,0xc);" (assignment_expression "piVar1 = (int *)FUN_0001db90(1,0xc)" identifier = (cast_expression "(int *)FUN_0001db90(1,0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db90(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (if_statement "if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" if (parenthesized_expression "(*(int *)(&DAT_0008fae0 + param_2 * 4) != 1)" ( (binary_expression "*(int *)(&DAT_0008fae0 + param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0008fae0 + param_2 * 4)" * (cast_expression "(int *)(&DAT_0008fae0 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008fae0 + param_2 * 4)" ( (binary_expression "&DAT_0008fae0 + param_2 * 4" (pointer_expression "&DAT_0008fae0" & identifier) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" { (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" identifier (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" ( (string_literal ""subkeytypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_set_int_int"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(*(int *)(&DAT_0008f800 + param_2 * 4) == 1)" ( (binary_expression "*(int *)(&DAT_0008f800 + param_2 * 4) == 1" (pointer_expression "*(int *)(&DAT_0008f800 + param_2 * 4)" * (cast_expression "(int *)(&DAT_0008f800 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008f800 + param_2 * 4)" ( (binary_expression "&DAT_0008f800 + param_2 * 4" (pointer_expression "&DAT_0008f800" & identifier) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" { (expression_statement "*piVar1 = param_2;" (assignment_expression "*piVar1 = param_2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[1] = param_3;" (assignment_expression "piVar1[1] = param_3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[2] = param_4;" (assignment_expression "piVar1[2] = param_4" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2 = (int *)FUN_00081c30(*param_1,piVar1);" (assignment_expression "piVar2 = (int *)FUN_00081c30(*param_1,piVar1)" identifier = (cast_expression "(int *)FUN_00081c30(*param_1,piVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00081c30(*param_1,piVar1)" identifier (argument_list "(*param_1,piVar1)" ( (pointer_expression "*param_1" * identifier) , identifier ))))) ;) (if_statement "if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" if (parenthesized_expression "((piVar2 != (int *)0x0) && (piVar1 != piVar2))" ( (binary_expression "(piVar2 != (int *)0x0) && (piVar1 != piVar2)" (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)) )) && (parenthesized_expression "(piVar1 != piVar2)" ( (binary_expression "piVar1 != piVar2" identifier != identifier) ))) )) (compound_statement "{\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" { (expression_statement "FUN_000820c0(*param_1,piVar2);" (call_expression "FUN_000820c0(*param_1,piVar2)" identifier (argument_list "(*param_1,piVar2)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }" if (parenthesized_expression "(*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2)" ( (binary_expression "*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2" (pointer_expression "*(int *)(&DAT_0008fae0 + iVar3 * 4)" * (cast_expression "(int *)(&DAT_0008fae0 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008fae0 + iVar3 * 4)" ( (binary_expression "&DAT_0008fae0 + iVar3 * 4" (pointer_expression "&DAT_0008fae0" & identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }" { (expression_statement "FUN_0001dd30(piVar2[1]);" (call_expression "FUN_0001dd30(piVar2[1])" identifier (argument_list "(piVar2[1])" ( (subscript_expression "piVar2[1]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (expression_statement "iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);" (assignment_expression "iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0008f800 + iVar3 * 4)" * (cast_expression "(int *)(&DAT_0008f800 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0008f800 + iVar3 * 4)" ( (binary_expression "&DAT_0008f800 + iVar3 * 4" (pointer_expression "&DAT_0008f800" & identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n        FUN_0001dd30(piVar2[2]);\n      }" { (expression_statement "FUN_0001dd30(piVar2[2]);" (call_expression "FUN_0001dd30(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) }) (else_clause "else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" else (if_statement "if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" if (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) (compound_statement "{\n        FUN_00083dc0(piVar2[2]);\n      }" { (expression_statement "FUN_00083dc0(piVar2[2]);" (call_expression "FUN_00083dc0(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) }) (else_clause "else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" else (if_statement "if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" if (parenthesized_expression "(iVar3 == 4)" ( (binary_expression "iVar3 == 4" identifier == number_literal) )) (compound_statement "{\n        FUN_000842c0(piVar2[2]);\n      }" { (expression_statement "FUN_000842c0(piVar2[2]);" (call_expression "FUN_000842c0(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) })))))) (expression_statement "FUN_0001dd30(piVar2);" (call_expression "FUN_0001dd30(piVar2)" identifier (argument_list "(piVar2)" ( identifier ))) ;) (expression_statement "piVar2 = (int *)FUN_00081c30(*param_1,piVar1);" (assignment_expression "piVar2 = (int *)FUN_00081c30(*param_1,piVar1)" identifier = (cast_expression "(int *)FUN_00081c30(*param_1,piVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00081c30(*param_1,piVar1)" identifier (argument_list "(*param_1,piVar1)" ( (pointer_expression "*param_1" * identifier) , identifier ))))) ;) (if_statement "if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" if (parenthesized_expression "(piVar1 != piVar2)" ( (binary_expression "piVar1 != piVar2" identifier != identifier) )) (compound_statement "{\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" { (expression_statement "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");" (call_expression "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert")" identifier (argument_list "("oldentry == entry","conf.c",0xe6,"conf_insert")" ( (string_literal ""oldentry == entry"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_insert"" " string_content ") ))) ;) })) })) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" identifier (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" ( (string_literal ""valuetypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_set_int_int"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })))))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    \n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" (primitive_type "void") (function_declarator "FUN_00019300(undefined4 *param_1,int param_2,int param_3,int param_4)" (identifier "FUN_00019300") (parameter_list "(undefined4 *param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar1 = (int *)FUN_0001db90(1,0xc);\n  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }\n  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }\n                    \n  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "piVar1 = (int *)FUN_0001db90(1,0xc);" (assignment_expression "piVar1 = (int *)FUN_0001db90(1,0xc)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_0001db90(1,0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001db90(1,0xc)" (identifier "FUN_0001db90") (argument_list "(1,0xc)" (( "(") (number_literal "1") (, ",") (number_literal "0xc") () ")"))))) (; ";")) (if_statement "if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0008fae0 + param_2 * 4) != 1)" (( "(") (binary_expression "*(int *)(&DAT_0008fae0 + param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0008fae0 + param_2 * 4)" (* "*") (cast_expression "(int *)(&DAT_0008fae0 + param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0008fae0 + param_2 * 4)" (( "(") (binary_expression "&DAT_0008fae0 + param_2 * 4" (pointer_expression "&DAT_0008fae0" (& "&") (identifier "DAT_0008fae0")) (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");\n  }" ({ "{") (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" (identifier "__assert_fail") (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int")" (( "(") (string_literal ""subkeytypes[primary] == TYPE_INT"" (" """) (string_content "subkeytypes[primary] == TYPE_INT") (" """)) (, ",") (string_literal ""conf.c"" (" """) (string_content "conf.c") (" """)) (, ",") (number_literal "0x192") (, ",") (string_literal ""conf_set_int_int"" (" """) (string_content "conf_set_int_int") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0008f800 + param_2 * 4) == 1)" (( "(") (binary_expression "*(int *)(&DAT_0008f800 + param_2 * 4) == 1" (pointer_expression "*(int *)(&DAT_0008f800 + param_2 * 4)" (* "*") (cast_expression "(int *)(&DAT_0008f800 + param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0008f800 + param_2 * 4)" (( "(") (binary_expression "&DAT_0008f800 + param_2 * 4" (pointer_expression "&DAT_0008f800" (& "&") (identifier "DAT_0008f800")) (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    *piVar1 = param_2;\n    piVar1[1] = param_3;\n    piVar1[2] = param_4;\n    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }\n    return;\n  }" ({ "{") (expression_statement "*piVar1 = param_2;" (assignment_expression "*piVar1 = param_2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar1[1] = param_3;" (assignment_expression "piVar1[1] = param_3" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar1[2] = param_4;" (assignment_expression "piVar1[2] = param_4" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "piVar2 = (int *)FUN_00081c30(*param_1,piVar1);" (assignment_expression "piVar2 = (int *)FUN_00081c30(*param_1,piVar1)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_00081c30(*param_1,piVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00081c30(*param_1,piVar1)" (identifier "FUN_00081c30") (argument_list "(*param_1,piVar1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "piVar1") () ")"))))) (; ";")) (if_statement "if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" (if "if") (parenthesized_expression "((piVar2 != (int *)0x0) && (piVar1 != piVar2))" (( "(") (binary_expression "(piVar2 != (int *)0x0) && (piVar1 != piVar2)" (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"))) () ")")) (&& "&&") (parenthesized_expression "(piVar1 != piVar2)" (( "(") (binary_expression "piVar1 != piVar2" (identifier "piVar1") (!= "!=") (identifier "piVar2")) () ")"))) () ")")) (compound_statement "{\n      FUN_000820c0(*param_1,piVar2);\n      iVar3 = *piVar2;\n      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }\n      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);\n      if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }\n      FUN_0001dd30(piVar2);\n      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);\n      if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }\n    }" ({ "{") (expression_statement "FUN_000820c0(*param_1,piVar2);" (call_expression "FUN_000820c0(*param_1,piVar2)" (identifier "FUN_000820c0") (argument_list "(*param_1,piVar2)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "piVar2") () ")"))) (; ";")) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" (identifier "iVar3") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (if_statement "if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2)" (( "(") (binary_expression "*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2" (pointer_expression "*(int *)(&DAT_0008fae0 + iVar3 * 4)" (* "*") (cast_expression "(int *)(&DAT_0008fae0 + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0008fae0 + iVar3 * 4)" (( "(") (binary_expression "&DAT_0008fae0 + iVar3 * 4" (pointer_expression "&DAT_0008fae0" (& "&") (identifier "DAT_0008fae0")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        FUN_0001dd30(piVar2[1]);\n        iVar3 = *piVar2;\n      }" ({ "{") (expression_statement "FUN_0001dd30(piVar2[1]);" (call_expression "FUN_0001dd30(piVar2[1])" (identifier "FUN_0001dd30") (argument_list "(piVar2[1])" (( "(") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" (identifier "iVar3") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);" (assignment_expression "iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(&DAT_0008f800 + iVar3 * 4)" (* "*") (cast_expression "(int *)(&DAT_0008f800 + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0008f800 + iVar3 * 4)" (( "(") (binary_expression "&DAT_0008f800 + iVar3 * 4" (pointer_expression "&DAT_0008f800" (& "&") (identifier "DAT_0008f800")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar3 == 2) {\n        FUN_0001dd30(piVar2[2]);\n      }\n      else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" (if "if") (parenthesized_expression "(iVar3 == 2)" (( "(") (binary_expression "iVar3 == 2" (identifier "iVar3") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        FUN_0001dd30(piVar2[2]);\n      }" ({ "{") (expression_statement "FUN_0001dd30(piVar2[2]);" (call_expression "FUN_0001dd30(piVar2[2])" (identifier "FUN_0001dd30") (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}")) (else_clause "else if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" (else "else") (if_statement "if (iVar3 == 3) {\n        FUN_00083dc0(piVar2[2]);\n      }\n      else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" (if "if") (parenthesized_expression "(iVar3 == 3)" (( "(") (binary_expression "iVar3 == 3" (identifier "iVar3") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        FUN_00083dc0(piVar2[2]);\n      }" ({ "{") (expression_statement "FUN_00083dc0(piVar2[2]);" (call_expression "FUN_00083dc0(piVar2[2])" (identifier "FUN_00083dc0") (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}")) (else_clause "else if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" (else "else") (if_statement "if (iVar3 == 4) {\n        FUN_000842c0(piVar2[2]);\n      }" (if "if") (parenthesized_expression "(iVar3 == 4)" (( "(") (binary_expression "iVar3 == 4" (identifier "iVar3") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        FUN_000842c0(piVar2[2]);\n      }" ({ "{") (expression_statement "FUN_000842c0(piVar2[2]);" (call_expression "FUN_000842c0(piVar2[2])" (identifier "FUN_000842c0") (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))))))) (expression_statement "FUN_0001dd30(piVar2);" (call_expression "FUN_0001dd30(piVar2)" (identifier "FUN_0001dd30") (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (expression_statement "piVar2 = (int *)FUN_00081c30(*param_1,piVar1);" (assignment_expression "piVar2 = (int *)FUN_00081c30(*param_1,piVar1)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_00081c30(*param_1,piVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00081c30(*param_1,piVar1)" (identifier "FUN_00081c30") (argument_list "(*param_1,piVar1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "piVar1") () ")"))))) (; ";")) (if_statement "if (piVar1 != piVar2) {\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" (if "if") (parenthesized_expression "(piVar1 != piVar2)" (( "(") (binary_expression "piVar1 != piVar2" (identifier "piVar1") (!= "!=") (identifier "piVar2")) () ")")) (compound_statement "{\n                    \n        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");\n      }" ({ "{") (expression_statement "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");" (call_expression "__assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert")" (identifier "__assert_fail") (argument_list "("oldentry == entry","conf.c",0xe6,"conf_insert")" (( "(") (string_literal ""oldentry == entry"" (" """) (string_content "oldentry == entry") (" """)) (, ",") (string_literal ""conf.c"" (" """) (string_content "conf.c") (" """)) (, ",") (number_literal "0xe6") (, ",") (string_literal ""conf_insert"" (" """) (string_content "conf_insert") (" """)) () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" (identifier "__assert_fail") (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int")" (( "(") (string_literal ""valuetypes[primary] == TYPE_INT"" (" """) (string_content "valuetypes[primary] == TYPE_INT") (" """)) (, ",") (string_literal ""conf.c"" (" """) (string_content "conf.c") (" """)) (, ",") (number_literal "0x193") (, ",") (string_literal ""conf_set_int_int"" (" """) (string_content "conf_set_int_int") (" """)) () ")"))) (; ";")) (} "}")))

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

void function_1(type_1 *conf,int primary,int secondary,int value)

{
  int *var_5;
  int *var_4;
  int var_8;
  
  var_5 = (int *)var_1(1,0xc);
  if (subkeytypes[primary] != 1) {
                    /* WARNING: Subroutine does not return */
    var_2("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");
  }
  if (valuetypes[primary] == 1) {
    *var_5 = primary;
    var_5[1] = secondary;
    var_5[2] = value;
    var_4 = (int *)var_3(conf->tree,var_5);
    if ((var_4 != (int *)0x0) && (var_5 != var_4)) {
      var_6(conf->tree,var_4);
      var_8 = *var_4;
      if (subkeytypes[var_8] == 2) {
        var_7((void *)var_4[1]);
        var_8 = *var_4;
      }
      var_8 = valuetypes[var_8];
      if (var_8 == 2) {
        var_7((void *)var_4[2]);
      }
      else if (var_8 == 3) {
        var_9((type_2 *)var_4[2]);
      }
      else if (var_8 == 4) {
        var_10((type_3 *)var_4[2]);
      }
      var_7(var_4);
      var_4 = (int *)var_3(conf->tree,var_5);
      if (var_5 != var_4) {
                    /* WARNING: Subroutine does not return */
        var_2("oldentry == entry","conf.c",0xe6,"conf_insert");
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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 (call_expression function: (identifier) arguments: (argument_list (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 (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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 (pointer_expression argument: (identifier)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

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

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

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  
  piVar1 = (int *)FUN_0001db90(1,0xc);
  if (*(int *)(&DAT_0008fae0 + param_2 * 4) != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x192,"conf_set_int_int");
  }
  if (*(int *)(&DAT_0008f800 + param_2 * 4) == 1) {
    *piVar1 = param_2;
    piVar1[1] = param_3;
    piVar1[2] = param_4;
    piVar2 = (int *)FUN_00081c30(*param_1,piVar1);
    if ((piVar2 != (int *)0x0) && (piVar1 != piVar2)) {
      FUN_000820c0(*param_1,piVar2);
      iVar3 = *piVar2;
      if (*(int *)(&DAT_0008fae0 + iVar3 * 4) == 2) {
        FUN_0001dd30(piVar2[1]);
        iVar3 = *piVar2;
      }
      iVar3 = *(int *)(&DAT_0008f800 + iVar3 * 4);
      if (iVar3 == 2) {
        FUN_0001dd30(piVar2[2]);
      }
      else if (iVar3 == 3) {
        FUN_00083dc0(piVar2[2]);
      }
      else if (iVar3 == 4) {
        FUN_000842c0(piVar2[2]);
      }
      FUN_0001dd30(piVar2);
      piVar2 = (int *)FUN_00081c30(*param_1,piVar1);
      if (piVar1 != piVar2) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("oldentry == entry","conf.c",0xe6,"conf_insert");
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x193,"conf_set_int_int");
}

