
/* std::locale::facet::_S_create_c_locale(__locale_struct*&, char const*, __locale_struct*) */

void std::locale::facet::_S_create_c_locale
               (__locale_struct **param_1,char *param_2,__locale_struct *param_3)

{
  __locale_struct *p_Var1;
  
  p_Var1 = (__locale_struct *)__newlocale(0x40);
  *param_1 = p_Var1;
  if (p_Var1 != (__locale_struct *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __throw_runtime_error("locale::facet::_S_create_c_locale name not valid");
}



void FUN_0031bb30(long *param_1)

{
  long lVar1;
  
  lVar1 = __newlocale(0x40);
  *param_1 = lVar1;
  if (lVar1 != 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00319700("locale::facet::_S_create_c_locale name not valid");
}


PUSH RBX
MOV RBX,RDI
MOV EDI,0x40
CALL 0x001475f0
MOV qword ptr [RBX],RAX
TEST RAX,RAX
JZ 0x0031bb48
POP RBX
RET
LEA RDI,[0x393868]
CALL 0x00319700
(translation_unit "void FUN_0031bb30(long *param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}\n\n" (function_definition "void FUN_0031bb30(long *param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}" primitive_type (function_declarator "FUN_0031bb30(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = __newlocale(0x40);" (assignment_expression "lVar1 = __newlocale(0x40)" identifier = (call_expression "__newlocale(0x40)" identifier (argument_list "(0x40)" ( number_literal )))) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (lVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_00319700("locale::facet::_S_create_c_locale name not valid");" (call_expression "FUN_00319700("locale::facet::_S_create_c_locale name not valid")" identifier (argument_list "("locale::facet::_S_create_c_locale name not valid")" ( (string_literal ""locale::facet::_S_create_c_locale name not valid"" " string_content ") ))) ;) })))
(translation_unit "/* std::locale::facet::_S_create_c_locale(__locale_struct*&, char const*, __locale_struct*) */\n\nvoid std::locale::facet::_S_create_c_locale\n               (__locale_struct **param_1,char *param_2,__locale_struct *param_3)\n\n{\n  __locale_struct *p_Var1;\n  \n  p_Var1 = (__locale_struct *)__newlocale(0x40);\n  *param_1 = p_Var1;\n  if (p_Var1 != (__locale_struct *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_runtime_error("locale::facet::_S_create_c_locale name not valid");\n}\n\n" comment (function_definition "void std::locale::facet::_S_create_c_locale\n               (__locale_struct **param_1,char *param_2,__locale_struct *param_3)\n\n{\n  __locale_struct *p_Var1;\n  \n  p_Var1 = (__locale_struct *)__newlocale(0x40);\n  *param_1 = p_Var1;\n  if (p_Var1 != (__locale_struct *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_runtime_error("locale::facet::_S_create_c_locale name not valid");\n}" primitive_type (ERROR "std::locale::facet::" identifier : : identifier : : identifier : :) (function_declarator "_S_create_c_locale\n               (__locale_struct **param_1,char *param_2,__locale_struct *param_3)" identifier (parameter_list "(__locale_struct **param_1,char *param_2,__locale_struct *param_3)" ( (parameter_declaration "__locale_struct **param_1" type_identifier (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "__locale_struct *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  __locale_struct *p_Var1;\n  \n  p_Var1 = (__locale_struct *)__newlocale(0x40);\n  *param_1 = p_Var1;\n  if (p_Var1 != (__locale_struct *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_runtime_error("locale::facet::_S_create_c_locale name not valid");\n}" { (declaration "__locale_struct *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (expression_statement "p_Var1 = (__locale_struct *)__newlocale(0x40);" (assignment_expression "p_Var1 = (__locale_struct *)__newlocale(0x40)" identifier = (cast_expression "(__locale_struct *)__newlocale(0x40)" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__newlocale(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "*param_1 = p_Var1;" (assignment_expression "*param_1 = p_Var1" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (p_Var1 != (__locale_struct *)0x0) {\n    return;\n  }" if (parenthesized_expression "(p_Var1 != (__locale_struct *)0x0)" ( (binary_expression "p_Var1 != (__locale_struct *)0x0" identifier != (cast_expression "(__locale_struct *)0x0" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__throw_runtime_error("locale::facet::_S_create_c_locale name not valid");" (call_expression "__throw_runtime_error("locale::facet::_S_create_c_locale name not valid")" identifier (argument_list "("locale::facet::_S_create_c_locale name not valid")" ( (string_literal ""locale::facet::_S_create_c_locale name not valid"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0031bb30(long *param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}\n\n" (function_definition "void FUN_0031bb30(long *param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}" primitive_type (function_declarator "FUN_0031bb30(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = __newlocale(0x40);" (assignment_expression "lVar1 = __newlocale(0x40)" identifier = (call_expression "__newlocale(0x40)" identifier (argument_list "(0x40)" ( number_literal )))) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (lVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00319700("locale::facet::_S_create_c_locale name not valid");" (call_expression "FUN_00319700("locale::facet::_S_create_c_locale name not valid")" identifier (argument_list "("locale::facet::_S_create_c_locale name not valid")" ( (string_literal ""locale::facet::_S_create_c_locale name not valid"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_0031bb30(long *param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}" (primitive_type "void") (function_declarator "FUN_0031bb30(long *param_1)" (identifier "FUN_0031bb30") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = __newlocale(0x40);\n  *param_1 = lVar1;\n  if (lVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00319700("locale::facet::_S_create_c_locale name not valid");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = __newlocale(0x40);" (assignment_expression "lVar1 = __newlocale(0x40)" (identifier "lVar1") (= "=") (call_expression "__newlocale(0x40)" (identifier "__newlocale") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")")))) (; ";")) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "lVar1")) (; ";")) (if_statement "if (lVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00319700("locale::facet::_S_create_c_locale name not valid");" (call_expression "FUN_00319700("locale::facet::_S_create_c_locale name not valid")" (identifier "FUN_00319700") (argument_list "("locale::facet::_S_create_c_locale name not valid")" (( "(") (string_literal ""locale::facet::_S_create_c_locale name not valid"" (" """) (string_content "locale::facet::_S_create_c_locale name not valid") (" """)) () ")"))) (; ";")) (} "}")))

/* std::locale::facet::_S_create_c_locale(__locale_struct*&, char const*, __locale_struct*) */

void std::locale::facet::function_1
               (type_1 **param_1,char *param_2,type_1 *param_3)

{
  type_1 *var_2;
  
  var_2 = (type_1 *)var_1(0x40);
  *param_1 = var_2;
  if (var_2 != (type_1 *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("locale::facet::_S_create_c_locale name not valid");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))))

void MASKED(long *param_1)

{
  long lVar1;
  
  lVar1 = __newlocale(0x40);
  *param_1 = lVar1;
  if (lVar1 != 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00319700("locale::facet::_S_create_c_locale name not valid");
}

