
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void log_eventlog(void *handle,char *event)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00111f84;
  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {
    (*(code *)PTR___fprintf_chk_001120b8)
              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);
    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);
  }
  if ((((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&
      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),
      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2)) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_fflush_00112440)(*handle);
    return;
  }
  return;
}



void log_eventlog(undefined4 *param_1,undefined4 param_2)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00111f84;
  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {
    (*(code *)PTR___fprintf_chk_001120b8)
              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);
    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);
  }
  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&
      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&
     (param_1[1] == 2)) {
                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_fflush_00112440)(*param_1);
    return;
  }
  return;
}


lui gp,0xe
addiu gp,gp,0x3b98
addu gp,gp,t9
lw v0,-0x7e9c(gp)
addiu sp,sp,-0x28
li v1,0x3
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw s0,0x18(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
lw v0,0x0(v0)
andi v0,v0,0x3
beq v0,v1,0x000357dc
_or s0,a0,zero
beq s0,zero,0x00035778
_lw ra,0x24(sp)
lw v0,0x20(s0)
addiu v0,v0,-0x3
sltiu v0,v0,0x2
bne v0,zero,0x0003578c
_lw a1,-0x7f9c(gp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
or a2,s1,zero
lw t9,-0x7dc4(gp)
or a0,s0,zero
addiu t9,t9,0x4c00
bal 0x00034c00
_addiu a1,a1,0x4dac
lw v0,0x20(s0)
blez v0,0x00035774
_lw gp,0x10(sp)
lw v1,0x4(s0)
li v0,0x2
bne v1,v0,0x00035778
_lw ra,0x24(sp)
lw a0,0x0(s0)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x6e70(gp)
jr t9
_addiu sp,sp,0x28
lw s2,-0x732c(gp)
li a1,0x1
lw a2,-0x7fbc(gp)
or a3,s1,zero
lw t9,-0x71f8(gp)
lw a0,0x0(s2)
jalr t9
_addiu a2,a2,-0x6450
lw gp,0x10(sp)
lw t9,-0x6e70(gp)
jalr t9
_lw a0,0x0(s2)
b 0x00035758
_lw gp,0x10(sp)
(translation_unit "void log_eventlog(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void log_eventlog(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "log_eventlog(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00111f84;" (assignment_expression "puVar1 = PTR_stderr_00111f84" identifier = identifier) ;) (if_statement "if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" if (parenthesized_expression "((*(uint *)PTR_flags_00111414 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_00111414 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_00111414 & 3)" ( (binary_expression "*(uint *)PTR_flags_00111414 & 3" (pointer_expression "*(uint *)PTR_flags_00111414" * (cast_expression "(uint *)PTR_flags_00111414" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" { (expression_statement "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_001120b8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_001120b8" * (cast_expression "(code *)PTR___fprintf_chk_001120b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00111f84" * (cast_expression "(undefined4 *)PTR_stderr_00111f84" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_DAT_001112f4 + -0x6450" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" ( (pointer_expression "*(code *)PTR_fflush_00112440" * (cast_expression "(code *)PTR_fflush_00112440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) })) (if_statement "if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }" if (parenthesized_expression "((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2))" ( (binary_expression "(((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)" (parenthesized_expression "(((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8]))" ( (binary_expression "((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])" (parenthesized_expression "((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2))" ( (binary_expression "(param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1[8] - 3 < 2)" ( (binary_expression "param_1[8] - 3 < 2" (binary_expression "param_1[8] - 3" (subscript_expression "param_1[8]" identifier [ number_literal ]) - number_literal) < number_literal) ))) )) && (parenthesized_expression "(FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])" ( (comma_expression "FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8]" (call_expression "FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2)" identifier (argument_list "(param_1,PTR_DAT_00111314 + 0x4dac,param_2)" ( identifier , (binary_expression "PTR_DAT_00111314 + 0x4dac" identifier + number_literal) , identifier ))) , (binary_expression "0 < (int)param_1[8]" number_literal < (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ])))) ))) )) && (parenthesized_expression "(param_1[1] == 2)" ( (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }" { comment comment (expression_statement "(*(code *)PTR_fflush_00112440)(*param_1);" (call_expression "(*(code *)PTR_fflush_00112440)(*param_1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" ( (pointer_expression "*(code *)PTR_fflush_00112440" * (cast_expression "(code *)PTR_fflush_00112440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid log_eventlog(void *handle,char *event)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*handle);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void log_eventlog(void *handle,char *event)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*handle);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "log_eventlog(void *handle,char *event)" identifier (parameter_list "(void *handle,char *event)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *event" primitive_type (pointer_declarator "*event" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*handle);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00111f84;" (assignment_expression "puVar1 = PTR_stderr_00111f84" identifier = identifier) ;) (if_statement "if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" if (parenthesized_expression "((*(uint *)PTR_flags_00111414 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_00111414 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_00111414 & 3)" ( (binary_expression "*(uint *)PTR_flags_00111414 & 3" (pointer_expression "*(uint *)PTR_flags_00111414" * (cast_expression "(uint *)PTR_flags_00111414" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" { (expression_statement "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event);" (call_expression "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_001120b8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_001120b8" * (cast_expression "(code *)PTR___fprintf_chk_001120b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,event)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00111f84" * (cast_expression "(undefined4 *)PTR_stderr_00111f84" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_DAT_001112f4 + -0x6450" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" ( (pointer_expression "*(code *)PTR_fflush_00112440" * (cast_expression "(code *)PTR_fflush_00112440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) })) (if_statement "if ((((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*handle);\n    return;\n  }" if (parenthesized_expression "((((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2))" ( (binary_expression "(((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))) && (*(int *)((int)handle + 4) == 2)" (parenthesized_expression "(((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20)))" ( (binary_expression "((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)) &&\n      (logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))" (parenthesized_expression "((handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2))" ( (binary_expression "(handle != (void *)0x0) && (*(int *)((int)handle + 0x20) - 3U < 2)" (parenthesized_expression "(handle != (void *)0x0)" ( (binary_expression "handle != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(int *)((int)handle + 0x20) - 3U < 2)" ( (binary_expression "*(int *)((int)handle + 0x20) - 3U < 2" (binary_expression "*(int *)((int)handle + 0x20) - 3U" (pointer_expression "*(int *)((int)handle + 0x20)" * (cast_expression "(int *)((int)handle + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x20)" ( (binary_expression "(int)handle + 0x20" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal) < number_literal) ))) )) && (parenthesized_expression "(logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20))" ( (comma_expression "logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event),\n      0 < *(int *)((int)handle + 0x20)" (call_expression "logprintf((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event)" identifier (argument_list "((LogContext *)handle,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac,event)" ( (cast_expression "(LogContext *)handle" ( (type_descriptor "LogContext *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4dac" identifier + number_literal) , identifier ))) , (binary_expression "0 < *(int *)((int)handle + 0x20)" number_literal < (pointer_expression "*(int *)((int)handle + 0x20)" * (cast_expression "(int *)((int)handle + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x20)" ( (binary_expression "(int)handle + 0x20" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ))) )) && (parenthesized_expression "(*(int *)((int)handle + 4) == 2)" ( (binary_expression "*(int *)((int)handle + 4) == 2" (pointer_expression "*(int *)((int)handle + 4)" * (cast_expression "(int *)((int)handle + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_00112440)(*handle);\n    return;\n  }" { comment comment comment (expression_statement "(*(code *)PTR_fflush_00112440)(*handle);" (call_expression "(*(code *)PTR_fflush_00112440)(*handle)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" ( (pointer_expression "*(code *)PTR_fflush_00112440" * (cast_expression "(code *)PTR_fflush_00112440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*handle)" ( (pointer_expression "*handle" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void log_eventlog(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void log_eventlog(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "log_eventlog(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00111f84;" (assignment_expression "puVar1 = PTR_stderr_00111f84" identifier = identifier) ;) (if_statement "if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" if (parenthesized_expression "((*(uint *)PTR_flags_00111414 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_00111414 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_00111414 & 3)" ( (binary_expression "*(uint *)PTR_flags_00111414 & 3" (pointer_expression "*(uint *)PTR_flags_00111414" * (cast_expression "(uint *)PTR_flags_00111414" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" { (expression_statement "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_001120b8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_001120b8" * (cast_expression "(code *)PTR___fprintf_chk_001120b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00111f84" * (cast_expression "(undefined4 *)PTR_stderr_00111f84" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_DAT_001112f4 + -0x6450" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" ( (pointer_expression "*(code *)PTR_fflush_00112440" * (cast_expression "(code *)PTR_fflush_00112440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) })) (if_statement "if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }" if (parenthesized_expression "((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2))" ( (binary_expression "(((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)" (parenthesized_expression "(((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8]))" ( (binary_expression "((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])" (parenthesized_expression "((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2))" ( (binary_expression "(param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1[8] - 3 < 2)" ( (binary_expression "param_1[8] - 3 < 2" (binary_expression "param_1[8] - 3" (subscript_expression "param_1[8]" identifier [ number_literal ]) - number_literal) < number_literal) ))) )) && (parenthesized_expression "(FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])" ( (comma_expression "FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8]" (call_expression "FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2)" identifier (argument_list "(param_1,PTR_DAT_00111314 + 0x4dac,param_2)" ( identifier , (binary_expression "PTR_DAT_00111314 + 0x4dac" identifier + number_literal) , identifier ))) , (binary_expression "0 < (int)param_1[8]" number_literal < (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ])))) ))) )) && (parenthesized_expression "(param_1[1] == 2)" ( (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }" { (expression_statement "(*(code *)PTR_fflush_00112440)(*param_1);" (call_expression "(*(code *)PTR_fflush_00112440)(*param_1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" ( (pointer_expression "*(code *)PTR_fflush_00112440" * (cast_expression "(code *)PTR_fflush_00112440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - LIT) < LIT) ))) )) && (parenthesized_expression ( (comma_expression (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) , (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void log_eventlog(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "log_eventlog(undefined4 *param_1,undefined4 param_2)" (identifier "log_eventlog") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00111f84;\n  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }\n  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = PTR_stderr_00111f84;" (assignment_expression "puVar1 = PTR_stderr_00111f84" (identifier "puVar1") (= "=") (identifier "PTR_stderr_00111f84")) (; ";")) (if_statement "if ((*(uint *)PTR_flags_00111414 & 3) == 3) {\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" (if "if") (parenthesized_expression "((*(uint *)PTR_flags_00111414 & 3) == 3)" (( "(") (binary_expression "(*(uint *)PTR_flags_00111414 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_00111414 & 3)" (( "(") (binary_expression "*(uint *)PTR_flags_00111414 & 3" (pointer_expression "*(uint *)PTR_flags_00111414" (* "*") (cast_expression "(uint *)PTR_flags_00111414" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_flags_00111414"))) (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);\n    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);\n  }" ({ "{") (expression_statement "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_001120b8)\n              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_001120b8)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_001120b8" (* "*") (cast_expression "(code *)PTR___fprintf_chk_001120b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_001120b8"))) () ")")) (argument_list "(*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00111f84" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00111f84" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00111f84"))) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_DAT_001112f4 + -0x6450" (identifier "PTR_DAT_001112f4") (+ "+") (number_literal "-0x6450")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" (( "(") (pointer_expression "*(code *)PTR_fflush_00112440" (* "*") (cast_expression "(code *)PTR_fflush_00112440" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00112440"))) () ")")) (argument_list "(*(undefined4 *)puVar1)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (} "}"))) (if_statement "if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }" (if "if") (parenthesized_expression "((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2))" (( "(") (binary_expression "(((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&\n     (param_1[1] == 2)" (parenthesized_expression "(((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8]))" (( "(") (binary_expression "((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&\n      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])" (parenthesized_expression "((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2))" (( "(") (binary_expression "(param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(param_1[8] - 3 < 2)" (( "(") (binary_expression "param_1[8] - 3 < 2" (binary_expression "param_1[8] - 3" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (- "-") (number_literal "3")) (< "<") (number_literal "2")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])" (( "(") (comma_expression "FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8]" (call_expression "FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2)" (identifier "FUN_00034c00") (argument_list "(param_1,PTR_DAT_00111314 + 0x4dac,param_2)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_00111314 + 0x4dac" (identifier "PTR_DAT_00111314") (+ "+") (number_literal "0x4dac")) (, ",") (identifier "param_2") () ")"))) (, ",") (binary_expression "0 < (int)param_1[8]" (number_literal "0") (< "<") (cast_expression "(int)param_1[8]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_1[1] == 2)" (( "(") (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_fflush_00112440)(*param_1);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_fflush_00112440)(*param_1);" (call_expression "(*(code *)PTR_fflush_00112440)(*param_1)" (parenthesized_expression "(*(code *)PTR_fflush_00112440)" (( "(") (pointer_expression "*(code *)PTR_fflush_00112440" (* "*") (cast_expression "(code *)PTR_fflush_00112440" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00112440"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (number_literal))))) right: (parenthesized_expression (comma_expression left: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))) right: (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (return_statement))) (return_statement))))

void MASKED(undefined4 *param_1,undefined4 param_2)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00111f84;
  if ((*(uint *)PTR_flags_00111414 & 3) == 3) {
    (*(code *)PTR___fprintf_chk_001120b8)
              (*(undefined4 *)PTR_stderr_00111f84,1,PTR_DAT_001112f4 + -0x6450,param_2);
    (*(code *)PTR_fflush_00112440)(*(undefined4 *)puVar1);
  }
  if ((((param_1 != (undefined4 *)0x0) && (param_1[8] - 3 < 2)) &&
      (FUN_00034c00(param_1,PTR_DAT_00111314 + 0x4dac,param_2), 0 < (int)param_1[8])) &&
     (param_1[1] == 2)) {
                    /* WARNING: Could not recover jumptable at 0x000357d4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_fflush_00112440)(*param_1);
    return;
  }
  return;
}

