
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::__facet_shims::(anonymous namespace)::messages_shim<char>::do_open(std::string const&,
   std::locale const&) const */

void __thiscall
std::__facet_shims::(anonymous_namespace)::messages_shim<char>::do_open
          (messages_shim<char> *this,string *param_1,locale *param_2)

{
  __messages_open<char>
            (0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),
             param_2);
  return;
}



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

void FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)

{
  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);
  return;
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x14175a
SUB ESP,0x14
MOV EAX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EAX]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [EAX + -0xc]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x28]
PUSH dword ptr [EAX + 0x10]
PUSH 0x0
CALL 0x001be4e0
ADD ESP,0x28
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)\n\n{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)\n\n{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}" primitive_type (function_declarator "FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}" { (expression_statement "FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);" (call_expression "FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3)" identifier (argument_list "(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3)" ( number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (pointer_expression "*(undefined4 *)(*param_2 + -0xc)" * (cast_expression "(undefined4 *)(*param_2 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + -0xc)" ( (binary_expression "*param_2 + -0xc" (pointer_expression "*param_2" * identifier) + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::__facet_shims::(anonymous namespace)::messages_shim<char>::do_open(std::string const&,\n   std::locale const&) const */\n\nvoid __thiscall\nstd::__facet_shims::(anonymous_namespace)::messages_shim<char>::do_open\n          (messages_shim<char> *this,string *param_1,locale *param_2)\n\n{\n  __messages_open<char>\n            (0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\nstd::__facet_shims::(anonymous_namespace)::messages_shim<char>::do_open\n          (messages_shim<char> *this,string *param_1,locale *param_2)\n\n{\n  __messages_open<char>\n            (0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__facet_shims::(anonymous_namespace)::messages_shim<char>::" identifier : : identifier : : ( identifier ) : : identifier < primitive_type > : :) (function_declarator "do_open\n          (messages_shim<char> *this,string *param_1,locale *param_2)" identifier (parameter_list "(messages_shim<char> *this,string *param_1,locale *param_2)" ( (parameter_declaration "messages_shim<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "locale *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  __messages_open<char>\n            (0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2);\n  return;\n}" { (expression_statement "__messages_open<char>\n            (0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2);" (binary_expression "__messages_open<char>\n            (0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2)" (binary_expression "__messages_open<char" identifier < identifier) > (parenthesized_expression "(0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2)" ( (comma_expression "0,*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2" number_literal , (comma_expression "*(undefined4 *)(this + 0x10),*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) , (comma_expression "*(int *)param_1,*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (comma_expression "*(undefined4 *)(*(int *)param_1 + -0xc),\n             param_2" (pointer_expression "*(undefined4 *)(*(int *)param_1 + -0xc)" * (cast_expression "(undefined4 *)(*(int *)param_1 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) , identifier)))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)\n\n{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}\n\n" (function_definition "void FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)\n\n{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}" primitive_type (function_declarator "FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}" { (expression_statement "FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);" (call_expression "FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3)" identifier (argument_list "(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3)" ( number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (pointer_expression "*(undefined4 *)(*param_2 + -0xc)" * (cast_expression "(undefined4 *)(*param_2 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + -0xc)" ( (binary_expression "*param_2 + -0xc" (pointer_expression "*param_2" * identifier) + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)\n\n{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001c08a0(int param_1,int *param_2,undefined4 param_3)" (identifier "FUN_001c08a0") (parameter_list "(int param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);\n  return;\n}" ({ "{") (expression_statement "FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);" (call_expression "FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3)" (identifier "FUN_001be4e0") (argument_list "(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3)" (( "(") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (pointer_expression "*(undefined4 *)(*param_2 + -0xc)" (* "*") (cast_expression "(undefined4 *)(*param_2 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + -0xc)" (( "(") (binary_expression "*param_2 + -0xc" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "-0xc")) () ")")))) (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::__facet_shims::(anonymous namespace)::messages_shim<char>::do_open(std::string const&,
   std::locale const&) const */

void __thiscall
std::__facet_shims::(anonymous_namespace)::type_1<char>::function_1
          (type_1<char> *var_3,type_2 *param_1,type_3 *param_2)

{
  var_1<var_2>
            (0,*(type_4 *)(var_3 + 0x10),*(int *)param_1,*(type_4 *)(*(int *)param_1 + -0xc),
             param_2);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (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))))) (pointer_expression argument: (identifier)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (identifier)))) (return_statement))))

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

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

{
  FUN_001be4e0(0,*(undefined4 *)(param_1 + 0x10),*param_2,*(undefined4 *)(*param_2 + -0xc),param_3);
  return;
}

