
/* std::locale::_Impl::_Impl(unsigned int) [clone .cold.9] */

void __thiscall std::locale::_Impl::_Impl(_Impl *this,uint param_1)

{
  int unaff_EBP;
  int unaff_ESI;
  
  facet::~facet((facet *)(unaff_ESI + 0x843c));
  if (*(int *)(unaff_EBP + -0x3c) == -1) {
                    /* WARNING: Subroutine does not return */
    __cxa_call_unexpected();
  }
                    /* WARNING: Subroutine does not return */
  _Unwind_Resume();
}



void FUN_00034122(void)

{
  int unaff_EBP;
  int unaff_ESI;
  
  FUN_001e8c50(unaff_ESI + 0x843c);
  if (*(int *)(unaff_EBP + -0x3c) == -1) {
                    /* WARNING: Subroutine does not return */
    FUN_001e6270();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0027dd90();
}


SUB ESP,0xc
LEA EAX,[ESI + 0x843c]
PUSH EAX
MOV EBX,ESI
CALL 0x001e8c50
MOV EAX,EDI
MOV EDI,dword ptr [EBP + -0x3c]
ADD ESP,0x10
ADD EDI,0x1
JNZ 0x0003414b
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x001e6270
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x0027dd90
(translation_unit "void FUN_00034122(void)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6270();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0027dd90();\n}\n\n" (function_definition "void FUN_00034122(void)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6270();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0027dd90();\n}" primitive_type (function_declarator "FUN_00034122(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6270();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0027dd90();\n}" { (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (expression_statement "FUN_001e8c50(unaff_ESI + 0x843c);" (call_expression "FUN_001e8c50(unaff_ESI + 0x843c)" identifier (argument_list "(unaff_ESI + 0x843c)" ( (binary_expression "unaff_ESI + 0x843c" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6270();\n  }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x3c) == -1)" ( (binary_expression "*(int *)(unaff_EBP + -0x3c) == -1" (pointer_expression "*(int *)(unaff_EBP + -0x3c)" * (cast_expression "(int *)(unaff_EBP + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x3c)" ( (binary_expression "unaff_EBP + -0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6270();\n  }" { comment (expression_statement "FUN_001e6270();" (call_expression "FUN_001e6270()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "FUN_0027dd90();" (call_expression "FUN_0027dd90()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* std::locale::_Impl::_Impl(unsigned int) [clone .cold.9] */\n\nvoid __thiscall std::locale::_Impl::_Impl(_Impl *this,uint param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  facet::~facet((facet *)(unaff_ESI + 0x843c));\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_call_unexpected();\n  }\n                    /* WARNING: Subroutine does not return */\n  _Unwind_Resume();\n}\n\n" comment (function_definition "void __thiscall std::locale::_Impl::_Impl(_Impl *this,uint param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  facet::~facet((facet *)(unaff_ESI + 0x843c));\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_call_unexpected();\n  }\n                    /* WARNING: Subroutine does not return */\n  _Unwind_Resume();\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::locale::_Impl::" identifier : : identifier : : identifier : :) (function_declarator "_Impl(_Impl *this,uint param_1)" identifier (parameter_list "(_Impl *this,uint param_1)" ( (parameter_declaration "_Impl *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  facet::~facet((facet *)(unaff_ESI + 0x843c));\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_call_unexpected();\n  }\n                    /* WARNING: Subroutine does not return */\n  _Unwind_Resume();\n}" { (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (labeled_statement "facet::~facet((facet *)(unaff_ESI + 0x843c));" statement_identifier : (ERROR ":" :) (expression_statement "~facet((facet *)(unaff_ESI + 0x843c));" (unary_expression "~facet((facet *)(unaff_ESI + 0x843c))" ~ (call_expression "facet((facet *)(unaff_ESI + 0x843c))" identifier (argument_list "((facet *)(unaff_ESI + 0x843c))" ( (cast_expression "(facet *)(unaff_ESI + 0x843c)" ( (type_descriptor "facet *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + 0x843c)" ( (binary_expression "unaff_ESI + 0x843c" identifier + number_literal) ))) )))) ;)) (if_statement "if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_call_unexpected();\n  }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x3c) == -1)" ( (binary_expression "*(int *)(unaff_EBP + -0x3c) == -1" (pointer_expression "*(int *)(unaff_EBP + -0x3c)" * (cast_expression "(int *)(unaff_EBP + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x3c)" ( (binary_expression "unaff_EBP + -0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __cxa_call_unexpected();\n  }" { comment (expression_statement "__cxa_call_unexpected();" (call_expression "__cxa_call_unexpected()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "_Unwind_Resume();" (call_expression "_Unwind_Resume()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00034122(void)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }\n                    \n  FUN_0027dd90();\n}\n\n" (function_definition "void FUN_00034122(void)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }\n                    \n  FUN_0027dd90();\n}" primitive_type (function_declarator "FUN_00034122(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }\n                    \n  FUN_0027dd90();\n}" { (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (expression_statement "FUN_001e8c50(unaff_ESI + 0x843c);" (call_expression "FUN_001e8c50(unaff_ESI + 0x843c)" identifier (argument_list "(unaff_ESI + 0x843c)" ( (binary_expression "unaff_ESI + 0x843c" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x3c) == -1)" ( (binary_expression "*(int *)(unaff_EBP + -0x3c) == -1" (pointer_expression "*(int *)(unaff_EBP + -0x3c)" * (cast_expression "(int *)(unaff_EBP + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x3c)" ( (binary_expression "unaff_EBP + -0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_001e6270();\n  }" { (expression_statement "FUN_001e6270();" (call_expression "FUN_001e6270()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_0027dd90();" (call_expression "FUN_0027dd90()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (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 (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00034122(void)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }\n                    \n  FUN_0027dd90();\n}" (primitive_type "void") (function_declarator "FUN_00034122(void)" (identifier "FUN_00034122") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e8c50(unaff_ESI + 0x843c);\n  if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }\n                    \n  FUN_0027dd90();\n}" ({ "{") (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int unaff_ESI;" (primitive_type "int") (identifier "unaff_ESI") (; ";")) (expression_statement "FUN_001e8c50(unaff_ESI + 0x843c);" (call_expression "FUN_001e8c50(unaff_ESI + 0x843c)" (identifier "FUN_001e8c50") (argument_list "(unaff_ESI + 0x843c)" (( "(") (binary_expression "unaff_ESI + 0x843c" (identifier "unaff_ESI") (+ "+") (number_literal "0x843c")) () ")"))) (; ";")) (if_statement "if (*(int *)(unaff_EBP + -0x3c) == -1) {\n                    \n    FUN_001e6270();\n  }" (if "if") (parenthesized_expression "(*(int *)(unaff_EBP + -0x3c) == -1)" (( "(") (binary_expression "*(int *)(unaff_EBP + -0x3c) == -1" (pointer_expression "*(int *)(unaff_EBP + -0x3c)" (* "*") (cast_expression "(int *)(unaff_EBP + -0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x3c)" (( "(") (binary_expression "unaff_EBP + -0x3c" (identifier "unaff_EBP") (+ "+") (number_literal "-0x3c")) () ")")))) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n                    \n    FUN_001e6270();\n  }" ({ "{") (expression_statement "FUN_001e6270();" (call_expression "FUN_001e6270()" (identifier "FUN_001e6270") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0027dd90();" (call_expression "FUN_0027dd90()" (identifier "FUN_0027dd90") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* std::locale::_Impl::_Impl(unsigned int) [clone .cold.9] */

void __thiscall std::locale::function_1::function_1(function_1 *this,type_1 param_1)

{
  int var_3;
  int var_2;
  
  facet::~var_1((var_1 *)(var_2 + 0x843c));
  if (*(int *)(var_3 + -0x3c) == -1) {
                    /* WARNING: Subroutine does not return */
    var_4();
  }
                    /* WARNING: Subroutine does not return */
  var_5();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (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 (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(void)

{
  int unaff_EBP;
  int unaff_ESI;
  
  FUN_001e8c50(unaff_ESI + 0x843c);
  if (*(int *)(unaff_EBP + -0x3c) == -1) {
                    /* WARNING: Subroutine does not return */
    FUN_001e6270();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0027dd90();
}

