
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::messages<char>::open(std::string const&, std::locale const&, char const*) const */

void __thiscall
std::messages<char>::open(messages<char> *this,string *param_1,locale *param_2,char *param_3)

{
  bindtextdomain(*(undefined4 *)param_1,param_3);
                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*(int *)this + 8))();
  return;
}



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

void FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)

{
  bindtextdomain(*param_2,param_4);
                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 8))();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036f20
ADD EBX,0x19b697
SUB ESP,0x14
MOV EDI,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x28]
MOV EBP,dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [EDI]
CALL 0x0002a390
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x38],EBP
MOV dword ptr [ESP + 0x34],EDI
MOV dword ptr [ESP + 0x30],ESI
MOV EAX,dword ptr [EAX + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  bindtextdomain(*param_2,param_4);\n                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 8))();\n  return;\n}\n\n" comment (function_definition "void FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  bindtextdomain(*param_2,param_4);\n                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 8))();\n  return;\n}" primitive_type (function_declarator "FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  bindtextdomain(*param_2,param_4);\n                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 8))();\n  return;\n}" { (expression_statement "bindtextdomain(*param_2,param_4);" (call_expression "bindtextdomain(*param_2,param_4)" identifier (argument_list "(*param_2,param_4)" ( (pointer_expression "*param_2" * identifier) , identifier ))) ;) comment comment (expression_statement "(**(code **)(*param_1 + 8))();" (call_expression "(**(code **)(*param_1 + 8))()" (parenthesized_expression "(**(code **)(*param_1 + 8))" ( (pointer_expression "**(code **)(*param_1 + 8)" * (pointer_expression "*(code **)(*param_1 + 8)" * (cast_expression "(code **)(*param_1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::messages<char>::open(std::string const&, std::locale const&, char const*) const */\n\nvoid __thiscall\nstd::messages<char>::open(messages<char> *this,string *param_1,locale *param_2,char *param_3)\n\n{\n  bindtextdomain(*(undefined4 *)param_1,param_3);\n                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(int *)this + 8))();\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\nstd::messages<char>::open(messages<char> *this,string *param_1,locale *param_2,char *param_3)\n\n{\n  bindtextdomain(*(undefined4 *)param_1,param_3);\n                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(int *)this + 8))();\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::messages<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "open(messages<char> *this,string *param_1,locale *param_2,char *param_3)" identifier (parameter_list "(messages<char> *this,string *param_1,locale *param_2,char *param_3)" ( (parameter_declaration "messages<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)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  bindtextdomain(*(undefined4 *)param_1,param_3);\n                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(int *)this + 8))();\n  return;\n}" { (expression_statement "bindtextdomain(*(undefined4 *)param_1,param_3);" (call_expression "bindtextdomain(*(undefined4 *)param_1,param_3)" identifier (argument_list "(*(undefined4 *)param_1,param_3)" ( (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) comment comment (expression_statement "(**(code **)(*(int *)this + 8))();" (call_expression "(**(code **)(*(int *)this + 8))()" (parenthesized_expression "(**(code **)(*(int *)this + 8))" ( (pointer_expression "**(code **)(*(int *)this + 8)" * (pointer_expression "*(code **)(*(int *)this + 8)" * (cast_expression "(code **)(*(int *)this + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 8)" ( (binary_expression "*(int *)this + 8" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  bindtextdomain(*param_2,param_4);\n                    \n                    \n  (**(code **)(*param_1 + 8))();\n  return;\n}\n\n" (function_definition "void FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  bindtextdomain(*param_2,param_4);\n                    \n                    \n  (**(code **)(*param_1 + 8))();\n  return;\n}" primitive_type (function_declarator "FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  bindtextdomain(*param_2,param_4);\n                    \n                    \n  (**(code **)(*param_1 + 8))();\n  return;\n}" { (expression_statement "bindtextdomain(*param_2,param_4);" (call_expression "bindtextdomain(*param_2,param_4)" identifier (argument_list "(*param_2,param_4)" ( (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "(**(code **)(*param_1 + 8))();" (call_expression "(**(code **)(*param_1 + 8))()" (parenthesized_expression "(**(code **)(*param_1 + 8))" ( (pointer_expression "**(code **)(*param_1 + 8)" * (pointer_expression "*(code **)(*param_1 + 8)" * (cast_expression "(code **)(*param_1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  bindtextdomain(*param_2,param_4);\n                    \n                    \n  (**(code **)(*param_1 + 8))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00213960(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00213960") (parameter_list "(int *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  bindtextdomain(*param_2,param_4);\n                    \n                    \n  (**(code **)(*param_1 + 8))();\n  return;\n}" ({ "{") (expression_statement "bindtextdomain(*param_2,param_4);" (call_expression "bindtextdomain(*param_2,param_4)" (identifier "bindtextdomain") (argument_list "(*param_2,param_4)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "(**(code **)(*param_1 + 8))();" (call_expression "(**(code **)(*param_1 + 8))()" (parenthesized_expression "(**(code **)(*param_1 + 8))" (( "(") (pointer_expression "**(code **)(*param_1 + 8)" (* "*") (pointer_expression "*(code **)(*param_1 + 8)" (* "*") (cast_expression "(code **)(*param_1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::messages<char>::open(std::string const&, std::locale const&, char const*) const */

void __thiscall
std::type_1<char>::function_1(type_1<char> *this,type_2 *param_1,type_3 *param_2,char *param_3)

{
  var_1(*(type_4 *)param_1,param_3);
                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(type_5 **)(*(int *)this + 8))();
  return;
}


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

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

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

{
  bindtextdomain(*param_2,param_4);
                    /* WARNING: Could not recover jumptable at 0x002139a1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 8))();
  return;
}

