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

void MHD_DLOG(MHD_Daemon *daemon,char *format,...)

{
  int iVar1;
  undefined1 *puVar2;
  undefined4 in_a2;
  undefined4 in_a3;
  undefined *puVar3;
  undefined4 local_res8;
  undefined4 local_resc;
  va_list va;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;
  local_res8 = in_a2;
  local_resc = in_a3;
  if ((daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG) {
    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {
    puVar3 = PTR___stack_chk_fail_0003f21c;
    (*(code *)PTR___stack_chk_fail_0003f21c)();
    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;
        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {
      *puVar2 = 0x20;
    }
    return;
  }
  return;
}



void FUN_0001fcf0(int param_1)

{
  int iVar1;
  undefined1 *puVar2;
  undefined *puVar3;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;
  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {
    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {
    puVar3 = PTR___stack_chk_fail_0003f21c;
    (*(code *)PTR___stack_chk_fail_0003f21c)();
    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;
        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {
      *puVar2 = 0x20;
    }
    return;
  }
  return;
}


lui gp,0x2
addiu gp,gp,0x7310
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw gp,0x10(sp)
sw a2,0x30(sp)
sw a3,0x34(sp)
lw v0,-0x7dbc(gp)
lw v0,0x0(v0)
sw v0,0x1c(sp)
lw v0,0xf4(a0)
andi v0,v0,0x1
bne v0,zero,0x0001fd48
_addiu a2,sp,0x30
lw v1,0x1c(sp)
lw v0,-0x7dbc(gp)
lw v0,0x0(v0)
bne v1,v0,0x0001fd68
_lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
sw a2,0x18(sp)
lw t9,0x68(a0)
lw a0,0x6c(a0)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0001fd2c
_nop
lw t9,-0x7de4(gp)
jalr t9
_nop
(translation_unit "void FUN_0001fcf0(int param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001fcf0(int param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001fcf0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0003f244;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0003f244" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" * (cast_expression "(int *)PTR___stack_chk_guard_0003f244" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0xf4) & 1) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0xf4) & 1) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0xf4) & 1)" ( (binary_expression "*(uint *)(param_1 + 0xf4) & 1" (pointer_expression "*(uint *)(param_1 + 0xf4)" * (cast_expression "(uint *)(param_1 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }" { (expression_statement "(**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));" (call_expression "(**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c))" (parenthesized_expression "(**(code **)(param_1 + 0x68))" ( (pointer_expression "**(code **)(param_1 + 0x68)" * (pointer_expression "*(code **)(param_1 + 0x68)" * (cast_expression "(code **)(param_1 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_1 + 0x6c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) ))) ;) })) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_0003f244)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_0003f244" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" * (cast_expression "(int *)PTR___stack_chk_guard_0003f244" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_0003f21c;" (assignment_expression "puVar3 = PTR___stack_chk_fail_0003f21c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003f21c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003f21c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003f21c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003f21c" * (cast_expression "(code *)PTR___stack_chk_fail_0003f21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (for_statement "for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }" for ( (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))()" identifier = (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar3 + 0x1f450))()" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" ( (pointer_expression "**(code **)(puVar3 + 0x1f450)" * (pointer_expression "*(code **)(puVar3 + 0x1f450)" * (cast_expression "(code **)(puVar3 + 0x1f450)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1f450)" ( (binary_expression "puVar3 + 0x1f450" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ; (binary_expression "puVar2 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" identifier = (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" ( (pointer_expression "**(code **)(puVar3 + 0x1f450)" * (pointer_expression "*(code **)(puVar3 + 0x1f450)" * (cast_expression "(code **)(puVar3 + 0x1f450)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1f450)" ( (binary_expression "puVar3 + 0x1f450" identifier + number_literal) ))))) )) (argument_list "(puVar2 + 1,0x2b)" ( (binary_expression "puVar2 + 1" identifier + number_literal) , number_literal ))))) ) (compound_statement "{\n      *puVar2 = 0x20;\n    }" { (expression_statement "*puVar2 = 0x20;" (assignment_expression "*puVar2 = 0x20" (pointer_expression "*puVar2" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */\n\nvoid MHD_DLOG(MHD_Daemon *daemon,char *format,...)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar3;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  va_list va;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  if ((daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG) {\n    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void MHD_DLOG(MHD_Daemon *daemon,char *format,...)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar3;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  va_list va;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  if ((daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG) {\n    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "MHD_DLOG(MHD_Daemon *daemon,char *format,...)" identifier (parameter_list "(MHD_Daemon *daemon,char *format,...)" ( (parameter_declaration "MHD_Daemon *daemon" type_identifier (pointer_declarator "*daemon" * identifier)) , (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar3;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  va_list va;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  if ((daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG) {\n    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "va_list va;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0003f244;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0003f244" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" * (cast_expression "(int *)PTR___stack_chk_guard_0003f244" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res8 = in_a2;" (assignment_expression "local_res8 = in_a2" identifier = identifier) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (if_statement "if ((daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG) {\n    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);\n  }" if (parenthesized_expression "((daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG)" ( (binary_expression "(daemon->options & MHD_USE_DEBUG) != MHD_NO_FLAG" (parenthesized_expression "(daemon->options & MHD_USE_DEBUG)" ( (binary_expression "daemon->options & MHD_USE_DEBUG" (field_expression "daemon->options" identifier -> field_identifier) & identifier) )) != identifier) )) (compound_statement "{\n    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);\n  }" { (expression_statement "(*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);" (call_expression "(*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8)" (parenthesized_expression "(*daemon->custom_error_log)" ( (pointer_expression "*daemon->custom_error_log" * (field_expression "daemon->custom_error_log" identifier -> field_identifier)) )) (argument_list "(daemon->custom_error_log_cls,format,&local_res8)" ( (field_expression "daemon->custom_error_log_cls" identifier -> field_identifier) , identifier , (pointer_expression "&local_res8" & identifier) ))) ;) })) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_0003f244)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_0003f244" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" * (cast_expression "(int *)PTR___stack_chk_guard_0003f244" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_0003f21c;" (assignment_expression "puVar3 = PTR___stack_chk_fail_0003f21c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003f21c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003f21c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003f21c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003f21c" * (cast_expression "(code *)PTR___stack_chk_fail_0003f21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (for_statement "for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }" for ( (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))()" identifier = (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar3 + 0x1f450))()" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" ( (pointer_expression "**(code **)(puVar3 + 0x1f450)" * (pointer_expression "*(code **)(puVar3 + 0x1f450)" * (cast_expression "(code **)(puVar3 + 0x1f450)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1f450)" ( (binary_expression "puVar3 + 0x1f450" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ; (binary_expression "puVar2 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" identifier = (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" ( (pointer_expression "**(code **)(puVar3 + 0x1f450)" * (pointer_expression "*(code **)(puVar3 + 0x1f450)" * (cast_expression "(code **)(puVar3 + 0x1f450)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1f450)" ( (binary_expression "puVar3 + 0x1f450" identifier + number_literal) ))))) )) (argument_list "(puVar2 + 1,0x2b)" ( (binary_expression "puVar2 + 1" identifier + number_literal) , number_literal ))))) ) (compound_statement "{\n      *puVar2 = 0x20;\n    }" { (expression_statement "*puVar2 = 0x20;" (assignment_expression "*puVar2 = 0x20" (pointer_expression "*puVar2" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001fcf0(int param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001fcf0(int param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001fcf0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0003f244;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0003f244" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" * (cast_expression "(int *)PTR___stack_chk_guard_0003f244" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0xf4) & 1) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0xf4) & 1) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0xf4) & 1)" ( (binary_expression "*(uint *)(param_1 + 0xf4) & 1" (pointer_expression "*(uint *)(param_1 + 0xf4)" * (cast_expression "(uint *)(param_1 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }" { (expression_statement "(**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));" (call_expression "(**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c))" (parenthesized_expression "(**(code **)(param_1 + 0x68))" ( (pointer_expression "**(code **)(param_1 + 0x68)" * (pointer_expression "*(code **)(param_1 + 0x68)" * (cast_expression "(code **)(param_1 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_1 + 0x6c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) ))) ;) })) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_0003f244)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_0003f244" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" * (cast_expression "(int *)PTR___stack_chk_guard_0003f244" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_0003f21c;" (assignment_expression "puVar3 = PTR___stack_chk_fail_0003f21c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003f21c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003f21c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003f21c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003f21c" * (cast_expression "(code *)PTR___stack_chk_fail_0003f21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (for_statement "for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }" for ( (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))()" identifier = (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar3 + 0x1f450))()" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" ( (pointer_expression "**(code **)(puVar3 + 0x1f450)" * (pointer_expression "*(code **)(puVar3 + 0x1f450)" * (cast_expression "(code **)(puVar3 + 0x1f450)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1f450)" ( (binary_expression "puVar3 + 0x1f450" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ; (binary_expression "puVar2 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" identifier = (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" ( (pointer_expression "**(code **)(puVar3 + 0x1f450)" * (pointer_expression "*(code **)(puVar3 + 0x1f450)" * (cast_expression "(code **)(puVar3 + 0x1f450)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1f450)" ( (binary_expression "puVar3 + 0x1f450" identifier + number_literal) ))))) )) (argument_list "(puVar2 + 1,0x2b)" ( (binary_expression "puVar2 + 1" identifier + number_literal) , number_literal ))))) ) (compound_statement "{\n      *puVar2 = 0x20;\n    }" { (expression_statement "*puVar2 = 0x20;" (assignment_expression "*puVar2 = 0x20" (pointer_expression "*puVar2" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , LIT ))))) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001fcf0(int param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001fcf0(int param_1)" (identifier "FUN_0001fcf0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;\n  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0003f244;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0003f244" (identifier "iVar1") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0003f244" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0003f244")))) (; ";")) (if_statement "if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0xf4) & 1) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0xf4) & 1) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0xf4) & 1)" (( "(") (binary_expression "*(uint *)(param_1 + 0xf4) & 1" (pointer_expression "*(uint *)(param_1 + 0xf4)" (* "*") (cast_expression "(uint *)(param_1 + 0xf4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf4)" (( "(") (binary_expression "param_1 + 0xf4" (identifier "param_1") (+ "+") (number_literal "0xf4")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));\n  }" ({ "{") (expression_statement "(**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));" (call_expression "(**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c))" (parenthesized_expression "(**(code **)(param_1 + 0x68))" (( "(") (pointer_expression "**(code **)(param_1 + 0x68)" (* "*") (pointer_expression "*(code **)(param_1 + 0x68)" (* "*") (cast_expression "(code **)(param_1 + 0x68)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x6c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_0003f244)" (( "(") (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_0003f244" (identifier "iVar1") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_0003f244" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0003f244" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0003f244")))) () ")")) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_0003f21c;\n    (*(code *)PTR___stack_chk_fail_0003f21c)();\n    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }\n    return;\n  }" ({ "{") (expression_statement "puVar3 = PTR___stack_chk_fail_0003f21c;" (assignment_expression "puVar3 = PTR___stack_chk_fail_0003f21c" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_fail_0003f21c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0003f21c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003f21c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003f21c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0003f21c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0003f21c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0003f21c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (for_statement "for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;\n        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {\n      *puVar2 = 0x20;\n    }" (for "for") (( "(") (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))()" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar3 + 0x1f450))()" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x1f450)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x1f450)" (* "*") (cast_expression "(code **)(puVar3 + 0x1f450)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x1f450)" (( "(") (binary_expression "puVar3 + 0x1f450" (identifier "puVar3") (+ "+") (number_literal "0x1f450")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";") (binary_expression "puVar2 != (undefined1 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)" (parenthesized_expression "(**(code **)(puVar3 + 0x1f450))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x1f450)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x1f450)" (* "*") (cast_expression "(code **)(puVar3 + 0x1f450)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x1f450)" (( "(") (binary_expression "puVar3 + 0x1f450" (identifier "puVar3") (+ "+") (number_literal "0x1f450")) () ")"))))) () ")")) (argument_list "(puVar2 + 1,0x2b)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) (, ",") (number_literal "0x2b") () ")"))))) () ")") (compound_statement "{\n      *puVar2 = 0x20;\n    }" ({ "{") (expression_statement "*puVar2 = 0x20;" (assignment_expression "*puVar2 = 0x20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0x20")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *daemon,char *format,...)

{
  int var_3;
  type_2 *var_5;
  type_3 in_a2;
  type_3 in_a3;
  type_4 *var_4;
  type_3 local_res8;
  type_3 local_resc;
  type_5 va;
  
  var_3 = *(int *)PTR___stack_chk_guard_0003f244;
  local_res8 = in_a2;
  local_resc = in_a3;
  if ((daemon->options & var_1) != var_2) {
    (*daemon->custom_error_log)(daemon->custom_error_log_cls,format,&local_res8);
  }
  if (var_3 != *(int *)PTR___stack_chk_guard_0003f244) {
    var_4 = PTR___stack_chk_fail_0003f21c;
    (*(type_6 *)PTR___stack_chk_fail_0003f21c)();
    for (var_5 = (type_2 *)(**(type_6 **)(var_4 + 0x1f450))(); var_5 != (type_2 *)0x0;
        var_5 = (type_2 *)(**(type_6 **)(var_4 + 0x1f450))(var_5 + 1,0x2b)) {
      *var_5 = 0x20;
    }
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (for_statement initializer: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (return_statement))) (return_statement))))

void MASKED(int param_1)

{
  int iVar1;
  undefined1 *puVar2;
  undefined *puVar3;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0003f244;
  if ((*(uint *)(param_1 + 0xf4) & 1) != 0) {
    (**(code **)(param_1 + 0x68))(*(undefined4 *)(param_1 + 0x6c));
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_0003f244) {
    puVar3 = PTR___stack_chk_fail_0003f21c;
    (*(code *)PTR___stack_chk_fail_0003f21c)();
    for (puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(); puVar2 != (undefined1 *)0x0;
        puVar2 = (undefined1 *)(**(code **)(puVar3 + 0x1f450))(puVar2 + 1,0x2b)) {
      *puVar2 = 0x20;
    }
    return;
  }
  return;
}

