
double c_strtod(char *nptr,char **endptr)

{
  undefined4 uVar1;
  double dVar2;
  
  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {
    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);
    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;
  }
  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {
    if (endptr == (char **)0x0) {
      dVar2 = 0.0;
    }
    else {
      *endptr = nptr;
      dVar2 = 0.0;
    }
  }
  else {
    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);
  }
  return dVar2;
}



undefined8 c_strtod(undefined4 param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  undefined8 uVar2;
  
  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {
    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);
    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;
  }
  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {
    if (param_2 == (undefined4 *)0x0) {
      uVar2 = 0;
    }
    else {
      *param_2 = param_1;
      uVar2 = 0;
    }
  }
  else {
    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);
  }
  return uVar2;
}


lui gp,0x2
addiu gp,gp,-0x420
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s1,a0,zero
or s0,a1,zero
lw v0,-0x7fd8(gp)
lw v0,-0x4ae0(v0)
beq v0,zero,0x00013710
_or a2,zero,zero
lw v0,-0x7fd8(gp)
lw a2,-0x4ae0(v0)
beq a2,zero,0x0001373c
_or a1,s0,zero
or a0,s1,zero
lw t9,-0x7de0(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x65c0
li a0,0x1fbf
lw t9,-0x7dfc(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v1,-0x7fd8(gp)
sw v0,-0x4ae0(v1)
b 0x000136dc
_lw v0,-0x7fd8(gp)
beq s0,zero,0x00013754
_nop
sw s1,0x0(s0)
mtc1 zero,f0
b 0x000136fc
_mthc1 zero,f0
mtc1 zero,f0
b 0x000136fc
_mthc1 zero,f0
(translation_unit "undefined8 c_strtod(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined8 c_strtod(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "c_strtod(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);" (assignment_expression "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" identifier = (call_expression "(*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" (parenthesized_expression "(*(code *)PTR_newlocale_0002b484)" ( (pointer_expression "*(code *)PTR_newlocale_0002b484" * (cast_expression "(code *)PTR_newlocale_0002b484" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" ( number_literal , (binary_expression "PTR_DAT_0002b2b8 + -0x65c0" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1" (pointer_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" else (compound_statement "{\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" { (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);" (assignment_expression "uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2)" identifier = (call_expression "(*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_strtod_l_0002b4a0)" ( (pointer_expression "*(code *)PTR_strtod_l_0002b4a0" * (cast_expression "(code *)PTR_strtod_l_0002b4a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "double c_strtod(char *nptr,char **endptr)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (endptr == (char **)0x0) {\n      dVar2 = 0.0;\n    }\n    else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }\n  }\n  else {\n    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);\n  }\n  return dVar2;\n}\n\n" (function_definition "double c_strtod(char *nptr,char **endptr)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (endptr == (char **)0x0) {\n      dVar2 = 0.0;\n    }\n    else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }\n  }\n  else {\n    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);\n  }\n  return dVar2;\n}" primitive_type (function_declarator "c_strtod(char *nptr,char **endptr)" identifier (parameter_list "(char *nptr,char **endptr)" ( (parameter_declaration "char *nptr" primitive_type (pointer_declarator "*nptr" * identifier)) , (parameter_declaration "char **endptr" primitive_type (pointer_declarator "**endptr" * (pointer_declarator "*endptr" * identifier))) ))) (compound_statement "{\n  undefined4 uVar1;\n  double dVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (endptr == (char **)0x0) {\n      dVar2 = 0.0;\n    }\n    else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }\n  }\n  else {\n    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);\n  }\n  return dVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);" (assignment_expression "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" identifier = (call_expression "(*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" (parenthesized_expression "(*(code *)PTR_newlocale_0002b484)" ( (pointer_expression "*(code *)PTR_newlocale_0002b484" * (cast_expression "(code *)PTR_newlocale_0002b484" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" ( number_literal , (binary_expression "PTR_DAT_0002b2b8 + -0x65c0" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1" (pointer_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (endptr == (char **)0x0) {\n      dVar2 = 0.0;\n    }\n    else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }\n  }\n  else {\n    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (endptr == (char **)0x0) {\n      dVar2 = 0.0;\n    }\n    else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }\n  }" { (if_statement "if (endptr == (char **)0x0) {\n      dVar2 = 0.0;\n    }\n    else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }" if (parenthesized_expression "(endptr == (char **)0x0)" ( (binary_expression "endptr == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      dVar2 = 0.0;\n    }" { (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" identifier = number_literal) ;) }) (else_clause "else {\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }" else (compound_statement "{\n      *endptr = nptr;\n      dVar2 = 0.0;\n    }" { (expression_statement "*endptr = nptr;" (assignment_expression "*endptr = nptr" (pointer_expression "*endptr" * identifier) = identifier) ;) (expression_statement "dVar2 = 0.0;" (assignment_expression "dVar2 = 0.0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);\n  }" else (compound_statement "{\n    dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);\n  }" { (expression_statement "dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr);" (assignment_expression "dVar2 = (double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr)" identifier = (cast_expression "(double)(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr)" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR_strtod_l_0002b4a0)(nptr,endptr)" (parenthesized_expression "(*(code *)PTR_strtod_l_0002b4a0)" ( (pointer_expression "*(code *)PTR_strtod_l_0002b4a0" * (cast_expression "(code *)PTR_strtod_l_0002b4a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(nptr,endptr)" ( identifier , identifier ))))) ;) }))) (return_statement "return dVar2;" return identifier ;) })))
(translation_unit "undefined8 c_strtod(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined8 c_strtod(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "c_strtod(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);" (assignment_expression "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" identifier = (call_expression "(*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" (parenthesized_expression "(*(code *)PTR_newlocale_0002b484)" ( (pointer_expression "*(code *)PTR_newlocale_0002b484" * (cast_expression "(code *)PTR_newlocale_0002b484" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" ( number_literal , (binary_expression "PTR_DAT_0002b2b8 + -0x65c0" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1" (pointer_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" * (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" ( (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" else (compound_statement "{\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" { (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);" (assignment_expression "uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2)" identifier = (call_expression "(*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_strtod_l_0002b4a0)" ( (pointer_expression "*(code *)PTR_strtod_l_0002b4a0" * (cast_expression "(code *)PTR_strtod_l_0002b4a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined8 c_strtod(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}" (type_identifier "undefined8") (function_declarator "c_strtod(undefined4 param_1,undefined4 *param_2)" (identifier "c_strtod") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }\n  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }\n  return uVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" (* "*") (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" (( "(") (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" (identifier "PTR_DAT_0002b2a8") (+ "+") (number_literal "-0x4ae0")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);\n    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);" (assignment_expression "uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" (parenthesized_expression "(*(code *)PTR_newlocale_0002b484)" (( "(") (pointer_expression "*(code *)PTR_newlocale_0002b484" (* "*") (cast_expression "(code *)PTR_newlocale_0002b484" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_newlocale_0002b484"))) () ")")) (argument_list "(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0)" (( "(") (number_literal "0x1fbf") (, ",") (binary_expression "PTR_DAT_0002b2b8 + -0x65c0" (identifier "PTR_DAT_0002b2b8") (+ "+") (number_literal "-0x65c0")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1" (pointer_expression "*(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" (( "(") (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" (identifier "PTR_DAT_0002b2a8") (+ "+") (number_literal "-0x4ae0")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (if_statement "if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0" (pointer_expression "*(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" (* "*") (cast_expression "(int *)(PTR_DAT_0002b2a8 + -0x4ae0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002b2a8 + -0x4ae0)" (( "(") (binary_expression "PTR_DAT_0002b2a8 + -0x4ae0" (identifier "PTR_DAT_0002b2a8") (+ "+") (number_literal "-0x4ae0")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }\n  }" ({ "{") (if_statement "if (param_2 == (undefined4 *)0x0) {\n      uVar2 = 0;\n    }\n    else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" (else "else") (compound_statement "{\n      *param_2 = param_1;\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" (else "else") (compound_statement "{\n    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);" (assignment_expression "uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_strtod_l_0002b4a0)" (( "(") (pointer_expression "*(code *)PTR_strtod_l_0002b4a0" (* "*") (cast_expression "(code *)PTR_strtod_l_0002b4a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtod_l_0002b4a0"))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

double function_1(char *nptr,char **var_3)

{
  type_1 uVar1;
  double dVar2;
  
  if (*(int *)(var_1 + -0x4ae0) == 0) {
    uVar1 = (*(type_2 *)PTR_newlocale_0002b484)(0x1fbf,var_2 + -0x65c0,0);
    *(type_1 *)(var_1 + -0x4ae0) = uVar1;
  }
  if (*(int *)(var_1 + -0x4ae0) == 0) {
    if (var_3 == (char **)0x0) {
      dVar2 = 0.0;
    }
    else {
      *var_3 = nptr;
      dVar2 = 0.0;
    }
  }
  else {
    dVar2 = (double)(*(type_2 *)PTR_strtod_l_0002b4a0)(nptr,var_3);
  }
  return dVar2;
}


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

undefined8 MASKED(undefined4 param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  undefined8 uVar2;
  
  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {
    uVar1 = (*(code *)PTR_newlocale_0002b484)(0x1fbf,PTR_DAT_0002b2b8 + -0x65c0,0);
    *(undefined4 *)(PTR_DAT_0002b2a8 + -0x4ae0) = uVar1;
  }
  if (*(int *)(PTR_DAT_0002b2a8 + -0x4ae0) == 0) {
    if (param_2 == (undefined4 *)0x0) {
      uVar2 = 0;
    }
    else {
      *param_2 = param_1;
      uVar2 = 0;
    }
  }
  else {
    uVar2 = (*(code *)PTR_strtod_l_0002b4a0)(param_1,param_2);
  }
  return uVar2;
}

