
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::locale::_S_initialize() */

void std::locale::_S_initialize(void)

{
  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {
    pthread_once((pthread_once_t *)PTR__S_once_003a9d58,
                 (__init_routine *)PTR__S_initialize_once_003a9ef8);
  }
  if (_S_classic != 0) {
    return;
  }
  _S_initialize_once();
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0024e280(void)

{
  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {
    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);
  }
  if (DAT_003b1438 != 0) {
    return;
  }
  FUN_0024e240();
  return;
}


PUSH EBX
CALL 0x00036db0
ADD EBX,0x15bd7a
SUB ESP,0x8
MOV EDX,dword ptr [EBX + 0xffffff3c]
TEST EDX,EDX
JZ 0x0024e2b0
SUB ESP,0x8
PUSH dword ptr [EBX + 0xfffffef8]
PUSH dword ptr [EBX + 0xfffffd58]
CALL 0x0002a0b0
ADD ESP,0x10
LEA EAX,[EBX + 0x7438]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0024e2c8
ADD ESP,0x8
POP EBX
RET
CALL 0x0024e240
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0024e280(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}\n\n" comment (function_definition "void FUN_0024e280(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}" primitive_type (function_declarator "FUN_0024e280(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}" { (if_statement "if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }" if (parenthesized_expression "(PTR___pthread_key_create_003a9f3c != (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003a9f3c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }" { (expression_statement "pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);" (call_expression "pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8)" identifier (argument_list "((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8)" ( (cast_expression "(pthread_once_t *)PTR_DAT_003a9d58" ( (type_descriptor "pthread_once_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(__init_routine *)PTR_FUN_003a9ef8" ( (type_descriptor "__init_routine *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (if_statement "if (DAT_003b1438 != 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_003b1438 != 0)" ( (binary_expression "DAT_003b1438 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0024e240();" (call_expression "FUN_0024e240()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::locale::_S_initialize() */\n\nvoid std::locale::_S_initialize(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8);\n  }\n  if (_S_classic != 0) {\n    return;\n  }\n  _S_initialize_once();\n  return;\n}\n\n" comment comment (function_definition "void std::locale::_S_initialize(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8);\n  }\n  if (_S_classic != 0) {\n    return;\n  }\n  _S_initialize_once();\n  return;\n}" primitive_type (ERROR "std::locale::" identifier : : identifier : :) (function_declarator "_S_initialize(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8);\n  }\n  if (_S_classic != 0) {\n    return;\n  }\n  _S_initialize_once();\n  return;\n}" { (if_statement "if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8);\n  }" if (parenthesized_expression "(PTR___pthread_key_create_003a9f3c != (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003a9f3c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8);\n  }" { (expression_statement "pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8);" (call_expression "pthread_once((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8)" identifier (argument_list "((pthread_once_t *)PTR__S_once_003a9d58,\n                 (__init_routine *)PTR__S_initialize_once_003a9ef8)" ( (cast_expression "(pthread_once_t *)PTR__S_once_003a9d58" ( (type_descriptor "pthread_once_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(__init_routine *)PTR__S_initialize_once_003a9ef8" ( (type_descriptor "__init_routine *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (if_statement "if (_S_classic != 0) {\n    return;\n  }" if (parenthesized_expression "(_S_classic != 0)" ( (binary_expression "_S_classic != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_S_initialize_once();" (call_expression "_S_initialize_once()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0024e280(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}\n\n" (function_definition "void FUN_0024e280(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}" primitive_type (function_declarator "FUN_0024e280(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}" { (if_statement "if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }" if (parenthesized_expression "(PTR___pthread_key_create_003a9f3c != (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003a9f3c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }" { (expression_statement "pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);" (call_expression "pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8)" identifier (argument_list "((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8)" ( (cast_expression "(pthread_once_t *)PTR_DAT_003a9d58" ( (type_descriptor "pthread_once_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(__init_routine *)PTR_FUN_003a9ef8" ( (type_descriptor "__init_routine *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (if_statement "if (DAT_003b1438 != 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_003b1438 != 0)" ( (binary_expression "DAT_003b1438 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0024e240();" (call_expression "FUN_0024e240()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0024e280(void)\n\n{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0024e280(void)" (identifier "FUN_0024e280") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }\n  if (DAT_003b1438 != 0) {\n    return;\n  }\n  FUN_0024e240();\n  return;\n}" ({ "{") (if_statement "if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }" (if "if") (parenthesized_expression "(PTR___pthread_key_create_003a9f3c != (undefined *)0x0)" (( "(") (binary_expression "PTR___pthread_key_create_003a9f3c != (undefined *)0x0" (identifier "PTR___pthread_key_create_003a9f3c") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);\n  }" ({ "{") (expression_statement "pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);" (call_expression "pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8)" (identifier "pthread_once") (argument_list "((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8)" (( "(") (cast_expression "(pthread_once_t *)PTR_DAT_003a9d58" (( "(") (type_descriptor "pthread_once_t *" (type_identifier "pthread_once_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_003a9d58")) (, ",") (cast_expression "(__init_routine *)PTR_FUN_003a9ef8" (( "(") (type_descriptor "__init_routine *" (type_identifier "__init_routine") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003a9ef8")) () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_003b1438 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_003b1438 != 0)" (( "(") (binary_expression "DAT_003b1438 != 0" (identifier "DAT_003b1438") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0024e240();" (call_expression "FUN_0024e240()" (identifier "FUN_0024e240") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::locale::_S_initialize() */

void std::locale::function_1(void)

{
  if (var_1 != (type_1 *)0x0) {
    var_2((type_2 *)PTR__S_once_003a9d58,
                 (type_3 *)PTR__S_initialize_once_003a9ef8);
  }
  if (var_3 != 0) {
    return;
  }
  var_4();
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (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 (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(void)

{
  if (PTR___pthread_key_create_003a9f3c != (undefined *)0x0) {
    pthread_once((pthread_once_t *)PTR_DAT_003a9d58,(__init_routine *)PTR_FUN_003a9ef8);
  }
  if (DAT_003b1438 != 0) {
    return;
  }
  FUN_0024e240();
  return;
}

