
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::insert(__normal_iterator<wchar_t*, std::wstring >, unsigned int, wchar_t) */

void __thiscall std::wstring::insert(wstring *this,int param_2,uint param_3,wchar_t param_4)

{
  _M_replace_aux(this,param_2 - *(int *)this >> 2,0,param_3,param_4);
  return;
}



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

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

{
  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);
  return;
}


PUSH EBX
CALL 0x00035680
ADD EBX,0xff3da
SUB ESP,0x14
MOV EDX,dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x2c]
SUB EAX,dword ptr [EDX]
SAR EAX,0x2
PUSH EAX
PUSH EDX
CALL 0x001b1300
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_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}\n\n" comment (function_definition "void FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}" primitive_type (function_declarator "FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}" { (expression_statement "FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);" (call_expression "FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4)" identifier (argument_list "(param_1,param_2 - *param_1 >> 2,0,param_3,param_4)" ( identifier , (binary_expression "param_2 - *param_1 >> 2" (binary_expression "param_2 - *param_1" identifier - (pointer_expression "*param_1" * identifier)) >> number_literal) , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::insert(__normal_iterator<wchar_t*, std::wstring >, unsigned int, wchar_t) */\n\nvoid __thiscall std::wstring::insert(wstring *this,int param_2,uint param_3,wchar_t param_4)\n\n{\n  _M_replace_aux(this,param_2 - *(int *)this >> 2,0,param_3,param_4);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wstring::insert(wstring *this,int param_2,uint param_3,wchar_t param_4)\n\n{\n  _M_replace_aux(this,param_2 - *(int *)this >> 2,0,param_3,param_4);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "insert(wstring *this,int param_2,uint param_3,wchar_t param_4)" identifier (parameter_list "(wstring *this,int param_2,uint param_3,wchar_t param_4)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "wchar_t param_4" type_identifier identifier) ))) (compound_statement "{\n  _M_replace_aux(this,param_2 - *(int *)this >> 2,0,param_3,param_4);\n  return;\n}" { (expression_statement "_M_replace_aux(this,param_2 - *(int *)this >> 2,0,param_3,param_4);" (call_expression "_M_replace_aux(this,param_2 - *(int *)this >> 2,0,param_3,param_4)" identifier (argument_list "(this,param_2 - *(int *)this >> 2,0,param_3,param_4)" ( identifier , (binary_expression "param_2 - *(int *)this >> 2" (binary_expression "param_2 - *(int *)this" identifier - (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) >> number_literal) , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}\n\n" (function_definition "void FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}" primitive_type (function_declarator "FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}" { (expression_statement "FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);" (call_expression "FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4)" identifier (argument_list "(param_1,param_2 - *param_1 >> 2,0,param_3,param_4)" ( identifier , (binary_expression "param_2 - *param_1 >> 2" (binary_expression "param_2 - *param_1" identifier - (pointer_expression "*param_1" * identifier)) >> number_literal) , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression IDENT - (pointer_expression * IDENT)) >> LIT) , LIT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0023fc20(int *param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_0023fc20") (parameter_list "(int *param_1,int 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 "int param_2" (primitive_type "int") (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  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);\n  return;\n}" ({ "{") (expression_statement "FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);" (call_expression "FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4)" (identifier "FUN_001b1300") (argument_list "(param_1,param_2 - *param_1 >> 2,0,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 - *param_1 >> 2" (binary_expression "param_2 - *param_1" (identifier "param_2") (- "-") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (>> ">>") (number_literal "2")) (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::insert(__normal_iterator<wchar_t*, std::wstring >, unsigned int, wchar_t) */

void __thiscall std::type_1::function_1(type_1 *this,int var_2,type_2 param_3,type_3 param_4)

{
  var_1(this,var_2 - *(int *)this >> 2,0,param_3,param_4);
  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: (primitive_type) 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 (identifier) (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (number_literal)) (number_literal) (identifier) (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,undefined4 param_4)

{
  FUN_001b1300(param_1,param_2 - *param_1 >> 2,0,param_3,param_4);
  return;
}

