
int MHD_create_named_thread_
              (MHD_thread_handle_ID_ *thread,char *thread_name,size_t stack_size,
              MHD_THREAD_START_ROUTINE_ start_routine,void *arg)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (thread_name == (char *)0x0) {
    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();
    *puVar2 = 0x16;
    return 0;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);
  puVar1 = PTR_LAB_0003f084;
  if (puVar2 == (undefined4 *)0x0) {
    return 0;
  }
  *puVar2 = start_routine;
  puVar2[2] = thread_name;
  puVar2[1] = arg;
  iVar3 = MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2);
  if (iVar3 == 0) {
    (*(code *)PTR_free_0003f2f8)(puVar2);
  }
  return (uint)(iVar3 != 0);
}



bool FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (param_2 == 0) {
    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();
    *puVar2 = 0x16;
    return false;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);
  puVar1 = PTR_LAB_0003f084;
  if (puVar2 == (undefined4 *)0x0) {
    return false;
  }
  *puVar2 = param_4;
  puVar2[2] = param_2;
  puVar2[1] = param_5;
  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);
  if (iVar3 == 0) {
    (*(code *)PTR_free_0003f2f8)(puVar2);
  }
  return iVar3 != 0;
}


lui gp,0x2
addiu gp,gp,0x345c
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
beq a1,zero,0x00023cb4
_sw s0,0x18(sp)
lw t9,-0x7dd4(gp)
or s3,a0,zero
li a0,0xc
or s4,a2,zero
jalr t9
_or s2,a3,zero
lw gp,0x10(sp)
beq v0,zero,0x00023c8c
_or s0,v0,zero
lw a2,-0x7fac(gp)
or a3,v0,zero
lw t9,-0x7f20(gp)
or a1,s4,zero
sw s2,0x0(v0)
or a0,s3,zero
sw s1,0x8(s0)
addiu a2,a2,0x3a00
lw v0,0x40(sp)
bal 0x00023a94
_sw v0,0x4(s0)
lw gp,0x10(sp)
beq v0,zero,0x00023cec
_or s1,v0,zero
li s1,0x1
lw ra,0x2c(sp)
or v0,s1,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
or s1,zero,zero
lw s4,0x28(sp)
or v0,s1,zero
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7e2c(gp)
jalr t9
_nop
li v1,0x16
sw v1,0x0(v0)
or v0,s1,zero
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7d38(gp)
jalr t9
_or a0,s0,zero
b 0x00023c6c
_lw ra,0x2c(sp)
(translation_unit "bool FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}\n\n" (function_definition "bool FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}" primitive_type (function_declarator "FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }" { (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0003f204)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0003f204)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003f204)" ( (pointer_expression "*(code *)PTR___errno_location_0003f204" * (cast_expression "(code *)PTR___errno_location_0003f204" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar2 = 0x16;" (assignment_expression "*puVar2 = 0x16" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (return_statement "return false;" return false ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_0003f25c)(0xc)" (parenthesized_expression "(*(code *)PTR_malloc_0003f25c)" ( (pointer_expression "*(code *)PTR_malloc_0003f25c" * (cast_expression "(code *)PTR_malloc_0003f25c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "puVar1 = PTR_LAB_0003f084;" (assignment_expression "puVar1 = PTR_LAB_0003f084" identifier = identifier) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "*puVar2 = param_4;" (assignment_expression "*puVar2 = param_4" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[2] = param_2;" (assignment_expression "puVar2[2] = param_2" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[1] = param_5;" (assignment_expression "puVar2[1] = param_5" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);" (assignment_expression "iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2)" identifier = (call_expression "FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2)" identifier (argument_list "(param_1,param_3,puVar1 + 0x3a00,puVar2)" ( identifier , identifier , (binary_expression "puVar1 + 0x3a00" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" { (expression_statement "(*(code *)PTR_free_0003f2f8)(puVar2);" (call_expression "(*(code *)PTR_free_0003f2f8)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_0003f2f8)" ( (pointer_expression "*(code *)PTR_free_0003f2f8" * (cast_expression "(code *)PTR_free_0003f2f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) })) (return_statement "return iVar3 != 0;" return (binary_expression "iVar3 != 0" identifier != number_literal) ;) })))
(translation_unit "int MHD_create_named_thread_\n              (MHD_thread_handle_ID_ *thread,char *thread_name,size_t stack_size,\n              MHD_THREAD_START_ROUTINE_ start_routine,void *arg)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (thread_name == (char *)0x0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return 0;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return 0;\n  }\n  *puVar2 = start_routine;\n  puVar2[2] = thread_name;\n  puVar2[1] = arg;\n  iVar3 = MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return (uint)(iVar3 != 0);\n}\n\n" (function_definition "int MHD_create_named_thread_\n              (MHD_thread_handle_ID_ *thread,char *thread_name,size_t stack_size,\n              MHD_THREAD_START_ROUTINE_ start_routine,void *arg)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (thread_name == (char *)0x0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return 0;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return 0;\n  }\n  *puVar2 = start_routine;\n  puVar2[2] = thread_name;\n  puVar2[1] = arg;\n  iVar3 = MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return (uint)(iVar3 != 0);\n}" primitive_type (function_declarator "MHD_create_named_thread_\n              (MHD_thread_handle_ID_ *thread,char *thread_name,size_t stack_size,\n              MHD_THREAD_START_ROUTINE_ start_routine,void *arg)" identifier (parameter_list "(MHD_thread_handle_ID_ *thread,char *thread_name,size_t stack_size,\n              MHD_THREAD_START_ROUTINE_ start_routine,void *arg)" ( (parameter_declaration "MHD_thread_handle_ID_ *thread" type_identifier (pointer_declarator "*thread" * identifier)) , (parameter_declaration "char *thread_name" primitive_type (pointer_declarator "*thread_name" * identifier)) , (parameter_declaration "size_t stack_size" primitive_type identifier) , (parameter_declaration "MHD_THREAD_START_ROUTINE_ start_routine" type_identifier identifier) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (thread_name == (char *)0x0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return 0;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return 0;\n  }\n  *puVar2 = start_routine;\n  puVar2[2] = thread_name;\n  puVar2[1] = arg;\n  iVar3 = MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return (uint)(iVar3 != 0);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (thread_name == (char *)0x0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return 0;\n  }" if (parenthesized_expression "(thread_name == (char *)0x0)" ( (binary_expression "thread_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return 0;\n  }" { (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0003f204)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0003f204)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003f204)" ( (pointer_expression "*(code *)PTR___errno_location_0003f204" * (cast_expression "(code *)PTR___errno_location_0003f204" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar2 = 0x16;" (assignment_expression "*puVar2 = 0x16" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_0003f25c)(0xc)" (parenthesized_expression "(*(code *)PTR_malloc_0003f25c)" ( (pointer_expression "*(code *)PTR_malloc_0003f25c" * (cast_expression "(code *)PTR_malloc_0003f25c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "puVar1 = PTR_LAB_0003f084;" (assignment_expression "puVar1 = PTR_LAB_0003f084" identifier = identifier) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*puVar2 = start_routine;" (assignment_expression "*puVar2 = start_routine" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[2] = thread_name;" (assignment_expression "puVar2[2] = thread_name" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[1] = arg;" (assignment_expression "puVar2[1] = arg" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2);" (assignment_expression "iVar3 = MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2)" identifier = (call_expression "MHD_create_thread_(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2)" identifier (argument_list "(thread,stack_size,(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00),puVar2)" ( identifier , identifier , (call_expression "(MHD_THREAD_START_ROUTINE_)(puVar1 + 0x3a00)" (parenthesized_expression "(MHD_THREAD_START_ROUTINE_)" ( identifier )) (argument_list "(puVar1 + 0x3a00)" ( (binary_expression "puVar1 + 0x3a00" identifier + number_literal) ))) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" { (expression_statement "(*(code *)PTR_free_0003f2f8)(puVar2);" (call_expression "(*(code *)PTR_free_0003f2f8)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_0003f2f8)" ( (pointer_expression "*(code *)PTR_free_0003f2f8" * (cast_expression "(code *)PTR_free_0003f2f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) })) (return_statement "return (uint)(iVar3 != 0);" return (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))) ;) })))
(translation_unit "bool FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}\n\n" (function_definition "bool FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}" primitive_type (function_declarator "FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }" { (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0003f204)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0003f204)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003f204)" ( (pointer_expression "*(code *)PTR___errno_location_0003f204" * (cast_expression "(code *)PTR___errno_location_0003f204" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar2 = 0x16;" (assignment_expression "*puVar2 = 0x16" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (return_statement "return false;" return false ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_0003f25c)(0xc)" (parenthesized_expression "(*(code *)PTR_malloc_0003f25c)" ( (pointer_expression "*(code *)PTR_malloc_0003f25c" * (cast_expression "(code *)PTR_malloc_0003f25c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "puVar1 = PTR_LAB_0003f084;" (assignment_expression "puVar1 = PTR_LAB_0003f084" identifier = identifier) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "*puVar2 = param_4;" (assignment_expression "*puVar2 = param_4" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[2] = param_2;" (assignment_expression "puVar2[2] = param_2" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[1] = param_5;" (assignment_expression "puVar2[1] = param_5" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);" (assignment_expression "iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2)" identifier = (call_expression "FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2)" identifier (argument_list "(param_1,param_3,puVar1 + 0x3a00,puVar2)" ( identifier , identifier , (binary_expression "puVar1 + 0x3a00" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" { (expression_statement "(*(code *)PTR_free_0003f2f8)(puVar2);" (call_expression "(*(code *)PTR_free_0003f2f8)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_0003f2f8)" ( (pointer_expression "*(code *)PTR_free_0003f2f8" * (cast_expression "(code *)PTR_free_0003f2f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) })) (return_statement "return iVar3 != 0;" return (binary_expression "iVar3 != 0" identifier != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}" (primitive_type "bool") (function_declarator "FUN_00023bd4(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" (identifier "FUN_00023bd4") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);\n  puVar1 = PTR_LAB_0003f084;\n  if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }\n  *puVar2 = param_4;\n  puVar2[2] = param_2;\n  puVar2[1] = param_5;\n  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);\n  if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }\n  return iVar3 != 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_2 == 0) {\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();\n    *puVar2 = 0x16;\n    return false;\n  }" ({ "{") (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)()" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0003f204)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0003f204)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003f204)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0003f204" (* "*") (cast_expression "(code *)PTR___errno_location_0003f204" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0003f204"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*puVar2 = 0x16;" (assignment_expression "*puVar2 = 0x16" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0x16")) (; ";")) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_malloc_0003f25c)(0xc)" (parenthesized_expression "(*(code *)PTR_malloc_0003f25c)" (( "(") (pointer_expression "*(code *)PTR_malloc_0003f25c" (* "*") (cast_expression "(code *)PTR_malloc_0003f25c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_0003f25c"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "puVar1 = PTR_LAB_0003f084;" (assignment_expression "puVar1 = PTR_LAB_0003f084" (identifier "puVar1") (= "=") (identifier "PTR_LAB_0003f084")) (; ";")) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    return false;\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined4 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "*puVar2 = param_4;" (assignment_expression "*puVar2 = param_4" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar2[2] = param_2;" (assignment_expression "puVar2[2] = param_2" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar2[1] = param_5;" (assignment_expression "puVar2[1] = param_5" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);" (assignment_expression "iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2)" (identifier "iVar3") (= "=") (call_expression "FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2)" (identifier "FUN_00023a94") (argument_list "(param_1,param_3,puVar1 + 0x3a00,puVar2)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (binary_expression "puVar1 + 0x3a00" (identifier "puVar1") (+ "+") (number_literal "0x3a00")) (, ",") (identifier "puVar2") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_free_0003f2f8)(puVar2);\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_0003f2f8)(puVar2);" (call_expression "(*(code *)PTR_free_0003f2f8)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_0003f2f8)" (( "(") (pointer_expression "*(code *)PTR_free_0003f2f8" (* "*") (cast_expression "(code *)PTR_free_0003f2f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0003f2f8"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar3 != 0;" (return "return") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";")) (} "}")))

int function_1
              (type_1 *thread,char *var_1,size_t stack_size,
              type_2 start_routine,void *arg)

{
  type_3 *var_4;
  type_4 *var_2;
  int var_5;
  
  if (var_1 == (char *)0x0) {
    var_2 = (type_4 *)(*(type_5 *)PTR___errno_location_0003f204)();
    *var_2 = 0x16;
    return 0;
  }
  var_2 = (type_4 *)(*(type_5 *)PTR_malloc_0003f25c)(0xc);
  var_4 = PTR_LAB_0003f084;
  if (var_2 == (type_4 *)0x0) {
    return 0;
  }
  *var_2 = start_routine;
  var_2[2] = var_1;
  var_2[1] = arg;
  var_5 = var_3(thread,stack_size,(type_2)(var_4 + 0x3a00),var_2);
  if (var_5 == 0) {
    (*(type_5 *)PTR_free_0003f2f8)(var_2);
  }
  return (uint)(var_5 != 0);
}


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

bool MASKED(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (param_2 == 0) {
    puVar2 = (undefined4 *)(*(code *)PTR___errno_location_0003f204)();
    *puVar2 = 0x16;
    return false;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_malloc_0003f25c)(0xc);
  puVar1 = PTR_LAB_0003f084;
  if (puVar2 == (undefined4 *)0x0) {
    return false;
  }
  *puVar2 = param_4;
  puVar2[2] = param_2;
  puVar2[1] = param_5;
  iVar3 = FUN_00023a94(param_1,param_3,puVar1 + 0x3a00,puVar2);
  if (iVar3 == 0) {
    (*(code *)PTR_free_0003f2f8)(puVar2);
  }
  return iVar3 != 0;
}

