
int conf_get_int_int(Conf *conf,int primary,int secondary)

{
  long lVar1;
  void *pvVar2;
  long in_FS_OFFSET;
  key key;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (subkeytypes[primary] != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");
  }
  if (valuetypes[primary] != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");
  }
  key.primary = primary;
  key.secondary.i = secondary;
  pvVar2 = find234(conf->tree,&key,(cmpfn234)0x0);
  if (pvVar2 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");
  }
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return *(int *)((long)pvVar2 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



undefined4 FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)

{
  long lVar1;
  long in_FS_OFFSET;
  int local_28 [2];
  undefined4 local_20;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");
  }
  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");
  }
  local_28[0] = param_2;
  local_20 = param_3;
  lVar1 = FUN_00129e99(*param_1,local_28,0);
  if (lVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");
  }
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return *(undefined4 *)(lVar1 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


SUB RSP,0x28
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x18],RAX
XOR EAX,EAX
MOVSXD RCX,ESI
LEA RAX,[0x12f6c0]
CMP dword ptr [RAX + RCX*0x4],0x1
JNZ 0x00106dbf
MOVSXD RAX,ESI
LEA RCX,[0x12f3e0]
CMP dword ptr [RCX + RAX*0x4],0x1
JNZ 0x00106dde
MOV dword ptr [RSP],ESI
MOV dword ptr [RSP + 0x8],EDX
MOV RSI,RSP
MOV EDX,0x0
MOV RDI,qword ptr [RDI]
CALL 0x00129e99
TEST RAX,RAX
JZ 0x00106dfd
MOV EAX,dword ptr [RAX + 0x10]
MOV RDX,qword ptr [RSP + 0x18]
XOR RDX,qword ptr FS:[0x28]
JNZ 0x00106e1c
ADD RSP,0x28
RET
LEA RCX,[0x12f3a0]
MOV EDX,0x115
LEA RSI,[0x12f0c0]
LEA RDI,[0x12f128]
CALL 0x001041f0
LEA RCX,[0x12f3a0]
MOV EDX,0x116
LEA RSI,[0x12f0c0]
LEA RDI,[0x12f108]
CALL 0x001041f0
LEA RCX,[0x12f3a0]
MOV EDX,0x11a
LEA RSI,[0x12f0c0]
LEA RDI,[0x12f0d3]
CALL 0x001041f0
CALL 0x00104190
(translation_unit "undefined4 FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "undefined4 FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (function_declarator "FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(undefined8 *param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "int local_28 [2];" primitive_type (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "long local_10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }" if (parenthesized_expression "(*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1)" ( (binary_expression "*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0012f6c0 + (long)param_2 * 4)" * (cast_expression "(int *)(&DAT_0012f6c0 + (long)param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0012f6c0 + (long)param_2 * 4)" ( (binary_expression "&DAT_0012f6c0 + (long)param_2 * 4" (pointer_expression "&DAT_0012f6c0" & identifier) + (binary_expression "(long)param_2 * 4" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }" { comment (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" identifier (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" ( (string_literal ""subkeytypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" if (parenthesized_expression "(*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1)" ( (binary_expression "*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0012f3e0 + (long)param_2 * 4)" * (cast_expression "(int *)(&DAT_0012f3e0 + (long)param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0012f3e0 + (long)param_2 * 4)" ( (binary_expression "&DAT_0012f3e0 + (long)param_2 * 4" (pointer_expression "&DAT_0012f3e0" & identifier) + (binary_expression "(long)param_2 * 4" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" { comment (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" identifier (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" ( (string_literal ""valuetypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (expression_statement "local_28[0] = param_2;" (assignment_expression "local_28[0] = param_2" (subscript_expression "local_28[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_20 = param_3;" (assignment_expression "local_20 = param_3" identifier = identifier) ;) (expression_statement "lVar1 = FUN_00129e99(*param_1,local_28,0);" (assignment_expression "lVar1 = FUN_00129e99(*param_1,local_28,0)" identifier = (call_expression "FUN_00129e99(*param_1,local_28,0)" identifier (argument_list "(*param_1,local_28,0)" ( (pointer_expression "*param_1" * identifier) , identifier , number_literal )))) ;) (if_statement "if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" { comment (expression_statement "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int");" (call_expression "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int")" identifier (argument_list "("entry","conf.c",0x11a,"conf_get_int_int")" ( (string_literal ""entry"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }" if (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(undefined4 *)(lVar1 + 0x10);\n  }" { (return_statement "return *(undefined4 *)(lVar1 + 0x10);" return (pointer_expression "*(undefined4 *)(lVar1 + 0x10)" * (cast_expression "(undefined4 *)(lVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) )))) ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int conf_get_int_int(Conf *conf,int primary,int secondary)\n\n{\n  long lVar1;\n  void *pvVar2;\n  long in_FS_OFFSET;\n  key key;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (valuetypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  key.primary = primary;\n  key.secondary.i = secondary;\n  pvVar2 = find234(conf->tree,&key,(cmpfn234)0x0);\n  if (pvVar2 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(int *)((long)pvVar2 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int conf_get_int_int(Conf *conf,int primary,int secondary)\n\n{\n  long lVar1;\n  void *pvVar2;\n  long in_FS_OFFSET;\n  key key;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (valuetypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  key.primary = primary;\n  key.secondary.i = secondary;\n  pvVar2 = find234(conf->tree,&key,(cmpfn234)0x0);\n  if (pvVar2 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(int *)((long)pvVar2 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "conf_get_int_int(Conf *conf,int primary,int secondary)" identifier (parameter_list "(Conf *conf,int primary,int secondary)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "int primary" primitive_type identifier) , (parameter_declaration "int secondary" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  void *pvVar2;\n  long in_FS_OFFSET;\n  key key;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (valuetypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  key.primary = primary;\n  key.secondary.i = secondary;\n  pvVar2 = find234(conf->tree,&key,(cmpfn234)0x0);\n  if (pvVar2 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(int *)((long)pvVar2 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "key key;" type_identifier identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (subkeytypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_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",0x115,"conf_get_int_int");\n  }" { comment (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" identifier (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" ( (string_literal ""subkeytypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (if_statement "if (valuetypes[primary] != 1) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" if (parenthesized_expression "(valuetypes[primary] != 1)" ( (binary_expression "valuetypes[primary] != 1" (subscript_expression "valuetypes[primary]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" { comment (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" identifier (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" ( (string_literal ""valuetypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (expression_statement "key.primary = primary;" (assignment_expression "key.primary = primary" (field_expression "key.primary" identifier . field_identifier) = identifier) ;) (expression_statement "key.secondary.i = secondary;" (assignment_expression "key.secondary.i = secondary" (field_expression "key.secondary.i" (field_expression "key.secondary" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "pvVar2 = find234(conf->tree,&key,(cmpfn234)0x0);" (assignment_expression "pvVar2 = find234(conf->tree,&key,(cmpfn234)0x0)" identifier = (call_expression "find234(conf->tree,&key,(cmpfn234)0x0)" identifier (argument_list "(conf->tree,&key,(cmpfn234)0x0)" ( (field_expression "conf->tree" identifier -> field_identifier) , (pointer_expression "&key" & identifier) , (cast_expression "(cmpfn234)0x0" ( (type_descriptor "cmpfn234" type_identifier) ) number_literal) )))) ;) (if_statement "if (pvVar2 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" if (parenthesized_expression "(pvVar2 == (void *)0x0)" ( (binary_expression "pvVar2 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" { comment (expression_statement "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int");" (call_expression "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int")" identifier (argument_list "("entry","conf.c",0x11a,"conf_get_int_int")" ( (string_literal ""entry"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(int *)((long)pvVar2 + 0x10);\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(int *)((long)pvVar2 + 0x10);\n  }" { (return_statement "return *(int *)((long)pvVar2 + 0x10);" return (pointer_expression "*(int *)((long)pvVar2 + 0x10)" * (cast_expression "(int *)((long)pvVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar2 + 0x10)" ( (binary_expression "(long)pvVar2 + 0x10" (cast_expression "(long)pvVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "undefined4 FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    \n  __stack_chk_fail();\n}" type_identifier (function_declarator "FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(undefined8 *param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "int local_28 [2];" primitive_type (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "long local_10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }" if (parenthesized_expression "(*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1)" ( (binary_expression "*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0012f6c0 + (long)param_2 * 4)" * (cast_expression "(int *)(&DAT_0012f6c0 + (long)param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0012f6c0 + (long)param_2 * 4)" ( (binary_expression "&DAT_0012f6c0 + (long)param_2 * 4" (pointer_expression "&DAT_0012f6c0" & identifier) + (binary_expression "(long)param_2 * 4" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }" { (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" identifier (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" ( (string_literal ""subkeytypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" if (parenthesized_expression "(*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1)" ( (binary_expression "*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0012f3e0 + (long)param_2 * 4)" * (cast_expression "(int *)(&DAT_0012f3e0 + (long)param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0012f3e0 + (long)param_2 * 4)" ( (binary_expression "&DAT_0012f3e0 + (long)param_2 * 4" (pointer_expression "&DAT_0012f3e0" & identifier) + (binary_expression "(long)param_2 * 4" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" { (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" identifier (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" ( (string_literal ""valuetypes[primary] == TYPE_INT"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (expression_statement "local_28[0] = param_2;" (assignment_expression "local_28[0] = param_2" (subscript_expression "local_28[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_20 = param_3;" (assignment_expression "local_20 = param_3" identifier = identifier) ;) (expression_statement "lVar1 = FUN_00129e99(*param_1,local_28,0);" (assignment_expression "lVar1 = FUN_00129e99(*param_1,local_28,0)" identifier = (call_expression "FUN_00129e99(*param_1,local_28,0)" identifier (argument_list "(*param_1,local_28,0)" ( (pointer_expression "*param_1" * identifier) , identifier , number_literal )))) ;) (if_statement "if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" { (expression_statement "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int");" (call_expression "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int")" identifier (argument_list "("entry","conf.c",0x11a,"conf_get_int_int")" ( (string_literal ""entry"" " string_content ") , (string_literal ""conf.c"" " string_content ") , number_literal , (string_literal ""conf_get_int_int"" " string_content ") ))) ;) })) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }" if (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(undefined4 *)(lVar1 + 0x10);\n  }" { (return_statement "return *(undefined4 *)(lVar1 + 0x10);" return (pointer_expression "*(undefined4 *)(lVar1 + 0x10)" * (cast_expression "(undefined4 *)(lVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) )))) ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + 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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) 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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) 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 ") ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == 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 IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    \n  __stack_chk_fail();\n}" (type_identifier "undefined4") (function_declarator "FUN_00106d57(undefined8 *param_1,int param_2,undefined4 param_3)" (identifier "FUN_00106d57") (parameter_list "(undefined8 *param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  long lVar1;\n  long in_FS_OFFSET;\n  int local_28 [2];\n  undefined4 local_20;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }\n  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }\n  local_28[0] = param_2;\n  local_20 = param_3;\n  lVar1 = FUN_00129e99(*param_1,local_28,0);\n  if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "int local_28 [2];" (primitive_type "int") (array_declarator "local_28 [2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "long local_10;" (sized_type_specifier "long" (long "long")) (identifier "local_10") (; ";")) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_10") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1)" (( "(") (binary_expression "*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0012f6c0 + (long)param_2 * 4)" (* "*") (cast_expression "(int *)(&DAT_0012f6c0 + (long)param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0012f6c0 + (long)param_2 * 4)" (( "(") (binary_expression "&DAT_0012f6c0 + (long)param_2 * 4" (pointer_expression "&DAT_0012f6c0" (& "&") (identifier "DAT_0012f6c0")) (+ "+") (binary_expression "(long)param_2 * 4" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (* "*") (number_literal "4"))) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                    \n    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");\n  }" ({ "{") (expression_statement "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");" (call_expression "__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" (identifier "__assert_fail") (argument_list "("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int")" (( "(") (string_literal ""subkeytypes[primary] == TYPE_INT"" (" """) (string_content "subkeytypes[primary] == TYPE_INT") (" """)) (, ",") (string_literal ""conf.c"" (" """) (string_content "conf.c") (" """)) (, ",") (number_literal "0x115") (, ",") (string_literal ""conf_get_int_int"" (" """) (string_content "conf_get_int_int") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1)" (( "(") (binary_expression "*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1" (pointer_expression "*(int *)(&DAT_0012f3e0 + (long)param_2 * 4)" (* "*") (cast_expression "(int *)(&DAT_0012f3e0 + (long)param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0012f3e0 + (long)param_2 * 4)" (( "(") (binary_expression "&DAT_0012f3e0 + (long)param_2 * 4" (pointer_expression "&DAT_0012f3e0" (& "&") (identifier "DAT_0012f3e0")) (+ "+") (binary_expression "(long)param_2 * 4" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (* "*") (number_literal "4"))) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                    \n    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");\n  }" ({ "{") (expression_statement "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");" (call_expression "__assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" (identifier "__assert_fail") (argument_list "("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int")" (( "(") (string_literal ""valuetypes[primary] == TYPE_INT"" (" """) (string_content "valuetypes[primary] == TYPE_INT") (" """)) (, ",") (string_literal ""conf.c"" (" """) (string_content "conf.c") (" """)) (, ",") (number_literal "0x116") (, ",") (string_literal ""conf_get_int_int"" (" """) (string_content "conf_get_int_int") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "local_28[0] = param_2;" (assignment_expression "local_28[0] = param_2" (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_20 = param_3;" (assignment_expression "local_20 = param_3" (identifier "local_20") (= "=") (identifier "param_3")) (; ";")) (expression_statement "lVar1 = FUN_00129e99(*param_1,local_28,0);" (assignment_expression "lVar1 = FUN_00129e99(*param_1,local_28,0)" (identifier "lVar1") (= "=") (call_expression "FUN_00129e99(*param_1,local_28,0)" (identifier "FUN_00129e99") (argument_list "(*param_1,local_28,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "local_28") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (lVar1 == 0) {\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");\n  }" ({ "{") (expression_statement "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int");" (call_expression "__assert_fail("entry","conf.c",0x11a,"conf_get_int_int")" (identifier "__assert_fail") (argument_list "("entry","conf.c",0x11a,"conf_get_int_int")" (( "(") (string_literal ""entry"" (" """) (string_content "entry") (" """)) (, ",") (string_literal ""conf.c"" (" """) (string_content "conf.c") (" """)) (, ",") (number_literal "0x11a") (, ",") (string_literal ""conf_get_int_int"" (" """) (string_content "conf_get_int_int") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return *(undefined4 *)(lVar1 + 0x10);\n  }" (if "if") (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_10") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return *(undefined4 *)(lVar1 + 0x10);\n  }" ({ "{") (return_statement "return *(undefined4 *)(lVar1 + 0x10);" (return "return") (pointer_expression "*(undefined4 *)(lVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(lVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

{
  long var_5;
  void *var_4;
  long var_1;
  type_2 type_2;
  
  var_5 = *(long *)(var_1 + 0x28);
  if (subkeytypes[primary] != 1) {
                    /* WARNING: Subroutine does not return */
    var_2("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");
  }
  if (valuetypes[primary] != 1) {
                    /* WARNING: Subroutine does not return */
    var_2("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");
  }
  type_2.primary = primary;
  type_2.secondary.i = secondary;
  var_4 = var_3(conf->tree,&type_2,(type_3)0x0);
  if (var_4 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("entry","conf.c",0x11a,"conf_get_int_int");
  }
  if (var_5 == *(long *)(var_1 + 0x28)) {
    return *(int *)((long)var_4 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  var_6();
}


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

undefined4 MASKED(undefined8 *param_1,int param_2,undefined4 param_3)

{
  long lVar1;
  long in_FS_OFFSET;
  int local_28 [2];
  undefined4 local_20;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  if (*(int *)(&DAT_0012f6c0 + (long)param_2 * 4) != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x115,"conf_get_int_int");
  }
  if (*(int *)(&DAT_0012f3e0 + (long)param_2 * 4) != 1) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("valuetypes[primary] == TYPE_INT","conf.c",0x116,"conf_get_int_int");
  }
  local_28[0] = param_2;
  local_20 = param_3;
  lVar1 = FUN_00129e99(*param_1,local_28,0);
  if (lVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("entry","conf.c",0x11a,"conf_get_int_int");
  }
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return *(undefined4 *)(lVar1 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

