
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ios_base::imbue(std::locale const&) */

locale * std::ios_base::imbue(locale *param_1)

{
  int in_stack_00000008;
  locale *in_stack_0000000c;
  
  locale::locale(param_1,(locale *)(in_stack_00000008 + 0x6c));
  locale::operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c);
  _M_call_callbacks();
  return param_1;
}



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

undefined4 FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)

{
  FUN_001ae400(param_1,param_2 + 0x6c);
  FUN_001aeb40(param_2 + 0x6c,param_3);
  FUN_001f1640(param_2,1);
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1415e7
SUB ESP,0x14
MOV EDI,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x28]
LEA EBP,[EDI + 0x6c]
PUSH EBP
PUSH ESI
CALL 0x001ae400
POP EAX
POP EDX
PUSH dword ptr [ESP + 0x30]
PUSH EBP
CALL 0x001aeb40
POP ECX
POP EBP
PUSH 0x1
PUSH EDI
CALL 0x001f1640
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}\n\n" comment (function_definition "undefined4 FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}" type_identifier (function_declarator "FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}" { (expression_statement "FUN_001ae400(param_1,param_2 + 0x6c);" (call_expression "FUN_001ae400(param_1,param_2 + 0x6c)" identifier (argument_list "(param_1,param_2 + 0x6c)" ( identifier , (binary_expression "param_2 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "FUN_001aeb40(param_2 + 0x6c,param_3);" (call_expression "FUN_001aeb40(param_2 + 0x6c,param_3)" identifier (argument_list "(param_2 + 0x6c,param_3)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_001f1640(param_2,1);" (call_expression "FUN_001f1640(param_2,1)" identifier (argument_list "(param_2,1)" ( identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ios_base::imbue(std::locale const&) */\n\nlocale * std::ios_base::imbue(locale *param_1)\n\n{\n  int in_stack_00000008;\n  locale *in_stack_0000000c;\n  \n  locale::locale(param_1,(locale *)(in_stack_00000008 + 0x6c));\n  locale::operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c);\n  _M_call_callbacks();\n  return param_1;\n}\n\n" comment comment (ERROR "locale * std::" (binary_expression "locale * std" identifier * identifier) : :) (labeled_statement "ios_base::imbue(locale *param_1)\n\n{\n  int in_stack_00000008;\n  locale *in_stack_0000000c;\n  \n  locale::locale(param_1,(locale *)(in_stack_00000008 + 0x6c));\n  locale::operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c);\n  _M_call_callbacks();\n  return param_1;\n}" statement_identifier : (ERROR ":imbue(locale *param_1)" : (call_expression "imbue(locale *param_1)" identifier (argument_list "(locale *param_1)" ( (binary_expression "locale *param_1" identifier * identifier) )))) (compound_statement "{\n  int in_stack_00000008;\n  locale *in_stack_0000000c;\n  \n  locale::locale(param_1,(locale *)(in_stack_00000008 + 0x6c));\n  locale::operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c);\n  _M_call_callbacks();\n  return param_1;\n}" { (declaration "int in_stack_00000008;" primitive_type identifier ;) (declaration "locale *in_stack_0000000c;" type_identifier (pointer_declarator "*in_stack_0000000c" * identifier) ;) (labeled_statement "locale::locale(param_1,(locale *)(in_stack_00000008 + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "locale(param_1,(locale *)(in_stack_00000008 + 0x6c));" (call_expression "locale(param_1,(locale *)(in_stack_00000008 + 0x6c))" identifier (argument_list "(param_1,(locale *)(in_stack_00000008 + 0x6c))" ( identifier , (cast_expression "(locale *)(in_stack_00000008 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + 0x6c)" ( (binary_expression "in_stack_00000008 + 0x6c" identifier + number_literal) ))) ))) ;)) (labeled_statement "locale::operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c);" statement_identifier : (ERROR ":" :) (expression_statement "operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c);" (assignment_expression "operator=((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c)" identifier = (parenthesized_expression "((locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c)" ( (comma_expression "(locale *)(in_stack_00000008 + 0x6c),in_stack_0000000c" (cast_expression "(locale *)(in_stack_00000008 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + 0x6c)" ( (binary_expression "in_stack_00000008 + 0x6c" identifier + number_literal) ))) , identifier) ))) ;)) (expression_statement "_M_call_callbacks();" (call_expression "_M_call_callbacks()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "undefined4 FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}\n\n" (function_definition "undefined4 FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}" type_identifier (function_declarator "FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}" { (expression_statement "FUN_001ae400(param_1,param_2 + 0x6c);" (call_expression "FUN_001ae400(param_1,param_2 + 0x6c)" identifier (argument_list "(param_1,param_2 + 0x6c)" ( identifier , (binary_expression "param_2 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "FUN_001aeb40(param_2 + 0x6c,param_3);" (call_expression "FUN_001aeb40(param_2 + 0x6c,param_3)" identifier (argument_list "(param_2 + 0x6c,param_3)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_001f1640(param_2,1);" (call_expression "FUN_001f1640(param_2,1)" identifier (argument_list "(param_2,1)" ( identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}" (type_identifier "undefined4") (function_declarator "FUN_001fda10(undefined4 param_1,int param_2,undefined4 param_3)" (identifier "FUN_001fda10") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3)" (( "(") (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")) () ")"))) (compound_statement "{\n  FUN_001ae400(param_1,param_2 + 0x6c);\n  FUN_001aeb40(param_2 + 0x6c,param_3);\n  FUN_001f1640(param_2,1);\n  return param_1;\n}" ({ "{") (expression_statement "FUN_001ae400(param_1,param_2 + 0x6c);" (call_expression "FUN_001ae400(param_1,param_2 + 0x6c)" (identifier "FUN_001ae400") (argument_list "(param_1,param_2 + 0x6c)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + 0x6c" (identifier "param_2") (+ "+") (number_literal "0x6c")) () ")"))) (; ";")) (expression_statement "FUN_001aeb40(param_2 + 0x6c,param_3);" (call_expression "FUN_001aeb40(param_2 + 0x6c,param_3)" (identifier "FUN_001aeb40") (argument_list "(param_2 + 0x6c,param_3)" (( "(") (binary_expression "param_2 + 0x6c" (identifier "param_2") (+ "+") (number_literal "0x6c")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "FUN_001f1640(param_2,1);" (call_expression "FUN_001f1640(param_2,1)" (identifier "FUN_001f1640") (argument_list "(param_2,1)" (( "(") (identifier "param_2") (, ",") (number_literal "1") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ios_base::imbue(std::locale const&) */

type_1 * std::ios_base::imbue(type_1 *param_1)

{
  int var_1;
  type_1 *in_stack_0000000c;
  
  locale::type_1(param_1,(type_1 *)(var_1 + 0x6c));
  locale::operator=((type_1 *)(var_1 + 0x6c),in_stack_0000000c);
  var_2();
  return param_1;
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement (identifier)))))

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

undefined4 MASKED(undefined4 param_1,int param_2,undefined4 param_3)

{
  FUN_001ae400(param_1,param_2 + 0x6c);
  FUN_001aeb40(param_2 + 0x6c,param_3);
  FUN_001f1640(param_2,1);
  return param_1;
}

