
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ctype<wchar_t>::do_toupper(wchar_t) const */

void __thiscall std::ctype<wchar_t>::do_toupper(ctype<wchar_t> *this,wchar_t param_1)

{
  __towupper_l(param_1,*(undefined4 *)(this + 8));
  return;
}



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

void FUN_001bad40(int param_1,undefined4 param_2)

{
  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));
  return;
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x1472ba
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [ESP + 0x20]
CALL 0x00026620
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001bad40(int param_1,undefined4 param_2)\n\n{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}\n\n" comment (function_definition "void FUN_001bad40(int param_1,undefined4 param_2)\n\n{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_001bad40(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}" { (expression_statement "__towupper_l(param_2,*(undefined4 *)(param_1 + 8));" (call_expression "__towupper_l(param_2,*(undefined4 *)(param_1 + 8))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 8))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ctype<wchar_t>::do_toupper(wchar_t) const */\n\nvoid __thiscall std::ctype<wchar_t>::do_toupper(ctype<wchar_t> *this,wchar_t param_1)\n\n{\n  __towupper_l(param_1,*(undefined4 *)(this + 8));\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::ctype<wchar_t>::do_toupper(ctype<wchar_t> *this,wchar_t param_1)\n\n{\n  __towupper_l(param_1,*(undefined4 *)(this + 8));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ctype<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "do_toupper(ctype<wchar_t> *this,wchar_t param_1)" identifier (parameter_list "(ctype<wchar_t> *this,wchar_t param_1)" ( (parameter_declaration "ctype<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t param_1" type_identifier identifier) ))) (compound_statement "{\n  __towupper_l(param_1,*(undefined4 *)(this + 8));\n  return;\n}" { (expression_statement "__towupper_l(param_1,*(undefined4 *)(this + 8));" (call_expression "__towupper_l(param_1,*(undefined4 *)(this + 8))" identifier (argument_list "(param_1,*(undefined4 *)(this + 8))" ( identifier , (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001bad40(int param_1,undefined4 param_2)\n\n{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}\n\n" (function_definition "void FUN_001bad40(int param_1,undefined4 param_2)\n\n{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_001bad40(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}" { (expression_statement "__towupper_l(param_2,*(undefined4 *)(param_1 + 8));" (call_expression "__towupper_l(param_2,*(undefined4 *)(param_1 + 8))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 8))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001bad40(int param_1,undefined4 param_2)\n\n{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001bad40(int param_1,undefined4 param_2)" (identifier "FUN_001bad40") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));\n  return;\n}" ({ "{") (expression_statement "__towupper_l(param_2,*(undefined4 *)(param_1 + 8));" (call_expression "__towupper_l(param_2,*(undefined4 *)(param_1 + 8))" (identifier "__towupper_l") (argument_list "(param_2,*(undefined4 *)(param_1 + 8))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ctype<wchar_t>::do_toupper(wchar_t) const */

void __thiscall std::type_1<type_2>::function_1(type_1<type_2> *var_2,type_2 param_1)

{
  var_1(param_1,*(type_3 *)(var_2 + 8));
  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: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))) (return_statement))))

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

void MASKED(int param_1,undefined4 param_2)

{
  __towupper_l(param_2,*(undefined4 *)(param_1 + 8));
  return;
}

